.hbc-docs-wrapper {
    margin: 0 auto;
    font-family: inherit;
}

/* Tiêu đề */
.hbc-docs-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1f3764;
}

/* HEADER: Tabs + Filters */
.hbc-docs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 0;
    flex-wrap: wrap;
    border-bottom: 1px solid #D9D9D9; /* line nhạt như hình */
}

/* TABS */
.hbc-docs-tabs {
    display: flex;
    gap: 24px;
}

/* Tab style cơ bản */
.hbc-docs-tab {
    background: transparent !important;
    border: none !important;
    padding: 8px 24px !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #000 !important;
    border-radius: 0 !important;
    position: relative;
}

/* Tab active */
.hbc-docs-tab.is-active {
    background: #E8F6FF !important;
    color: var(--e-global-color-primary) !important;
    border: none !important;
    border-radius: 0 !important;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
}

/* Gạch chân tab active */
.hbc-docs-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
        height: 2px;
        background-color: var(--e-global-color-primary) !important;
    border-radius: 2px;
}

/* Filters (company + year) */
.hbc-docs-filters {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hbc-docs-filter label {
    font-size: 14px;
    color: #000;
}

.hbc-docs-filter select {
    padding: 6px 12px;
    min-width: 110px;
    border: 1px solid #CCE0F9 !important;
    background-color: #E8F6FF !important;
    font-size: 14px;
     color: var(--e-global-color-primary);
    font-weight: 600 !important;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 2px solid var( --e-global-color-secondary ) !important;
}

/* Filters bên phải */
.hbc-docs-filters {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
}

.hbc-docs-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.hbc-docs-filter select {
    padding: 4px 8px;
    min-width: 110px;
    /* border-radius: 4px; */
    border: 1px solid #c3c8d4;
    background-color: #ffffff;
    font-size: 14px;
    
}

/* Danh sách tài liệu */
.hbc-docs-list {
    margin-top: 8px;
}

.hbc-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e3e6ef;
    font-size: 16px;
}

.hbc-doc-title {
    flex: 1;
}

.hbc-doc-title,
.hbc-doc-title a {
    color: #1f3764;
    text-decoration: none;
}

.hbc-doc-title a:hover {
    text-decoration: underline;
}

/* Cột tải xuống bên phải */
.hbc-doc-download a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--e-global-color-primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.hbc-doc-download a::before {
    content: "\1F5CE"; /* icon tài liệu đơn giản */
    font-size: 18px;
}

.hbc-doc-download a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hbc-docs-header {
        align-items: flex-start;
    }
    .hbc-doc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .hbc-doc-download {
        margin-top: 2px;
    }
}
.hbc-docs-list.is-loading {
    opacity: 0.5;
    pointer-events: none;
}
