:root {
    --roi-surface: #ffffff;
    --roi-surface-soft: #f8f9fb;
    --roi-border: #e6e8ec;
    --roi-text: #20242a;
    --roi-muted: #69707a;
    --roi-radius: 14px;
    --roi-radius-sm: 10px;
    --roi-shadow: 0 8px 28px rgba(20, 24, 31, .055);
    --roi-shadow-soft: 0 3px 14px rgba(20, 24, 31, .045);
}

html,
body {
    background: #f5f6f8;
}

.gold-content {
    width: 100%;
    padding-bottom: 2rem;
}

.gold-filter-card,
.gold-toolbar {
    background: var(--roi-surface);
    border: 1px solid var(--roi-border);
    border-radius: var(--roi-radius);
    box-shadow: var(--roi-shadow-soft);
    padding: 1rem;
}

.gold-card {
    background: var(--roi-surface);
    border: 1px solid var(--roi-border) !important;
    border-radius: var(--roi-radius) !important;
    box-shadow: var(--roi-shadow-soft);
    overflow: hidden;
}

.gold-card > .card-header {
    background: var(--roi-surface) !important;
    border-bottom: 1px solid var(--roi-border) !important;
    padding: .9rem 1rem !important;
}

.gold-stat-card,
.gold-mini-stat {
    height: 100%;
    background: var(--roi-surface);
    border: 1px solid var(--roi-border);
    border-radius: var(--roi-radius);
    box-shadow: var(--roi-shadow-soft);
    padding: 1rem;
}

.gold-stat-card > span,
.gold-mini-stat > span {
    display: block;
    color: var(--roi-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .025em;
    margin-bottom: .35rem;
}

.gold-stat-card > strong,
.gold-mini-stat > strong {
    display: block;
    color: var(--roi-text);
    font-size: clamp(1.05rem, 1.25vw, 1.35rem);
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.gold-stat-card > small {
    display: block;
    color: var(--roi-muted);
    margin-top: .4rem;
    line-height: 1.25;
}

.form-control,
.form-select {
    min-height: 42px;
    border-color: #dfe2e7;
    border-radius: var(--roi-radius-sm);
}

.form-control:focus,
.form-select:focus {
    border-color: #aeb4bd;
    box-shadow: 0 0 0 .2rem rgba(33, 37, 41, .08);
}

.btn {
    border-radius: var(--roi-radius-sm);
    font-weight: 600;
}

.alert {
    border-radius: var(--roi-radius-sm);
}

.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #c7ccd3 transparent;
}

.gold-data-table {
    margin-bottom: 0 !important;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
}

.gold-data-table thead th {
    background: var(--roi-surface-soft);
    color: #555d68;
    border-bottom: 1px solid #dde1e6;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .012em;
    padding: .72rem .78rem;
    vertical-align: middle;
    white-space: nowrap;
}

.gold-data-table tbody td {
    border-color: #edf0f2;
    padding: .68rem .78rem;
    vertical-align: middle;
}

.gold-data-table tbody tr:hover > * {
    background: #fafbfc;
}

.metric-value {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gold-pagination {
    border-top: 1px solid var(--roi-border);
    padding: .9rem 1rem;
    background: #fff;
}

.gold-pagination .pagination {
    margin-bottom: 0;
}

.gold-page-title {
    letter-spacing: -.025em;
}

.gold-page-subtitle {
    color: var(--roi-muted);
}

.gold-topbar {
    backdrop-filter: saturate(120%) blur(8px);
}

.gold-nav-link {
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .gold-filter-card,
    .gold-toolbar {
        padding: .85rem;
    }

    .gold-stat-card,
    .gold-mini-stat {
        padding: .85rem;
    }

    .gold-card {
        border-radius: 12px !important;
    }
}
