.dash-container {
    padding: 40px;
    background: #f8fafc;
    min-height: calc(100vh - 64px);
}

/* ── HEADER ── */
.dash-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.dash-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin: 0;
}

.dash-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 4px;
}

.dash-time-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.dash-time-pill .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* ── STATS GRID ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-container {
        padding: 24px 16px;
    }

    .dash-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 24px;
    }

    .dash-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .dash-time-pill {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-val {
        font-size: 2.125rem;
    }
}

.stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.stat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
    stroke-width: 2;
    fill: none;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-val {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

.stat-val span {
    font-size: 1rem;
    color: #94a3b8;
    margin-left: 4px;
    font-weight: 500;
    font-family: inherit;
}

.stat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.stat-footer svg {
    width: 14px;
    height: 14px;
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
}

.stat-footer span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* ── PROGRESS BAR ── */
.prog-container {
    margin-top: 12px;
}

.prog-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}

.prog-rail {
    height: 6px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}

.prog-bar {
    height: 100%;
    background: #2563eb;
    border-radius: 100px;
    width: 0;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── SEMESTER INFO ── */
.sem-info {
    margin-top: 32px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sem-info svg {
    width: 24px;
    height: 24px;
    stroke: #2563eb;
}

.sem-info div {
    font-size: 0.875rem;
    color: #475569;
}

.sem-info strong {
    color: #0f172a;
    font-weight: 600;
    margin-left: 8px;
}
