/*
 * ══════════════════════════════════════════════════
 *  DASHBOARD — Frosted Crystal Premium Theme
 *  Loaded ONLY by dashboard.php
 * ══════════════════════════════════════════════════
 */

/* ── 1. PAGE FOUNDATION ─────────────────────────── */
html, body {
    background: #e8edf8 !important;
    font-family: 'DM Sans', 'Inter', sans-serif !important;
}

/* Rich multi-layer atmospheric background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(79,110,247,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(124,58,237,0.09) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(56,189,248,0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Dot-grid texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(79,110,247,0.06) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
}

/* Lift all page content above texture */
.dashboard { position: relative; z-index: 1; }

/* Card title */
.card-title {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    color: #1e2540 !important;
    font-size: 15px !important;
}

/* ── 2. TOPBAR ──────────────────────────────────── */
.top-bar {
    background: rgba(255,255,255,0.75) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.6) !important;
    box-shadow: 0 4px 24px rgba(99,120,180,0.09), inset 0 -1px 0 rgba(255,255,255,0.5) !important;
    height: 66px !important;
}

#pageTitle {
    font-family: 'Sora', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e2540 !important;
}

#pageBreadcrumb {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    color: #64748b !important;
}

/* Punch button — keep gradient, just update to match accent */
.punch-btn {
    background: linear-gradient(135deg, #4f6ef7 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 14px rgba(79,110,247,0.3) !important;
    border-radius: 10px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
}
.punch-btn.out {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Topbar user menu + logout — glass */
.user-menu {
    background: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.2s ease !important;
}
.user-menu:hover {
    background: rgba(255,255,255,0.85) !important;
    box-shadow: 0 4px 16px rgba(79,110,247,0.12) !important;
}
.user-menu span {
    font-family: 'DM Sans', sans-serif !important;
    color: #1e2540 !important;
    font-weight: 600 !important;
}

.logout-btn {
    background: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    color: #64748b !important;
    border-radius: 10px !important;
    backdrop-filter: blur(12px) !important;
    font-family: 'DM Sans', sans-serif !important;
}
.logout-btn:hover {
    background: rgba(255,255,255,0.85) !important;
    color: #ef4444 !important;
}

/* Mobile menu button in topbar — glass */
.top-bar .mobile-menu-btn {
    background: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    color: #4f6ef7 !important;
    border-radius: 10px !important;
}

/* Notifications dropdown — glass */
.notifications-dropdown {
    background: rgba(255,255,255,0.82) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    box-shadow: 0 20px 60px rgba(79,110,247,0.15) !important;
    border-radius: 16px !important;
}
.notif-header {
    background: rgba(255,255,255,0.4) !important;
    border-bottom: 1px solid rgba(99,120,180,0.12) !important;
}
.notif-header h3 {
    font-family: 'Sora', sans-serif !important;
    color: #1e2540 !important;
}
.notif-item {
    border-bottom: 1px solid rgba(99,120,180,0.08) !important;
}
.notif-item:hover { background: rgba(79,110,247,0.05) !important; }
.notif-item.unread {
    background: rgba(79,110,247,0.07) !important;
    border-left: 3px solid #4f6ef7 !important;
}
.notif-title { font-family: 'DM Sans', sans-serif !important; color: #1e2540 !important; }

/* ── 3. CONTENT AREA ────────────────────────────── */
.content-area {
    padding: 28px !important;
}

/* ── 4. GLASS CARD BASE (overrides style.css) ────── */
.card {
    background: rgba(255,255,255,0.74) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border: 1px solid rgba(255,255,255,0.68) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(99,120,180,0.13), inset 0 1px 0 rgba(255,255,255,0.82) !important;
    transition: box-shadow 0.25s ease, transform 0.22s ease !important;
}
.card:hover {
    box-shadow: 0 18px 46px rgba(79,110,247,0.15), inset 0 1px 0 rgba(255,255,255,0.9) !important;
    transform: translateY(-2px) !important;
}

/* ── 5. TABLES (inside dashboard) ───────────────── */
.dashboard th {
    background: rgba(255,255,255,0.5) !important;
    color: #64748b !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.8px !important;
    border-bottom: 1px solid rgba(99,120,180,0.14) !important;
    padding: 13px 14px !important;
}
.dashboard td {
    color: #334155 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    border-bottom: 1px solid rgba(99,120,180,0.08) !important;
    padding: 13px 14px !important;
}
.dashboard tbody tr {
    transition: background 0.15s ease !important;
}
.dashboard tbody tr:hover {
    background: rgba(79,110,247,0.04) !important;
}

/* Table-wrapper glass card */
.dashboard [style*="border-radius: 12px"][style*="overflow: hidden"],
.dashboard [style*="border-radius:12px"][style*="overflow:hidden"] {
    background: rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 32px rgba(99,120,180,0.12) !important;
}

/* Table header row inside tables */
.dashboard [style*="background: white"][style*="border-bottom"],
.dashboard [style*="background: #f8fafc"] {
    background: rgba(255,255,255,0.5) !important;
}

/* ── 6. INLINE-STYLE PANEL OVERRIDES ────────────── */

/* Any panel with white/near-white background */
.dashboard [style*="background: white"],
.dashboard [style*="background:white"],
.dashboard [style*="background: #ffffff"],
.dashboard [style*="background: #f9fafb"],
.dashboard [style*="background: #f8fafc"],
.dashboard [style*="background: #f8f9fa"] {
    background: rgba(255,255,255,0.68) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

/* Inline task/list item rows */
.dashboard [style*="background: #f8fafc"][style*="border-radius: 8px"],
.dashboard [style*="background: #f9fafb"][style*="border-radius: 8px"] {
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
}

/* Lead pipeline stage pill */
.dashboard [style*="background: #e0e7ff"] {
    background: rgba(79,110,247,0.1) !important;
}

/* Top performers gold row */
.dashboard [style*="background: linear-gradient(135deg, #fef3c7"],
.dashboard [style*="background:linear-gradient(135deg, #fef3c7"] {
    background: rgba(251,239,184,0.55) !important;
    backdrop-filter: blur(10px) !important;
}

/* ── 7. METRIC CARDS (stronger override) ─────────── */
.metric-card {
    background: rgba(255,255,255,0.76) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border: 1px solid rgba(255,255,255,0.70) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(99,120,180,0.13), inset 0 1px 0 rgba(255,255,255,0.85) !important;
    min-height: 158px !important;
    max-height: 158px !important;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease !important;
}
.metric-card:hover {
    transform: translateY(-7px) scale(1.01) !important;
    box-shadow: 0 24px 56px rgba(79,110,247,0.20), inset 0 1px 0 rgba(255,255,255,0.92) !important;
}
.metric-value {
    font-family: 'Sora', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1e2540 !important;
    letter-spacing: -0.5px !important;
}
.metric-label {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}
.metric-sublabel {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11.5px !important;
    color: #64748b !important;
}
.metric-icon {
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12) !important;
    animation: db-float 3.5s ease-in-out infinite;
}

/* ── 8. WELCOME BANNER ──────────────────────────── */
.welcome-banner {
    background: linear-gradient(135deg,
        rgba(79,110,247,0.90) 0%,
        rgba(124,58,237,0.84) 100%) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 44px rgba(79,110,247,0.24),
                inset 0 1px 0 rgba(255,255,255,0.25) !important;
    overflow: hidden;
    position: relative;
}
/* Decorative glow orb */
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -80px; right: -40px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.13) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -20px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.welcome-content h2 {
    font-family: 'Sora', sans-serif !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px !important;
}
.welcome-stat-value {
    font-family: 'Sora', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
}
.welcome-stat { border-right: 1px solid rgba(255,255,255,0.2); padding-right: 24px; }
.welcome-stat:last-child { border-right: none; padding-right: 0; }

/* ── 9. ANALYTICS SECTION ───────────────────────── */
.analytics-section {
    background: linear-gradient(135deg,
        rgba(79,110,247,0.84) 0%,
        rgba(124,58,237,0.78) 100%) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 44px rgba(79,110,247,0.22) !important;
    position: relative;
    overflow: hidden;
}
.analytics-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -30px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.analytics-title {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}
.analytics-btn {
    background: rgba(255,255,255,0.90) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.analytics-btn:hover {
    background: rgba(255,255,255,0.98) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.13) !important;
}
.analytics-btn-title {
    font-family: 'Sora', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1e2540 !important;
}
.analytics-btn-icon { font-size: 30px !important; }

/* ── 10. CHART CONTAINERS ───────────────────────── */
.chart-container {
    background: rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 32px rgba(99,120,180,0.11) !important;
}
.chart-title {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    color: #1e2540 !important;
    font-size: 15px !important;
}

/* ── 11. QUICK ACTIONS ──────────────────────────── */
.quick-action-btn {
    background: rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(99,120,180,0.10) !important;
    color: #4f6ef7 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.24s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.quick-action-btn i { transition: transform 0.2s ease !important; }
.quick-action-btn:hover {
    background: linear-gradient(135deg, #4f6ef7, #7c3aed) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 32px rgba(79,110,247,0.30) !important;
}
.quick-action-btn:hover i { transform: scale(1.15) !important; }

/* ── 12. SECTION HEADERS ────────────────────────── */
.section-header {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    color: #1e2540 !important;
    font-size: 17px !important;
}

/* ── 13. SLA ALERT ──────────────────────────────── */
.sla-alert {
    background: linear-gradient(135deg, rgba(239,68,68,0.90), rgba(220,38,38,0.84)) !important;
    backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(239,68,68,0.22) !important;
}
.sla-alert-content h3 { font-family: 'Sora', sans-serif !important; }
.btn-light {
    background: rgba(255,255,255,0.92) !important;
    border-radius: 10px !important;
}

/* ── 14. AI BRIEFING CARD ───────────────────────── */
.briefing-card {
    background: rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-top: 3px solid #4f6ef7 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(99,120,180,0.12), inset 0 1px 0 rgba(255,255,255,0.7) !important;
}
.briefing-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(99,120,180,0.10) !important;
}
.briefing-header:hover { background: rgba(79,110,247,0.03) !important; }
.briefing-greeting h2 {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    color: #1e2540 !important;
}
.briefing-stat {
    background: rgba(255,255,255,0.60) !important;
    border: 1px solid rgba(99,120,180,0.10) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(10px) !important;
}
.briefing-stat:hover {
    background: rgba(255,255,255,0.92) !important;
    box-shadow: 0 6px 20px rgba(79,110,247,0.09) !important;
    transform: translateY(-2px);
}
.briefing-stat-value { font-family: 'Sora', sans-serif !important; }
.briefing-detail-card {
    background: rgba(255,255,255,0.52) !important;
    border: 1px solid rgba(99,120,180,0.10) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(10px) !important;
}
.briefing-toggle {
    background: rgba(79,110,247,0.08) !important;
    border: 1px solid rgba(99,120,180,0.14) !important;
    color: #4f6ef7 !important;
    border-radius: 10px !important;
}
.briefing-action-btn {
    background: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(99,120,180,0.12) !important;
    border-radius: 10px !important;
    font-family: 'DM Sans', sans-serif !important;
}
.briefing-action-btn:hover {
    background: rgba(255,255,255,0.97) !important;
    color: #4f6ef7 !important;
    transform: translateY(-2px);
}
.briefing-insight {
    background: rgba(254,243,199,0.72) !important;
    border: 1px solid rgba(251,191,36,0.28) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
}

/* ── 15. ATTENDANCE MODAL ───────────────────────── */
.attendance-modal-overlay {
    background: rgba(15,23,42,0.68) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
.attendance-modal {
    background: rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 26px !important;
    box-shadow: 0 40px 100px rgba(79,110,247,0.20), inset 0 1px 0 rgba(255,255,255,0.75) !important;
}
.attendance-modal h2 {
    font-family: 'Sora', sans-serif !important;
    font-weight: 800 !important;
    color: #1e2540 !important;
}
.attendance-modal p { font-family: 'DM Sans', sans-serif !important; }
.attendance-modal-close {
    background: rgba(79,110,247,0.08) !important;
    border: 1px solid rgba(99,120,180,0.14) !important;
    color: #64748b !important;
}
.attendance-modal-close:hover {
    background: rgba(79,110,247,0.14) !important;
    color: #4f6ef7 !important;
}

/* ── 16. MY DAY WIDGET ──────────────────────────── */
.card[style*="border-left: 4px solid #6366f1"] {
    background: rgba(255,255,255,0.72) !important;
    border-left: 4px solid #4f6ef7 !important;
    border-radius: 18px !important;
}

/* ── 17. DAILY CALLS STAT MINI-CARDS ────────────── */
/* Keep their gradient backgrounds — just round corners */
.dashboard [style*="border-radius: 10px"][style*="color: white"] {
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

/* Top performer rank badge */
.dashboard [style*="linear-gradient(135deg, #667eea 0%, #764ba2 100%)"][style*="width: 32px"] {
    background: linear-gradient(135deg, #4f6ef7, #7c3aed) !important;
}

/* ── 18. NOTICES STRIP ──────────────────────────── */
.dashboard [style*="background: #eff6ff"] {
    background: rgba(219,234,254,0.65) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
}
.dashboard [style*="background: #fff7ed"] {
    background: rgba(255,237,213,0.65) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
}
.dashboard [style*="background: #f0fdf4"] {
    background: rgba(220,252,231,0.65) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
}
.dashboard [style*="background: #fef2f2"] {
    background: rgba(254,226,226,0.65) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
}

/* Sales entry missing banner */
.dashboard [style*="background: linear-gradient(135deg, #fef3c7"] {
    background: rgba(254,243,199,0.72) !important;
    backdrop-filter: blur(14px) !important;
    border-radius: 16px !important;
}

/* ── 19. BADGE / PILL OVERRIDES ─────────────────── */
.trend-up { background: rgba(220,252,231,0.75) !important; border-radius: 8px !important; }
.trend-down { background: rgba(254,226,226,0.75) !important; border-radius: 8px !important; }

/* ── 20. SCROLLBAR THEME ────────────────────────── */
.dashboard ::-webkit-scrollbar { width: 5px; height: 5px; }
.dashboard ::-webkit-scrollbar-track { background: transparent; }
.dashboard ::-webkit-scrollbar-thumb {
    background: rgba(79,110,247,0.22);
    border-radius: 8px;
}
.dashboard ::-webkit-scrollbar-thumb:hover { background: rgba(79,110,247,0.4); }

/* ── 21. KEYFRAME ANIMATIONS ────────────────────── */
@keyframes db-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes db-glow-pulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(99,120,180,0.12), inset 0 1px 0 rgba(255,255,255,0.7); }
    50%       { box-shadow: 0 10px 36px rgba(79,110,247,0.14), 0 0 0 4px rgba(79,110,247,0.04), inset 0 1px 0 rgba(255,255,255,0.7); }
}
@keyframes db-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%       { transform: translateY(-3px) rotate(1deg); }
    66%       { transform: translateY(-1px) rotate(-1deg); }
}
@keyframes db-count-in {
    from { opacity: 0; transform: scale(0.8) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Staggered content entrance */
.content-area { animation: db-fade-up 0.4s cubic-bezier(0.22,1,0.36,1) both; }
.dashboard-grid .metric-card:nth-child(1) { animation: db-fade-up 0.4s 0.08s both; }
.dashboard-grid .metric-card:nth-child(2) { animation: db-fade-up 0.4s 0.13s both; }
.dashboard-grid .metric-card:nth-child(3) { animation: db-fade-up 0.4s 0.18s both; }
.dashboard-grid .metric-card:nth-child(4) { animation: db-fade-up 0.4s 0.23s both; }
.dashboard-grid .metric-card:nth-child(5) { animation: db-fade-up 0.4s 0.28s both; }
.dashboard-grid .metric-card:nth-child(6) { animation: db-fade-up 0.4s 0.33s both; }
.dashboard-grid .metric-card:nth-child(7) { animation: db-fade-up 0.4s 0.38s both; }
.dashboard-grid .metric-card:nth-child(8) { animation: db-fade-up 0.4s 0.42s both; }
.dashboard-grid .metric-card:nth-child(9) { animation: db-fade-up 0.4s 0.46s both; }
.metric-value { animation: db-count-in 0.5s 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }

/* Charts entrance */
.charts-grid .chart-container:nth-child(1) { animation: db-fade-up 0.45s 0.22s both; }
.charts-grid .chart-container:nth-child(2) { animation: db-fade-up 0.45s 0.30s both; }
.charts-grid .card:nth-child(1)            { animation: db-fade-up 0.45s 0.10s both; }
.charts-grid .card:nth-child(2)            { animation: db-fade-up 0.45s 0.16s both; }
.charts-grid .card:nth-child(3)            { animation: db-fade-up 0.45s 0.22s both; }

/* Welcome banner entrance */
.welcome-banner { animation: db-fade-up 0.4s 0.05s both; }
.briefing-card  { animation: db-fade-up 0.4s 0.02s both; }
.analytics-section { animation: db-fade-up 0.45s 0.15s both; }
.sla-alert { animation: db-fade-up 0.45s 0.1s both; }

/* ── 22. RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
    .content-area { padding: 20px !important; }
}
@media (max-width: 768px) {
    .content-area { padding: 16px !important; }
    .welcome-banner { flex-direction: column !important; text-align: center !important; gap: 18px !important; }
    .welcome-stat { border-right: none !important; padding-right: 0 !important; }
    .welcome-stats { flex-wrap: wrap !important; justify-content: center !important; gap: 16px !important; }
    .metric-card { min-height: 138px !important; max-height: 138px !important; }
}

