/* ============================================================
   GastroPRO - Sistema de Temas Global
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   TEMA: Default (Azul Marino + Dorado)
   ============================================================ */
:root, [data-theme="theme-default"] {
    --primary: 22, 73, 131;
    --primary-hex: #164983;
    --primary-light: #1d5ea8;
    --primary-dark: #0f3460;
    --accent: 197, 160, 89;
    --accent-hex: #C5A059;
    --sidebar-bg: #0f1e36;
    --sidebar-hover: rgba(197, 160, 89, 0.12);
    --sidebar-active: rgba(197, 160, 89, 0.2);
    --gradient-start: #164983;
    --gradient-end: #0f3460;
    --login-gradient: linear-gradient(135deg, #164983 0%, #0a2540 50%, #C5A059 100%);
}

/* ============================================================
   TEMA: Royal Purple (Púrpura Elegante)
   ============================================================ */
[data-theme="theme-purple"] {
    --primary: 115, 103, 240;
    --primary-hex: #7367f0;
    --primary-light: #8b80f5;
    --primary-dark: #5a4ecc;
    --accent: 255, 159, 67;
    --accent-hex: #ff9f43;
    --sidebar-bg: #1e1b3a;
    --sidebar-hover: rgba(115, 103, 240, 0.12);
    --sidebar-active: rgba(115, 103, 240, 0.2);
    --gradient-start: #7367f0;
    --gradient-end: #4839c4;
    --login-gradient: linear-gradient(135deg, #7367f0 0%, #2d1f8a 50%, #ff9f43 100%);
}

/* ============================================================
   TEMA: Emerald Gold (Verde Esmeralda)
   ============================================================ */
[data-theme="theme-emerald"] {
    --primary: 16, 185, 129;
    --primary-hex: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --accent: 251, 191, 36;
    --accent-hex: #fbbf24;
    --sidebar-bg: #0c2e24;
    --sidebar-hover: rgba(16, 185, 129, 0.12);
    --sidebar-active: rgba(16, 185, 129, 0.2);
    --gradient-start: #10b981;
    --gradient-end: #064e3b;
    --login-gradient: linear-gradient(135deg, #10b981 0%, #064e3b 50%, #fbbf24 100%);
}

/* ============================================================
   TEMA: Crimson Fire (Rojo Intenso)
   ============================================================ */
[data-theme="theme-crimson"] {
    --primary: 239, 68, 68;
    --primary-hex: #ef4444;
    --primary-light: #f87171;
    --primary-dark: #dc2626;
    --accent: 251, 191, 36;
    --accent-hex: #fbbf24;
    --sidebar-bg: #2a0f0f;
    --sidebar-hover: rgba(239, 68, 68, 0.12);
    --sidebar-active: rgba(239, 68, 68, 0.2);
    --gradient-start: #ef4444;
    --gradient-end: #7f1d1d;
    --login-gradient: linear-gradient(135deg, #ef4444 0%, #5c0a0a 50%, #fbbf24 100%);
}

/* ============================================================
   TEMA: Ocean Teal (Turquesa Océano)
   ============================================================ */
[data-theme="theme-teal"] {
    --primary: 6, 182, 212;
    --primary-hex: #06b6d4;
    --primary-light: #22d3ee;
    --primary-dark: #0891b2;
    --accent: 236, 72, 153;
    --accent-hex: #ec4899;
    --sidebar-bg: #0a2330;
    --sidebar-hover: rgba(6, 182, 212, 0.12);
    --sidebar-active: rgba(6, 182, 212, 0.2);
    --gradient-start: #06b6d4;
    --gradient-end: #083344;
    --login-gradient: linear-gradient(135deg, #06b6d4 0%, #042f3d 50%, #ec4899 100%);
}

/* ============================================================
   TEMA: Sunset Orange (Naranja Atardecer)
   ============================================================ */
[data-theme="theme-sunset"] {
    --primary: 249, 115, 22;
    --primary-hex: #f97316;
    --primary-light: #fb923c;
    --primary-dark: #ea580c;
    --accent: 139, 92, 246;
    --accent-hex: #8b5cf6;
    --sidebar-bg: #2d1a08;
    --sidebar-hover: rgba(249, 115, 22, 0.12);
    --sidebar-active: rgba(249, 115, 22, 0.2);
    --gradient-start: #f97316;
    --gradient-end: #7c2d12;
    --login-gradient: linear-gradient(135deg, #f97316 0%, #431407 50%, #8b5cf6 100%);
}

/* ===== Presets PRO adicionales ===== */
[data-theme="theme-indigo"] {
    --primary: 99, 102, 241; --primary-hex: #6366f1; --primary-light: #818cf8; --primary-dark: #4f46e5;
    --accent: 245, 158, 11; --accent-hex: #f59e0b;
    --sidebar-bg: #1e1b4b; --sidebar-hover: rgba(99,102,241,0.12); --sidebar-active: rgba(99,102,241,0.2);
    --gradient-start: #6366f1; --gradient-end: #312e81;
    --login-gradient: linear-gradient(135deg, #6366f1 0%, #1e1b4b 50%, #f59e0b 100%);
}
[data-theme="theme-rose"] {
    --primary: 244, 63, 94; --primary-hex: #f43f5e; --primary-light: #fb7185; --primary-dark: #e11d48;
    --accent: 251, 191, 36; --accent-hex: #fbbf24;
    --sidebar-bg: #3f0a17; --sidebar-hover: rgba(244,63,94,0.12); --sidebar-active: rgba(244,63,94,0.2);
    --gradient-start: #f43f5e; --gradient-end: #881337;
    --login-gradient: linear-gradient(135deg, #f43f5e 0%, #4c0519 50%, #fbbf24 100%);
}
[data-theme="theme-amber"] {
    --primary: 245, 158, 11; --primary-hex: #f59e0b; --primary-light: #fbbf24; --primary-dark: #d97706;
    --accent: 99, 102, 241; --accent-hex: #6366f1;
    --sidebar-bg: #2e1e05; --sidebar-hover: rgba(245,158,11,0.12); --sidebar-active: rgba(245,158,11,0.2);
    --gradient-start: #f59e0b; --gradient-end: #78350f;
    --login-gradient: linear-gradient(135deg, #f59e0b 0%, #451a03 50%, #6366f1 100%);
}
[data-theme="theme-slate"] {
    --primary: 71, 85, 105; --primary-hex: #475569; --primary-light: #64748b; --primary-dark: #334155;
    --accent: 14, 165, 233; --accent-hex: #0ea5e9;
    --sidebar-bg: #0f172a; --sidebar-hover: rgba(71,85,105,0.14); --sidebar-active: rgba(14,165,233,0.2);
    --gradient-start: #475569; --gradient-end: #1e293b;
    --login-gradient: linear-gradient(135deg, #475569 0%, #0f172a 50%, #0ea5e9 100%);
}
[data-theme="theme-sky"] {
    --primary: 14, 165, 233; --primary-hex: #0ea5e9; --primary-light: #38bdf8; --primary-dark: #0284c7;
    --accent: 244, 114, 182; --accent-hex: #f472b6;
    --sidebar-bg: #0a2540; --sidebar-hover: rgba(14,165,233,0.12); --sidebar-active: rgba(14,165,233,0.2);
    --gradient-start: #0ea5e9; --gradient-end: #075985;
    --login-gradient: linear-gradient(135deg, #0ea5e9 0%, #082f49 50%, #f472b6 100%);
}
[data-theme="theme-violet"] {
    --primary: 139, 92, 246; --primary-hex: #8b5cf6; --primary-light: #a78bfa; --primary-dark: #7c3aed;
    --accent: 34, 211, 238; --accent-hex: #22d3ee;
    --sidebar-bg: #2e1065; --sidebar-hover: rgba(139,92,246,0.12); --sidebar-active: rgba(139,92,246,0.2);
    --gradient-start: #8b5cf6; --gradient-end: #4c1d95;
    --login-gradient: linear-gradient(135deg, #8b5cf6 0%, #2e1065 50%, #22d3ee 100%);
}

/* ============================================================
   VARIABLES GLOBALES (Modo Claro por defecto)
   ============================================================ */
:root {
    /* Colores de estado */
    --success: 34, 197, 94;
    --success-hex: #22c55e;
    --warning: 249, 115, 22;
    --warning-hex: #f97316;
    --danger: 239, 68, 68;
    --danger-hex: #ef4444;
    --info: 59, 130, 246;
    --info-hex: #3b82f6;
    --purple: 168, 85, 247;
    --purple-hex: #a855f7;

    /* Estados de mesa */
    --mesa-libre: #22c55e;
    --mesa-ocupada: #f97316;
    --mesa-reservada: #3b82f6;
    --mesa-limpieza: #a855f7;
    --mesa-no-disponible: #94a3b8;

    /* Fondos - Modo Claro */
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fb;
    --bg-sidebar: var(--sidebar-bg);
    --bg-header: #ffffff;
    --bg-input: #f8f9fa;
    --bg-main: #f0f2f5;
    --bg-modal: #ffffff;
    --bg-tooltip: #1e293b;
    --bg-table-stripe: #f8fafc;

    /* Textos - Modo Claro */
    --text-primary: #1a1f36;
    --text-secondary: #5e6278;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;
    --text-sidebar: rgba(255,255,255,0.7);
    --text-sidebar-active: #ffffff;

    /* Bordes */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

    /* Tipografía */
    --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Outfit', sans-serif;

    /* Sidebar */
    --sidebar-width: 270px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;

    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* ============================================================
   MODO OSCURO
   ============================================================ */
[data-mode="dark"] {
    --bg-body: #0f1419;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --bg-header: #1a2332;
    --bg-input: #151d2b;
    --bg-main: #111820;
    --bg-modal: #1a2332;
    --bg-table-stripe: #151d2b;

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-color: #2a3544;
    --border-light: #1e293b;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.6);
}

/* ============================================================
   RESET Y BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 14px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition-normal), color var(--transition-normal);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================================
   GLOBAL FORM ELEMENTS (dark/light mode)
   ============================================================ */
input, textarea, select {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-hex);
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.1);
}
select option {
    background: var(--bg-card);
    color: var(--text-primary);
}
::placeholder { color: var(--text-muted); }

/* color-scheme for native elements */
[data-mode="dark"] { color-scheme: dark; }
[data-mode="light"] { color-scheme: light; }

/* ============================================================
   SCROLLBAR PERSONALIZADO
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(var(--primary), 0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--primary), 0.5); }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--login-gradient);
    transition: background var(--transition-slow);
}

.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(var(--accent), 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(var(--primary), 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: loginPulse 8s ease-in-out infinite alternate;
}

@keyframes loginPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.login-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 460px;
    padding: 20px;
    animation: loginSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes loginSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

.login-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

[data-mode="dark"] .login-card {
    background: rgba(26, 35, 50, 0.95);
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
}

.login-logo-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-hex);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(var(--primary), 0.35);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.login-logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.login-logo-text span {
    color: var(--accent-hex);
}

.login-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 36px;
    font-weight: 500;
}

.login-field {
    margin-bottom: 22px;
    position: relative;
}

.login-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-field .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-field .input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 20px;
    transition: color var(--transition-fast);
    pointer-events: none;
}

.login-field input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 50px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    transition: all var(--transition-fast);
    outline: none;
}

.login-field input:focus {
    border-color: var(--primary-hex);
    box-shadow: 0 0 0 4px rgba(var(--primary), 0.12);
    background: var(--bg-card);
}

.login-field input:focus + .input-icon,
.login-field input:focus ~ .input-icon {
    color: var(--primary-hex);
}

.login-field .toggle-pass {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
    padding: 4px;
    transition: color var(--transition-fast);
}

.login-field .toggle-pass:hover { color: var(--primary-hex); }

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-hex);
    cursor: pointer;
}

.login-forgot {
    font-size: 13px;
    color: var(--primary-hex);
    font-weight: 600;
    transition: opacity var(--transition-fast);
}
.login-forgot:hover { opacity: 0.7; }

.login-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--primary-hex);
    color: white;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(var(--primary), 0.35);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.login-btn:hover::before { opacity: 1; }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--primary), 0.45); }
.login-btn:active { transform: translateY(0); }

.login-btn.loading { pointer-events: none; }
.login-btn.loading .btn-text { opacity: 0; }
.login-btn.loading .btn-spinner { display: block; }

.btn-spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

@keyframes spin { to { transform: rotate(360deg); } }

.login-theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.login-theme-toggle button {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all var(--transition-fast);
}

.login-theme-toggle button:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.app-layout {
    display: flex;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}
.app-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.app-sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 22px;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.sidebar-brand-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-hex);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.sidebar-brand-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: white;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.sidebar-brand-text span { color: var(--accent-hex); }

.collapsed .sidebar-brand-text { display: none; }

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-section-title {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.25);
    padding: 16px 14px 8px;
    white-space: nowrap;
}

.collapsed .sidebar-section-title { text-align: center; padding: 16px 4px 8px; }
.collapsed .sidebar-section-title span { display: none; }
.collapsed .sidebar-section-title::after { content: '•••'; font-size: 8px; letter-spacing: 2px; }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    color: var(--text-sidebar);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
    margin-bottom: 2px;
}

.sidebar-link:hover {
    background: var(--sidebar-hover);
    color: white;
}

.sidebar-link.active {
    background: var(--sidebar-active);
    color: var(--text-sidebar-active);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-hex);
    border-radius: 0 4px 4px 0;
}

.sidebar-link .material-symbols-outlined {
    font-size: 22px;
    min-width: 22px;
    transition: color var(--transition-fast);
}

.sidebar-link.active .material-symbols-outlined { color: var(--accent-hex); }

.sidebar-link .badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    background: rgba(var(--danger), 0.2);
    color: var(--danger-hex);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
.sidebar-badge-soon {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(var(--primary), 0.12);
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.collapsed .sidebar-badge-soon { display: none; }

.collapsed .sidebar-link { justify-content: center; padding: 11px; }
.collapsed .sidebar-link span:not(.material-symbols-outlined):not(.badge) { display: none; }
.collapsed .sidebar-link .badge { display: none; }

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.sidebar-user:hover { background: rgba(255,255,255,0.06); }

.sidebar-user-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: var(--radius-md);
    background: var(--primary-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.sidebar-user-info { overflow: hidden; }
.sidebar-user-name { font-size: 13px; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 500; }
.collapsed .sidebar-user-info { display: none; }

/* ============================================================
   HEADER
   ============================================================ */
.app-header {
    height: var(--header-height);
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    z-index: 999;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.sidebar-collapsed .app-header {
    left: var(--sidebar-collapsed-width);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--bg-input);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all var(--transition-fast);
}

.header-toggle:hover { background: rgba(var(--primary), 0.08); color: var(--primary-hex); }

.header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.header-breadcrumb .crumb { color: var(--text-muted); font-weight: 500; }
.header-breadcrumb .crumb.active { color: var(--text-primary); font-weight: 600; }
.header-breadcrumb .separator { color: var(--text-muted); font-size: 18px; }

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 12px;
}

.header-clock-date { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.header-clock-time { font-size: 18px; font-weight: 800; color: var(--text-primary); font-family: var(--font-display); letter-spacing: -0.3px; }

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all var(--transition-fast);
    position: relative;
}

.header-btn:hover { background: rgba(var(--primary), 0.08); color: var(--primary-hex); }

.header-btn .notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger-hex);
    border: 2px solid var(--bg-header);
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-hex);
    overflow: hidden;
    cursor: pointer;
    background: var(--primary-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: box-shadow var(--transition-fast);
}

.header-avatar:hover { box-shadow: 0 0 0 3px rgba(var(--accent), 0.25); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.app-main {
    margin-left: var(--sidebar-width);
    padding-top: var(--header-height);
    min-height: 100vh;
    transition: margin-left var(--transition-normal);
}

.sidebar-collapsed .app-main {
    margin-left: var(--sidebar-collapsed-width);
}

.content-wrapper {
    padding: 28px;
}

/* ============================================================
   TARJETAS DE ESTADÍSTICAS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.primary { background: var(--primary-hex); }
.stat-icon.success { background: var(--success-hex); }
.stat-icon.warning { background: var(--warning-hex); }
.stat-icon.info { background: var(--info-hex); }
.stat-icon.accent { background: var(--accent-hex); }
.stat-icon.danger { background: var(--danger-hex); }
.stat-icon.purple { background: var(--purple-hex); }

.stat-info { flex: 1; }
.stat-value { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
.stat-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   ZONA DE MESAS
   ============================================================ */
.zones-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.zone-tab {
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
}

.zone-tab:hover { background: rgba(var(--primary), 0.06); color: var(--primary-hex); }

.zone-tab.active {
    background: var(--primary-hex);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary), 0.35);
}

.zone-tab .tab-count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.2);
}

.zone-tab:not(.active) .tab-count {
    background: rgba(var(--primary), 0.08);
    color: var(--primary-hex);
}

/* Legend */
.mesa-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Mesa Grid */
.mesas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 18px;
}

.mesa-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mesa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px 2px 0 0;
    transition: background var(--transition-fast);
}

.mesa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mesa-card.selected {
    border-color: var(--primary-hex) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.15), var(--shadow-lg);
}

/* Estados */
.mesa-card[data-estado="libre"] { border-color: rgba(var(--success), 0.3); }
.mesa-card[data-estado="libre"]::before { background: var(--mesa-libre); }
.mesa-card[data-estado="libre"]:hover { border-color: var(--mesa-libre); }

.mesa-card[data-estado="ocupada"] { border-color: rgba(var(--warning), 0.3); }
.mesa-card[data-estado="ocupada"]::before { background: var(--mesa-ocupada); }
.mesa-card[data-estado="ocupada"]:hover { border-color: var(--mesa-ocupada); }

.mesa-card[data-estado="reservada"] { border-color: rgba(var(--info), 0.3); }
.mesa-card[data-estado="reservada"]::before { background: var(--mesa-reservada); }
.mesa-card[data-estado="reservada"]:hover { border-color: var(--mesa-reservada); }

.mesa-card[data-estado="limpieza"] { border-color: rgba(var(--purple), 0.3); }
.mesa-card[data-estado="limpieza"]::before { background: var(--mesa-limpieza); }
.mesa-card[data-estado="limpieza"]:hover { border-color: var(--mesa-limpieza); }

.mesa-card[data-estado="no_disponible"] { border-color: rgba(148,163,184,0.3); opacity: 0.5; }
.mesa-card[data-estado="no_disponible"]::before { background: var(--mesa-no-disponible); }

.mesa-shape {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--bg-input);
    transition: all var(--transition-fast);
}

.mesa-shape.cuadrada { border-radius: var(--radius-lg); }
.mesa-shape.redonda { border-radius: 50%; }
.mesa-shape.rectangular { border-radius: var(--radius-md); width: 90px; height: 64px; }

.mesa-estado {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mesa-card[data-estado="libre"] .mesa-estado { color: var(--mesa-libre); }
.mesa-card[data-estado="ocupada"] .mesa-estado { color: var(--mesa-ocupada); }
.mesa-card[data-estado="reservada"] .mesa-estado { color: var(--mesa-reservada); }
.mesa-card[data-estado="limpieza"] .mesa-estado { color: var(--mesa-limpieza); }

.mesa-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(var(--warning), 0.08);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.mesa-timer .material-symbols-outlined { font-size: 14px; color: var(--warning-hex); }
.mesa-timer.alert { color: var(--danger-hex); background: rgba(var(--danger), 0.08); }
.mesa-timer.alert .material-symbols-outlined { color: var(--danger-hex); }

.mesa-capacity {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mesa-capacity .material-symbols-outlined { font-size: 14px; }

/* ============================================================
   PANEL LATERAL DE MESA
   ============================================================ */
.mesa-panel {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
}

.mesa-panel.open { right: 0; }

.mesa-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mesa-panel-overlay.open { opacity: 1; visibility: visible; }

.mesa-panel-header {
    padding: 28px 24px;
    background: var(--primary-hex);
    color: white;
    flex-shrink: 0;
}

.mesa-panel-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.mesa-panel-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.mesa-panel-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(255,255,255,0.12);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background var(--transition-fast);
}

.mesa-panel-close:hover { background: rgba(255,255,255,0.25); }

.mesa-panel-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
}

.mesa-panel-info {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-top: 4px;
}

.mesa-panel-timer-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mesa-panel-timer-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-hex);
}

