/* Fee Structure page (classic UI) */

.fee-page {
    padding: 70px 0 90px;
    background: #fbfbfd;
}

.fee-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.fee-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1b0238;
    margin-bottom: 12px;
    line-height: 1.3;
}

.fee-intro .fee-effective {
    display: inline-block;
    background: #fdeee9;
    color: #ea512e;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 7px 18px;
    border-radius: 30px;
}

/* One-time charge tiles */
.fee-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}

.fee-tile {
    flex: 1 1 220px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 3px solid #ea512e;
    border-radius: 10px;
    padding: 26px 24px;
    box-shadow: 0 6px 20px rgba(27, 2, 56, 0.05);
}

.fee-tile .fee-tile-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6b6b84;
    margin-bottom: 10px;
}

.fee-tile .fee-tile-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1b0238;
    line-height: 1.2;
}

.fee-tile .fee-tile-note {
    display: block;
    font-size: 13px;
    color: #7e7e7e;
    margin-top: 6px;
}

/* RTE notice */
.fee-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f1fbf5;
    border-left: 4px solid #006f3b;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 50px;
    color: #1b0238;
    font-size: 16px;
    font-weight: 500;
}

.fee-notice i {
    color: #006f3b;
    font-size: 22px;
    flex-shrink: 0;
}

/* Section headings */
.fee-section {
    margin-bottom: 50px;
}

.fee-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1b0238;
    margin-bottom: 6px;
}

.fee-section .fee-section-sub {
    font-size: 15px;
    color: #6b6b84;
    margin-bottom: 22px;
}

/* Main table */
.fee-table-wrap {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(27, 2, 56, 0.05);
    overflow: hidden;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.fee-table thead th {
    background: #1b0238;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 14px 20px;
    white-space: nowrap;
    vertical-align: middle;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.fee-table thead th:first-child {
    border-left: 0;
}

.fee-table thead th.fee-group {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fee-table thead th.fee-subhead {
    font-size: 12px;
    font-weight: 500;
    color: #d6ccdf;
    padding-top: 9px;
    padding-bottom: 12px;
}

.fee-table thead .fee-th-sub {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 400;
    color: #b9aec4;
    letter-spacing: 0.2px;
}

.fee-table tbody td.fee-num .fee-nil {
    color: #b6b6c4;
}

.fee-table tbody td .fee-class-sub {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    font-weight: 400;
    color: #6b6b84;
    white-space: normal;
}

/* Outside-city transport — solid feature panel, not a footnote */
.fee-outside {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    padding: 34px 36px;
    background: #1b0238;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(27, 2, 56, 0.22);
}

.fee-outside-head {
    flex: 1 1 340px;
}

.fee-outside-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: #ea512e;
    border-radius: 4px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fee-outside-head h4 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.fee-outside-head p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #c3b9cf;
    max-width: 540px;
}

.fee-outside-vals {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.fee-outside-val {
    min-width: 155px;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 10px;
    text-align: center;
}

.fee-outside-qtr {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #6b6b84;
}

.fee-outside-val strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #ea512e;
    line-height: 1.15;
    white-space: nowrap;
}

@media only screen and (max-width: 767px) {
    .fee-outside {
        padding: 26px 22px;
        gap: 22px;
    }

    .fee-outside-head h4 {
        font-size: 20px;
    }

    .fee-outside-vals {
        width: 100%;
    }

    .fee-outside-val {
        flex: 1 1 130px;
        min-width: 0;
        padding: 15px 12px;
    }

    .fee-outside-val strong {
        font-size: 22px;
    }
}

.fee-table thead th.fee-num,
.fee-table tbody td.fee-num {
    text-align: right;
}

.fee-table tbody td {
    padding: 16px 24px;
    font-size: 16px;
    color: #1b0238;
    border-top: 1px solid #f0f0f0;
    vertical-align: middle;
}

.fee-table tbody tr:nth-child(even) {
    background: #fafafc;
}

.fee-table tbody tr:hover {
    background: #fdeee9;
}

.fee-table tbody td.fee-class {
    font-weight: 600;
}

.fee-table tbody td.fee-num {
    font-weight: 600;
    white-space: nowrap;
}

.fee-table .fee-rupee {
    color: #6b6b84;
    font-weight: 400;
    margin-right: 2px;
}

/* Detail cards: lab + transport */
.fee-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.fee-card {
    flex: 1 1 340px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(27, 2, 56, 0.05);
}

.fee-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1b0238;
    margin-bottom: 4px;
}

.fee-card h4 .fee-card-optional {
    font-size: 14px;
    font-weight: 500;
    color: #6b6b84;
}

.fee-card .fee-card-sub {
    font-size: 14px;
    color: #6b6b84;
    margin-bottom: 18px;
}

.fee-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fee-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 15px;
    color: #1b0238;
}

.fee-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.fee-list .fee-list-amount {
    font-weight: 600;
    white-space: nowrap;
    color: #ea512e;
}

.fee-footnote {
    margin-top: 30px;
    font-size: 14px;
    color: #7e7e7e;
    line-height: 1.7;
}

@media only screen and (max-width: 767px) {
    .fee-page {
        padding: 50px 0 60px;
    }

    .fee-intro h2 {
        font-size: 24px;
    }

    /* Collapse the table into stacked cards */
    .fee-table-wrap {
        border: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .fee-table thead {
        display: none;
    }

    .fee-table,
    .fee-table tbody,
    .fee-table tr,
    .fee-table td {
        display: block;
        width: 100%;
    }

    .fee-table tbody tr {
        background: #ffffff !important;
        border: 1px solid #eeeeee;
        border-radius: 10px;
        padding: 6px 18px;
        margin-bottom: 16px;
        box-shadow: 0 6px 20px rgba(27, 2, 56, 0.05);
    }

    .fee-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 16px;
        padding: 12px 0;
        text-align: right;
    }

    .fee-table tbody td::before {
        content: attr(data-label);
        font-size: 14px;
        font-weight: 500;
        color: #6b6b84;
        text-align: left;
    }

    .fee-table tbody td.fee-class {
        border-top: 0;
        font-size: 18px;
    }

    .fee-table tbody td.fee-class::before {
        content: attr(data-label);
        align-self: center;
    }

    .fee-table thead th.fee-num,
    .fee-table tbody td.fee-num {
        text-align: right;
    }

    .fee-list li {
        flex-direction: column;
        gap: 4px;
    }
}
