.fees-page .fees-intro {
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.75rem;
    border-left: 5px solid #fdbc20;
    color: #fff;
    background: #033096;
}

.fees-page .fees-intro span {
    display: block;
    margin-bottom: 0.25rem;
    color: #fdbc20;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fees-page .fees-intro h2 {
    margin: 0 0 0.4rem;
    color: #fff;
    font-size: 1.55rem;
}

.fees-page .fees-intro p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.65;
}

.fee-validation {
    border: 0;
    border-left: 5px solid #b51662;
    border-radius: 0;
}

.fee-validation ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.fee-accordion__item {
    margin-bottom: 0.85rem;
    border: 1px solid #d8e0eb;
    background: #fff;
    box-shadow: 0 8px 24px rgba(2, 30, 60, 0.07);
}

.fee-accordion__heading {
    margin: 0;
}

.fee-accordion__toggle {
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.3rem;
    border: 0;
    border-left: 5px solid #fdbc20;
    color: #082b5a;
    background: #fff;
    font-family: "Rubik", sans-serif !important;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fee-accordion__toggle:hover,
.fee-accordion__toggle:focus {
    outline: none;
    color: #033096;
    background: #f7f9fc;
}

.fee-accordion__toggle i {
    flex: 0 0 auto;
    color: #fdbc20;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.fee-accordion__toggle.collapsed i {
    transform: rotate(0deg);
}

.fee-group-form {
    padding: 1.5rem;
    border-top: 4px solid #fdbc20;
}

.fee-payer-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fee-payer-fields .form-group {
    margin: 0;
}

.fee-payer-fields label {
    display: block;
    margin-bottom: 0.4rem;
    color: #142947;
    font-size: 0.74rem;
    font-weight: 700;
}

.fee-payer-fields .form-control {
    min-height: 47px;
    border: 1px solid #c8d3e0;
    border-radius: 0;
    color: #10233b;
    background: #fbfcfe;
}

.fee-payer-fields .form-control:focus,
.fee-quantity:focus {
    border-color: #0756a4;
    box-shadow: 0 0 0 3px rgba(7, 86, 164, 0.12);
}

.fee-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8e0eb;
}

.fee-group-table {
    width: 100%;
    min-width: 570px;
    margin: 0;
    border-collapse: collapse;
}

.fee-group-table th,
.fee-group-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e1e7ef;
    color: #10233b;
    font-size: 0.82rem;
    vertical-align: middle;
}

.fee-group-table th {
    color: #fff;
    background: #082b5a;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fee-group-table th:nth-child(2),
.fee-group-table td:nth-child(2) {
    width: 145px;
}

.fee-group-table th:last-child,
.fee-group-table td:last-child {
    width: 105px;
    text-align: center;
}

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

.fee-group-table tbody tr:last-child td {
    border-bottom: 0;
}

.fee-price {
    color: #033096 !important;
    font-weight: 700;
    white-space: nowrap;
}

.fee-quantity {
    min-width: 72px;
    border: 1px solid #c8d3e0;
    border-radius: 0;
}

.fee-group-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.fee-group-total span,
.fee-group-total strong {
    display: block;
}

.fee-group-total span {
    color: #69788b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fee-group-total strong {
    color: #033096;
    font-size: 1.15rem;
}

.fee-pay-button {
    min-width: 230px;
    border-radius: 0;
    color: #061f42;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.fee-pay-button i {
    margin-left: 0.4rem;
}

@media (max-width: 767px) {
    .fees-page .fees-intro {
        padding: 1.25rem;
    }

    .fee-accordion__toggle {
        min-height: 62px;
        padding: 0.9rem 1rem;
        font-size: 0.77rem;
    }

    .fee-group-form {
        padding: 1rem;
    }

    .fee-payer-fields {
        grid-template-columns: 1fr;
    }

    .fee-group-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .fee-pay-button {
        width: 100%;
        min-width: 0;
    }
}
