﻿.fee-section {
    margin-bottom: 2.5rem;
}

.fee-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #fff0ee;
    color: #0d2137;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    border-left: 4px solid #ff2400;
}

.fee-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    white-space: nowrap;
}

.fee-table thead tr {
    background-color: #0d2137;
    color: #ffffff;
}

.fee-table thead th {
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff !important;
}

.fee-table thead th:first-child {
    text-align: left;
}

.fee-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s;
}

.fee-table tbody tr:last-child {
    border-bottom: none;
}

.fee-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

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

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

.fee-table td {
    padding: 0.75rem 1rem;
    color: #374151;
    vertical-align: middle;
}

.fee-table td:not(:first-child) {
    text-align: center;
}

.fee-table td:first-child {
    font-weight: 500;
}


.fee-free {
    color: #2baa8e;
    font-weight: 700;
}

.fee-limit {
    color: #e67e22;
    font-weight: 600;
}

.fee-rate {
    color: #e67e22;
    font-weight: 600;
}

.fee-dash {
    color: #9ca3af;
}

sup.fee-note {
    color: #ff2400;
    font-weight: 600;
    font-size: 0.7em;
}


.fee-footnotes {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.fee-footnotes-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0d2137;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff2400;
}

.fee-footnotes-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.fee-footnotes-list p {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.6;
}

.fee-footnotes-list p strong {
    color: #374151;
}


.fee-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
    color: #92400e;
    margin-top: 0.5rem;
}

.fee-warning-icon {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 0.1rem;
}


.dark .fee-section-title {
    background-color: rgba(255, 36, 0, 0.08);
    color: #ffffff;
}

.dark .fee-table-wrapper {
    border-color: #2d3748;
}

.dark .fee-table tbody tr:nth-child(odd) {
    background-color: #1a2535;
}

.dark .fee-table tbody tr:nth-child(even) {
    background-color: #1e2d3d;
}

.dark .fee-table tbody tr:hover {
    background-color: #2a1515;
}

.dark .fee-table td {
    color: #d1d5db;
    border-bottom-color: #2d3748;
}

.dark .fee-table td:first-child {
    color: #e5e7eb;
}

.dark .fee-footnotes-title {
    color: #ffffff;
    border-bottom-color: #ff2400;
}

.dark .fee-footnotes-list p {
    color: #9ca3af;
}

.dark .fee-footnotes-list p strong {
    color: #d1d5db;
}

.dark .fee-warning {
    background-color: rgba(146, 64, 14, 0.15);
    border-color: rgba(252, 211, 77, 0.3);
    color: #fcd34d;
}
@media (max-width: 640px) {
    .fee-section-title {
        font-size: 0.8125rem;
    }

    .fee-table {
        font-size: 0.8125rem;
    }

    .fee-table td,
    .fee-table th {
        padding: 0.625rem 0.75rem;
    }
}