/* =============================================
   MSB Fee Docs Element
   ============================================= */

.msb-fd-inner {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Title ---- */
.msb-fd__title {
    font-size: 26px;
    font-weight: 700;
    color: #091E42;
    margin: 0 0 24px;
    line-height: 36px;
}

/* ---- Body: 2-column layout ---- */
.msb-fd__body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* ---- Left: filter column ---- */
.msb-fd__filter-col {
    flex: 0 0 33.333333333%;
    width: 33.333333333%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---- Top-level select ---- */
.msb-fd__filter-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #091E42;
    margin-bottom: 8px;
}

.msb-fd__select-box {
    position: relative;
    display: flex;
    align-items: center;
}

.msb-fd__top-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #DEE5EF;
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    font-size: 15px;
    color: #091E42;
    cursor: pointer;
    outline: none;
    width: 100%;
    min-height: 44px;
    margin-bottom: 0;
    box-shadow: none;
}

.msb-fd__top-select:focus {
    border-color: #091E42;
}

.msb-fd__select-arrow {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #091E42;
    display: flex;
    align-items: center;
}

/* ---- Sub-category radio list ---- */
.msb-fd__sub-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.msb-fd__radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #091E42;
    transition: background 0.15s;
    font-weight: 500;
    margin-bottom: 0px;
}

.msb-fd__radio-label:hover {
    background: #F5F7FA;
}

.msb-fd__radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #DEE5EF;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: border-color 0.15s;
    background: #fff;
}

.msb-fd__radio-label input[type="radio"]:checked {
    border-color: #F4600C;
    background: #F4600C;
}

.msb-fd__radio-label input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ---- Right: content column ---- */
.msb-fd__content-col {
    flex: 1 1 0;
    min-width: 0;
}

/* ---- List wrap ---- */
.msb-fd__list-wrap {
    position: relative;
}

.msb-fd__list-wrap.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ---- Item row ---- */
.msb-fd__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #DEE5EF;
}

.msb-fd__item:last-child {
    margin-bottom: 0;
}

.msb-fd__item-name {
    font-size: 18px;
    font-weight: 600;
    color: #F4600C;
    margin: 0;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.2s;
}

a.msb-fd__item-name:hover {
    color: #d94e00;
    text-decoration: underline;
}

.msb-fd__item-date {
    font-size: 14px;
    color: #505F79;
    margin: 0;
}

/* ---- Empty ---- */
.msb-fd__empty {
    color: #9ca3af;
    font-size: 14px;
    padding: 24px 0;
}

/* ---- Pagination ---- */
.msb-fd__pagination-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 24px;
    padding: 8px 0;
}

.msb-fd__pagination-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.msb-fd__pagination-nav .page-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.msb-fd__pagination-nav .page-list li {
    margin-bottom: 0 !important;
}

.msb-fd__pagination-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: transparent;
    color: #091E42;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.msb-fd__pagination-nav .page-numbers.current,
.msb-fd__pagination-nav .page-numbers:hover:not(.current):not(.disabled) {
    border-color: #F8A06D;
    color: #F4600C;
    background: transparent;
}

.msb-fd__pagination-nav .page-numbers.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.msb-fd__pagination-nav .page-numbers.prev img,
.msb-fd__pagination-nav .page-numbers.next img {
    width: 16px;
    height: 16px;
}

.msb-fd__pagination-nav .page-numbers.prev img {
    transform: rotate(180deg);
}

.msb-fd__list {
    padding: 12px;
    background: #fff;
    border-radius: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .msb-fd__body {
        flex-direction: column;
        gap: 24px;
    }

    .msb-fd__filter-col {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .msb-fd-inner {
        padding: 0 16px;
    }
}
