
:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #0b63a8;
    /* primary blue */
    --accent-2: #0e74c8;
    --success: #16a34a;
    --danger: #dc2626;
    --glass: rgba(255, 255, 255, 0.6);
    --radius: 16px;
    --shadow-1: 0 8px 20px rgba(13, 38, 76, 0.08);
    --shadow-2: 0 6px 12px rgba(13, 38, 76, 0.06);
}

/* Page layout */


/* Card */
.dashboardCard {
    width: 100%;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius);
    box-sizing: border-box;
    transition: transform .18s ease, box-shadow .18s ease;
}

/* Header */
.headerRow {
    position: relative !important;
    display: flex;
    gap: 20px;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.titleBlock {
    min-width: 0
}

.title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #0b1220;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.yearIndicator {
    font-size: 45px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.02em;
}

/* Slider area */
.sliderWrap {
    position: relative;
    overflow: hidden;
    padding-top: 8px;
    padding-bottom: 18px;
}

/* Slides layout: we position slides horizontally and use transform for transitions */
.slides {
    display: flex;
    transition: transform .6s cubic-bezier(.22, .9, .3, 1), opacity .25s ease;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    will-change: transform;
    padding: 6px 6px 12px 6px;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    opacity: 1;
}

/* Grid of metric cards */
.metricsGrid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

@media (min-width:640px) {
    .metricsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:980px) {
    .metricsGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.metricCard {
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(11, 18, 30, 0.04);
    transition: transform .18s ease, box-shadow .18s ease;
    min-height: 96px;
}

.metricCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(11, 18, 30, 0.06);
}

.metricTop {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.metricValue {
    font-size: 44px;
    font-weight: 600;
    color: #07112a;
    line-height: 1;
}

.metricChange {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .45s cubic-bezier(.2, .9, .3, 1), transform .45s cubic-bezier(.2, .9, .3, 1);
}

.metricChange.visible {
    opacity: 1;
    transform: translateY(0);
}

.metricLabel {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Controls */
.controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.controlBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid rgba(12, 20, 30, 0.06);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 6px 18px rgba(12, 24, 48, 0.06);
    transition: transform .15s ease, background .15s ease;
    backdrop-filter: blur(6px);
}

.controlBtn:active {
    transform: translateY(-50%) scale(.98);
}

.controlBtn[aria-disabled="true"] {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}

.controlPrev {
    left: 5px;
}

.controlNext {
    right: 0px;
}

/* Small icon style */
.icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    color: #0b1630;
}

/* Footer small help row */
.footerRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

/* Utility */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}