.fees-page {
    background:
        radial-gradient(circle at top left, rgba(21, 128, 61, 0.08), transparent 26%),
        linear-gradient(180deg, #f7fbff 0%, #f6fbf7 100%);
}

.fees-main {
    padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.fees-shell {
    width: min(100%, 82rem);
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
}

.fees-panel {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.5rem;
    padding: clamp(1.2rem, 3vw, 1.6rem);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.08);
}

.fees-hero h1 {
    margin: 0 0 0.55rem;
    color: #14532d;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.fees-hero p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    max-width: 68ch;
}

.fees-filters {
    display: grid;
    gap: 1rem;
}

.fees-fields {
    display: grid;
    gap: 1rem;
}

.fees-field {
    display: grid;
    gap: 0.5rem;
}

.fees-field label {
    color: #0f172a;
    font-weight: 600;
}

.fees-field input,
.fees-field select {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid #cbd5e1;
    font: inherit;
    background: #fff;
    color: #0f172a;
}

.fees-field input:focus,
.fees-field select:focus {
    outline: none;
    border-color: #15803d;
    box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.12);
}

.fees-button {
    min-height: 3rem;
    border: 0;
    border-radius: 0.95rem;
    padding: 0.85rem 1.15rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #15803d, #16a34a);
    color: #fff;
    box-shadow: 0 12px 26px rgba(21, 128, 61, 0.18);
}

.fees-stats {
    display: grid;
    gap: 1rem;
}

.fees-stat {
    border: 1px solid #dbe4ee;
    border-radius: 1.15rem;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.fees-stat h2,
.fees-stat h3 {
    margin: 0 0 0.35rem;
    color: #14532d;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
}

.fees-stat p {
    margin: 0;
    color: #64748b;
}

.fees-section h2 {
    margin: 0 0 0.85rem;
    color: #0f172a;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.fees-cards {
    display: grid;
    gap: 1rem;
}

.fees-card {
    border: 1px solid #dbe4ee;
    border-radius: 1.15rem;
    padding: 1rem;
    background: #fff;
    display: grid;
    gap: 0.85rem;
}

.fees-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.fees-card-title {
    margin: 0;
    font-size: 1.12rem;
    color: #0f172a;
}

.fees-card-meta {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fees-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fees-badge--paid {
    background: #fff7cc;
    border: 1px solid #f5d97b;
    color: #854d0e;
}

.fees-badge--free {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.fees-badge--unknown {
    background: #f1f5f9;
    border: 1px solid #dbe4ee;
    color: #475569;
}

.fees-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #14532d;
}

.fees-notes {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.fees-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.fees-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.fees-link:hover,
.fees-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.fees-verified {
    color: #64748b;
    font-size: 0.9rem;
}

.fees-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 1.15rem;
    padding: 1.4rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
}

.fees-disclaimer {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (min-width: 48rem) {
    .fees-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
    }

    .fees-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fees-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 72rem) {
    .fees-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
