.dashboard-section {
    display: none;
}

.dashboard-section.active-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dashboard-section.section-entering {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dashboard-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card-toggle .card-body,
.card.border-0 {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0.5;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-stagger > .row,
.dashboard-stagger > .card,
.dashboard-stagger > .mb-4,
.dashboard-stagger > .mb-3 {
    animation: fadeSlideIn 0.25s ease both;
}

.dashboard-stagger > :nth-child(1) { animation-delay: 0.02s; }
.dashboard-stagger > :nth-child(2) { animation-delay: 0.04s; }
.dashboard-stagger > :nth-child(3) { animation-delay: 0.06s; }
.dashboard-stagger > :nth-child(4) { animation-delay: 0.08s; }
.dashboard-stagger > :nth-child(5) { animation-delay: 0.10s; }
.dashboard-stagger > :nth-child(6) { animation-delay: 0.12s; }
.dashboard-stagger > :nth-child(7) { animation-delay: 0.14s; }
.dashboard-stagger > :nth-child(8) { animation-delay: 0.16s; }
.dashboard-stagger > :nth-child(9) { animation-delay: 0.18s; }
.dashboard-stagger > :nth-child(10) { animation-delay: 0.20s; }

@media (prefers-reduced-motion: reduce) {
    .dashboard-section,
    .dashboard-section.active-section,
    .dashboard-section.section-entering,
    .dashboard-section.section-visible {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }
    .dashboard-stagger > .row,
    .dashboard-stagger > .card,
    .dashboard-stagger > .mb-4,
    .dashboard-stagger > .mb-3 {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