.mesa-panel-timer-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
}

.mesa-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.mesa-panel-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.order-item:last-child { border-bottom: none; }

.order-item-left { display: flex; gap: 12px; }

.order-qty {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: var(--radius-sm);
    background: rgba(var(--primary), 0.08);
    color: var(--primary-hex);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item-name { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.order-item-detail { font-size: 12px; color: var(--text-muted); font-style: italic; margin-top: 2px; }
.order-item-price { font-size: 13.5px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }

.order-totals {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 2px solid var(--border-color);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.order-total-row.subtotal span:first-child { color: var(--text-muted); font-size: 13px; }
.order-total-row.subtotal span:last-child { font-weight: 600; font-size: 13px; }

.order-total-row.total {
    padding-top: 14px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
}

.order-total-row.total span:first-child { font-size: 16px; font-weight: 700; }
.order-total-row.total span:last-child {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-hex);
}

.mesa-panel-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-input);
    flex-shrink: 0;
}

.panel-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.panel-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.panel-action-btn:hover { border-color: var(--primary-hex); color: var(--primary-hex); background: rgba(var(--primary), 0.04); }
.panel-action-btn .material-symbols-outlined { font-size: 18px; }

.panel-main-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--primary-hex);
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 6px 20px rgba(var(--primary), 0.35);
}

