.edgar-filter {
    margin-bottom: 24px;
    max-width: 420px;
}

/* ==== Card cho mỗi nhóm lọc ==== */
.edgar-filter-group {
    background: #fdf9e7;
    border: 1px solid #ecdfb8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.edgar-filter-title {
    background: #8a5a3b;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    text-align: center;
    padding: 14px 16px;
    margin: 0;
}

/* ==== Danh sách checkbox dọc ==== */
.edgar-btn-grid {
    display: flex;
    flex-direction: column;
    padding: 6px 18px 14px;
}

.edgar-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    margin: 0;
    cursor: pointer;
    line-height: 1.3;
    border-bottom: none;
    background: transparent;
    transition: opacity .15s ease;
}

.edgar-btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Ô vuông checkbox tự vẽ */
.edgar-checkbox {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 2px solid #b9b9b9;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    transition: border-color .15s ease, background-color .15s ease;
}

.edgar-checkbox::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .1s ease;
}

.edgar-btn.is-active .edgar-checkbox {
    background: #8a5a3b;
    border-color: #8a5a3b;
}

.edgar-btn.is-active .edgar-checkbox::after {
    opacity: 1;
}

.edgar-btn-label {
    font-size: 16px;
    color: #2b2b2b;
    font-weight: 400;
}

.edgar-btn.is-active .edgar-btn-label {
    font-weight: 600;
    color: #1a1a1a;
}

.edgar-btn:hover .edgar-checkbox {
    border-color: #8a5a3b;
}