.panel-main-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--primary), 0.45); }

/* ============================================================
   SELECTOR DE TEMAS
   ============================================================ */
.theme-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.theme-modal-overlay.open { opacity: 1; visibility: visible; }

.theme-modal {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    width: 90%;
    max-width: 560px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.theme-modal-overlay.open .theme-modal { transform: scale(1); }

.theme-modal-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.theme-modal-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.theme-option {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.theme-option:hover { border-color: var(--text-muted); transform: translateY(-2px); }
.theme-option.active { border-color: var(--primary-hex); box-shadow: 0 0 0 3px rgba(var(--primary), 0.15); }

.theme-swatch {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 10px;
}

.theme-swatch span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.theme-option-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.theme-mode-toggle {
    display: flex;
    background: var(--bg-input);
    border-radius: var(--radius-lg);
    padding: 5px;
    margin-bottom: 28px;
}

.theme-mode-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.theme-mode-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.theme-apply-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--primary-hex);
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(var(--primary), 0.3);
    transition: all var(--transition-normal);
}

.theme-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--primary), 0.4); }

/* ============================================================
   OVERFLOW GLOBAL FIX
   ============================================================ */
html { overflow-x: hidden; }

/* ============================================================
   USER AVATAR DROPDOWN
   ============================================================ */
.header-user-dropdown {
    position: relative;
}

.header-avatar-btn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.user-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.dropdown-user-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-display);
}

.dropdown-user-details {
    overflow: hidden;
}

.dropdown-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-role {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(var(--primary), 0.06);
    color: var(--primary-hex);
}

.dropdown-item .material-symbols-outlined {
    font-size: 20px;
    width: 20px;
}

.dropdown-item.danger {
    color: var(--danger-hex);
}

.dropdown-item.danger:hover {
    background: rgba(var(--danger), 0.06);
}

/* ============================================================
   MOBILE / RESPONSIVE
   → Movido a responsive.css para manejo centralizado
   ============================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }
.animate-fade-scale { animation: fadeInScale 0.4s ease forwards; }

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
