:root,
[data-theme="dark"] {
    --bg-color: #0b0f19;
    --bg-gradient-1: rgba(56, 189, 248, 0.08);
    --bg-gradient-2: rgba(168, 85, 247, 0.08);
    --card-bg: rgba(15, 23, 42, 0.32);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-border: rgba(56, 189, 248, 0.4);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-purple: #c084fc;
    --accent-green: #22c55e;
    --accent-yellow: #eab308;
    --accent-red: #ef4444;
    --bar-bg: rgba(255, 255, 255, 0.06);
    --inner-bg: rgba(0, 0, 0, 0.10);
    --table-header-bg: rgba(255, 255, 255, 0.05);
    --dropdown-bg: rgba(15, 23, 42, 0.16);
    --cselect-bg: rgba(15, 23, 42, 0.96);
    --cselect-border: rgba(56, 189, 248, 0.40);
    --shadow-style: 0 12px 32px rgba(0, 0, 0, 0.35);

    --console-bg: rgba(0, 0, 0, 0.28);
    --console-input-bg: rgba(0, 0, 0, 0.38);

    --glass-blur-card: 18px;
    --glass-blur-modal: 28px;
    --glass-blur-nav: 16px;
}

[data-theme="light"] {
    --cselect-bg: rgba(255, 255, 255, 0.97);
    --cselect-border: rgba(2, 132, 199, 0.40);
}

/* Glassmorphism / Global Glass Opacity Levels (3 Niveles: Nivel 1 = Menor opacidad, Nivel 2 = Medio, Nivel 3 = Mayor opacidad) */
[data-glass-level="1"] {
    --card-bg: rgba(15, 23, 42, 0.12);
    --inner-bg: rgba(255, 255, 255, 0);
    --dropdown-bg: rgba(15, 23, 42, 0.08);
    --cselect-bg: rgba(15, 23, 42, 0.92);
    --cselect-border: rgba(56, 189, 248, 0.30);
    --console-bg: rgba(0, 0, 0, 0.15);
    --console-input-bg: rgba(0, 0, 0, 0.22);
    --glass-blur-card: 28px;
    --glass-blur-modal: 36px;
    --glass-blur-nav: 24px;
}

[data-glass-level="1"][data-theme="light"] {
    --card-bg: rgba(255, 255, 255, 0.82);
    --inner-bg: rgba(241, 245, 249, 0.70);
    --dropdown-bg: rgba(255, 255, 255, 0.90);
    --cselect-bg: rgba(255, 255, 255, 0.96);
    --cselect-border: rgba(2, 132, 199, 0.45);
    --console-bg: #091322;
    --console-input-bg: #050b14;
    --glass-blur-card: 28px;
    --glass-blur-modal: 36px;
    --glass-blur-nav: 24px;
}

[data-glass-level="1"][data-oled="true"],
[data-glass-level="1"][data-theme="dark"][data-oled="true"] {
    --card-bg: rgba(0, 0, 0, 0.35);
    --inner-bg: rgba(255, 255, 255, 0.02);
    --dropdown-bg: #000000;
    --cselect-bg: rgba(0, 0, 0, 0.92);
    --cselect-border: rgba(56, 189, 248, 0.35);
    --console-bg: #000000;
    --console-input-bg: #080808;
    --glass-blur-card: 28px;
    --glass-blur-modal: 36px;
    --glass-blur-nav: 24px;
}

[data-glass-level="2"] {
    --card-bg: rgba(15, 23, 42, 0.35);
    --inner-bg: rgba(255, 255, 255, 0.01);
    --dropdown-bg: rgba(15, 23, 42, 0.30);
    --cselect-bg: rgba(15, 23, 42, 0.96);
    --cselect-border: rgba(56, 189, 248, 0.40);
    --console-bg: rgba(0, 0, 0, 0.28);
    --console-input-bg: rgba(0, 0, 0, 0.38);
    --glass-blur-card: 18px;
    --glass-blur-modal: 26px;
    --glass-blur-nav: 16px;
}

[data-glass-level="2"][data-theme="light"] {
    --card-bg: rgba(255, 255, 255, 0.90);
    --inner-bg: rgba(241, 245, 249, 0.85);
    --dropdown-bg: rgba(255, 255, 255, 0.96);
    --cselect-bg: rgba(255, 255, 255, 0.98);
    --cselect-border: rgba(2, 132, 199, 0.55);
    --console-bg: #091322;
    --console-input-bg: #050b14;
    --glass-blur-card: 18px;
    --glass-blur-modal: 26px;
    --glass-blur-nav: 16px;
}

[data-glass-level="2"][data-oled="true"],
[data-glass-level="2"][data-theme="dark"][data-oled="true"] {
    --card-bg: rgba(0, 0, 0, 0.65);
    --inner-bg: rgba(255, 255, 255, 0.03);
    --dropdown-bg: #000000;
    --cselect-bg: #000000;
    --cselect-border: rgba(56, 189, 248, 0.45);
    --console-bg: #000000;
    --console-input-bg: #080808;
    --glass-blur-card: 18px;
    --glass-blur-modal: 26px;
    --glass-blur-nav: 16px;
}

[data-glass-level="3"] {
    --card-bg: rgba(15, 23, 42, 0.75);
    --inner-bg: rgba(255, 255, 255, 0.02);
    --dropdown-bg: rgba(15, 23, 42, 0.70);
    --cselect-bg: rgba(15, 23, 42, 0.98);
    --cselect-border: rgba(56, 189, 248, 0.55);
    --console-bg: rgba(0, 0, 0, 0.55);
    --console-input-bg: rgba(0, 0, 0, 0.70);
    --glass-blur-card: 10px;
    --glass-blur-modal: 16px;
    --glass-blur-nav: 10px;
}

[data-glass-level="3"][data-theme="light"] {
    --card-bg: rgba(255, 255, 255, 0.97);
    --inner-bg: rgba(241, 245, 249, 0.95);
    --dropdown-bg: #ffffff;
    --cselect-bg: #ffffff;
    --cselect-border: rgba(2, 132, 199, 0.70);
    --console-bg: #091322;
    --console-input-bg: #050b14;
    --glass-blur-card: 10px;
    --glass-blur-modal: 16px;
    --glass-blur-nav: 10px;
}

[data-glass-level="3"][data-oled="true"],
[data-glass-level="3"][data-theme="dark"][data-oled="true"] {
    --card-bg: rgba(0, 0, 0, 0.92);
    --inner-bg: rgba(255, 255, 255, 0.04);
    --dropdown-bg: #000000;
    --cselect-bg: #000000;
    --cselect-border: rgba(56, 189, 248, 0.60);
    --console-bg: #000000;
    --console-input-bg: #080808;
    --glass-blur-card: 10px;
    --glass-blur-modal: 16px;
    --glass-blur-nav: 10px;
}

/* =========================================================================
   TEMA: GLASSMORFISMO (AURA NEBULA, CYBER FROST & PREMIUM GLASS MESH)
   ========================================================================= */

/* Fondo de Pantalla Base Global Glassmorphism (Modo Oscuro / Cyber Nebula) */
body,
[data-theme-style="glassmorphism"] body,
[data-theme-style="glassmorphism"][data-theme="dark"] body {
    background-color: #070b16 !important;
    background-image:
        radial-gradient(ellipse 90% 60% at 88% -5%, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.10) 35%, transparent 65%),
        radial-gradient(ellipse 85% 70% at 10% 15%, rgba(168, 85, 247, 0.18) 0%, rgba(147, 51, 234, 0.08) 40%, transparent 65%),
        radial-gradient(ellipse 80% 60% at 85% 85%, rgba(99, 102, 241, 0.18) 0%, rgba(79, 70, 229, 0.07) 45%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 15% 90%, rgba(20, 184, 166, 0.15) 0%, rgba(13, 148, 136, 0.06) 40%, transparent 65%),
        radial-gradient(circle at 50% 45%, rgba(30, 41, 59, 0.40) 0%, transparent 80%),
        linear-gradient(180deg, #070b16 0%, #090f20 50%, #080d1a 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}

/* Fondo de Pantalla Glassmorphism Modo Claro (Frosted Crystal Sky & Pastel Aura) */
[data-theme-style="glassmorphism"][data-theme="light"] body,
[data-theme="light"]:not([data-theme-style="frutiger-aero"]):not([data-theme-style="sonic-mania"]):not([data-theme-style="8bit"]) body {
    background-color: #f1f5f9 !important;
    background-image:
        radial-gradient(ellipse 90% 65% at 90% -5%, rgba(56, 189, 248, 0.32) 0%, rgba(186, 230, 253, 0.4) 35%, transparent 65%),
        radial-gradient(ellipse 85% 70% at 10% 25%, rgba(192, 132, 252, 0.28) 0%, rgba(233, 213, 255, 0.35) 40%, transparent 65%),
        radial-gradient(ellipse 80% 65% at 85% 90%, rgba(129, 140, 248, 0.25) 0%, rgba(199, 210, 254, 0.35) 45%, transparent 70%),
        radial-gradient(ellipse 75% 55% at 15% 90%, rgba(52, 211, 153, 0.22) 0%, rgba(167, 243, 208, 0.3) 40%, transparent 65%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 80%),
        linear-gradient(180deg, #eef2ff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}

/* Fondo de Pantalla Glassmorphism Modo OLED / Pure Black */
[data-theme-style="glassmorphism"][data-oled="true"] body,
[data-theme-style="glassmorphism"][data-theme="dark"][data-oled="true"] body {
    background-color: #000000 !important;
    background-image:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 10% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #030305 100%) !important;
    background-attachment: fixed !important;
}

/* Glassmorfismo Theme Surfaces & Cards */
[data-theme-style="glassmorphism"] .card,
[data-theme-style="glassmorphism"] .sys-banner {
    backdrop-filter: blur(var(--glass-blur-card, 18px)) saturate(180%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-card, 18px)) saturate(180%) !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35), inset 0 1px 1px 0 rgba(255, 255, 255, 0.12) !important;
}

[data-theme-style="glassmorphism"][data-theme="light"] .card,
[data-theme-style="glassmorphism"][data-theme="light"] .sys-banner {
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 10px 30px -5px rgba(31, 38, 135, 0.09), inset 0 1px 1px 0 rgba(255, 255, 255, 0.95) !important;
}

[data-theme-style="glassmorphism"] .top-nav-bar,
[data-theme-style="glassmorphism"] .sidebar {
    backdrop-filter: blur(var(--glass-blur-nav, 16px)) saturate(180%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-nav, 16px)) saturate(180%) !important;
    border-bottom: 1px solid var(--card-border) !important;
}

[data-theme-style="glassmorphism"] .login-modal-box,
[data-theme-style="glassmorphism"] .custom-confirm-box,
[data-theme-style="glassmorphism"] .server-modal-box,
[data-theme-style="glassmorphism"] .cselect-dropdown,
[data-theme-style="glassmorphism"] .cselect-trigger {
    backdrop-filter: blur(var(--glass-blur-modal, 26px)) saturate(180%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-modal, 26px)) saturate(180%) !important;
}

[data-theme-style="glassmorphism"] .user-dropdown-menu,
[data-theme-style="glassmorphism"] .guest-dropdown-menu,
[data-theme-style="glassmorphism"] .login-dropdown-menu,
[data-theme-style="glassmorphism"] .notif-dropdown-menu,
[data-theme-style="glassmorphism"] .pref-panel {
    background: var(--dropdown-bg) !important;
    backdrop-filter: blur(var(--glass-blur-modal, 28px)) saturate(200%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-modal, 28px)) saturate(200%) !important;
    border: 1px solid var(--card-border) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

[data-theme-style="glassmorphism"] .user-dropdown-pref-box {
    background: var(--inner-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* =========================================================================
   TEMA: FRUTIGER AERO (AQUA GLOSS, SKY BLUE & NATURE AURA)
   ========================================================================= */
[data-theme-style="frutiger-aero"] {
    --glass-blur-card: 20px;
    --glass-blur-modal: 28px;
    --glass-blur-nav: 18px;
}

/* Frutiger Aero - Modo Claro (Sky Aqua & Fresh Lime Glow) */
[data-theme-style="frutiger-aero"][data-theme="light"],
[data-theme-style="frutiger-aero"]:not([data-theme="dark"]) {
    --bg-color: #d8f3fd;
    --bg-gradient-1: rgba(56, 189, 248, 0.45);
    --bg-gradient-2: rgba(74, 222, 128, 0.35);
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(215, 243, 255, 0.72) 100%);
    --card-border: rgba(255, 255, 255, 0.95);
    --card-hover-border: rgba(56, 189, 248, 0.7);
    --text-main: #063146;
    --text-muted: #3b7b99;
    --accent-blue: #0284c7;
    --accent-purple: #9333ea;
    --accent-green: #16a34a;
    --accent-yellow: #d97706;
    --accent-red: #dc2626;
    --bar-bg: rgba(0, 70, 120, 0.1);
    --inner-bg: rgba(255, 255, 255, 0.65);
    --table-header-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(210, 240, 252, 0.75) 100%);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(215, 243, 255, 0.10) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 242, 254, 0.92) 100%);
    --cselect-border: rgba(56, 189, 248, 0.55);
    --shadow-style: 0 12px 36px rgba(2, 132, 199, 0.18), inset 0 1px 1px #ffffff;
}

[data-theme-style="frutiger-aero"][data-theme="light"] body,
[data-theme-style="frutiger-aero"]:not([data-theme="dark"]) body {
    background-color: #d8f3fd !important;
    background-image:
        radial-gradient(ellipse 95% 55% at 50% -5%, rgba(255, 255, 255, 0.98) 0%, rgba(186, 230, 253, 0.7) 35%, transparent 70%),
        radial-gradient(ellipse 70% 70% at 80% 80%, rgba(187, 247, 208, 0.65) 0%, rgba(134, 239, 172, 0.3) 45%, transparent 70%),
        radial-gradient(ellipse 55% 55% at 18% 75%, rgba(254, 240, 138, 0.5) 0%, rgba(253, 224, 71, 0.18) 45%, transparent 70%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(74, 222, 128, 0.2) 60%, rgba(251, 191, 36, 0.18) 100%),
        linear-gradient(180deg, #caeefc 0%, #e2f8fc 48%, #dbf5df 100%) !important;
    background-attachment: fixed !important;
}

/* Frutiger Aero - Modo Oscuro (Windows Vista Ultimate Aurora Night) */
[data-theme-style="frutiger-aero"][data-theme="dark"] {
    --bg-color: #030e1d;
    --bg-gradient-1: rgba(14, 165, 233, 0.35);
    --bg-gradient-2: rgba(34, 197, 94, 0.26);
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(8, 43, 70, 0.24) 20%, rgba(4, 25, 45, 0.30) 100%);
    --card-border: rgba(125, 211, 252, 0.35);
    --card-hover-border: rgba(56, 189, 248, 0.65);
    --text-main: #f0fdf4;
    --text-muted: #8ec5dc;
    --accent-blue: #38bdf8;
    --accent-purple: #c084fc;
    --accent-green: #34d399;
    --accent-yellow: #fbbf24;
    --accent-red: #f87171;
    --bar-bg: rgba(255, 255, 255, 0.1);
    --inner-bg: rgba(0, 25, 45, 0.14);
    --table-header-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(10, 45, 75, 0.25) 100%);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(8, 43, 70, 0.14) 20%, rgba(4, 25, 45, 0.18) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(14, 42, 70, 0.92) 0%, rgba(4, 20, 36, 0.95) 100%);
    --cselect-border: rgba(125, 211, 252, 0.5);
    --shadow-style: 0 14px 40px rgba(0, 20, 45, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] body {
    background-color: #030e1d !important;
    background-image:
        radial-gradient(ellipse 95% 55% at 85% 18%, rgba(56, 189, 248, 0.45) 0%, rgba(14, 165, 233, 0.22) 35%, transparent 70%),
        radial-gradient(ellipse 80% 75% at 55% 55%, rgba(52, 211, 153, 0.38) 0%, rgba(16, 185, 129, 0.18) 45%, transparent 70%),
        radial-gradient(ellipse 65% 60% at 20% 78%, rgba(251, 191, 36, 0.28) 0%, rgba(217, 119, 6, 0.12) 40%, transparent 65%),
        linear-gradient(140deg, #030d1c 0%, #072545 35%, #053b3f 65%, #021220 100%) !important;
    background-attachment: fixed !important;
}

/* Frutiger Aero - Modo Negro Puro / AMOLED / OLED */
[data-theme-style="frutiger-aero"][data-oled="true"],
[data-theme-style="frutiger-aero"][data-theme="dark"][data-oled="true"] {
    --bg-color: #000000;
    --bg-gradient-1: rgba(14, 165, 233, 0.12);
    --bg-gradient-2: rgba(34, 197, 94, 0.08);
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(4, 18, 30, 0.45) 18%, rgba(0, 0, 0, 0.72) 100%);
    --card-border: rgba(56, 189, 248, 0.28);
    --card-hover-border: rgba(56, 189, 248, 0.7);
    --text-main: #f0fdf4;
    --text-muted: #7dd3fc;
    --accent-blue: #38bdf8;
    --accent-purple: #c084fc;
    --accent-green: #34d399;
    --accent-yellow: #fbbf24;
    --accent-red: #f87171;
    --bar-bg: rgba(255, 255, 255, 0.08);
    --inner-bg: rgba(255, 255, 255, 0.03);
    --table-header-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 15, 30, 0.5) 100%);
    --dropdown-bg: #000000;
    --cselect-bg: rgba(0, 0, 0, 0.75);
    --cselect-border: rgba(56, 189, 248, 0.4);
    --shadow-style: 0 14px 40px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    --console-bg: #000000;
    --console-input-bg: rgba(255, 255, 255, 0.04);
}

[data-theme-style="frutiger-aero"][data-oled="true"] body,
[data-theme-style="frutiger-aero"][data-theme="dark"][data-oled="true"] body {
    background-color: #000000 !important;
    background-image:
        radial-gradient(ellipse 85% 50% at 85% 18%, rgba(56, 189, 248, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 70% 65% at 50% 55%, rgba(52, 211, 153, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 20% 80%, rgba(251, 191, 36, 0.16) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #01060f 50%, #000000 100%) !important;
    background-attachment: fixed !important;
}

/* Frutiger Aero Glass Levels (3 Niveles: Bajo, Medio, Alto) */
[data-theme-style="frutiger-aero"][data-glass-level="1"][data-theme="dark"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(8, 43, 70, 0.12) 20%, rgba(4, 25, 45, 0.16) 100%);
    --inner-bg: rgba(0, 25, 45, 0.08);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(8, 43, 70, 0.16) 20%, rgba(4, 25, 45, 0.22) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(14, 42, 70, 0.65) 0%, rgba(4, 20, 36, 0.75) 100%);
    --cselect-border: rgba(125, 211, 252, 0.35);
    --console-bg: rgba(2, 10, 20, 0.20);
    --console-input-bg: rgba(2, 10, 20, 0.30);
    --glass-blur-card: 26px;
    --glass-blur-modal: 36px;
}

[data-theme-style="frutiger-aero"][data-glass-level="1"][data-theme="light"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(224, 242, 254, 0.75) 100%);
    --inner-bg: rgba(255, 255, 255, 0.65);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(224, 242, 254, 0.80) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 242, 254, 0.90) 100%);
    --cselect-border: rgba(56, 189, 248, 0.55);
    --console-bg: #07192f;
    --console-input-bg: #030d1c;
    --glass-blur-card: 26px;
    --glass-blur-modal: 36px;
}

[data-theme-style="frutiger-aero"][data-glass-level="1"][data-oled="true"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(4, 18, 30, 0.28) 18%, rgba(0, 0, 0, 0.45) 100%);
    --inner-bg: rgba(255, 255, 255, 0.02);
    --dropdown-bg: #000000;
    --cselect-bg: rgba(0, 0, 0, 0.85);
    --cselect-border: rgba(56, 189, 248, 0.35);
    --console-bg: #000000;
    --console-input-bg: #080808;
    --glass-blur-card: 26px;
    --glass-blur-modal: 36px;
}

[data-theme-style="frutiger-aero"][data-glass-level="2"][data-theme="dark"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(8, 43, 70, 0.24) 20%, rgba(4, 25, 45, 0.30) 100%);
    --inner-bg: rgba(0, 25, 45, 0.14);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(8, 43, 70, 0.25) 20%, rgba(4, 25, 45, 0.32) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(14, 42, 70, 0.88) 0%, rgba(4, 20, 36, 0.92) 100%);
    --cselect-border: rgba(125, 211, 252, 0.5);
    --console-bg: #07192f;
    --console-input-bg: #030d1c;
    --glass-blur-card: 20px;
    --glass-blur-modal: 30px;
}

[data-theme-style="frutiger-aero"][data-glass-level="2"][data-theme="light"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(215, 243, 255, 0.82) 100%);
    --inner-bg: rgba(255, 255, 255, 0.75);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(215, 243, 255, 0.85) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.92) 100%);
    --cselect-border: rgba(56, 189, 248, 0.65);
    --console-bg: #07192f;
    --console-input-bg: #030d1c;
    --glass-blur-card: 20px;
    --glass-blur-modal: 30px;
}

[data-theme-style="frutiger-aero"][data-glass-level="2"][data-oled="true"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(4, 18, 30, 0.45) 18%, rgba(0, 0, 0, 0.72) 100%);
    --inner-bg: rgba(255, 255, 255, 0.03);
    --dropdown-bg: #000000;
    --cselect-bg: #000000;
    --cselect-border: rgba(56, 189, 248, 0.4);
    --console-bg: #000000;
    --console-input-bg: #080808;
    --glass-blur-card: 20px;
    --glass-blur-modal: 30px;
}

[data-theme-style="frutiger-aero"][data-glass-level="3"][data-theme="dark"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(8, 43, 70, 0.44) 20%, rgba(4, 25, 45, 0.52) 100%);
    --inner-bg: rgba(0, 25, 45, 0.26);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(8, 43, 70, 0.38) 20%, rgba(4, 25, 45, 0.45) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(14, 42, 70, 0.98) 0%, rgba(4, 20, 36, 0.98) 100%);
    --cselect-border: rgba(125, 211, 252, 0.65);
    --console-bg: #07192f;
    --console-input-bg: #030d1c;
    --glass-blur-card: 14px;
    --glass-blur-modal: 24px;
}

[data-theme-style="frutiger-aero"][data-theme="light"][data-glass-level="3"],
[data-theme-style="frutiger-aero"][data-glass-level="3"][data-theme="light"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(215, 243, 255, 0.92) 100%);
    --inner-bg: rgba(255, 255, 255, 0.88);
    --dropdown-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(215, 243, 255, 0.88) 100%);
    --cselect-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(224, 242, 254, 0.96) 100%);
    --cselect-border: rgba(56, 189, 248, 0.7);
    --console-bg: #07192f;
    --console-input-bg: #030d1c;
    --glass-blur-card: 14px;
    --glass-blur-modal: 24px;
}

[data-theme-style="frutiger-aero"][data-glass-level="3"][data-oled="true"] {
    --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(4, 18, 30, 0.70) 18%, rgba(0, 0, 0, 0.88) 100%);
    --inner-bg: rgba(255, 255, 255, 0.04);
    --dropdown-bg: #000000;
    --cselect-bg: #000000;
    --cselect-border: rgba(56, 189, 248, 0.5);
    --console-bg: #000000;
    --console-input-bg: rgba(255, 255, 255, 0.05);
    --glass-blur-card: 14px;
    --glass-blur-modal: 18px;
}

/* =========================================================================
   MODO OPACO / SÓLIDO Y AHORRO DE ENERGÍA / GPU (ECO / OPAQUE MODE)
   ========================================================================= */
[data-eco-mode="true"],
[data-opaque="true"],
[data-theme-style="opaque"] {
    --glass-blur-card: 0px !important;
    --glass-blur-modal: 0px !important;
    --glass-blur-nav: 0px !important;
}

[data-eco-mode="true"] .card,
[data-eco-mode="true"] .top-nav-bar,
[data-eco-mode="true"] .sidebar,
[data-eco-mode="true"] .sys-banner,
[data-eco-mode="true"] .user-dropdown-menu,
[data-eco-mode="true"] .login-modal-box,
[data-eco-mode="true"] .custom-confirm-box,
[data-eco-mode="true"] .server-modal-box,
[data-eco-mode="true"] .pref-panel,
[data-eco-mode="true"] #power-control-modal,
[data-eco-mode="true"] #login-modal,
[data-eco-mode="true"] #server-control-modal,
[data-eco-mode="true"] #custom-confirm-modal,
[data-eco-mode="true"] .modal-overlay,
[data-eco-mode="true"] .cselect-dropdown,
[data-opaque="true"] .card,
[data-opaque="true"] .top-nav-bar,
[data-opaque="true"] .sidebar,
[data-opaque="true"] .sys-banner,
[data-opaque="true"] .user-dropdown-menu,
[data-opaque="true"] .login-modal-box,
[data-opaque="true"] .custom-confirm-box,
[data-opaque="true"] .server-modal-box,
[data-opaque="true"] .pref-panel,
[data-opaque="true"] #power-control-modal,
[data-opaque="true"] #login-modal,
[data-opaque="true"] #server-control-modal,
[data-opaque="true"] #custom-confirm-modal,
[data-opaque="true"] .modal-overlay,
[data-opaque="true"] .cselect-dropdown,
[data-theme-style="opaque"] .card,
[data-theme-style="opaque"] .top-nav-bar,
[data-theme-style="opaque"] .sidebar,
[data-theme-style="opaque"] .sys-banner,
[data-theme-style="opaque"] .user-dropdown-menu,
[data-theme-style="opaque"] .login-modal-box,
[data-theme-style="opaque"] .custom-confirm-box,
[data-theme-style="opaque"] .server-modal-box,
[data-theme-style="opaque"] .pref-panel,
[data-theme-style="opaque"] #power-control-modal,
[data-theme-style="opaque"] #login-modal,
[data-theme-style="opaque"] #server-control-modal,
[data-theme-style="opaque"] #custom-confirm-modal,
[data-theme-style="opaque"] .modal-overlay,
[data-theme-style="opaque"] .cselect-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

[data-eco-mode="true"][data-theme="dark"],
[data-eco-mode="true"]:not([data-theme="light"]),
[data-opaque="true"][data-theme="dark"],
[data-opaque="true"]:not([data-theme="light"]),
[data-theme-style="opaque"][data-theme="dark"],
[data-theme-style="opaque"]:not([data-theme="light"]) {
    --card-bg: #111827 !important;
    --inner-bg: #0b0f19 !important;
    --table-header-bg: #1f2937 !important;
    --dropdown-bg: #111827 !important;
    --console-bg: #0b0f19 !important;
    --console-input-bg: #1f2937 !important;
}

[data-eco-mode="true"][data-theme="light"],
[data-opaque="true"][data-theme="light"],
[data-theme-style="opaque"][data-theme="light"] {
    --card-bg: #ffffff !important;
    --inner-bg: #f8fafc !important;
    --table-header-bg: #e2e8f0 !important;
    --dropdown-bg: #ffffff !important;
    --console-bg: #f8fafc !important;
    --console-input-bg: #e2e8f0 !important;
}

[data-eco-mode="true"] #power-control-modal,
[data-opaque="true"] #power-control-modal,
[data-theme-style="opaque"] #power-control-modal {
    background: #0b0f19 !important;
}

[data-eco-mode="true"][data-theme="light"] #power-control-modal,
[data-opaque="true"][data-theme="light"] #power-control-modal,
[data-theme-style="opaque"][data-theme="light"] #power-control-modal {
    background: #f1f5f9 !important;
}

[data-eco-mode="true"] .modal-overlay,
[data-opaque="true"] .modal-overlay,
[data-theme-style="opaque"] .modal-overlay {
    background: rgba(0, 0, 0, 0.88) !important;
}

/* Modo Opaco / Ahorro con Negro Puro / OLED (Máximo ahorro energético) */
[data-eco-mode="true"][data-oled="true"],
[data-eco-mode="true"][data-theme="dark"][data-oled="true"] {
    --bg-color: #000000 !important;
    --bg-gradient-1: transparent !important;
    --bg-gradient-2: transparent !important;
    --card-bg: #000000 !important;
    --inner-bg: #000000 !important;
    --table-header-bg: #080808 !important;
    --dropdown-bg: #000000 !important;
    --card-border: rgba(255, 255, 255, 0.16) !important;
    --card-hover-border: rgba(56, 189, 248, 0.5) !important;
    --shadow-style: none !important;
    --console-bg: #000000 !important;
    --console-input-bg: #080808 !important;
}

[data-eco-mode="true"][data-oled="true"] body,
[data-eco-mode="true"][data-theme="dark"][data-oled="true"] body {
    background-color: #000000 !important;
    background-image: none !important;
}

[data-eco-mode="true"][data-oled="true"] #power-control-modal {
    background: rgba(0, 0, 0, 0.96) !important;
}

[data-eco-mode="true"][data-oled="true"] .modal-overlay {
    background: rgba(0, 0, 0, 0.96) !important;
}

[data-eco-mode="true"][data-oled="true"] .card,
[data-eco-mode="true"][data-oled="true"] .top-nav-bar,
[data-eco-mode="true"][data-oled="true"] .sidebar,
[data-eco-mode="true"][data-oled="true"] .sys-banner,
[data-eco-mode="true"][data-oled="true"] .user-dropdown-menu,
[data-eco-mode="true"][data-oled="true"] .login-modal-box,
[data-eco-mode="true"][data-oled="true"] .custom-confirm-box,
[data-eco-mode="true"][data-oled="true"] .server-modal-box,
[data-eco-mode="true"][data-oled="true"] .pref-panel {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
}

/* Frutiger Aero en Modo Opaco + Negro Puro / OLED */
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] {
    --card-border: rgba(56, 189, 248, 0.35) !important;
    --card-hover-border: rgba(56, 189, 248, 0.7) !important;
}

[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .card,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .top-nav-bar,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .sidebar,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .sys-banner,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .user-dropdown-menu,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .login-modal-box,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .custom-confirm-box,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .server-modal-box,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .pref-panel {
    background: #000000 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: none !important;
}

[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .power-fullscreen-container {
    background: #000000 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] button,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .btn-tab,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .main-tab-btn,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .cselect-trigger,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .hamburger-btn,
[data-theme-style="frutiger-aero"][data-eco-mode="true"][data-oled="true"] .btn-theme-toggle {
    background: #0a0a0a !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: none !important;
}

/* Frutiger Aero Cards & Surfaces */
[data-theme-style="frutiger-aero"] .card,
[data-theme-style="frutiger-aero"] .top-nav-bar,
[data-theme-style="frutiger-aero"] .sidebar,
[data-theme-style="frutiger-aero"] .sys-banner,
[data-theme-style="frutiger-aero"] .login-modal-box,
[data-theme-style="frutiger-aero"] .custom-confirm-box,
[data-theme-style="frutiger-aero"] .server-modal-box {
    border-radius: 18px !important;
    backdrop-filter: blur(var(--glass-blur-card)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur-card)) saturate(150%);
    box-shadow: var(--shadow-style) !important;
}

[data-theme-style="frutiger-aero"] .pref-panel {
    border-radius: 20px !important;
    background: var(--dropdown-bg) !important;
    backdrop-filter: blur(var(--glass-blur-modal, 32px)) saturate(200%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-modal, 32px)) saturate(200%) !important;
    box-shadow: 0 18px 45px rgba(0, 35, 70, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
}

/* Frutiger Aero - Universal Button Styling */
[data-theme-style="frutiger-aero"] button:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(.btn-purple):not(.btn-action-start):not(.btn-action-stop):not(.btn-action-restart):not(.btn-action-kill):not(.btn-action-players):not(.admin-action-btn):not(.main-tab-btn):not(.btn-tab):not(.active):not(.btn-reboot):not(.btn-shutdown):not(.btn-terminate):not(.btn-svc-start):not(.btn-svc-stop):not(.btn-svc-restart):not(.btn-svc-terminate):not(.btn-gui-start):not(.btn-gui-stop):not(.btn-gui-action),
[data-theme-style="frutiger-aero"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"] .btn-user-profile,
[data-theme-style="frutiger-aero"] .btn-back-header,
[data-theme-style="frutiger-aero"] .btn-power,
[data-theme-style="frutiger-aero"] .btn-ssh-close,
[data-theme-style="frutiger-aero"] .audit-filter-btn:not(.active-filter),
[data-theme-style="frutiger-aero"] .cselect-trigger,
[data-theme-style="frutiger-aero"] .hamburger-btn,
[data-theme-style="frutiger-aero"] .btn-theme-toggle {
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 49%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 255, 255, 0.25) 100%) !important;
    box-shadow: 0 3px 8px rgba(0, 45, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: var(--text-main) !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] button:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(.btn-purple):not(.btn-action-start):not(.btn-action-stop):not(.btn-action-restart):not(.btn-action-kill):not(.btn-action-players):not(.admin-action-btn):not(.main-tab-btn):not(.btn-tab):not(.active):not(.btn-reboot):not(.btn-shutdown):not(.btn-terminate):not(.btn-svc-start):not(.btn-svc-stop):not(.btn-svc-restart):not(.btn-svc-terminate):not(.btn-gui-start):not(.btn-gui-stop):not(.btn-gui-action),
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-user-profile,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-back-header,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-power,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ssh-close,
[data-theme-style="frutiger-aero"][data-theme="dark"] .audit-filter-btn:not(.active-filter),
[data-theme-style="frutiger-aero"][data-theme="dark"] .cselect-trigger,
[data-theme-style="frutiger-aero"][data-theme="dark"] .hamburger-btn,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-theme-toggle,
[data-theme-style="frutiger-aero"][data-oled="true"] button:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(.btn-purple):not(.btn-action-start):not(.btn-action-stop):not(.btn-action-restart):not(.btn-action-kill):not(.btn-action-players):not(.admin-action-btn):not(.main-tab-btn):not(.btn-tab):not(.active):not(.btn-reboot):not(.btn-shutdown):not(.btn-terminate):not(.btn-svc-start):not(.btn-svc-stop):not(.btn-svc-restart):not(.btn-svc-terminate):not(.btn-gui-start):not(.btn-gui-stop):not(.btn-gui-action),
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-user-profile,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-back-header,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-power,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ssh-close,
[data-theme-style="frutiger-aero"][data-oled="true"] .audit-filter-btn:not(.active-filter),
[data-theme-style="frutiger-aero"][data-oled="true"] .cselect-trigger,
[data-theme-style="frutiger-aero"][data-oled="true"] .hamburger-btn,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-theme-toggle {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(14, 165, 233, 0.15) 49%, rgba(0, 0, 0, 0.2) 50%, rgba(255, 255, 255, 0.1) 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.35) !important;
    box-shadow: 0 4px 12px rgba(0, 20, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    color: var(--text-main) !important;
}

[data-theme-style="frutiger-aero"][data-oled="true"] button:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(.btn-purple):not(.btn-action-start):not(.btn-action-stop):not(.btn-action-restart):not(.btn-action-kill):not(.btn-action-players):not(.admin-action-btn):not(.main-tab-btn):not(.btn-tab):not(.active):not(.btn-reboot):not(.btn-shutdown):not(.btn-terminate):not(.btn-svc-start):not(.btn-svc-stop):not(.btn-svc-restart):not(.btn-svc-terminate):not(.btn-gui-start):not(.btn-gui-stop):not(.btn-gui-action),
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-user-profile,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-back-header,
[data-theme-style="frutiger-aero"][data-oled="true"] .cselect-trigger,
[data-theme-style="frutiger-aero"][data-oled="true"] .hamburger-btn,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-theme-toggle {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(14, 165, 233, 0.08) 49%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.95) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

[data-theme-style="frutiger-aero"] button:not(.btn-danger):not(.btn-success):not(.btn-warning):not(.btn-info):not(.btn-purple):not(.btn-action-start):not(.btn-action-stop):not(.btn-action-restart):not(.btn-action-kill):not(.btn-action-players):not(.admin-action-btn):not(.main-tab-btn):not(.btn-tab):not(.active):not(.btn-reboot):not(.btn-shutdown):not(.btn-terminate):not(.btn-svc-start):not(.btn-svc-stop):not(.btn-svc-restart):not(.btn-svc-terminate):not(.btn-gui-start):not(.btn-gui-stop):not(.btn-gui-action):hover,
[data-theme-style="frutiger-aero"] .btn-power-dropdown:hover,
[data-theme-style="frutiger-aero"] .btn-user-profile:hover,
[data-theme-style="frutiger-aero"] .user-dropdown-wrapper.open .btn-user-profile,
[data-theme-style="frutiger-aero"] .btn-back-header:hover,
[data-theme-style="frutiger-aero"] .btn-power:hover,
[data-theme-style="frutiger-aero"] .btn-ssh-close:hover,
[data-theme-style="frutiger-aero"] .audit-filter-btn:not(.active-filter):hover,
[data-theme-style="frutiger-aero"] .cselect-trigger:hover,
[data-theme-style="frutiger-aero"] .hamburger-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
}

/* User Profile Button, Badge & Dropdown in Frutiger Aero */
[data-theme-style="frutiger-aero"] .btn-user-profile {
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(56, 189, 248, 0.22) 49%, rgba(52, 211, 153, 0.08) 50%, rgba(255, 255, 255, 0.3) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    color: var(--text-main) !important;
    box-shadow: 0 3px 8px rgba(0, 45, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-user-profile {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(14, 165, 233, 0.2) 49%, rgba(0, 0, 0, 0.2) 50%, rgba(255, 255, 255, 0.12) 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.45) !important;
    box-shadow: 0 4px 12px rgba(0, 20, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    color: var(--text-main) !important;
}

[data-theme-style="frutiger-aero"][data-oled="true"] .btn-user-profile {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(56, 189, 248, 0.15) 49%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.95) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

[data-theme-style="frutiger-aero"] .btn-user-profile:hover,
[data-theme-style="frutiger-aero"] .user-dropdown-wrapper.open .btn-user-profile {
    transform: translateY(-2px) scale(1.02) !important;
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 49%, #0369a1 50%, #38bdf8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme-style="frutiger-aero"] .user-avatar-badge {
    background: linear-gradient(135deg, #38bdf8, #34d399) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6) !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-menu,
[data-theme-style="frutiger-aero"] .guest-dropdown-menu {
    border-radius: 20px !important;
    box-shadow: 0 18px 45px rgba(0, 35, 70, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(var(--glass-blur-modal, 32px)) saturate(200%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-modal, 32px)) saturate(200%) !important;
}

[data-theme-style="frutiger-aero"] .cselect-dropdown {
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(0, 35, 70, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
}

[data-theme-style="frutiger-aero"] .cselect-option:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(56, 189, 248, 0.2) 100%) !important;
    color: var(--accent-blue) !important;
}

[data-theme-style="frutiger-aero"] .cselect-option.selected {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.35) 0%, rgba(2, 132, 199, 0.25) 100%) !important;
    color: var(--accent-blue) !important;
    font-weight: 700;
}

[data-theme-style="frutiger-aero"] .user-dropdown-item {
    border-radius: 14px !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-item:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(56, 189, 248, 0.25) 100%) !important;
    color: var(--accent-blue) !important;
    transform: translateX(4px);
}

/* Frutiger Aero - Botón "¿Faltan funciones? Pterodactyl" */
[data-theme-style="frutiger-aero"] .user-dropdown-ptero-link {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(186, 230, 253, 0.45) 49%, rgba(125, 211, 252, 0.2) 50%, rgba(224, 242, 254, 0.6) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.55) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12), inset 0 1px 1px #ffffff !important;
    color: #034468 !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .user-dropdown-ptero-link {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(14, 165, 233, 0.28) 49%, rgba(8, 43, 70, 0.35) 50%, rgba(14, 165, 233, 0.15) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 4px 14px rgba(0, 20, 45, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    color: #f0fdf4 !important;
}

[data-theme-style="frutiger-aero"][data-oled="true"] .user-dropdown-ptero-link {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(4, 18, 30, 0.6) 49%, #000000 50%, rgba(4, 18, 30, 0.4) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #7dd3fc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-ptero-link:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 49%, #0369a1 50%, #38bdf8 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px) translateX(2px) !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-ptero-link:hover span {
    color: #ffffff !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-ptero-link .user-dropdown-badge-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(56, 189, 248, 0.35)) !important;
    border: 1px solid rgba(56, 189, 248, 0.55) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .user-dropdown-ptero-link .user-dropdown-badge-icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(8, 43, 70, 0.6)) !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-ptero-link:hover .user-dropdown-badge-icon {
    background: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

[data-theme-style="frutiger-aero"] .user-dropdown-ptero-link:hover .user-dropdown-badge-icon i {
    color: var(--accent-blue) !important;
}

/* Red / Danger Variants */
[data-theme-style="frutiger-aero"] .btn-danger,
[data-theme-style="frutiger-aero"] .btn-modal-close,
[data-theme-style="frutiger-aero"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"] .btn-action-kill,
[data-theme-style="frutiger-aero"] .btn-action-stop,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-danger,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-kill,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-stop,
[data-theme-style="frutiger-aero"] .btn-shutdown,
[data-theme-style="frutiger-aero"] .logout-item,
[data-theme-style="frutiger-aero"] .btn-terminate,
[data-theme-style="frutiger-aero"] .btn-svc-stop,
[data-theme-style="frutiger-aero"] .btn-gui-stop,
[data-theme-style="frutiger-aero"] .btn-ssh-close {
    background: linear-gradient(180deg, rgba(254, 202, 202, 0.75) 0%, rgba(239, 68, 68, 0.28) 49%, rgba(185, 28, 28, 0.12) 50%, rgba(254, 202, 202, 0.45) 100%) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.55) !important;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-danger,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-modal-close,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-kill,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-stop,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-danger,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-action-kill,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-action-stop,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-shutdown,
[data-theme-style="frutiger-aero"][data-theme="dark"] .logout-item,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-terminate,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-svc-stop,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-gui-stop,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ssh-close,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-danger,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-modal-close,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-power-dropdown,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-kill,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-stop,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-danger,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-action-kill,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-action-stop,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-shutdown,
[data-theme-style="frutiger-aero"][data-oled="true"] .logout-item,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-terminate,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-svc-stop,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-gui-stop,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ssh-close {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(239, 68, 68, 0.35) 49%, rgba(127, 29, 29, 0.25) 50%, rgba(239, 68, 68, 0.2) 100%) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .btn-danger:hover,
[data-theme-style="frutiger-aero"] .btn-modal-close:hover,
[data-theme-style="frutiger-aero"] .btn-power-dropdown:hover,
[data-theme-style="frutiger-aero"] .btn-action-kill:hover,
[data-theme-style="frutiger-aero"] .btn-action-stop:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-danger:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-kill:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-stop:hover,
[data-theme-style="frutiger-aero"] .btn-shutdown:hover,
[data-theme-style="frutiger-aero"] .logout-item:hover,
[data-theme-style="frutiger-aero"] .btn-terminate:hover,
[data-theme-style="frutiger-aero"] .btn-svc-stop:hover,
[data-theme-style="frutiger-aero"] .btn-gui-stop:hover,
[data-theme-style="frutiger-aero"] .btn-ssh-close:hover {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 49%, #dc2626 50%, #f87171 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .btn-danger:active,
[data-theme-style="frutiger-aero"] .btn-action-kill:active,
[data-theme-style="frutiger-aero"] .btn-action-stop:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-danger:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-kill:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-stop:active {
    transform: scale(0.96) !important;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%) !important;
}

/* Green / Success Variants */
[data-theme-style="frutiger-aero"] .btn-success,
[data-theme-style="frutiger-aero"] .btn-login-submit,
[data-theme-style="frutiger-aero"] .btn-action-start,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-success,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-start,
[data-theme-style="frutiger-aero"] .btn-svc-start,
[data-theme-style="frutiger-aero"] .btn-gui-start,
[data-theme-style="frutiger-aero"] #btn-login-header,
[data-theme-style="frutiger-aero"] #btn-ssl-verify,
[data-theme-style="frutiger-aero"] #btn-ufw-add,
[data-theme-style="frutiger-aero"] #btn-ufw-enable {
    background: linear-gradient(180deg, rgba(187, 247, 208, 0.75) 0%, rgba(34, 197, 94, 0.28) 49%, rgba(21, 128, 61, 0.12) 50%, rgba(187, 247, 208, 0.45) 100%) !important;
    color: #16a34a !important;
    border: 1px solid rgba(34, 197, 94, 0.55) !important;
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-success,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-login-submit,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-start,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-success,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-action-start,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-svc-start,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-gui-start,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-login-header,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-ssl-verify,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-ufw-add,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-ufw-enable,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-success,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-login-submit,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-start,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-success,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-action-start,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-svc-start,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-gui-start,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-login-header,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-ssl-verify,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-ufw-add,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-ufw-enable {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(34, 197, 94, 0.35) 49%, rgba(20, 83, 45, 0.25) 50%, rgba(34, 197, 94, 0.2) 100%) !important;
    color: #86efac !important;
    border: 1px solid rgba(34, 197, 94, 0.6) !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .btn-success:hover,
[data-theme-style="frutiger-aero"] .btn-login-submit:hover,
[data-theme-style="frutiger-aero"] .btn-action-start:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-success:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-start:hover,
[data-theme-style="frutiger-aero"] .btn-svc-start:hover,
[data-theme-style="frutiger-aero"] .btn-gui-start:hover,
[data-theme-style="frutiger-aero"] #btn-login-header:hover,
[data-theme-style="frutiger-aero"] #btn-ssl-verify:hover,
[data-theme-style="frutiger-aero"] #btn-ufw-add:hover,
[data-theme-style="frutiger-aero"] #btn-ufw-enable:hover {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 49%, #16a34a 50%, #4ade80 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .btn-success:active,
[data-theme-style="frutiger-aero"] .btn-action-start:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-success:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-start:active {
    transform: scale(0.96) !important;
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%) !important;
}

/* Yellow / Warning Variants */
[data-theme-style="frutiger-aero"] .btn-warning,
[data-theme-style="frutiger-aero"] .btn-action-restart,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-warning,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-restart,
[data-theme-style="frutiger-aero"] .btn-svc-restart,
[data-theme-style="frutiger-aero"] .btn-reboot,
[data-theme-style="frutiger-aero"] #btn-toggle-ptero-edit,
[data-theme-style="frutiger-aero"] #btn-panic-test-log {
    background: linear-gradient(180deg, rgba(254, 240, 138, 0.75) 0%, rgba(234, 179, 8, 0.28) 49%, rgba(161, 98, 7, 0.12) 50%, rgba(254, 240, 138, 0.45) 100%) !important;
    color: #ca8a04 !important;
    border: 1px solid rgba(234, 179, 8, 0.55) !important;
    box-shadow: 0 3px 8px rgba(202, 138, 4, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-warning,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-restart,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-warning,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-action-restart,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-svc-restart,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-reboot,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-toggle-ptero-edit,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-panic-test-log,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-warning,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-restart,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-warning,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-action-restart,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-svc-restart,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-reboot,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-toggle-ptero-edit,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-panic-test-log {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(234, 179, 8, 0.35) 49%, rgba(113, 63, 18, 0.25) 50%, rgba(234, 179, 8, 0.2) 100%) !important;
    color: #fde047 !important;
    border: 1px solid rgba(234, 179, 8, 0.6) !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .btn-warning:hover,
[data-theme-style="frutiger-aero"] .btn-action-restart:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-warning:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-restart:hover,
[data-theme-style="frutiger-aero"] .btn-svc-restart:hover,
[data-theme-style="frutiger-aero"] .btn-reboot:hover,
[data-theme-style="frutiger-aero"] #btn-toggle-ptero-edit:hover,
[data-theme-style="frutiger-aero"] #btn-panic-test-log:hover {
    background: linear-gradient(180deg, #fde047 0%, #eab308 49%, #ca8a04 50%, #fde047 100%) !important;
    color: #0b0f19 !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .btn-warning:active,
[data-theme-style="frutiger-aero"] .btn-action-restart:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-warning:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-restart:active {
    transform: scale(0.96) !important;
    background: linear-gradient(180deg, #ca8a04 0%, #a16207 100%) !important;
}

/* Blue / Info Variants */
[data-theme-style="frutiger-aero"] .btn-info,
[data-theme-style="frutiger-aero"] .btn-ssh-view,
[data-theme-style="frutiger-aero"] .btn-ptero-link,
[data-theme-style="frutiger-aero"] .btn-action-web,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-info,
[data-theme-style="frutiger-aero"] #btn-audit-refresh,
[data-theme-style="frutiger-aero"] #btn-panic-refresh,
[data-theme-style="frutiger-aero"] #btn-ssh-refresh,
[data-theme-style="frutiger-aero"] #btn-ufw-reload,
[data-theme-style="frutiger-aero"] #btn-ufw-blocked-refresh {
    background: linear-gradient(180deg, rgba(186, 230, 253, 0.75) 0%, rgba(56, 189, 248, 0.28) 49%, rgba(2, 132, 199, 0.12) 50%, rgba(186, 230, 253, 0.45) 100%) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-info,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ssh-view,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-link,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-web,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-info,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-audit-refresh,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-panic-refresh,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-ssh-refresh,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-ufw-reload,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-ufw-blocked-refresh,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-info,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ssh-view,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-link,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-web,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-info,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-audit-refresh,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-panic-refresh,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-ssh-refresh,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-ufw-reload,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-ufw-blocked-refresh {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(56, 189, 248, 0.35) 49%, rgba(12, 74, 110, 0.25) 50%, rgba(56, 189, 248, 0.2) 100%) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .btn-info:hover,
[data-theme-style="frutiger-aero"] .btn-ssh-view:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-link:hover,
[data-theme-style="frutiger-aero"] .btn-action-web:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-info:hover,
[data-theme-style="frutiger-aero"] #btn-audit-refresh:hover,
[data-theme-style="frutiger-aero"] #btn-panic-refresh:hover,
[data-theme-style="frutiger-aero"] #btn-ssh-refresh:hover,
[data-theme-style="frutiger-aero"] #btn-ufw-reload:hover,
[data-theme-style="frutiger-aero"] #btn-ufw-blocked-refresh:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 49%, #0369a1 50%, #38bdf8 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .btn-info:active,
[data-theme-style="frutiger-aero"] .btn-action-web:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-info:active {
    transform: scale(0.96) !important;
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
}

/* Purple / Violet Variants */
[data-theme-style="frutiger-aero"] .btn-purple,
[data-theme-style="frutiger-aero"] .btn-action-purple,
[data-theme-style="frutiger-aero"] .btn-action-players,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-players,
[data-theme-style="frutiger-aero"] .btn-svc-terminate,
[data-theme-style="frutiger-aero"] #btn-guest-prefs,
[data-theme-style="frutiger-aero"] .btn-guest-prefs {
    background: linear-gradient(180deg, rgba(233, 213, 255, 0.75) 0%, rgba(168, 85, 247, 0.28) 49%, rgba(126, 34, 206, 0.12) 50%, rgba(233, 213, 255, 0.45) 100%) !important;
    color: #9333ea !important;
    border: 1px solid rgba(168, 85, 247, 0.55) !important;
    box-shadow: 0 3px 8px rgba(147, 51, 234, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-purple,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-purple,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-action-players,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-ptero-power.btn-action-players,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-svc-terminate,
[data-theme-style="frutiger-aero"][data-theme="dark"] #btn-guest-prefs,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-guest-prefs,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-purple,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-purple,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-action-players,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-ptero-power.btn-action-players,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-svc-terminate,
[data-theme-style="frutiger-aero"][data-oled="true"] #btn-guest-prefs,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-guest-prefs {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(168, 85, 247, 0.35) 49%, rgba(88, 28, 135, 0.25) 50%, rgba(168, 85, 247, 0.2) 100%) !important;
    color: #d8b4fe !important;
    border: 1px solid rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .btn-purple:hover,
[data-theme-style="frutiger-aero"] .btn-action-purple:hover,
[data-theme-style="frutiger-aero"] .btn-action-players:hover,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-players:hover,
[data-theme-style="frutiger-aero"] .btn-svc-terminate:hover,
[data-theme-style="frutiger-aero"] #btn-guest-prefs:hover,
[data-theme-style="frutiger-aero"] .btn-guest-prefs:hover {
    background: linear-gradient(180deg, #c084fc 0%, #a855f7 49%, #9333ea 50%, #c084fc 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .btn-purple:active,
[data-theme-style="frutiger-aero"] .btn-action-players:active,
[data-theme-style="frutiger-aero"] .btn-ptero-power.btn-action-players:active {
    transform: scale(0.96) !important;
    background: linear-gradient(180deg, #9333ea 0%, #7e22ce 100%) !important;
}

/* Btn-gui-action neutral glass (estado inicial antes de que JS asigne -start/-stop) */
[data-theme-style="frutiger-aero"] .btn-gui-action {
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 49%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 255, 255, 0.25) 100%) !important;
    box-shadow: 0 3px 8px rgba(0, 45, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: var(--text-main) !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-gui-action,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-gui-action {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(14, 165, 233, 0.15) 49%, rgba(0, 0, 0, 0.2) 50%, rgba(255, 255, 255, 0.1) 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.35) !important;
    box-shadow: 0 4px 12px rgba(0, 20, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    color: var(--text-main) !important;
}

/* =========================================================================
   FRUTIGER AERO - BADGES & PILLS VÍTREAS CON RELIEVE Y BRILLO
   ========================================================================= */
[data-theme-style="frutiger-aero"] .badge,
[data-theme-style="frutiger-aero"] .status-badge,
[data-theme-style="frutiger-aero"] .badge-allow,
[data-theme-style="frutiger-aero"] .badge-deny,
[data-theme-style="frutiger-aero"] .notif-unread-badge,
[data-theme-style="frutiger-aero"] .copy-ip-badge {
    border-radius: 9999px !important;
    font-family: inherit;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Badge por Defecto / Neutra en Frutiger Aero Light */
[data-theme-style="frutiger-aero"] .badge,
[data-theme-style="frutiger-aero"] .copy-ip-badge {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 249, 255, 0.45) 49%, rgba(186, 230, 253, 0.2) 50%, rgba(255, 255, 255, 0.5) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 2px 6px rgba(0, 45, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    color: #0369a1 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Badges Neutras en Frutiger Aero Dark & OLED */
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge,
[data-theme-style="frutiger-aero"][data-theme="dark"] .copy-ip-badge,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge,
[data-theme-style="frutiger-aero"][data-oled="true"] .copy-ip-badge {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(14, 165, 233, 0.22) 49%, rgba(0, 0, 0, 0.25) 50%, rgba(255, 255, 255, 0.08) 100%) !important;
    border: 1px solid rgba(125, 211, 252, 0.4) !important;
    box-shadow: 0 2px 8px rgba(0, 20, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    color: #7dd3fc !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 🟢 Badges Verdes (Success, Online, Allow, Propietario, Activo) */
[data-theme-style="frutiger-aero"] .badge-allow,
[data-theme-style="frutiger-aero"] .badge-success,
[data-theme-style="frutiger-aero"] .badge[style*="accent-green"],
[data-theme-style="frutiger-aero"] .badge[style*="34, 197, 94"],
[data-theme-style="frutiger-aero"] .badge[style*="16a34a"],
[data-theme-style="frutiger-aero"] .badge[style*="22c55e"],
[data-theme-style="frutiger-aero"] .status-badge.online {
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.85) 0%, rgba(74, 222, 128, 0.35) 49%, rgba(22, 163, 74, 0.12) 50%, rgba(187, 247, 208, 0.55) 100%) !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 197, 94, 0.55) !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-allow,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-success,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="accent-green"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="34, 197, 94"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="16a34a"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="22c55e"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .status-badge.online,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-allow,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-success,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="accent-green"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="34, 197, 94"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="16a34a"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="22c55e"],
[data-theme-style="frutiger-aero"][data-oled="true"] .status-badge.online {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(34, 197, 94, 0.32) 49%, rgba(20, 83, 45, 0.25) 50%, rgba(34, 197, 94, 0.18) 100%) !important;
    color: #86efac !important;
    border: 1px solid rgba(34, 197, 94, 0.6) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 🔴 Badges Rojas (Danger, Deny, Offline, SuperAdmin, Error) */
[data-theme-style="frutiger-aero"] .badge-deny,
[data-theme-style="frutiger-aero"] .badge-danger,
[data-theme-style="frutiger-aero"] .badge[style*="accent-red"],
[data-theme-style="frutiger-aero"] .badge[style*="239, 68, 68"],
[data-theme-style="frutiger-aero"] .badge[style*="dc2626"],
[data-theme-style="frutiger-aero"] .status-badge.offline {
    background: linear-gradient(180deg, rgba(254, 226, 226, 0.85) 0%, rgba(248, 113, 113, 0.35) 49%, rgba(220, 38, 38, 0.12) 50%, rgba(254, 202, 202, 0.55) 100%) !important;
    color: #b91c1c !important;
    border: 1px solid rgba(239, 68, 68, 0.55) !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-deny,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-danger,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="accent-red"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="239, 68, 68"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="dc2626"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .status-badge.offline,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-deny,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-danger,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="accent-red"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="239, 68, 68"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="dc2626"],
[data-theme-style="frutiger-aero"][data-oled="true"] .status-badge.offline {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(239, 68, 68, 0.32) 49%, rgba(127, 29, 29, 0.25) 50%, rgba(239, 68, 68, 0.18) 100%) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 🟡 Badges Amarillas / Ámbar (Warning, Mantenimiento, Iniciando, Deteniendo) */
[data-theme-style="frutiger-aero"] .badge-warning,
[data-theme-style="frutiger-aero"] .badge[style*="accent-yellow"],
[data-theme-style="frutiger-aero"] .badge[style*="234, 179, 8"],
[data-theme-style="frutiger-aero"] .badge[style*="eab308"],
[data-theme-style="frutiger-aero"] .badge[style*="ca8a04"],
[data-theme-style="frutiger-aero"] .status-badge.starting,
[data-theme-style="frutiger-aero"] .status-badge.stopping {
    background: linear-gradient(180deg, rgba(254, 249, 195, 0.85) 0%, rgba(250, 204, 21, 0.35) 49%, rgba(202, 138, 4, 0.12) 50%, rgba(254, 240, 138, 0.55) 100%) !important;
    color: #a16207 !important;
    border: 1px solid rgba(234, 179, 8, 0.55) !important;
    box-shadow: 0 2px 6px rgba(202, 138, 4, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-warning,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="accent-yellow"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="234, 179, 8"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="eab308"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="ca8a04"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .status-badge.starting,
[data-theme-style="frutiger-aero"][data-theme="dark"] .status-badge.stopping,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-warning,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="accent-yellow"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="234, 179, 8"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="eab308"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="ca8a04"],
[data-theme-style="frutiger-aero"][data-oled="true"] .status-badge.starting,
[data-theme-style="frutiger-aero"][data-oled="true"] .status-badge.stopping {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(234, 179, 8, 0.32) 49%, rgba(113, 63, 18, 0.25) 50%, rgba(234, 179, 8, 0.18) 100%) !important;
    color: #fde047 !important;
    border: 1px solid rgba(234, 179, 8, 0.6) !important;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 🔵 Badges Azules / Sky (Info, Subusuario, Admin, 2FA, Minecraft) */
[data-theme-style="frutiger-aero"] .badge-info,
[data-theme-style="frutiger-aero"] .badge[style*="accent-blue"],
[data-theme-style="frutiger-aero"] .badge[style*="56, 189, 248"],
[data-theme-style="frutiger-aero"] .badge[style*="0284c7"],
[data-theme-style="frutiger-aero"] .badge[style*="38bdf8"] {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.85) 0%, rgba(56, 189, 248, 0.35) 49%, rgba(2, 132, 199, 0.12) 50%, rgba(186, 230, 253, 0.55) 100%) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-info,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="accent-blue"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="56, 189, 248"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="0284c7"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="38bdf8"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-info,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="accent-blue"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="56, 189, 248"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="0284c7"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="38bdf8"] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(56, 189, 248, 0.32) 49%, rgba(12, 74, 110, 0.25) 50%, rgba(56, 189, 248, 0.18) 100%) !important;
    color: #7dd3fc !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 🟣 Badges Púrpuras / Violetas (Players, Especiales) */
[data-theme-style="frutiger-aero"] .badge-purple,
[data-theme-style="frutiger-aero"] .badge[style*="accent-purple"],
[data-theme-style="frutiger-aero"] .badge[style*="168, 85, 247"],
[data-theme-style="frutiger-aero"] .badge[style*="9333ea"] {
    background: linear-gradient(180deg, rgba(243, 232, 255, 0.85) 0%, rgba(192, 132, 252, 0.35) 49%, rgba(147, 51, 234, 0.12) 50%, rgba(233, 213, 255, 0.55) 100%) !important;
    color: #9333ea !important;
    border: 1px solid rgba(168, 85, 247, 0.55) !important;
    box-shadow: 0 2px 6px rgba(147, 51, 234, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .badge-purple,
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="accent-purple"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="168, 85, 247"],
[data-theme-style="frutiger-aero"][data-theme="dark"] .badge[style*="9333ea"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge-purple,
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="accent-purple"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="168, 85, 247"],
[data-theme-style="frutiger-aero"][data-oled="true"] .badge[style*="9333ea"] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(168, 85, 247, 0.32) 49%, rgba(88, 28, 135, 0.25) 50%, rgba(168, 85, 247, 0.18) 100%) !important;
    color: #d8b4fe !important;
    border: 1px solid rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hover suave para badges interactivas */
[data-theme-style="frutiger-aero"] .badge:hover,
[data-theme-style="frutiger-aero"] .copy-ip-badge:hover {
    transform: translateY(-1px) scale(1.03);
}

/* =========================================================================
   TEMA: 8-BIT SONIC MANIA (SEGA ARCADE & GREEN HILL / STUDIOPOLIS RETRO)
   ========================================================================= */
[data-theme-style="sonic-mania"],
[data-theme-style="8bit"] {
    --glass-blur-card: 0px;
    --glass-blur-modal: 0px;
    --glass-blur-nav: 0px;
}

/* 8-Bit Sonic Mania - Modo Oscuro (Studiopolis & Death Egg Neon Night) */
[data-theme-style="sonic-mania"][data-theme="dark"],
[data-theme-style="8bit"][data-theme="dark"],
[data-theme-style="sonic-mania"]:not([data-theme="light"]):not([data-oled="true"]),
[data-theme-style="8bit"]:not([data-theme="light"]):not([data-oled="true"]) {
    --bg-color: #0b0e2b;
    --bg-gradient-1: rgba(27, 86, 253, 0.35);
    --bg-gradient-2: rgba(213, 0, 249, 0.25);
    --card-bg: #10153d;
    --card-border: #1b56fd;
    --card-hover-border: #ffd700;
    --text-main: #ffffff;
    --text-muted: #9bb2ff;
    --accent-blue: #1b56fd;
    --accent-purple: #d500f9;
    --accent-green: #00e676;
    --accent-yellow: #ffb700;
    --accent-red: #ff1744;
    --bar-bg: #06091c;
    --inner-bg: #070a20;
    --table-header-bg: #161d52;
    --dropdown-bg: #0f143a;
    --cselect-bg: #10153d;
    --cselect-border: #1b56fd;
    --shadow-style: 4px 4px 0px #000000;
    --console-bg: #040614;
    --console-input-bg: #0a0e2a;
}

[data-theme-style="sonic-mania"][data-theme="dark"] body,
[data-theme-style="8bit"][data-theme="dark"] body,
[data-theme-style="sonic-mania"]:not([data-theme="light"]):not([data-oled="true"]) body,
[data-theme-style="8bit"]:not([data-theme="light"]):not([data-oled="true"]) body {
    background-color: #0b0e2b !important;
    background-image:
        linear-gradient(rgba(27, 86, 253, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 86, 253, 0.14) 1px, transparent 1px),
        radial-gradient(circle at 10% 20%, rgba(213, 0, 249, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(27, 86, 253, 0.28) 0%, transparent 50%),
        linear-gradient(180deg, #090c24 0%, #060819 100%) !important;
    background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100%, 100% 100% !important;
}

/* 8-Bit Sonic Mania - Modo Claro (Green Hill Zone Sky & Emerald Sun) */
[data-theme-style="sonic-mania"][data-theme="light"],
[data-theme-style="8bit"][data-theme="light"] {
    --bg-color: #cce7ff;
    --bg-gradient-1: rgba(0, 81, 255, 0.25);
    --bg-gradient-2: rgba(0, 200, 83, 0.22);
    --card-bg: #ffffff;
    --card-border: #0051ff;
    --card-hover-border: #ff9100;
    --text-main: #02123d;
    --text-muted: #2a5298;
    --accent-blue: #0051ff;
    --accent-purple: #aa00ff;
    --accent-green: #00c853;
    --accent-yellow: #ff9100;
    --accent-red: #d50000;
    --bar-bg: #d0e4ff;
    --inner-bg: #eaf3ff;
    --table-header-bg: #d8ebff;
    --dropdown-bg: #ffffff;
    --cselect-bg: #ffffff;
    --cselect-border: #0051ff;
    --shadow-style: 4px 4px 0px #002b80;
    --console-bg: #eaf3ff;
    --console-input-bg: #d8ebff;
}

[data-theme-style="sonic-mania"][data-theme="light"] body,
[data-theme-style="8bit"][data-theme="light"] body {
    background-color: #cce7ff !important;
    background-image:
        linear-gradient(rgba(0, 81, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 81, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 15% 15%, rgba(255, 230, 0, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 85% 85%, rgba(0, 200, 83, 0.25) 0%, transparent 40%),
        linear-gradient(180deg, #bae6fd 0%, #dbeafe 50%, #dcfce7 100%) !important;
    background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100%, 100% 100% !important;
}

/* 8-Bit Sonic Mania - Modo OLED (Pure Arcade Black) */
[data-theme-style="sonic-mania"][data-oled="true"],
[data-theme-style="8bit"][data-oled="true"],
[data-theme-style="sonic-mania"][data-theme="dark"][data-oled="true"],
[data-theme-style="8bit"][data-theme="dark"][data-oled="true"] {
    --bg-color: #000000;
    --bg-gradient-1: transparent;
    --bg-gradient-2: transparent;
    --card-bg: #000000;
    --card-border: #1b56fd;
    --card-hover-border: #ffd700;
    --text-main: #ffffff;
    --text-muted: #9bb2ff;
    --accent-blue: #2979ff;
    --accent-purple: #e040fb;
    --accent-green: #00e676;
    --accent-yellow: #ffd700;
    --accent-red: #ff1744;
    --bar-bg: #0a0a0a;
    --inner-bg: #000000;
    --table-header-bg: #05081c;
    --dropdown-bg: #000000;
    --cselect-bg: #000000;
    --cselect-border: #1b56fd;
    --shadow-style: 4px 4px 0px #1b56fd;
    --console-bg: #000000;
    --console-input-bg: #080808;
}

[data-theme-style="sonic-mania"][data-oled="true"] body,
[data-theme-style="8bit"][data-oled="true"] body {
    background-color: #000000 !important;
    background-image:
        linear-gradient(rgba(27, 86, 253, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 86, 253, 0.16) 1px, transparent 1px),
        linear-gradient(180deg, #000000 0%, #01020a 100%) !important;
    background-size: 20px 20px, 20px 20px, 100% 100% !important;
}

/* 8-Bit Sonic Mania - Global Pixel Art Geometry */
[data-theme-style="sonic-mania"] .card,
[data-theme-style="8bit"] .card,
[data-theme-style="sonic-mania"] .top-nav-bar,
[data-theme-style="8bit"] .top-nav-bar,
[data-theme-style="sonic-mania"] .sidebar,
[data-theme-style="8bit"] .sidebar,
[data-theme-style="sonic-mania"] .sys-banner,
[data-theme-style="8bit"] .sys-banner,
[data-theme-style="sonic-mania"] .user-dropdown-menu,
[data-theme-style="8bit"] .user-dropdown-menu,
[data-theme-style="sonic-mania"] .guest-dropdown-menu,
[data-theme-style="8bit"] .guest-dropdown-menu,
[data-theme-style="sonic-mania"] .login-dropdown-menu,
[data-theme-style="8bit"] .login-dropdown-menu,
[data-theme-style="sonic-mania"] .notif-dropdown-menu,
[data-theme-style="8bit"] .notif-dropdown-menu,
[data-theme-style="sonic-mania"] .login-modal-box,
[data-theme-style="8bit"] .login-modal-box,
[data-theme-style="sonic-mania"] .custom-confirm-box,
[data-theme-style="8bit"] .custom-confirm-box,
[data-theme-style="sonic-mania"] .server-modal-box,
[data-theme-style="8bit"] .server-modal-box,
[data-theme-style="sonic-mania"] .pref-panel,
[data-theme-style="8bit"] .pref-panel,
[data-theme-style="sonic-mania"] .cselect-dropdown,
[data-theme-style="8bit"] .cselect-dropdown,
[data-theme-style="sonic-mania"] .cselect-trigger,
[data-theme-style="8bit"] .cselect-trigger,
[data-theme-style="sonic-mania"] .badge,
[data-theme-style="8bit"] .badge,
[data-theme-style="sonic-mania"] button,
[data-theme-style="8bit"] button,
[data-theme-style="sonic-mania"] .btn-tab,
[data-theme-style="8bit"] .btn-tab,
[data-theme-style="sonic-mania"] .main-tab-btn,
[data-theme-style="8bit"] .main-tab-btn,
[data-theme-style="sonic-mania"] .form-control-custom,
[data-theme-style="8bit"] .form-control-custom,
[data-theme-style="sonic-mania"] input,
[data-theme-style="8bit"] input,
[data-theme-style="sonic-mania"] .user-avatar-circle,
[data-theme-style="8bit"] .user-avatar-circle,
[data-theme-style="sonic-mania"] .user-avatar-badge,
[data-theme-style="8bit"] .user-avatar-badge,
[data-theme-style="sonic-mania"] .bar-bg,
[data-theme-style="8bit"] .bar-bg,
[data-theme-style="sonic-mania"] .bar-fill,
[data-theme-style="8bit"] .bar-fill,
[data-theme-style="sonic-mania"] .user-dropdown-item,
[data-theme-style="8bit"] .user-dropdown-item {
    border-radius: 0px !important;
}

/* 8-Bit Sonic Mania Typography */
[data-theme-style="sonic-mania"] h1,
[data-theme-style="8bit"] h1,
[data-theme-style="sonic-mania"] .header-title,
[data-theme-style="8bit"] .header-title,
[data-theme-style="sonic-mania"] .card-title,
[data-theme-style="8bit"] .card-title,
[data-theme-style="sonic-mania"] .subtabs-bar button,
[data-theme-style="8bit"] .subtabs-bar button,
[data-theme-style="sonic-mania"] .btn-tab,
[data-theme-style="8bit"] .btn-tab,
[data-theme-style="sonic-mania"] .main-tab-btn,
[data-theme-style="8bit"] .main-tab-btn,
[data-theme-style="sonic-mania"] .badge,
[data-theme-style="8bit"] .badge {
    font-family: 'Silkscreen', 'Press Start 2P', monospace !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme-style="sonic-mania"] h1,
[data-theme-style="8bit"] h1 {
    font-family: 'Press Start 2P', monospace !important;
    font-size: 1.05rem !important;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px #000000, 3px 3px 0px var(--accent-blue) !important;
}

/* 8-Bit Sonic Mania Cards */
[data-theme-style="sonic-mania"] .card,
[data-theme-style="8bit"] .card {
    border: 2px solid var(--card-border) !important;
    box-shadow: 4px 4px 0px #000000, inset 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

/* 8-Bit Sonic Mania Buttons */
[data-theme-style="sonic-mania"] button,
[data-theme-style="8bit"] button,
[data-theme-style="sonic-mania"] .btn-tab,
[data-theme-style="8bit"] .btn-tab,
[data-theme-style="sonic-mania"] .main-tab-btn,
[data-theme-style="8bit"] .main-tab-btn,
[data-theme-style="sonic-mania"] .cselect-trigger,
[data-theme-style="8bit"] .cselect-trigger {
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
    font-size: 0.7rem !important;
    transition: transform 0.08s ease, box-shadow 0.08s ease !important;
}

[data-theme-style="sonic-mania"] button:hover,
[data-theme-style="8bit"] button:hover,
[data-theme-style="sonic-mania"] .btn-tab:hover,
[data-theme-style="8bit"] .btn-tab:hover,
[data-theme-style="sonic-mania"] .main-tab-btn:hover,
[data-theme-style="8bit"] .main-tab-btn:hover {
    transform: translate(-1px, -1px) !important;
    box-shadow: 4px 4px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] button:active,
[data-theme-style="8bit"] button:active,
[data-theme-style="sonic-mania"] .btn-tab:active,
[data-theme-style="8bit"] .btn-tab:active,
[data-theme-style="sonic-mania"] .main-tab-btn:active,
[data-theme-style="8bit"] .main-tab-btn:active {
    transform: translate(2px, 2px) !important;
    box-shadow: 1px 1px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .main-tab-btn.active,
[data-theme-style="8bit"] .main-tab-btn.active,
[data-theme-style="sonic-mania"] .btn-tab.active,
[data-theme-style="8bit"] .btn-tab.active {
    background: #1b56fd !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 3px 3px 0px #000000, inset 0 0 0 1px #ffd700 !important;
}

/* 8-Bit Sonic Mania Danger, Success, Warning, Info, Purple & Action Buttons */
[data-theme-style="sonic-mania"] .btn-danger,
[data-theme-style="8bit"] .btn-danger,
[data-theme-style="sonic-mania"] .btn-action-kill,
[data-theme-style="8bit"] .btn-action-kill,
[data-theme-style="sonic-mania"] .btn-action-stop,
[data-theme-style="8bit"] .btn-action-stop,
[data-theme-style="sonic-mania"] .filter-blocked.active,
[data-theme-style="8bit"] .filter-blocked.active {
    background: #ff1744 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .btn-success,
[data-theme-style="8bit"] .btn-success,
[data-theme-style="sonic-mania"] .btn-action-start,
[data-theme-style="8bit"] .btn-action-start,
[data-theme-style="sonic-mania"] .btn-action-players,
[data-theme-style="8bit"] .btn-action-players,
[data-theme-style="sonic-mania"] .filter-allowed.active,
[data-theme-style="8bit"] .filter-allowed.active {
    background: #00e676 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .btn-warning,
[data-theme-style="8bit"] .btn-warning,
[data-theme-style="sonic-mania"] .btn-action-restart,
[data-theme-style="8bit"] .btn-action-restart {
    background: #ffd700 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .btn-info,
[data-theme-style="8bit"] .btn-info,
[data-theme-style="sonic-mania"] .btn-primary,
[data-theme-style="8bit"] .btn-primary {
    background: #2979ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .btn-purple,
[data-theme-style="8bit"] .btn-purple,
[data-theme-style="sonic-mania"] .btn-action-addons,
[data-theme-style="8bit"] .btn-action-addons {
    background: #d500f9 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 2px solid #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

/* 8-Bit Sonic Mania Segmented Retro Progress Bar */
[data-theme-style="sonic-mania"] .bar-bg,
[data-theme-style="8bit"] .bar-bg {
    border: 2px solid #000000 !important;
    background: #000000 !important;
    box-shadow: 2px 2px 0px rgba(255, 255, 255, 0.15) !important;
}

[data-theme-style="sonic-mania"] .bar-fill,
[data-theme-style="8bit"] .bar-fill {
    background-image: repeating-linear-gradient(90deg, currentColor 0px, currentColor 6px, #000000 6px, #000000 8px) !important;
}

/* Universal Color helper classes for default, Glassmorphism, Frutiger Aero & 8-Bit themes */
/* Botón Primario / Azul */
.btn-primary,
button.btn-primary,
a.btn-primary,
.btn-tab.btn-primary,
.btn-action-primary {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.42) !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.btn-tab.btn-primary:hover {
    background: rgba(56, 189, 248, 0.32) !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.45) !important;
    transform: translateY(-1px);
}

.btn-primary:active,
button.btn-primary:active,
a.btn-primary:active,
.btn-tab.btn-primary:active,
.btn-primary.active,
.btn-tab.btn-primary.active {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(56, 189, 248, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

/* Botón Danger / Rojo / Stop / Kill */
.btn-danger,
button.btn-danger,
a.btn-danger,
.btn-tab.btn-danger,
.btn-modal-close,
.btn-action-kill,
.btn-action-stop {
    background: rgba(239, 68, 68, 0.16) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.42) !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.btn-danger:hover,
button.btn-danger:hover,
a.btn-danger:hover,
.btn-tab.btn-danger:hover,
.btn-modal-close:hover,
.btn-action-kill:hover,
.btn-action-stop:hover {
    background: rgba(239, 68, 68, 0.32) !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.45) !important;
    transform: translateY(-1px);
}

.btn-danger:active,
button.btn-danger:active,
a.btn-danger:active,
.btn-tab.btn-danger:active,
.btn-modal-close:active,
.btn-action-kill:active,
.btn-action-stop:active,
.btn-danger.active,
.btn-tab.btn-danger.active {
    background: linear-gradient(135deg, #b91c1c, #ef4444) !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(239, 68, 68, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

/* Botón Success / Verde / Start / Players */
.btn-success,
button.btn-success,
a.btn-success,
.btn-tab.btn-success,
.btn-action-start,
.btn-action-players {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.42) !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.btn-success:hover,
button.btn-success:hover,
a.btn-success:hover,
.btn-tab.btn-success:hover,
.btn-action-start:hover,
.btn-action-players:hover {
    background: rgba(34, 197, 94, 0.32) !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.45) !important;
    transform: translateY(-1px);
}

.btn-success:active,
button.btn-success:active,
a.btn-success:active,
.btn-tab.btn-success:active,
.btn-action-start:active,
.btn-action-players:active,
.btn-success.active,
.btn-tab.btn-success.active {
    background: linear-gradient(135deg, #15803d, #22c55e) !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(34, 197, 94, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

.btn-login-submit {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.20), rgba(22, 163, 74, 0.12)) !important;
    color: var(--accent-green) !important;
    border: 1px solid rgba(34, 197, 94, 0.45) !important;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45) !important;
    background: linear-gradient(135deg, var(--accent-green), #15803d) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.btn-login-submit:active {
    transform: scale(0.97) translateY(0) !important;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4) !important;
}

/* Botón Discord Login */
.btn-discord-login {
    background: #5865F2 !important;
    color: #ffffff !important;
    border: 1px solid #4752C4 !important;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none !important;
}

.btn-discord-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55) !important;
    background: #4752C4 !important;
    color: #ffffff !important;
    border-color: #5865F2 !important;
}

.btn-discord-login:active {
    transform: scale(0.97) translateY(0) !important;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.4) !important;
    background: #3c45a5 !important;
}

/* Frutiger Aero Discord Login Styling */
[data-theme-style="frutiger-aero"] .btn-discord-login {
    background: linear-gradient(180deg, #7983f5 0%, #5865F2 49%, #4752C4 50%, #5865F2 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

[data-theme-style="frutiger-aero"] .btn-discord-login:hover {
    background: linear-gradient(180deg, #8a93f7 0%, #6975f5 49%, #525ee8 50%, #6975f5 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.65), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .btn-discord-login:active {
    background: linear-gradient(180deg, #4752C4 0%, #3c45a5 100%) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    transform: scale(0.97) translateY(0) !important;
}

/* =========================================================================
   ESTILOS DE TICKETS DE SOPORTE (MODAL Y PORTAL)
   ========================================================================= */
.form-control-ticket {
    width: 100% !important;
    background: var(--inner-bg, rgba(15, 23, 42, 0.6)) !important;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: var(--text-main, #f8fafc) !important;
    font-family: inherit !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
    outline: none !important;
    display: block !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control-ticket:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

select.form-control-ticket option {
    background: #0f172a !important;
    color: #f8fafc !important;
    padding: 8px 12px !important;
}

.btn-ticket-primary {
    background: linear-gradient(135deg, #0284c7, #2563eb) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.btn-ticket-primary:hover {
    background: linear-gradient(135deg, #0369a1, #1d4ed8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55) !important;
}

.btn-ticket-primary:active {
    transform: scale(0.97) translateY(0) !important;
}

.btn-ticket-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-muted, #94a3b8) !important;
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.btn-ticket-secondary:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Botón Warning / Amarillo / Restart */
.btn-warning,
button.btn-warning,
a.btn-warning,
.btn-tab.btn-warning,
.btn-action-restart {
    background: rgba(234, 179, 8, 0.16) !important;
    color: #eab308 !important;
    border: 1px solid rgba(234, 179, 8, 0.42) !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.btn-warning:hover,
button.btn-warning:hover,
a.btn-warning:hover,
.btn-tab.btn-warning:hover,
.btn-action-restart:hover {
    background: rgba(234, 179, 8, 0.32) !important;
    color: #ffffff !important;
    border-color: #eab308 !important;
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.45) !important;
    transform: translateY(-1px);
}

.btn-warning:active,
button.btn-warning:active,
a.btn-warning:active,
.btn-tab.btn-warning:active,
.btn-action-restart:active,
.btn-warning.active,
.btn-tab.btn-warning.active {
    background: linear-gradient(135deg, #a16207, #eab308) !important;
    color: #0b0f19 !important;
    border-color: #eab308 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(234, 179, 8, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

/* Botón Info / Celeste / Cyan */
.btn-info,
button.btn-info,
a.btn-info,
.btn-tab.btn-info {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.42) !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.btn-info:hover,
button.btn-info:hover,
a.btn-info:hover,
.btn-tab.btn-info:hover {
    background: rgba(56, 189, 248, 0.32) !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.45) !important;
    transform: translateY(-1px);
}

.btn-info:active,
button.btn-info:active,
a.btn-info:active,
.btn-tab.btn-info:active,
.btn-info.active,
.btn-tab.btn-info.active {
    background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
    color: #0b0f19 !important;
    border-color: #38bdf8 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(56, 189, 248, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

/* Botón Purple / Púrpura / Addons */
.btn-purple,
button.btn-purple,
a.btn-purple,
.btn-tab.btn-purple,
#btn-guest-prefs,
.btn-guest-prefs,
.btn-action-addons {
    background: rgba(168, 85, 247, 0.16) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.42) !important;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.btn-purple:hover,
button.btn-purple:hover,
a.btn-purple:hover,
.btn-tab.btn-purple:hover,
#btn-guest-prefs:hover,
.btn-guest-prefs:hover,
.btn-action-addons:hover {
    background: rgba(168, 85, 247, 0.32) !important;
    color: #ffffff !important;
    border-color: #c084fc !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.45) !important;
    transform: translateY(-1px);
}

.btn-purple:active,
button.btn-purple:active,
a.btn-purple:active,
.btn-tab.btn-purple:active,
#btn-guest-prefs:active,
.btn-guest-prefs:active,
.btn-action-addons:active,
.btn-purple.active,
.btn-tab.btn-purple.active {
    background: linear-gradient(135deg, #7e22ce, #a855f7) !important;
    color: #ffffff !important;
    border-color: #c084fc !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(168, 85, 247, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

/* Glass Level Selector Buttons */
.pref-glass-btn {
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pref-glass-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.pref-glass-btn:active,
.pref-glass-btn.active {
    background: var(--accent-blue) !important;
    color: #0b0f19 !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5) !important;
    transform: scale(0.96) translateY(1px) !important;
}

[data-theme-style="frutiger-aero"] .sys-info-item,
[data-theme-style="frutiger-aero"] .form-control-custom,
[data-theme-style="frutiger-aero"] .cselect-trigger {
    border-radius: 12px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.04) !important;
}

[data-theme-style="frutiger-aero"] .metric-bar-fill {
    background: linear-gradient(90deg, #38bdf8, #34d399) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
}

[data-theme-style="frutiger-aero"] .live-dot {
    background-color: #34d399 !important;
    box-shadow: 0 0 12px #34d399, 0 0 4px #ffffff !important;
}

[data-oled="true"] body,
[data-theme="dark"][data-oled="true"] body {
    background-color: #000000 !important;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.04) 0%, transparent 45%),
        linear-gradient(180deg, #000000 0%, #000000 100%) !important;
}

[data-theme="dark"][data-oled="true"],
[data-oled="true"] {
    --bg-color: #000000;
    --bg-gradient-1: rgba(56, 189, 248, 0.03);
    --bg-gradient-2: rgba(168, 85, 247, 0.03);
    --card-bg: rgba(6, 6, 6, 0.94);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-hover-border: rgba(56, 189, 248, 0.5);
    --inner-bg: rgba(255, 255, 255, 0.03);
    --table-header-bg: rgba(255, 255, 255, 0.06);
    --dropdown-bg: #000000;
    --shadow-style: 0 12px 36px rgba(0, 0, 0, 0.95);

    --console-bg: #000000;
    --console-input-bg: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
    --bg-color: #f1f5f9;
    --bg-gradient-1: rgba(2, 132, 199, 0.08);
    --bg-gradient-2: rgba(147, 51, 234, 0.08);
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(0, 0, 0, 0.10);
    --card-hover-border: rgba(2, 132, 199, 0.4);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent-blue: #0284c7;
    --accent-purple: #9333ea;
    --accent-green: #16a34a;
    --accent-yellow: #d97706;
    --accent-red: #dc2626;
    --bar-bg: rgba(0, 0, 0, 0.08);
    --inner-bg: rgba(241, 245, 249, 0.78);
    --table-header-bg: rgba(0, 0, 0, 0.04);
    --dropdown-bg: #ffffff;
    --shadow-style: 0 10px 25px rgba(0, 0, 0, 0.06);

    --console-bg: rgba(0, 0, 0, 0.06);
    --console-input-bg: rgba(0, 0, 0, 0.11);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, var(--bg-gradient-1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, var(--bg-gradient-2) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    padding: 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.main-wrapper {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.app-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.top-nav-bar {
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 4px 8px;
    box-shadow: var(--shadow-style);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: sticky;
    top: 14px;
    z-index: 100;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.sidebar {
    display: none;
}

.sidebar-header {
    display: none;
}

.sidebar-overlay {
    display: none;
}

.main-content-area {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--card-border);
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.header h1 {
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.btn-theme-toggle,
.hamburger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 9px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-power-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 9px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-power-dropdown:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.hamburger-btn {
    display: none;
    background: var(--inner-bg);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.hamburger-btn:hover {
    border-color: var(--accent-blue);
}

.btn-theme-toggle {
    background: var(--inner-bg);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-theme-toggle:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
    transform: translateY(-1px);
}

.oled-toggle-container {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
}

.btn-back-header {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(99, 102, 241, 0.1));
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.btn-back-header:hover {
    background: linear-gradient(135deg, var(--accent-blue), #6366f1);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.btn-back-ptero {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(14, 165, 233, 0.08));
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-back-ptero:hover {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

#btn-login-header,
.btn-login-accent {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(22, 163, 74, 0.12));
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.42);
}

#btn-login-header:hover,
.btn-login-accent:hover {
    background: linear-gradient(135deg, var(--accent-green), #15803d) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35) !important;
    transform: translateY(-2px);
}

#btn-login-header:active,
.btn-login-accent:active {
    transform: translateY(0);
}

#btn-guest-prefs,
.btn-guest-prefs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(126, 34, 206, 0.12));
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.42);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

#btn-guest-prefs:hover,
.btn-guest-prefs:hover {
    background: linear-gradient(135deg, #a855f7, #7e22ce) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4) !important;
    transform: translateY(-2px);
}

#btn-guest-prefs:active,
.btn-guest-prefs:active {
    transform: translateY(0);
}

/* USER PROFILE BUTTON & DROPDOWN */
.user-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.btn-user-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(168, 85, 247, 0.1));
    color: var(--text-main);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

#user-display-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.btn-user-profile:hover,
.user-dropdown-wrapper.open .btn-user-profile {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(168, 85, 247, 0.2));
    border-color: var(--accent-blue);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
    transform: translateY(-1px);
}

.user-avatar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    color: var(--accent-blue);
    font-size: 0.72rem;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-arrow-icon {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.user-dropdown-wrapper.open .user-arrow-icon {
    transform: rotate(180deg);
}

/* --- BOTÓN Y DROPDOWN DE NOTIFICACIONES (CAMPANITA) --- */
.notif-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.btn-notif-bell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background: var(--inner-bg);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-notif-bell:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(234, 179, 8, 0.4);
    color: var(--accent-yellow);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.2);
}

[data-theme-style="frutiger-aero"] .btn-notif-bell {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.notif-unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--body-bg, #0b0f19);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.notif-dropdown-menu,
.user-dropdown-menu,
.guest-dropdown-menu,
.login-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 20px);
    max-height: min(620px, calc(100vh - 90px));
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--dropdown-bg) !important;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(var(--glass-blur-modal, 28px)) saturate(200%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-modal, 28px)) saturate(200%) !important;
    z-index: 10010;
    padding: 8px;
    animation: fadeInDropdown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.notif-dropdown-wrapper.open .notif-dropdown-menu {
    display: block;
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 8px 6px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 8px;
}

.notif-tab-pills {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.notif-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.notif-tab-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

[data-theme-style="frutiger-aero"] .notif-tab-btn.active {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.notif-list-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 380px;
    overflow-y: auto;
    padding: 2px;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.notif-item.notif-battery {
    border-left: 3px solid var(--accent-yellow);
}

.notif-item.notif-temp {
    border-left: 3px solid var(--accent-red);
}

.notif-item.notif-info {
    border-left: 3px solid var(--accent-blue);
}

.notif-item-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.notif-item-body {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-weight: 700;
    font-size: 0.76rem;
    color: var(--text-main);
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-item-time {
    font-size: 0.64rem;
    color: var(--text-muted);
    font-weight: 500;
}

.notif-item-msg {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.35;
    word-break: break-word;
}

.notif-footer-actions {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--card-border);
}

.notif-dropdown-menu::-webkit-scrollbar,
.user-dropdown-menu::-webkit-scrollbar,
.guest-dropdown-menu::-webkit-scrollbar,
.login-dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.user-dropdown-menu::-webkit-scrollbar-thumb,
.guest-dropdown-menu::-webkit-scrollbar-thumb,
.login-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

[data-theme="light"] .user-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme="light"] .guest-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme="light"] .login-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme-style="frutiger-aero"] .user-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="frutiger-aero"] .guest-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="frutiger-aero"] .login-dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.6) 0%, rgba(2, 132, 199, 0.5) 100%);
}

[data-theme-style="sonic-mania"] .user-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="8bit"] .user-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="sonic-mania"] .guest-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="8bit"] .guest-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="sonic-mania"] .login-dropdown-menu::-webkit-scrollbar-thumb,
[data-theme-style="8bit"] .login-dropdown-menu::-webkit-scrollbar-thumb {
    background: #1b56fd !important;
    border: 1px solid #ffd700 !important;
    border-radius: 0px !important;
}

.user-dropdown-wrapper.open .user-dropdown-menu,
.guest-dropdown-wrapper.open .guest-dropdown-menu,
.login-dropdown-wrapper.open .login-dropdown-menu {
    display: block;
}

.user-dropdown-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 14px 12px 10px 12px;
}

.user-avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.2));
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-blue);
    flex-shrink: 0;
    overflow: hidden;
    margin: 0 auto;
}

.user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Modo Sin Foto (Silueta minimalista que combina con el tema y fondo) */
.user-avatar-badge.avatar-silhouette {
    background: var(--inner-bg, rgba(255, 255, 255, 0.08)) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
}

.user-avatar-circle.avatar-silhouette {
    background: var(--inner-bg, rgba(255, 255, 255, 0.05)) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text-muted) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.user-avatar-circle.avatar-silhouette i {
    font-size: 1.25rem;
    opacity: 0.9;
}

[data-theme="light"] .user-avatar-badge.avatar-silhouette {
    background: rgba(0, 0, 0, 0.06) !important;
    color: var(--text-muted) !important;
}

[data-theme="light"] .user-avatar-circle.avatar-silhouette {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--text-muted) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

[data-oled="true"] .user-avatar-badge.avatar-silhouette,
[data-oled="true"] .user-avatar-circle.avatar-silhouette {
    background: #09090b !important;
    border-color: #27272a !important;
    color: #a1a1aa !important;
}

[data-theme-style="frutiger-aero"] .user-avatar-badge.avatar-silhouette {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(0, 210, 255, 0.18)) !important;
    border-color: rgba(0, 210, 255, 0.45) !important;
    color: #0284c7 !important;
}

[data-theme-style="frutiger-aero"] .user-avatar-circle.avatar-silhouette {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(0, 210, 255, 0.2)) !important;
    border-color: rgba(0, 210, 255, 0.5) !important;
    color: #0284c7 !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(0, 210, 255, 0.2) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .user-avatar-circle.avatar-silhouette {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(0, 210, 255, 0.15)) !important;
    color: #38bdf8 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* 8-Bit Sonic Mania Avatar (Full Square Gravatar & Silhouette) */
[data-theme-style="sonic-mania"] .user-avatar-badge,
[data-theme-style="8bit"] .user-avatar-badge,
[data-theme-style="sonic-mania"] .user-avatar-badge img,
[data-theme-style="8bit"] .user-avatar-badge img,
[data-theme-style="sonic-mania"] .user-avatar-circle,
[data-theme-style="8bit"] .user-avatar-circle,
[data-theme-style="sonic-mania"] .user-avatar-circle img,
[data-theme-style="8bit"] .user-avatar-circle img {
    border-radius: 0px !important;
    image-rendering: pixelated;
}

[data-theme-style="sonic-mania"] .user-avatar-circle,
[data-theme-style="8bit"] .user-avatar-circle {
    border: 2px solid #ffd700 !important;
    box-shadow: 3px 3px 0px #000000 !important;
    background: #090c24 !important;
}

[data-theme-style="sonic-mania"] .user-avatar-badge,
[data-theme-style="8bit"] .user-avatar-badge {
    border: 1.5px solid #ffd700 !important;
    box-shadow: 2px 2px 0px #000000 !important;
    background: #090c24 !important;
}

[data-theme-style="sonic-mania"] .user-avatar-badge.avatar-silhouette,
[data-theme-style="8bit"] .user-avatar-badge.avatar-silhouette,
[data-theme-style="sonic-mania"] .user-avatar-circle.avatar-silhouette,
[data-theme-style="8bit"] .user-avatar-circle.avatar-silhouette {
    background: #090c24 !important;
    border: 2px solid #ffd700 !important;
    color: #ffb700 !important;
    box-shadow: 2px 2px 0px #000000 !important;
    border-radius: 0px !important;
}

.user-dropdown-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}

.user-dropdown-fullname {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 100%;
}

.user-dropdown-username {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 100%;
}

#dropdown-user-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    width: 100%;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--card-border);
    margin: 6px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    text-align: left;
    box-sizing: border-box;
}

.user-dropdown-item:hover {
    background: var(--inner-bg);
    color: var(--accent-blue);
    transform: translateX(2px);
}

.user-dropdown-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover .user-dropdown-badge-icon {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.12);
    transform: scale(1.05);
}

.user-dropdown-ptero-link {
    background: rgba(56, 189, 248, 0.07);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    margin-bottom: 4px;
}

.user-dropdown-ptero-link:hover {
    background: rgba(56, 189, 248, 0.16) !important;
    border-color: var(--accent-blue) !important;
    transform: translateX(2px);
}

.user-dropdown-ptero-link .user-dropdown-badge-icon {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
}

.user-dropdown-item.logout-item {
    color: var(--accent-red);
}

.user-dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
}

.user-dropdown-item.logout-item .user-dropdown-badge-icon {
    color: var(--accent-red);
}

.user-dropdown-item.logout-item:hover .user-dropdown-badge-icon {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
}

.user-dropdown-subview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 8px 4px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 8px;
}

.user-dropdown-pref-box {
    background: var(--inner-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

[data-theme="light"] .user-dropdown-pref-box {
    background: var(--inner-bg);
    border-color: rgba(255, 255, 255, 0.45);
}

[data-theme-style="frutiger-aero"] .user-dropdown-pref-box {
    background: var(--inner-bg);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme-style="frutiger-aero"][data-theme="light"] .user-dropdown-pref-box {
    background: var(--inner-bg);
    border-color: rgba(255, 255, 255, 0.5);
}

.user-dropdown-pref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.power-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-section {
    display: none;
}

.tab-section.active {
    display: block !important;
}

.sys-banner {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: var(--shadow-style);
}

.sys-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--inner-bg);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    white-space: nowrap;
}

.sys-info-item span {
    color: var(--text-muted);
}

.live-dot {
    width: 9px;
    height: 9px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

#toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--card-bg);
    border: 1px solid var(--accent-blue);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: var(--shadow-style);
    z-index: 10010;
    display: none;
    backdrop-filter: blur(12px);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#login-modal,
#server-control-modal,
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10002;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(var(--glass-blur-modal));
    -webkit-backdrop-filter: blur(var(--glass-blur-modal));
}

#power-control-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10005;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(var(--glass-blur-modal));
    -webkit-backdrop-filter: blur(var(--glass-blur-modal));
    padding: 20px;
    box-sizing: border-box;
}

.power-modal-box {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur-modal)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur-modal)) saturate(150%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    max-width: 1180px;
    width: 96%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-style);
    animation: fadeInDropdown 0.2s ease;
    overflow: hidden;
}

.power-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}

.power-modal-body::-webkit-scrollbar,
.server-modal-body::-webkit-scrollbar {
    width: 6px;
}

.power-modal-body::-webkit-scrollbar-track,
.server-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.power-modal-body::-webkit-scrollbar-thumb,
.server-modal-body::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.25);
    border-radius: 6px;
}

.power-modal-body::-webkit-scrollbar-thumb:hover,
.server-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

.power-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

#player-action-dialog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10060 !important;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(var(--glass-blur-modal));
    -webkit-backdrop-filter: blur(var(--glass-blur-modal));
}

#custom-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999999 !important;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(var(--glass-blur-modal));
    -webkit-backdrop-filter: blur(var(--glass-blur-modal));
}

.custom-confirm-box,
.login-modal-box {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur-modal)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur-modal)) saturate(150%);
    border: 1px solid var(--card-border);
    padding: 24px;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-style);
    animation: fadeInDropdown 0.2s ease;
}

.server-modal-box {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur-modal)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur-modal)) saturate(150%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    max-width: 850px;
    width: 95%;
    max-height: min(88vh, calc(100dvh - 32px));
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-style);
    animation: fadeInDropdown 0.2s ease;
    overflow: hidden;
    margin: auto;
}

.server-modal-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--inner-bg);
    flex-shrink: 0;
}

.server-modal-body {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Server Control Modal Stats Grid */
.scm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.scm-stat-card {
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}

.scm-stat-card .stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.scm-stat-card .stat-value {
    font-size: 1.15rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

/* Server Addons Row Hover and Selection Styles */
.sam-addon-row {
    transition: all 0.18s ease;
    cursor: default;
}

.sam-addon-row:hover {
    border-color: rgba(168, 85, 247, 0.45) !important;
    background: rgba(168, 85, 247, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sam-addon-row.selected {
    border-color: var(--accent-purple) !important;
    background: rgba(168, 85, 247, 0.15) !important;
}

.console-container {
    background: var(--console-bg, #091322) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 220px;
    max-height: 48vh;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    transition: background-color 0.25s ease;
}

.console-output {
    flex: 1;
    padding: 12px 14px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace !important;
    font-size: 0.82rem !important;
    color: #f1f5f9 !important;
    background: transparent !important;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-all;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.console-input-wrapper {
    display: flex;
    border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
    background: var(--console-input-bg, #050b14) !important;
    transition: background-color 0.25s ease;
    align-items: center;
}

.console-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #38bdf8 !important;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
}

.console-input::placeholder {
    color: rgba(148, 163, 184, 0.65) !important;
}

/* Glassmorphism & Default Light Mode Modals & Cards — Crisp Frosted Glass */
[data-theme="light"] .server-modal-box,
[data-theme="light"] .modal-box,
[data-theme="light"] .pref-panel,
[data-theme="light"] .power-modal-box,
[data-theme="light"] .custom-confirm-box,
[data-theme="light"] .login-modal-box {
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] .server-modal-header {
    background: rgba(248, 250, 252, 0.95) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

[data-theme="light"] .server-modal-header h3,
[data-theme="light"] #scm-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .scm-stat-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(203, 213, 225, 0.85) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .scm-stat-card .stat-label {
    color: #475569 !important;
    font-weight: 700 !important;
}

[data-theme="light"] #scm-cpu-txt {
    color: #0284c7 !important;
}

[data-theme="light"] #scm-ram-txt {
    color: #9333ea !important;
}

[data-theme="light"] #scm-disk-txt {
    color: #d97706 !important;
}

[data-theme="light"] #scm-net-txt {
    color: #16a34a !important;
}

[data-theme="light"] .modal-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Light mode specific glass level adjustments for modals */
[data-glass-level="1"][data-theme="light"] .server-modal-box,
[data-glass-level="1"][data-theme="light"] .modal-box,
[data-glass-level="1"][data-theme="light"] .pref-panel,
[data-glass-level="1"][data-theme="light"] .power-modal-box {
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(255, 255, 255, 0.90) !important;
}

[data-glass-level="2"][data-theme="light"] .server-modal-box,
[data-glass-level="2"][data-theme="light"] .modal-box,
[data-glass-level="2"][data-theme="light"] .pref-panel,
[data-glass-level="2"][data-theme="light"] .power-modal-box {
    background: rgba(255, 255, 255, 0.93) !important;
    border: 1px solid #ffffff !important;
}

[data-glass-level="3"][data-theme="light"] .server-modal-box,
[data-glass-level="3"][data-theme="light"] .modal-box,
[data-glass-level="3"][data-theme="light"] .pref-panel,
[data-glass-level="3"][data-theme="light"] .power-modal-box {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #cbd5e1 !important;
}

.main-tabs-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 6px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.main-tabs-bar::-webkit-scrollbar {
    display: none;
}

.main-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 0 16px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

.main-tab-btn i,
.main-tab-btn span[class*="fa-"],
.main-tab-btn svg {
    font-size: 1rem;
    width: auto;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    line-height: 1;
    margin: 0;
    vertical-align: middle;
}

.main-tab-btn .tab-label {
    display: inline-block;
    line-height: 1;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    white-space: nowrap;
    font-size: 0.84rem;
    margin: 0;
}

.main-tab-btn:hover {
    border-color: var(--card-hover-border);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-tab-btn.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.main-tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
}

/* Pterodactyl Servers Responsive Table Admin Column */
@media (min-width: 769px) {
    .ptero-col-admin-left {
        display: none !important;
    }

    .ptero-col-admin-right {
        display: table-cell !important;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .ptero-col-admin-left {
        display: table-cell !important;
        text-align: center;
        width: 44px;
        padding-right: 4px !important;
    }

    .ptero-col-admin-right {
        display: none !important;
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-style);
    transition: border-color 0.2s ease;
    width: 100%;
}

.card:hover {
    border-color: var(--card-hover-border);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
    flex-wrap: wrap;
}

.card-title {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.chart-container {
    position: relative;
    height: 130px;
    width: 100%;
    margin-top: 10px;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.core-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    background: var(--inner-bg);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    border: 1px solid var(--card-border);
}

.core-item:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.08);
}

.core-item.disabled {
    opacity: 0.35;
    text-decoration: line-through;
    border-color: rgba(239, 68, 68, 0.3);
}

.clickable-legend {
    cursor: pointer;
    transition: opacity 0.2s ease;
    user-select: none;
}

.clickable-legend:hover {
    opacity: 0.8;
}

.clickable-legend.disabled {
    opacity: 0.35;
    text-decoration: line-through;
}

.temp-cool {
    color: var(--accent-green);
}

.temp-warm {
    color: var(--accent-yellow);
}

.temp-warning {
    color: #f97316;
}

.temp-critical {
    color: var(--accent-red);
    font-weight: 700;
    animation: temp-pulse 1.2s infinite;
}

@keyframes temp-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.core-temp-txt {
    font-weight: 600;
    font-size: 0.72rem;
    margin-left: 4px;
    white-space: nowrap;
}

.progress-container {
    margin-top: 8px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.bar-bg {
    background: var(--bar-bg);
    height: 7px;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    white-space: nowrap;
    flex-shrink: 0;
}

.badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    border-color: rgba(34, 197, 94, 0.3);
}

.badge.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    font-weight: 700;
    border-color: rgba(239, 68, 68, 0.3);
}

.badge.charging {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    border-color: rgba(34, 197, 94, 0.3);
}

.proc-list,
.svc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proc-item {
    background: var(--inner-bg);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--card-border);
}

.proc-info {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.proc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
    gap: 8px;
    flex-wrap: wrap;
}

.proc-name {
    white-space: normal;
    word-break: break-all;
}

.proc-path {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: normal;
    word-break: break-all;
}

.btn-gui-action {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-gui-start {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-gui-start:hover {
    background: var(--accent-green);
    color: #0b0f19;
}

.btn-gui-stop {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-gui-stop:hover {
    background: var(--accent-red);
    color: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bar-bg);
    transition: .3s;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-muted);
    transition: .3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: rgba(56, 189, 248, 0.3);
    border-color: var(--accent-blue);
}

input:checked+.slider:before {
    transform: translateX(20px);
    background-color: var(--accent-blue);
}

.btn-ssh-view {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.btn-ssh-view:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.btn-ssh-close {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.btn-ssh-close:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.btn-terminate {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
    white-space: nowrap;
}

.btn-terminate:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.power-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.btn-power {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-reboot {
    background: rgba(234, 179, 8, 0.15);
    color: var(--accent-yellow);
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.btn-reboot:hover {
    background: rgba(234, 179, 8, 0.4);
    color: #fff;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.3);
}

.btn-shutdown {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-shutdown:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.btn-tab {
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-tab:hover {
    border-color: var(--accent-blue);
    color: var(--text-main);
}

.btn-tab.active {
    background: rgba(56, 189, 248, 0.2);
    color: var(--accent-blue);
    border-color: rgba(56, 189, 248, 0.4);
}

.btn-tab.filter-blocked {
    color: var(--text-muted);
}

.btn-tab.filter-blocked:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-tab.filter-blocked.active {
    background: rgba(239, 68, 68, 0.2) !important;
    color: var(--accent-red) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
}

.btn-tab.filter-allowed {
    color: var(--text-muted);
}

.btn-tab.filter-allowed:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-tab.filter-allowed.active {
    background: rgba(34, 197, 94, 0.2) !important;
    color: var(--accent-green) !important;
    border-color: rgba(34, 197, 94, 0.45) !important;
}

.audit-filter-btn.active-filter {
    background: rgba(56, 189, 248, 0.2) !important;
    color: var(--accent-blue) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    font-weight: 700;
}

select,
.form-control-custom,
input[type="text"],
input[type="password"],
input[type="search"],
textarea {
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.8rem;
    outline: none;
    transition: all 0.2s ease;
}

select:focus,
.form-control-custom:focus,
input:focus,
textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* =========================================================================
   BARRAS DESPLEGABLES NATIVAS (SELECT & OPTION) POR CADA TEMA
   ========================================================================= */
select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2338bdf8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 10px;
    padding-right: 28px !important;
}

select option {
    background-color: #0b1329;
    color: #f1f5f9;
    padding: 8px 12px;
}

/* Glassmorphism Dark */
[data-theme-style="glassmorphism"][data-theme="dark"] select option {
    background-color: #0b1329;
    color: #f1f5f9;
}

/* Glassmorphism Light */
[data-theme-style="glassmorphism"][data-theme="light"] select,
[data-theme="light"] select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230284c7' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

[data-theme-style="glassmorphism"][data-theme="light"] select option,
[data-theme="light"] select option {
    background-color: #ffffff;
    color: #0f172a;
}

/* Frutiger Aero Light */
[data-theme-style="frutiger-aero"][data-theme="light"] select,
[data-theme-style="frutiger-aero"]:not([data-theme="dark"]) select {
    background-color: rgba(255, 255, 255, 0.75);
    border-color: rgba(56, 189, 248, 0.55);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(2, 132, 199, 0.12);
    color: #063146;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230284c7' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

[data-theme-style="frutiger-aero"][data-theme="light"] select option,
[data-theme-style="frutiger-aero"]:not([data-theme="dark"]) select option {
    background-color: #e0f2fe;
    color: #034468;
}

/* Frutiger Aero Dark */
[data-theme-style="frutiger-aero"][data-theme="dark"] select {
    background-color: rgba(8, 43, 70, 0.45);
    border-color: rgba(56, 189, 248, 0.45);
    border-radius: 12px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 20, 45, 0.4);
    color: #f0fdf4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2338bdf8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

[data-theme-style="frutiger-aero"][data-theme="dark"] select option {
    background-color: #082d46;
    color: #f0fdf4;
}

/* Frutiger Aero OLED */
[data-theme-style="frutiger-aero"][data-oled="true"] select {
    background-color: #000000;
    border-color: rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    color: #7dd3fc;
}

[data-theme-style="frutiger-aero"][data-oled="true"] select option {
    background-color: #000000;
    color: #7dd3fc;
}

.ufw-table-container,
.ssh-table-container {
    background: var(--inner-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.ufw-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    text-align: left;
}

.ufw-table th {
    background: var(--table-header-bg);
    color: var(--text-muted);
    padding: 10px 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--card-border);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.ufw-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-main);
    white-space: nowrap;
}

.ufw-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.badge-allow {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.badge-deny {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.val-low {
    background-color: var(--accent-green);
}

.val-mid {
    background-color: var(--accent-yellow);
}

.val-high {
    background-color: var(--accent-red);
}

/* =========================================================================
   BARRAS DE DESPLAZAMIENTO (SCROLLBARS) ADAPTADAS POR TEMA
   ========================================================================= */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.5);
}

/* Scrollbar Glassmorphism Light */
[data-theme-style="glassmorphism"][data-theme="light"] ::-webkit-scrollbar-thumb,
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
}

[data-theme-style="glassmorphism"][data-theme="light"] ::-webkit-scrollbar-thumb:hover,
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 132, 199, 0.5);
}

/* Scrollbar Frutiger Aero Light (Aqua Gloss Glow) */
[data-theme-style="frutiger-aero"][data-theme="light"] ::-webkit-scrollbar-thumb,
[data-theme-style="frutiger-aero"]:not([data-theme="dark"]) ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.5) 0%, rgba(2, 132, 199, 0.4) 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme-style="frutiger-aero"][data-theme="light"] ::-webkit-scrollbar-thumb:hover,
[data-theme-style="frutiger-aero"]:not([data-theme="dark"]) ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
}

/* Scrollbar Frutiger Aero Dark */
[data-theme-style="frutiger-aero"][data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.4) 0%, rgba(8, 43, 70, 0.6) 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0369a1 100%);
}

/* Scrollbar OLED */
[data-oled="true"] ::-webkit-scrollbar-thumb {
    background: #27272a;
}

[data-oled="true"] ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

.copy-ip-badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
    margin-bottom: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-ip-badge:hover {
    background: var(--accent-blue);
    color: #0b0f19;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn-ptero-link {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.15));
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 4px;
    line-height: 1;
    vertical-align: middle;
    box-sizing: border-box;
}

.btn-ptero-link:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.btn-ptero-power {
    padding: 6px 12px;
    min-height: 32px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    margin-right: 4px;
    font-family: inherit;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    gap: 6px;
    box-sizing: border-box;
}

.btn-ptero-power:hover {
    transform: translateY(-1px);
    background: var(--accent-blue);
    color: #0b0f19;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.btn-ptero-power i,
.btn-ptero-power span,
.btn-ptero-power svg,
.btn-ptero-link i,
.btn-ptero-link span,
.btn-ptero-link svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    font-style: normal;
    margin: 0;
    padding: 0;
}

.btn-action-start {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    border-color: rgba(34, 197, 94, 0.35);
}

.btn-action-start:hover {
    background: var(--accent-green) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4) !important;
}

.btn-action-restart {
    background: rgba(234, 179, 8, 0.15);
    color: var(--accent-yellow);
    border-color: rgba(234, 179, 8, 0.35);
}

.btn-action-restart:hover {
    background: var(--accent-yellow) !important;
    color: #0b0f19 !important;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.4) !important;
}

.btn-action-kill {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border-color: rgba(239, 68, 68, 0.35);
}

.btn-action-kill:hover {
    background: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
}

.btn-action-players {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border-color: rgba(56, 189, 248, 0.35);
}

.btn-action-players:hover {
    background: var(--accent-blue) !important;
    color: #0b0f19 !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.btn-action-web {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border-color: rgba(56, 189, 248, 0.35);
}

.btn-action-web:hover {
    background: var(--accent-blue) !important;
    color: #0b0f19 !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.user-server-card {
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.user-server-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.server-item-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.server-item-box.selected {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.03);
}

.server-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
}

.port-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.port-chip:hover {
    border-color: var(--accent-blue);
    transform: translateY(-1px);
}

.port-chip.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.service-row-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--card-bg);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    gap: 8px;
}

.service-actions-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.btn-svc-action {
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.btn-svc-start {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-svc-start:hover {
    background: var(--accent-green);
    color: #0b0f19;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
    transform: translateY(-1px);
}

.btn-svc-stop {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-svc-stop:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.btn-svc-restart {
    background: rgba(234, 179, 8, 0.15);
    color: var(--accent-yellow);
    border-color: rgba(234, 179, 8, 0.3);
}

.btn-svc-restart:hover {
    background: rgba(234, 179, 8, 0.15);
    color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.35);
    transform: translateY(-1px);
}

.btn-svc-terminate {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    border-color: rgba(168, 85, 247, 0.3);
}

.btn-svc-terminate:hover {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.35);
    transform: translateY(-1px);
}

body.guest-mode .top-nav-bar,
body.guest-mode .sidebar {
    display: none !important;
}

body.guest-mode .hamburger-btn {
    display: none !important;
}

body.guest-mode .sys-banner {
    display: none !important;
}

/* Restricción de pestañas de Seguridad, Administración y Subpestañas de Rendimiento para no-administradores */
body:not(.admin-mode) #tab-btn-ssh,
body:not(.admin-mode) #tab-btn-admin,
body:not(.admin-mode) #perf-subtabs-bar,
body:not(.admin-mode) .admin-proc-card,
body:not(.admin-mode) #net-admin-details,
body.user-mode #tab-btn-ssh,
body.user-mode #tab-btn-admin,
body.user-mode #perf-subtabs-bar,
body.user-mode .admin-proc-card,
body.user-mode #net-admin-details {
    display: none !important;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 1.05rem;
        white-space: normal;
    }

    .header-right {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 8px;
    }

    .header-right .btn-theme-toggle,
    .header-right .btn-power-dropdown,
    .header-right .btn-back-header,
    .header-right .btn-user-profile {
        padding: 7px 11px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    #user-display-name {
        max-width: 90px;
    }

    .header-right {
        position: relative !important;
    }

    .user-dropdown-wrapper,
    .notif-dropdown-wrapper,
    .guest-dropdown-wrapper,
    .login-dropdown-wrapper {
        position: static !important;
    }

    .user-dropdown-menu,
    .notif-dropdown-menu,
    .guest-dropdown-menu,
    .login-dropdown-menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(360px, calc(100vw - 20px)) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 90px) !important;
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 10050 !important;
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.75) !important;
        box-sizing: border-box !important;
    }

    .audit-filter-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    #audit-search-input {
        width: 100% !important;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .proc-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .proc-item .btn-terminate {
        width: 100%;
        text-align: center;
    }

    .user-server-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .sys-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sys-info-item {
        width: 100%;
        justify-content: space-between;
    }

    .card {
        padding: 14px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hamburger-btn {
        display: none !important;
    }

    .top-nav-bar {
        padding: 4px 6px;
        margin-bottom: 14px;
        top: 8px;
        border-radius: 12px;
    }

    .main-tabs-bar {
        padding: 4px 2px;
        gap: 6px;
    }

    .main-tab-btn {
        padding: 0 12px;
        height: 36px;
        font-size: 0.78rem;
        gap: 6px;
        border-radius: 8px;
    }

    .main-tab-btn i,
    .main-tab-btn span[class*="fa-"],
    .main-tab-btn svg {
        font-size: 0.88rem;
    }

    .main-tab-btn .tab-label {
        font-size: 0.78rem;
    }

    .ssh-table-container .ufw-table {
        min-width: 100%;
        font-size: 0.72rem;
    }

    .ssh-table-container .ufw-table td,
    .ssh-table-container .ufw-table th {
        padding: 10px;
        white-space: normal;
        word-break: break-all;
    }

    .ssh-table-container .btn-ssh-view,
    .ssh-table-container .btn-ssh-close {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }
}

/* =========================================================================
   MODO EMOJIS UNICODE DE PREFERENCIA DEL USUARIO
   ========================================================================= */
body.use-emojis-mode i[class*="fa-"],
body.use-emojis-mode span[class*="fa-"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
    font-style: normal !important;
    font-weight: normal !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}

body.use-emojis-mode .fa-arrow-down::before {
    content: "⬇️";
    font-style: normal;
}

body.use-emojis-mode .fa-arrow-left::before {
    content: "⬅️";
    font-style: normal;
}

body.use-emojis-mode .fa-arrow-right::before {
    content: "➡️";
    font-style: normal;
}

body.use-emojis-mode .fa-arrow-up::before {
    content: "⬆️";
    font-style: normal;
}

body.use-emojis-mode .fa-arrow-up-right-from-square::before {
    content: "↗️";
    font-style: normal;
}

body.use-emojis-mode .fa-arrows-split-up-and-left::before {
    content: "🔀";
    font-style: normal;
}

body.use-emojis-mode .fa-arrows-up-down::before {
    content: "↕️";
    font-style: normal;
}

body.use-emojis-mode .fa-ban::before {
    content: "🚫";
    font-style: normal;
}

body.use-emojis-mode .fa-bars::before {
    content: "☰";
    font-style: normal;
}

body.use-emojis-mode .fa-battery-full::before {
    content: "🔋";
    font-style: normal;
}

body.use-emojis-mode .fa-battery-half::before {
    content: "🔋";
    font-style: normal;
}

body.use-emojis-mode .fa-battery-quarter::before {
    content: "🪫";
    font-style: normal;
}

body.use-emojis-mode .fa-battery-three-quarters::before {
    content: "🔋";
    font-style: normal;
}

body.use-emojis-mode .fa-biohazard::before {
    content: "☣️";
    font-style: normal;
}

body.use-emojis-mode .fa-bolt::before {
    content: "⚡";
    font-style: normal;
}

body.use-emojis-mode .fa-book-open::before {
    content: "📖";
    font-style: normal;
}

body.use-emojis-mode .fa-bug::before {
    content: "🐛";
    font-style: normal;
}

body.use-emojis-mode .fa-bullhorn::before {
    content: "📢";
    font-style: normal;
}

body.use-emojis-mode .fa-cake-candles::before {
    content: "🎉";
    font-style: normal;
}

body.use-emojis-mode .fa-chart-line::before {
    content: "📊";
    font-style: normal;
}

body.use-emojis-mode .fa-check::before {
    content: "✅";
    font-style: normal;
}

body.use-emojis-mode .fa-chevron-down::before {
    content: "▾";
    font-style: normal;
}

body.use-emojis-mode .fa-chevron-left::before {
    content: "◂";
    font-style: normal;
}

body.use-emojis-mode .fa-chevron-right::before {
    content: "▸";
    font-style: normal;
}

body.use-emojis-mode .fa-chevron-up::before {
    content: "▴";
    font-style: normal;
}

body.use-emojis-mode .fa-circle::before {
    content: "🟢";
    font-style: normal;
}

body.use-emojis-mode .fa-circle-check::before {
    content: "✅";
    font-style: normal;
}

body.use-emojis-mode .fa-circle-info::before {
    content: "ℹ️";
    font-style: normal;
}

body.use-emojis-mode .fa-circle-xmark::before {
    content: "❌";
    font-style: normal;
}

body.use-emojis-mode .fa-clipboard-list::before {
    content: "📋";
    font-style: normal;
}

body.use-emojis-mode .fa-cloud-arrow-down::before {
    content: "⬇️";
    font-style: normal;
}

body.use-emojis-mode .fa-crosshairs::before {
    content: "🎯";
    font-style: normal;
}

body.use-emojis-mode .fa-crown::before {
    content: "👑";
    font-style: normal;
}

body.use-emojis-mode .fa-database::before {
    content: "🗄️";
    font-style: normal;
}

body.use-emojis-mode .fa-desktop::before {
    content: "🖥️";
    font-style: normal;
}

body.use-emojis-mode .fa-display::before {
    content: "🖥️";
    font-style: normal;
}

body.use-emojis-mode .fa-download::before {
    content: "📥";
    font-style: normal;
}

body.use-emojis-mode .fa-dragon::before {
    content: "🐉";
    font-style: normal;
}

body.use-emojis-mode .fa-envelope::before {
    content: "✉️";
    font-style: normal;
}

body.use-emojis-mode .fa-envelope-open::before {
    content: "📩";
    font-style: normal;
}

body.use-emojis-mode .fa-eye::before {
    content: "👁️";
    font-style: normal;
}

body.use-emojis-mode .fa-eye-slash::before {
    content: "🙈";
    font-style: normal;
}

body.use-emojis-mode .fa-feather-pointed::before {
    content: "🪶";
    font-style: normal;
}

body.use-emojis-mode .fa-file-export::before {
    content: "📤";
    font-style: normal;
}

body.use-emojis-mode .fa-file-import::before {
    content: "📥";
    font-style: normal;
}

body.use-emojis-mode .fa-filter::before {
    content: "🎯";
    font-style: normal;
}

body.use-emojis-mode .fa-fire::before {
    content: "🔥";
    font-style: normal;
}

body.use-emojis-mode .fa-floppy-disk::before {
    content: "💾";
    font-style: normal;
}

body.use-emojis-mode .fa-folder-open::before {
    content: "📂";
    font-style: normal;
}

body.use-emojis-mode .fa-folder-tree::before {
    content: "📁";
    font-style: normal;
}

body.use-emojis-mode .fa-gamepad::before {
    content: "🎮";
    font-style: normal;
}

body.use-emojis-mode .fa-gear::before {
    content: "⚙️";
    font-style: normal;
}

body.use-emojis-mode .fa-globe::before {
    content: "🌐";
    font-style: normal;
}

body.use-emojis-mode .fa-grip-vertical::before {
    content: "⠿";
    font-style: normal;
}

body.use-emojis-mode .fa-grip::before {
    content: "⠿";
    font-style: normal;
}

body.use-emojis-mode .fa-gun::before {
    content: "🔫";
    font-style: normal;
}

body.use-emojis-mode .fa-hammer::before {
    content: "🔨";
    font-style: normal;
}

body.use-emojis-mode .fa-hand::before {
    content: "✋";
    font-style: normal;
}

body.use-emojis-mode .fa-hard-drive::before {
    content: "💽";
    font-style: normal;
}

body.use-emojis-mode .fa-headset::before {
    content: "🎧";
    font-style: normal;
}

body.use-emojis-mode .fa-icons::before {
    content: "🎨";
    font-style: normal;
}

body.use-emojis-mode .fa-inbox::before {
    content: "📥";
    font-style: normal;
}

body.use-emojis-mode .fa-industry::before {
    content: "🏭";
    font-style: normal;
}

body.use-emojis-mode .fa-key::before {
    content: "🔑";
    font-style: normal;
}

body.use-emojis-mode .fa-layer-group::before {
    content: "📑";
    font-style: normal;
}

body.use-emojis-mode .fa-list-check::before {
    content: "☑️";
    font-style: normal;
}

body.use-emojis-mode .fa-lock::before {
    content: "🔒";
    font-style: normal;
}

body.use-emojis-mode .fa-magnifying-glass::before {
    content: "🔍";
    font-style: normal;
}

body.use-emojis-mode .fa-map::before {
    content: "🗺️";
    font-style: normal;
}

body.use-emojis-mode .fa-memory::before {
    content: "🧠";
    font-style: normal;
}

body.use-emojis-mode .fa-mobile-screen::before {
    content: "📱";
    font-style: normal;
}

body.use-emojis-mode .fa-moon::before {
    content: "🌙";
    font-style: normal;
}

body.use-emojis-mode .fa-network-wired::before {
    content: "🌐";
    font-style: normal;
}

body.use-emojis-mode .fa-paw::before {
    content: "🐾";
    font-style: normal;
}

body.use-emojis-mode .fa-pen::before {
    content: "🖊️";
    font-style: normal;
}

body.use-emojis-mode .fa-pen-to-square::before {
    content: "✏️";
    font-style: normal;
}

body.use-emojis-mode .fa-phone::before {
    content: "📞";
    font-style: normal;
}

body.use-emojis-mode .fa-play::before {
    content: "▶️";
    font-style: normal;
}

body.use-emojis-mode .fa-plug::before {
    content: "🔌";
    font-style: normal;
}

body.use-emojis-mode .fa-plus::before {
    content: "➕";
    font-style: normal;
}

body.use-emojis-mode .fa-power-off::before {
    content: "🔴";
    font-style: normal;
}

body.use-emojis-mode .fa-right-from-bracket::before {
    content: "🚪";
    font-style: normal;
}

body.use-emojis-mode .fa-rotate-right::before {
    content: "🔄";
    font-style: normal;
}

body.use-emojis-mode .fa-scroll::before {
    content: "📜";
    font-style: normal;
}

body.use-emojis-mode .fa-screwdriver-wrench::before {
    content: "🛠️";
    font-style: normal;
}

body.use-emojis-mode .fa-server::before {
    content: "📟";
    font-style: normal;
}

body.use-emojis-mode .fa-shield::before {
    content: "🛡️";
    font-style: normal;
}

body.use-emojis-mode .fa-shield-cat::before {
    content: "🔐";
    font-style: normal;
}

body.use-emojis-mode .fa-shield-halved::before {
    content: "🛡️";
    font-style: normal;
}

body.use-emojis-mode .fa-skull::before {
    content: "💀";
    font-style: normal;
}

body.use-emojis-mode .fa-skull-crossbones::before {
    content: "☠️";
    font-style: normal;
}

body.use-emojis-mode .fa-sliders::before {
    content: "⚙️";
    font-style: normal;
}

body.use-emojis-mode .fa-spinner::before {
    content: "🔄";
    font-style: normal;
}

body.use-emojis-mode .fa-square::before {
    content: "⏹️";
    font-style: normal;
}

body.use-emojis-mode .fa-sun::before {
    content: "☀️";
    font-style: normal;
}

body.use-emojis-mode .fa-temperature-three-quarters::before {
    content: "🌡️";
    font-style: normal;
}

body.use-emojis-mode .fa-terminal::before {
    content: "💻";
    font-style: normal;
}

body.use-emojis-mode .fa-thumbtack::before {
    content: "📌";
    font-style: normal;
}

body.use-emojis-mode .fa-tower-broadcast::before {
    content: "📡";
    font-style: normal;
}

body.use-emojis-mode .fa-triangle-exclamation::before {
    content: "⚠️";
    font-style: normal;
}

body.use-emojis-mode .fa-tv::before {
    content: "📺";
    font-style: normal;
}

body.use-emojis-mode .fa-user::before {
    content: "👤";
    font-style: normal;
}

body.use-emojis-mode .fa-users::before {
    content: "👥";
    font-style: normal;
}

body.use-emojis-mode .fa-user-slash::before {
    content: "🚫";
    font-style: normal;
}

body.use-emojis-mode .fa-video::before {
    content: "📹";
    font-style: normal;
}

body.use-emojis-mode .fa-vial::before {
    content: "🧪";
    font-style: normal;
}

body.use-emojis-mode .fa-vihara::before {
    content: "⛩️";
    font-style: normal;
}

body.use-emojis-mode .fa-wand-magic-sparkles::before {
    content: "✨";
    font-style: normal;
}

body.use-emojis-mode .fa-water::before {
    content: "🌊";
    font-style: normal;
}

body.use-emojis-mode .fa-xmark::before {
    content: "❌";
    font-style: normal;
}

body.use-emojis-mode .fa-gavel::before {
    content: "🔨";
    font-style: normal;
}

/* NUEVOS ICONOS AÑADIDOS */
body.use-emojis-mode .fa-rocket::before {
    content: "🚀";
    font-style: normal;
}

body.use-emojis-mode .fa-car::before {
    content: "🚗";
    font-style: normal;
}

body.use-emojis-mode .fa-car-side::before {
    content: "🚙";
    font-style: normal;
}

body.use-emojis-mode .fa-gears::before {
    content: "⚙️";
    font-style: normal;
}

body.use-emojis-mode .fa-khanda::before {
    content: "⚔️";
    font-style: normal;
}

body.use-emojis-mode .fa-campground::before {
    content: "🏕️";
    font-style: normal;
}

body.use-emojis-mode .fa-microphone::before {
    content: "🎤";
    font-style: normal;
}

body.use-emojis-mode .fa-robot::before {
    content: "🤖";
    font-style: normal;
}

body.use-emojis-mode .fa-gauge::before {
    content: "⏱️";
    font-style: normal;
}

body.use-emojis-mode .fa-chart-pie::before {
    content: "🥧";
    font-style: normal;
}

body.use-emojis-mode .fa-chart-area::before {
    content: "📈";
    font-style: normal;
}

body.use-emojis-mode .fa-magnifying-glass-chart::before {
    content: "📉";
    font-style: normal;
}

body.use-emojis-mode .fa-docker::before {
    content: "🐳";
    font-style: normal;
}

body.use-emojis-mode .fa-cogs::before {
    content: "⚙️";
    font-style: normal;
}

body.use-emojis-mode .fa-clock::before {
    content: "🕒";
    font-style: normal;
}

body.use-emojis-mode .fa-user-tie::before {
    content: "👔";
    font-style: normal;
}

body.use-emojis-mode .fa-windows::before {
    content: "🪟";
    font-style: normal;
}

body.use-emojis-mode .fa-file-arrow-up::before {
    content: "📤";
    font-style: normal;
}

body.use-emojis-mode .fa-folder-network::before {
    content: "📁";
    font-style: normal;
}

body.use-emojis-mode .fa-envelope-circle-check::before {
    content: "📩";
    font-style: normal;
}

body.use-emojis-mode .fa-paper-plane::before {
    content: "🛫";
    font-style: normal;
}

body.use-emojis-mode .fa-envelope-open-text::before {
    content: "📖";
    font-style: normal;
}

body.use-emojis-mode .fa-shield-alt::before {
    content: "🛡️";
    font-style: normal;
}

body.use-emojis-mode .fa-bell::before {
    content: "🔔";
    font-style: normal;
}

body.use-emojis-mode .fa-bell-slash::before {
    content: "🔕";
    font-style: normal;
}

body.use-emojis-mode .fa-camera::before {
    content: "📷";
    font-style: normal;
}

body.use-emojis-mode .fa-circle-exclamation::before {
    content: "❗";
    font-style: normal;
}

body.use-emojis-mode .fa-circle-question::before {
    content: "❓";
    font-style: normal;
}

body.use-emojis-mode .fa-clock-rotate-left::before {
    content: "🕒";
    font-style: normal;
}

body.use-emojis-mode .fa-droplet::before {
    content: "💧";
    font-style: normal;
}

body.use-emojis-mode .fa-flask::before {
    content: "🧪";
    font-style: normal;
}

body.use-emojis-mode .fa-font::before {
    content: "🔤";
    font-style: normal;
}

body.use-emojis-mode .fa-leaf::before {
    content: "🍃";
    font-style: normal;
}

body.use-emojis-mode .fa-link::before {
    content: "🔗";
    font-style: normal;
}

body.use-emojis-mode .fa-lock-open::before {
    content: "🔓";
    font-style: normal;
}

body.use-emojis-mode .fa-microchip::before {
    content: "🔲";
    font-style: normal;
}

body.use-emojis-mode .fa-plus-circle::before {
    content: "➕";
    font-style: normal;
}

body.use-emojis-mode .fa-right-to-bracket::before {
    content: "🔑";
    font-style: normal;
}

body.use-emojis-mode .fa-shapes::before {
    content: "🔷";
    font-style: normal;
}

body.use-emojis-mode .fa-signature::before {
    content: "✍️";
    font-style: normal;
}

body.use-emojis-mode .fa-temperature-high::before {
    content: "🌡️";
    font-style: normal;
}

body.use-emojis-mode .fa-trash-can::before {
    content: "🗑️";
    font-style: normal;
}

body.use-emojis-mode .fa-user-gear::before {
    content: "⚙️";
    font-style: normal;
}

body.use-emojis-mode .fa-users-gear::before {
    content: "👥";
    font-style: normal;
}

body.use-emojis-mode .fa-screwdriver-wrench::before {
    content: "🛠️";
    font-style: normal;
}

body.use-emojis-mode .fa-wifi::before {
    content: "📶";
    font-style: normal;
}

body.use-emojis-mode .fa-power-off::before {
    content: "🛑";
    font-style: normal;
}

body.use-emojis-mode .fa-tv::before {
    content: "📺";
    font-style: normal;
}

body.use-emojis-mode .fa-window-maximize::before {
    content: "🖥️";
    font-style: normal;
}

body.use-emojis-mode .fa-sun::before {
    content: "☀️";
    font-style: normal;
}

body.use-emojis-mode .fa-moon::before {
    content: "🌙";
    font-style: normal;
}

body.use-emojis-mode .fa-floppy-disk::before {
    content: "💾";
    font-style: normal;
}

body.use-emojis-mode .fa-user-pen::before {
    content: "✍️";
    font-style: normal;
}

body.use-emojis-mode .fa-user-shield::before {
    content: "🛡️";
    font-style: normal;
}

/* ====================================================================
   CUSTOM SELECT DROPDOWN
   ==================================================================== */
.cselect-wrapper {
    position: relative;
    display: inline-block;
    min-width: 80px;
    user-select: none;
    z-index: 20;
}

.cselect-wrapper.open {
    z-index: 10000 !important;
}

.card:has(.cselect-wrapper.open) {
    z-index: 50 !important;
}

.cselect-wrapper.full-width {
    width: 100%;
}

.cselect-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 34px;
    backdrop-filter: blur(var(--glass-blur-nav, 16px));
    -webkit-backdrop-filter: blur(var(--glass-blur-nav, 16px));
}

.cselect-trigger:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.08);
}

.cselect-wrapper.open .cselect-trigger {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.cselect-arrow {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.cselect-wrapper.open .cselect-arrow {
    transform: rotate(180deg);
}

.cselect-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: var(--cselect-bg, rgba(15, 23, 42, 0.90)) !important;
    border: 1px solid var(--cselect-border, rgba(56, 189, 248, 0.40));
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.70), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    z-index: 999999 !important;
    overflow-y: auto;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    animation: cselect-in 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

[data-theme="light"] .cselect-dropdown {
    background: var(--cselect-bg, rgba(255, 255, 255, 0.92)) !important;
    border: 1px solid var(--cselect-border, rgba(2, 132, 199, 0.40));
    box-shadow: 0 20px 50px rgba(0, 45, 90, 0.18), inset 0 1px 1px #ffffff;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
}

[data-theme-style="frutiger-aero"] .cselect-dropdown {
    background: var(--cselect-bg, linear-gradient(180deg, rgba(14, 42, 70, 0.92) 0%, rgba(4, 20, 36, 0.95) 100%)) !important;
    backdrop-filter: blur(26px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(26px) saturate(200%) !important;
    border: 1px solid rgba(125, 211, 252, 0.5) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 50px rgba(0, 35, 70, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

[data-theme-style="frutiger-aero"][data-theme="light"] .cselect-dropdown {
    background: var(--cselect-bg, linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 242, 254, 0.92) 100%)) !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.25), inset 0 1px 1px #ffffff !important;
}

[data-theme-style="frutiger-aero"][data-oled="true"] .cselect-dropdown,
[data-oled="true"] .cselect-dropdown {
    background: rgba(0, 0, 0, 0.95) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

.cselect-dropdown::-webkit-scrollbar {
    width: 4px;
}

.cselect-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

[data-theme="light"] .cselect-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

@keyframes cselect-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cselect-wrapper.open .cselect-dropdown {
    display: block;
}

.cselect-option {
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.cselect-option:hover {
    background: rgba(56, 189, 248, 0.22) !important;
    color: var(--accent-blue) !important;
    padding-left: 15px;
}

.cselect-option.selected {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(14, 165, 233, 0.18)) !important;
    color: var(--accent-blue) !important;
    font-weight: 700;
}

/* ====================================================================
   AUDIT FILTER BAR & CHIPS
   ==================================================================== */
.audit-chip-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.audit-chip-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-color: var(--card-border);
}

.audit-chip-btn.active-chip {
    background: rgba(168, 85, 247, 0.15) !important;
    color: var(--accent-purple) !important;
    border-color: rgba(168, 85, 247, 0.4) !important;
    font-weight: 600;
}

#chip-filter-warning.active-chip {
    background: rgba(234, 179, 8, 0.15) !important;
    color: var(--accent-yellow) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
}

#chip-filter-power.active-chip {
    background: rgba(239, 68, 68, 0.15) !important;
    color: var(--accent-red) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

#audit-search-input:focus {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

/* ====================================================================
   PREFERENCES PANEL RESPONSIVE & MOBILE FULLSCREEN
   ==================================================================== */
.pref-panel {
    background: var(--dropdown-bg) !important;
    backdrop-filter: blur(var(--glass-blur-modal, 28px)) saturate(200%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur-modal, 28px)) saturate(200%) !important;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    max-width: 460px;
    width: calc(100% - 32px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pref-close-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pref-close-label {
    display: inline;
}

@media (max-width: 768px) {
    .modal-overlay,
    #preferences-modal.modal-overlay,
    #power-control-modal,
    #server-control-modal,
    #broadcast-power-modal {
        padding: max(10px, env(safe-area-inset-top, 10px)) 8px max(10px, env(safe-area-inset-bottom, 10px)) 8px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pref-panel,
    .server-modal-box,
    .power-modal-box,
    .modal-box,
    .custom-confirm-box,
    .login-modal-box {
        width: min(96vw, 720px) !important;
        max-width: 96vw !important;
        height: auto !important;
        max-height: min(92vh, 92dvh) !important;
        border-radius: 14px !important;
        border: 1px solid var(--card-border) !important;
        margin: auto !important;
        box-shadow: var(--shadow-style) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .server-modal-header {
        padding: 10px 14px !important;
        gap: 8px !important;
    }

    .server-modal-header h3 {
        font-size: 0.95rem !important;
    }

    .server-modal-body {
        padding: 10px 12px !important;
        gap: 8px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .pref-close-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        background: rgba(239, 68, 68, 0.15);
        color: var(--accent-red);
        border-color: rgba(239, 68, 68, 0.3);
    }

    /* Subtabs horizontales desplazables sin cortes en móvil */
    .subtabs-bar,
    #scm-subtabs-bar,
    #milesbot-subtabs-bar {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 6px !important;
        margin-bottom: 8px !important;
    }

    .subtabs-bar::-webkit-scrollbar,
    #scm-subtabs-bar::-webkit-scrollbar,
    #milesbot-subtabs-bar::-webkit-scrollbar {
        display: none !important;
    }

    .subtabs-bar button,
    .subtabs-bar .btn-tab,
    #scm-subtabs-bar button,
    #milesbot-subtabs-bar button {
        padding: 5px 10px !important;
        font-size: 0.74rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Grid de estadísticas del servidor compacto en móvil */
    .scm-stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 4px !important;
    }

    .scm-stat-card {
        padding: 6px 10px !important;
        border-radius: 8px !important;
    }

    .scm-stat-card .stat-label {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }

    .scm-stat-card .stat-value {
        font-size: 0.98rem !important;
    }

    /* Consola estable y fluida en móvil */
    .server-modal-box .console-container {
        min-height: 160px !important;
        height: 28vh !important;
        max-height: 32vh !important;
        flex: 1 1 auto !important;
    }

    .console-output {
        font-size: 0.72rem !important;
        padding: 8px 10px !important;
        line-height: 1.35 !important;
    }

    #scm-command {
        font-size: 16px !important;
        /* Evita el zoom automático en Chrome/Safari */
        padding: 7px 10px !important;
        scroll-margin-bottom: 25px !important;
    }

    .power-modal-box .server-modal-header {
        padding: 12px 14px;
        gap: 8px;
    }

    .power-modal-box .server-modal-header h3 {
        font-size: 0.9rem !important;
        line-height: 1.25;
    }

    .power-modal-body {
        padding: 14px;
        gap: 14px;
    }

    .power-grid {
        grid-template-columns: 1fr;
    }

    .ufw-table-container {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ufw-table {
        min-width: 520px;
        font-size: 0.72rem;
    }

    .ufw-table th,
    .ufw-table td {
        padding: 8px 10px;
    }

    /* Adaptación móvil vertical centrada para Header, Campanita de Notificaciones y Perfil de Usuario */
    .header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
        padding-bottom: 14px !important;
        width: 100% !important;
    }

    .header-left {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .header-left h1 {
        font-size: clamp(1.15rem, 5vw, 1.45rem) !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        overflow: visible !important;
        gap: 10px !important;
    }

    .header-left h1 span {
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
    }

    .header-right {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .btn-notif-bell {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
    }

    .btn-user-profile {
        padding: 6px 14px !important;
        font-size: 0.82rem !important;
        max-width: none !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    #user-display-name {
        max-width: none !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    .btn-guest-prefs {
        padding: 6px 14px !important;
        font-size: 0.82rem !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .btn-guest-prefs span {
        display: inline !important;
        max-width: none !important;
    }

    .btn-back-header.btn-login-accent {
        padding: 6px 16px !important;
        font-size: 0.82rem !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .btn-back-header.btn-login-accent span {
        display: inline !important;
    }

    .header-right {
        position: relative !important;
    }

    .user-dropdown-wrapper,
    .notif-dropdown-wrapper,
    .guest-dropdown-wrapper,
    .login-dropdown-wrapper {
        position: static !important;
    }

    .notif-dropdown-menu,
    .user-dropdown-menu,
    .guest-dropdown-menu,
    .login-dropdown-menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(360px, calc(100vw - 20px)) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: min(580px, calc(100dvh - 90px)) !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}

/* Modal de Configuración de Usuario Adaptado en Móvil */
.modal-user-account-box {
    max-width: 480px;
    width: 94%;
    max-height: min(640px, calc(100dvh - 32px)) !important;
    height: auto !important;
    margin: auto !important;
    overflow-y: auto !important;
    box-sizing: border-box;
}

/* Dispositivos Móviles / Teléfonos (Smartphones) */
@media (max-width: 600px) {
    .modal-user-account-box {
        width: 100% !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 28px) !important;
        padding: 14px 14px !important;
        border-radius: 14px !important;
    }

    .header-right {
        position: relative !important;
    }

    .user-dropdown-wrapper,
    .notif-dropdown-wrapper,
    .guest-dropdown-wrapper,
    .login-dropdown-wrapper {
        position: static !important;
    }

    .user-dropdown-menu,
    .notif-dropdown-menu,
    .guest-dropdown-menu,
    .login-dropdown-menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        height: auto !important;
        max-height: calc(100dvh - 90px) !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
        z-index: 10020 !important;
        box-sizing: border-box !important;
    }

    .notif-list-container {
        max-height: calc(100dvh - 200px) !important;
    }
}

/* =========================================================================
   BOTONES DE ACCIONES DE SEGURIDAD DE USUARIO (ANIMADOS & RESPONSIVOS)
   ========================================================================= */
.admin-action-btn {
    width: 100%;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: var(--inner-bg);
    color: var(--text-main);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    gap: 12px;
}

.admin-action-btn > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.admin-action-btn > div:first-child > div {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.admin-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.admin-action-btn:active {
    transform: scale(0.98) translateY(0);
}

.admin-action-btn .arrow-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: auto;
}

.admin-action-btn:hover .arrow-icon {
    transform: translateX(4px);
    opacity: 1;
}

/* Emerald / Success */
.admin-action-btn.btn-emerald {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--accent-green);
}
.admin-action-btn.btn-emerald:hover {
    background: rgba(34, 197, 94, 0.24);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.2);
}
.admin-action-btn.btn-emerald:active {
    background: rgba(34, 197, 94, 0.35);
}

/* Sky / Info */
.admin-action-btn.btn-sky {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
}
.admin-action-btn.btn-sky:hover {
    background: rgba(56, 189, 248, 0.24);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2);
}
.admin-action-btn.btn-sky:active {
    background: rgba(56, 189, 248, 0.35);
}

/* Cyan */
.admin-action-btn.btn-cyan {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
    color: #22d3ee;
}
.admin-action-btn.btn-cyan:hover {
    background: rgba(6, 182, 212, 0.24);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
}
.admin-action-btn.btn-cyan:active {
    background: rgba(6, 182, 212, 0.35);
}

/* Amber / Warning */
.admin-action-btn.btn-amber {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.3);
    color: var(--accent-yellow);
}
.admin-action-btn.btn-amber:hover {
    background: rgba(234, 179, 8, 0.24);
    border-color: rgba(234, 179, 8, 0.6);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.2);
}
.admin-action-btn.btn-amber:active {
    background: rgba(234, 179, 8, 0.35);
}

/* Purple */
.admin-action-btn.btn-purple {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
}
.admin-action-btn.btn-purple:hover {
    background: rgba(168, 85, 247, 0.24);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.2);
}
.admin-action-btn.btn-purple:active {
    background: rgba(168, 85, 247, 0.35);
}

/* Rose / Danger */
.admin-action-btn.btn-rose {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
}
.admin-action-btn.btn-rose:hover {
    background: rgba(239, 68, 68, 0.24);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.2);
}
.admin-action-btn.btn-rose:active {
    background: rgba(239, 68, 68, 0.35);
}

/* Indigo */
.admin-action-btn.btn-indigo {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
    color: #818cf8;
}
.admin-action-btn.btn-indigo:hover {
    background: rgba(99, 102, 241, 0.24);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}
.admin-action-btn.btn-indigo:active {
    background: rgba(99, 102, 241, 0.35);
}

/* Adaptación universal para móviles en modales */
@media (max-width: 600px) {
    .pref-panel {
        width: 100% !important;
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100dvh - 20px) !important;
        padding: 14px 12px !important;
        border-radius: 14px !important;
    }
    
    .admin-action-btn {
        padding: 10px 12px;
    }

    .admin-action-btn i {
        font-size: 1.05rem !important;
    }
}

/* =========================================================================
   BARRA SUPERIOR DE NAVEGACIÓN Y PESTAÑAS (MÓVIL & ESCRITORIO RESPONSIVE)
   ========================================================================= */
.top-nav-bar {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-tabs-bar {
    display: flex !important;
    align-items: center;
    justify-content: safe center;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 6px 8px 6px;
    box-sizing: border-box;
    margin: 0 auto;
}

.main-tabs-bar::-webkit-scrollbar {
    display: none;
}

.main-tab-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    box-sizing: border-box;
}

.main-tab-btn i {
    font-size: 0.9rem;
    color: inherit;
    transition: transform 0.2s ease;
}

.main-tab-btn:hover {
    color: var(--text-main);
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-1px);
}

.main-tab-btn:hover i {
    transform: scale(1.1);
}

.main-tab-btn.active {
    color: var(--accent-blue) !important;
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    font-weight: 700;
}

.main-tab-btn.active i {
    color: var(--accent-blue) !important;
}

/* =========================================================================
   SUBPESTAÑAS RESPONSIVAS CON DESPLAZAMIENTO TÁCTIL (SUBTABS BAR)
   ========================================================================= */
.subtabs-bar,
#admin-subtabs-bar,
#perf-subtabs-bar,
.audit-chips-wrapper {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 8px !important;
    padding-bottom: 10px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    box-sizing: border-box;
}

.subtabs-bar::-webkit-scrollbar,
#admin-subtabs-bar::-webkit-scrollbar,
#perf-subtabs-bar::-webkit-scrollbar,
.audit-chips-wrapper::-webkit-scrollbar {
    display: none;
}

.subtabs-bar .btn-tab,
#admin-subtabs-bar .btn-tab,
#perf-subtabs-bar .btn-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    transform-origin: center center !important;
}

@media (max-width: 600px) {
    .top-nav-bar {
        margin-bottom: 12px;
    }

    .main-tabs-bar {
        padding: 6px 2px 8px 2px;
        gap: 6px;
    }

    .main-tab-btn {
        padding: 8px 13px !important;
        font-size: 0.78rem !important;
        border-radius: 10px !important;
    }

    .main-tab-btn i {
        font-size: 0.82rem !important;
    }

    .subtabs-bar,
    #admin-subtabs-bar,
    #perf-subtabs-bar {
        padding-top: 6px !important;
        padding-bottom: 8px !important;
    }

    .subtabs-bar .btn-tab,
    #admin-subtabs-bar .btn-tab,
    #perf-subtabs-bar .btn-tab {
        padding: 6px 12px !important;
        font-size: 0.76rem !important;
        border-radius: 9px !important;
    }
}

/* =========================================================================
   SUITE DEFINITIVA FRUTIGER AERO - NAVEGACIÓN, PREFERENCIAS Y PANEL DE USUARIO
   ========================================================================= */

/* 1. Barra y Pestañas Principales de Navegación */
[data-theme-style="frutiger-aero"] .main-tab-btn {
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(224, 242, 254, 0.2) 49%, rgba(186, 230, 253, 0.08) 50%, rgba(255, 255, 255, 0.35) 100%) !important;
    color: #64748b !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 2px 6px rgba(0, 45, 90, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* 1. Barra y Pestañas Principales y Subpestañas de Navegación */
[data-theme-style="frutiger-aero"] .main-tab-btn,
[data-theme-style="frutiger-aero"] .btn-tab,
[data-theme-style="frutiger-aero"] .subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"] #tab-content-ssh .btn-tab,
[data-theme-style="frutiger-aero"] #admin-subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"] #perf-subtabs-bar .btn-tab {
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(224, 242, 254, 0.2) 49%, rgba(186, 230, 253, 0.08) 50%, rgba(255, 255, 255, 0.35) 100%) !important;
    color: #64748b !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 2px 6px rgba(0, 45, 90, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .main-tab-btn,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-tab,
[data-theme-style="frutiger-aero"][data-theme="dark"] .subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"][data-theme="dark"] #tab-content-ssh .btn-tab,
[data-theme-style="frutiger-aero"][data-theme="dark"] #admin-subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"][data-theme="dark"] #perf-subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"][data-oled="true"] .main-tab-btn,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-tab,
[data-theme-style="frutiger-aero"][data-oled="true"] .subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"][data-oled="true"] #tab-content-ssh .btn-tab,
[data-theme-style="frutiger-aero"][data-oled="true"] #admin-subtabs-bar .btn-tab,
[data-theme-style="frutiger-aero"][data-oled="true"] #perf-subtabs-bar .btn-tab {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(14, 165, 233, 0.06) 49%, rgba(0, 0, 0, 0.3) 50%, rgba(255, 255, 255, 0.04) 100%) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Hover de pestañas y subpestañas */
[data-theme-style="frutiger-aero"] .main-tab-btn:hover:not(.active),
[data-theme-style="frutiger-aero"] .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"] .subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"] #tab-content-ssh .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"] #admin-subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"] #perf-subtabs-bar .btn-tab:hover:not(.active) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(186, 230, 253, 0.45) 49%, rgba(125, 211, 252, 0.18) 50%, rgba(255, 255, 255, 0.6) 100%) !important;
    color: #0284c7 !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 3px 10px rgba(56, 189, 248, 0.18), inset 0 1px 0 #ffffff !important;
    transform: translateY(-1px) scale(1.01) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .main-tab-btn:hover:not(.active),
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-theme="dark"] .subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-theme="dark"] #tab-content-ssh .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-theme="dark"] #admin-subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-theme="dark"] #perf-subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-oled="true"] .main-tab-btn:hover:not(.active),
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-oled="true"] .subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-oled="true"] #tab-content-ssh .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-oled="true"] #admin-subtabs-bar .btn-tab:hover:not(.active),
[data-theme-style="frutiger-aero"][data-oled="true"] #perf-subtabs-bar .btn-tab:hover:not(.active) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(56, 189, 248, 0.15) 49%, rgba(12, 74, 110, 0.2) 50%, rgba(56, 189, 248, 0.08) 100%) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 3px 10px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px) scale(1.01) !important;
}

/* PESTAÑAS ACTIVAS (PRE-RELLENADO DINÁMICO VÍTREO AERO ILUMINADO) */
[data-theme-style="frutiger-aero"] .main-tab-btn.active,
[data-theme-style="frutiger-aero"] .btn-tab.active,
[data-theme-style="frutiger-aero"] .subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"] #tab-content-ssh .btn-tab.active,
[data-theme-style="frutiger-aero"] #admin-subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"] #perf-subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"] .audit-filter-btn.active-filter {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.95) 0%, rgba(186, 230, 253, 0.6) 49%, rgba(125, 211, 252, 0.3) 50%, rgba(224, 242, 254, 0.8) 100%) !important;
    color: #0284c7 !important;
    font-weight: 800 !important;
    border: 1.5px solid rgba(56, 189, 248, 0.7) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35), inset 0 1px 0 #ffffff !important;
    transform: scale(1.02) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .main-tab-btn.active,
[data-theme-style="frutiger-aero"][data-theme="dark"] .btn-tab.active,
[data-theme-style="frutiger-aero"][data-theme="dark"] .subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"][data-theme="dark"] #tab-content-ssh .btn-tab.active,
[data-theme-style="frutiger-aero"][data-theme="dark"] #admin-subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"][data-theme="dark"] #perf-subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"][data-theme="dark"] .audit-filter-btn.active-filter,
[data-theme-style="frutiger-aero"][data-oled="true"] .main-tab-btn.active,
[data-theme-style="frutiger-aero"][data-oled="true"] .btn-tab.active,
[data-theme-style="frutiger-aero"][data-oled="true"] .subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"][data-oled="true"] #tab-content-ssh .btn-tab.active,
[data-theme-style="frutiger-aero"][data-oled="true"] #admin-subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"][data-oled="true"] #perf-subtabs-bar .btn-tab.active,
[data-theme-style="frutiger-aero"][data-oled="true"] .audit-filter-btn.active-filter {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.32) 0%, rgba(14, 165, 233, 0.22) 49%, rgba(2, 132, 199, 0.12) 50%, rgba(56, 189, 248, 0.26) 100%) !important;
    color: #38bdf8 !important;
    font-weight: 800 !important;
    border: 1.5px solid rgba(56, 189, 248, 0.7) !important;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .main-tab-btn.active i,
[data-theme-style="frutiger-aero"] .btn-tab.active i,
[data-theme-style="frutiger-aero"] .subtabs-bar .btn-tab.active i,
[data-theme-style="frutiger-aero"] #tab-content-ssh .btn-tab.active i,
[data-theme-style="frutiger-aero"] #admin-subtabs-bar .btn-tab.active i,
[data-theme-style="frutiger-aero"] #perf-subtabs-bar .btn-tab.active i {
    color: inherit !important;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

/* 2. Opciones Marcadas en Preferencias (Color, Cristal, Avatar, Temas) */
[data-theme-style="frutiger-aero"] .pref-glass-btn,
[data-theme-style="frutiger-aero"] .user-dropdown-pref-box .btn-tab {
    border-radius: 12px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(224, 242, 254, 0.3) 49%, rgba(186, 230, 253, 0.1) 50%, rgba(255, 255, 255, 0.4) 100%) !important;
    color: #0369a1 !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 2px 6px rgba(0, 45, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    font-weight: 700 !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .pref-glass-btn,
[data-theme-style="frutiger-aero"][data-theme="dark"] .user-dropdown-pref-box .btn-tab,
[data-theme-style="frutiger-aero"][data-oled="true"] .pref-glass-btn,
[data-theme-style="frutiger-aero"][data-oled="true"] .user-dropdown-pref-box .btn-tab {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(14, 165, 233, 0.12) 49%, rgba(0, 0, 0, 0.3) 50%, rgba(255, 255, 255, 0.06) 100%) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 3px 10px rgba(0, 20, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Opciones marcadas / activas en Preferencias (Sólidas con relleno Aero) */
[data-theme-style="frutiger-aero"] .pref-glass-btn.active,
[data-theme-style="frutiger-aero"] .user-dropdown-pref-box button.active,
[data-theme-style="frutiger-aero"] .user-dropdown-pref-box .btn-tab.active,
[data-theme-style="frutiger-aero"] #pref-btn-dark.active,
[data-theme-style="frutiger-aero"] #pref-btn-light.active,
[data-theme-style="frutiger-aero"] #guest-btn-dark.active,
[data-theme-style="frutiger-aero"] #guest-btn-light.active,
[data-theme-style="frutiger-aero"] #pref-btn-avatar-gravatar.active,
[data-theme-style="frutiger-aero"] #pref-btn-avatar-custom.active,
[data-theme-style="frutiger-aero"] #pref-btn-avatar-initials.active,
[data-theme-style="frutiger-aero"] #pref-btn-avatar-none.active,
[data-theme-style="frutiger-aero"] .cselect-option.selected {
    background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 45%, #0284c7 50%, #0369a1 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.38), inset 0 1px 1.5px rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0, 25, 60, 0.5) !important;
    transform: scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .pref-glass-btn.active i,
[data-theme-style="frutiger-aero"] .user-dropdown-pref-box button.active i,
[data-theme-style="frutiger-aero"] .user-dropdown-pref-box .btn-tab.active i,
[data-theme-style="frutiger-aero"] .cselect-option.selected i {
    color: #ffffff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* 3. Panel de Seguridad de Usuario y Opciones de Menú de Usuario */
[data-theme-style="frutiger-aero"] .admin-action-btn {
    border-radius: 16px !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 3px 10px rgba(0, 45, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Pre-rellenado Semántico Individual en Modo Claro */
[data-theme-style="frutiger-aero"] .admin-action-btn.btn-emerald {
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.75) 0%, rgba(187, 247, 208, 0.4) 49%, rgba(134, 239, 172, 0.2) 50%, rgba(220, 252, 231, 0.5) 100%) !important;
    color: #15803d !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-sky {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.75) 0%, rgba(186, 230, 253, 0.4) 49%, rgba(125, 211, 252, 0.2) 50%, rgba(224, 242, 254, 0.5) 100%) !important;
    color: #0369a1 !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-cyan {
    background: linear-gradient(180deg, rgba(207, 250, 254, 0.75) 0%, rgba(165, 243, 252, 0.4) 49%, rgba(103, 232, 249, 0.2) 50%, rgba(207, 250, 254, 0.5) 100%) !important;
    color: #0891b2 !important;
    border-color: rgba(6, 182, 212, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-amber {
    background: linear-gradient(180deg, rgba(254, 243, 199, 0.75) 0%, rgba(253, 230, 138, 0.4) 49%, rgba(252, 211, 77, 0.2) 50%, rgba(254, 243, 199, 0.5) 100%) !important;
    color: #b45309 !important;
    border-color: rgba(234, 179, 8, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-purple {
    background: linear-gradient(180deg, rgba(243, 232, 255, 0.75) 0%, rgba(233, 213, 255, 0.4) 49%, rgba(216, 180, 254, 0.2) 50%, rgba(243, 232, 255, 0.5) 100%) !important;
    color: #7e22ce !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-rose {
    background: linear-gradient(180deg, rgba(254, 226, 226, 0.75) 0%, rgba(254, 202, 202, 0.4) 49%, rgba(252, 165, 165, 0.2) 50%, rgba(254, 226, 226, 0.5) 100%) !important;
    color: #dc2626 !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-indigo {
    background: linear-gradient(180deg, rgba(224, 231, 255, 0.75) 0%, rgba(199, 210, 254, 0.4) 49%, rgba(165, 180, 252, 0.2) 50%, rgba(224, 231, 255, 0.5) 100%) !important;
    color: #4338ca !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
}

/* Pre-rellenado Semántico Individual en Modo Oscuro / OLED */
[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-emerald,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-emerald {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(34, 197, 94, 0.22) 49%, rgba(20, 83, 45, 0.3) 50%, rgba(34, 197, 94, 0.1) 100%) !important;
    color: #86efac !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-sky,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-sky {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(56, 189, 248, 0.22) 49%, rgba(12, 74, 110, 0.3) 50%, rgba(56, 189, 248, 0.1) 100%) !important;
    color: #93c5fd !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-cyan,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-cyan {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(6, 182, 212, 0.22) 49%, rgba(22, 78, 99, 0.3) 50%, rgba(6, 182, 212, 0.1) 100%) !important;
    color: #67e8f9 !important;
    border-color: rgba(6, 182, 212, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-amber,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-amber {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(234, 179, 8, 0.22) 49%, rgba(113, 63, 18, 0.3) 50%, rgba(234, 179, 8, 0.1) 100%) !important;
    color: #fde047 !important;
    border-color: rgba(234, 179, 8, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-purple,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-purple {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(168, 85, 247, 0.22) 49%, rgba(88, 28, 135, 0.3) 50%, rgba(168, 85, 247, 0.1) 100%) !important;
    color: #d8b4fe !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-rose,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-rose {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(239, 68, 68, 0.22) 49%, rgba(127, 29, 29, 0.3) 50%, rgba(239, 68, 68, 0.1) 100%) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .admin-action-btn.btn-indigo,
[data-theme-style="frutiger-aero"][data-oled="true"] .admin-action-btn.btn-indigo {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(99, 102, 241, 0.22) 49%, rgba(49, 46, 129, 0.3) 50%, rgba(99, 102, 241, 0.1) 100%) !important;
    color: #a5b4fc !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
}

/* Hover de botones del panel de seguridad en Frutiger Aero (Llenado Completo Luminoso) */
[data-theme-style="frutiger-aero"] .admin-action-btn.btn-emerald:hover {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 49%, #16a34a 50%, #4ade80 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-sky:hover,
[data-theme-style="frutiger-aero"] .admin-action-btn.btn-cyan:hover {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 49%, #0369a1 50%, #38bdf8 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.55), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-amber:hover {
    background: linear-gradient(180deg, #fde047 0%, #eab308 49%, #ca8a04 50%, #fde047 100%) !important;
    color: #0b0f19 !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-purple:hover,
[data-theme-style="frutiger-aero"] .admin-action-btn.btn-indigo:hover {
    background: linear-gradient(180deg, #c084fc 0%, #a855f7 49%, #9333ea 50%, #c084fc 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn.btn-rose:hover {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 49%, #dc2626 50%, #f87171 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5), inset 0 1px 1px #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
}

[data-theme-style="frutiger-aero"] .admin-action-btn:hover i,
[data-theme-style="frutiger-aero"] .admin-action-btn:hover .arrow-icon {
    color: inherit !important;
}

/* 4. Fotos de Perfil y Avatares */
[data-theme-style="frutiger-aero"] .btn-user-profile img,
[data-theme-style="frutiger-aero"] .user-avatar-circle,
[data-theme-style="frutiger-aero"] .user-avatar-circle img,
[data-theme-style="frutiger-aero"] #dropdown-user-avatar,
[data-theme-style="frutiger-aero"] #modal-acc-hero-avatar,
[data-theme-style="frutiger-aero"] #m-user-act-avatar,
[data-theme-style="frutiger-aero"] #m-user-srv-avatar,
[data-theme-style="frutiger-aero"] #m-user-confirm-avatar,
[data-theme-style="frutiger-aero"] .user-avatar-img,
[data-theme-style="frutiger-aero"] img[alt="Avatar"] {
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7), 0 4px 14px rgba(2, 132, 199, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(52, 211, 153, 0.25)) !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme-style="frutiger-aero"] .btn-user-profile:hover img,
[data-theme-style="frutiger-aero"] .user-avatar-circle:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 0 2.5px #38bdf8, 0 6px 20px rgba(56, 189, 248, 0.65), inset 0 1px 2px #ffffff !important;
}

/* =========================================================================
   FRUTIGER AERO — INPUTS, TEXTAREAS Y FORM-CONTROLS
   ========================================================================= */
/* Modo Claro */
[data-theme-style="frutiger-aero"] .form-control-custom,
[data-theme-style="frutiger-aero"] input[type="text"],
[data-theme-style="frutiger-aero"] input[type="number"],
[data-theme-style="frutiger-aero"] input[type="password"],
[data-theme-style="frutiger-aero"] input[type="email"],
[data-theme-style="frutiger-aero"] input[type="search"],
[data-theme-style="frutiger-aero"] input[type="url"],
[data-theme-style="frutiger-aero"] textarea {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(224, 242, 254, 0.65) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 12px !important;
    color: #063146 !important;
    box-shadow: inset 0 2px 4px rgba(0, 45, 90, 0.08), 0 2px 6px rgba(2, 132, 199, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.95) !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

[data-theme-style="frutiger-aero"] .form-control-custom:focus,
[data-theme-style="frutiger-aero"] input[type="text"]:focus,
[data-theme-style="frutiger-aero"] input[type="number"]:focus,
[data-theme-style="frutiger-aero"] input[type="password"]:focus,
[data-theme-style="frutiger-aero"] input[type="email"]:focus,
[data-theme-style="frutiger-aero"] input[type="search"]:focus,
[data-theme-style="frutiger-aero"] input[type="url"]:focus,
[data-theme-style="frutiger-aero"] textarea:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22), inset 0 2px 4px rgba(0, 45, 90, 0.06), 0 2px 8px rgba(2, 132, 199, 0.18) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.85) 100%) !important;
    outline: none !important;
}

/* Modo Oscuro */
[data-theme-style="frutiger-aero"][data-theme="dark"] .form-control-custom,
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="text"],
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="number"],
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="password"],
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="email"],
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="search"],
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="url"],
[data-theme-style="frutiger-aero"][data-theme="dark"] textarea {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(14, 165, 233, 0.12) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.38) !important;
    color: #e0f2fe !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 20, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .form-control-custom:focus,
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="text"]:focus,
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="number"]:focus,
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="password"]:focus,
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="email"]:focus,
[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="search"]:focus,
[data-theme-style="frutiger-aero"][data-theme="dark"] textarea:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(56, 189, 248, 0.2) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(14, 165, 233, 0.18) 100%) !important;
    outline: none !important;
}

/* Modo OLED */
[data-theme-style="frutiger-aero"][data-oled="true"] .form-control-custom,
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="text"],
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="number"],
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="password"],
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="email"],
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="search"],
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="url"],
[data-theme-style="frutiger-aero"][data-oled="true"] textarea {
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
    color: #7dd3fc !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(56, 189, 248, 0.15) !important;
}

/* Placeholder color */
[data-theme-style="frutiger-aero"] ::placeholder { color: rgba(2, 132, 199, 0.5) !important; }
[data-theme-style="frutiger-aero"][data-theme="dark"] ::placeholder { color: rgba(125, 211, 252, 0.35) !important; }
[data-theme-style="frutiger-aero"][data-oled="true"] ::placeholder { color: rgba(56, 189, 248, 0.25) !important; }

/* =========================================================================
   FRUTIGER AERO — TOGGLE SWITCHES (.switch / .slider)
   ========================================================================= */
[data-theme-style="frutiger-aero"] .slider {
    background: linear-gradient(180deg, rgba(186, 230, 253, 0.6) 0%, rgba(224, 242, 254, 0.45) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: inset 0 1px 3px rgba(0, 45, 90, 0.15), 0 2px 6px rgba(0, 45, 90, 0.08) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .slider,
[data-theme-style="frutiger-aero"][data-oled="true"] .slider {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.18) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 20, 45, 0.4) !important;
}

[data-theme-style="frutiger-aero"] .slider:before {
    background: linear-gradient(180deg, #ffffff 0%, rgba(224, 242, 254, 0.95) 100%) !important;
    box-shadow: 0 2px 6px rgba(0, 45, 90, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

[data-theme-style="frutiger-aero"] input:checked + .slider {
    background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 49%, #0284c7 50%, #0369a1 100%) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

[data-theme-style="frutiger-aero"] input:checked + .slider:before {
    background: linear-gradient(180deg, #ffffff 0%, #e0f9ff 100%) !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.5), inset 0 1px 0 #ffffff !important;
}

/* =========================================================================
   FRUTIGER AERO — PROC-ITEM (TOP 5 PROCESOS)
   ========================================================================= */
[data-theme-style="frutiger-aero"] .proc-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(224, 242, 254, 0.3) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 45, 90, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

[data-theme-style="frutiger-aero"] .proc-item:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(186, 230, 253, 0.45) 100%) !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .proc-item,
[data-theme-style="frutiger-aero"][data-oled="true"] .proc-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(14, 165, 233, 0.1) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 20, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .proc-item:hover,
[data-theme-style="frutiger-aero"][data-oled="true"] .proc-item:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(14, 165, 233, 0.18) 100%) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 4px 16px rgba(0, 20, 45, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 10px rgba(56, 189, 248, 0.15) !important;
}

/* =========================================================================
   FRUTIGER AERO — SERVICE-ROW-ITEM (SERVICIOS CRÍTICOS)
   ========================================================================= */
[data-theme-style="frutiger-aero"] .service-row-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(224, 242, 254, 0.3) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 45, 90, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    transition: all 0.2s ease !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .service-row-item,
[data-theme-style="frutiger-aero"][data-oled="true"] .service-row-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(14, 165, 233, 0.1) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 20, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* =========================================================================
   FRUTIGER AERO — TOAST NOTIFICATION
   ========================================================================= */
[data-theme-style="frutiger-aero"] #toast-notification {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(224, 242, 254, 0.8) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.55) !important;
    color: #063146 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 28px rgba(2, 132, 199, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] #toast-notification,
[data-theme-style="frutiger-aero"][data-oled="true"] #toast-notification {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(14, 165, 233, 0.2) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.55) !important;
    color: #e0f2fe !important;
    box-shadow: 0 8px 28px rgba(0, 20, 45, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 16px rgba(56, 189, 248, 0.22) !important;
}

/* =========================================================================
   FRUTIGER AERO — BARRAS DE PROGRESO (.bar-fill / .bar-bg)
   ========================================================================= */
[data-theme-style="frutiger-aero"] .bar-bg {
    background: linear-gradient(180deg, rgba(186, 230, 253, 0.4) 0%, rgba(224, 242, 254, 0.25) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 3px rgba(0, 45, 90, 0.12) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .bar-bg,
[data-theme-style="frutiger-aero"][data-oled="true"] .bar-bg {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

[data-theme-style="frutiger-aero"] .bar-fill {
    border-radius: 8px !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
    position: relative !important;
}

[data-theme-style="frutiger-aero"] .bar-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px 8px 0 0;
}

/* =========================================================================
   FRUTIGER AERO — POWER SECTION TITLE
   ========================================================================= */
[data-theme-style="frutiger-aero"] .power-section-title {
    color: #0369a1 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 4px 0 8px 2px !important;
    border-bottom: 1.5px solid rgba(56, 189, 248, 0.28) !important;
    margin-bottom: 10px !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .power-section-title,
[data-theme-style="frutiger-aero"][data-oled="true"] .power-section-title {
    color: #7dd3fc !important;
    border-bottom-color: rgba(56, 189, 248, 0.22) !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3) !important;
}

/* =========================================================================
   FRUTIGER AERO — CORE-ITEM (NÚCLEOS CPU)
   ========================================================================= */
[data-theme-style="frutiger-aero"] .core-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(224, 242, 254, 0.25) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 45, 90, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    transition: all 0.2s ease !important;
}

[data-theme-style="frutiger-aero"] .core-item:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(186, 230, 253, 0.4) 100%) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .core-item,
[data-theme-style="frutiger-aero"][data-oled="true"] .core-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(14, 165, 233, 0.08) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    box-shadow: 0 2px 6px rgba(0, 20, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

[data-theme-style="frutiger-aero"] .core-item.disabled {
    opacity: 0.45 !important;
}

/* =========================================================================
   FRUTIGER AERO — CHECKBOX INPUTS
   ========================================================================= */
[data-theme-style="frutiger-aero"] input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    border-radius: 5px !important;
    border: 2px solid rgba(56, 189, 248, 0.6) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(224, 242, 254, 0.6) 100%) !important;
    accent-color: #0ea5e9 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 4px rgba(2, 132, 199, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] input[type="checkbox"],
[data-theme-style="frutiger-aero"][data-oled="true"] input[type="checkbox"] {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
    border: 2px solid rgba(56, 189, 248, 0.45) !important;
    accent-color: #38bdf8 !important;
}

/* =========================================================================
   FRUTIGER AERO — CONSOLE OUTPUT Y INPUT (TERMINAL)
   ========================================================================= */
[data-theme-style="frutiger-aero"] .console-container {
    background: #061527 !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.22) !important;
    border-radius: 12px !important;
}

[data-theme-style="frutiger-aero"] .console-output {
    background: linear-gradient(180deg, rgba(8, 28, 48, 0.95) 0%, rgba(4, 18, 35, 0.98) 100%) !important;
    border: none !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    color: #e0f2fe !important;
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.35) !important;
}

[data-theme-style="frutiger-aero"] .console-input-wrapper {
    background: linear-gradient(180deg, rgba(4, 18, 35, 0.98) 0%, rgba(2, 10, 25, 1) 100%) !important;
    border: none !important;
    border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 0 0 12px 12px !important;
}

[data-theme-style="frutiger-aero"] .console-input {
    background: transparent !important;
    color: #38bdf8 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

[data-theme-style="frutiger-aero"] .console-input::placeholder {
    color: rgba(56, 189, 248, 0.5) !important;
}

[data-theme-style="frutiger-aero"][data-theme="light"] .console-container {
    background: #061527 !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
    box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(2, 132, 199, 0.25) !important;
}

[data-theme-style="frutiger-aero"][data-theme="light"] .console-output {
    background: linear-gradient(180deg, rgba(6, 24, 46, 0.96) 0%, rgba(3, 14, 30, 0.98) 100%) !important;
    color: #e0f2fe !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4) !important;
}

/* =========================================================================
   PROMPT / AVISO DE RECORDATORIO 2FA
   ========================================================================= */
.prompt-2fa-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    max-width: 420px;
    width: calc(100% - 48px);
    animation: prompt2faSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes prompt2faSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prompt-2fa-box {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.97) 100%);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

[data-theme="light"] .prompt-2fa-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 249, 255, 0.98) 100%);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.15), 0 0 20px rgba(56, 189, 248, 0.2), inset 0 1px 0 #ffffff;
}

.prompt-2fa-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.prompt-2fa-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.prompt-2fa-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(234, 179, 8, 0.1) 100%);
    border: 1px solid rgba(234, 179, 8, 0.45);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: prompt2faPulse 2.8s infinite ease-in-out;
}

@keyframes prompt2faPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(234, 179, 8, 0.25); }
    50% { transform: scale(1.05); box-shadow: 0 0 24px rgba(234, 179, 8, 0.45); }
}

.prompt-2fa-text {
    flex: 1;
}

.prompt-2fa-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    margin-bottom: 3px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prompt-2fa-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.prompt-2fa-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 2px 4px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.prompt-2fa-close-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.prompt-2fa-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.prompt-2fa-btn-ignore {
    padding: 7px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
}

.prompt-2fa-btn-ignore:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.prompt-2fa-btn-activate {
    padding: 7px 14px;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================================================
   ADAPTACIÓN FRUTIGER AERO — PROMPT 2FA
   ========================================================================= */
[data-theme-style="frutiger-aero"] .prompt-2fa-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28) 0%, rgba(30, 41, 59, 0.92) 50%, rgba(15, 23, 42, 0.97) 100%) !important;
    border: 1.5px solid rgba(125, 211, 252, 0.6) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(14, 165, 233, 0.35), inset 0 1.5px 0 rgba(255, 255, 255, 0.65) !important;
}

[data-theme-style="frutiger-aero"][data-theme="light"] .prompt-2fa-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 242, 254, 0.95) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.65) !important;
    box-shadow: 0 18px 45px rgba(2, 132, 199, 0.2), 0 0 25px rgba(56, 189, 248, 0.25), inset 0 1.5px 0 #ffffff !important;
}

[data-theme-style="frutiger-aero"] .prompt-2fa-icon-wrap {
    border-radius: 12px !important;
    background: linear-gradient(180deg, rgba(254, 240, 138, 0.4) 0%, rgba(234, 179, 8, 0.25) 100%) !important;
    border: 1px solid rgba(253, 224, 71, 0.7) !important;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

[data-theme-style="frutiger-aero"] .prompt-2fa-btn-activate {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    border-radius: 10px !important;
}

[data-theme-style="frutiger-aero"] .prompt-2fa-btn-ignore {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
}

/* =========================================================================
   ADAPTACIÓN 8-BIT / SONIC MANIA — PROMPT 2FA
   ========================================================================= */
[data-theme-style="sonic-mania"] .prompt-2fa-container,
[data-theme-style="8bit"] .prompt-2fa-container {
    font-family: 'Silkscreen', 'Press Start 2P', monospace !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-box,
[data-theme-style="8bit"] .prompt-2fa-box {
    background: #0f172a !important;
    border: 3px solid #38bdf8 !important;
    border-radius: 0px !important;
    box-shadow: 4px 4px 0px #000000, inset -2px -2px 0px rgba(0, 0, 0, 0.7), inset 2px 2px 0px rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

[data-theme-style="sonic-mania"][data-theme="light"] .prompt-2fa-box,
[data-theme-style="8bit"][data-theme="light"] .prompt-2fa-box {
    background: #e2e8f0 !important;
    border: 3px solid #0284c7 !important;
    box-shadow: 4px 4px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-glow,
[data-theme-style="8bit"] .prompt-2fa-glow {
    display: none !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-icon-wrap,
[data-theme-style="8bit"] .prompt-2fa-icon-wrap {
    border-radius: 0px !important;
    border: 2px solid #eab308 !important;
    background: #ca8a04 !important;
    color: #000000 !important;
    box-shadow: 3px 3px 0px #000000 !important;
    animation: none !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-title,
[data-theme-style="8bit"] .prompt-2fa-title {
    font-family: 'Silkscreen', 'Press Start 2P', monospace !important;
    font-size: 0.76rem !important;
    text-transform: uppercase !important;
    color: #38bdf8 !important;
    letter-spacing: 0.5px;
}

[data-theme-style="sonic-mania"] .prompt-2fa-desc,
[data-theme-style="8bit"] .prompt-2fa-desc {
    font-size: 0.68rem !important;
    line-height: 1.5 !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-close-btn,
[data-theme-style="8bit"] .prompt-2fa-close-btn {
    border-radius: 0px !important;
    border: 2px solid transparent !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-close-btn:hover,
[data-theme-style="8bit"] .prompt-2fa-close-btn:hover {
    border: 2px solid #ef4444 !important;
    background: #ef4444 !important;
    color: #ffffff !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-btn-ignore,
[data-theme-style="8bit"] .prompt-2fa-btn-ignore {
    border-radius: 0px !important;
    border: 2px solid #64748b !important;
    font-family: 'Silkscreen', 'Press Start 2P', monospace !important;
    font-size: 0.64rem !important;
    text-transform: uppercase !important;
    box-shadow: 2px 2px 0px #000000 !important;
    background: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-btn-ignore:hover,
[data-theme-style="8bit"] .prompt-2fa-btn-ignore:hover {
    background: #334155 !important;
    color: #ffffff !important;
    box-shadow: 1px 1px 0px #000000 !important;
    transform: translate(1px, 1px);
}

[data-theme-style="sonic-mania"] .prompt-2fa-btn-activate,
[data-theme-style="8bit"] .prompt-2fa-btn-activate {
    border-radius: 0px !important;
    border: 2px solid #0284c7 !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-family: 'Silkscreen', 'Press Start 2P', monospace !important;
    font-size: 0.66rem !important;
    text-transform: uppercase !important;
    box-shadow: 3px 3px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .prompt-2fa-btn-activate:hover,
[data-theme-style="8bit"] .prompt-2fa-btn-activate:hover {
    background: #38bdf8 !important;
    color: #000000 !important;
    box-shadow: 1px 1px 0px #000000 !important;
    transform: translate(2px, 2px);
}

@media (max-width: 600px) {
    .prompt-2fa-container {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        z-index: 100000 !important;
    }

    .prompt-2fa-box {
        padding: 12px 14px;
        gap: 10px;
    }

    .prompt-2fa-header {
        gap: 10px;
    }

    .prompt-2fa-icon-wrap {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1.05rem;
    }

    .prompt-2fa-title {
        font-size: 0.84rem !important;
    }

    .prompt-2fa-desc {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
    }

    .prompt-2fa-actions {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .prompt-2fa-btn-ignore,
    .prompt-2fa-btn-activate {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 8px 6px;
        font-size: 0.72rem !important;
    }
}

/* =========================================================================
   CUSTOM CHECKBOXES (AERO / GLASSMORPHISM)
   ========================================================================= */
.sam-custom-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    margin: 0;
    line-height: 1;
}

.sam-custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
    pointer-events: none;
}

.sam-custom-checkbox .sam-checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 5px;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    flex-shrink: 0;
}

.sam-custom-checkbox:hover input ~ .sam-checkmark {
    border-color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.14);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.25);
}

.sam-custom-checkbox input:checked ~ .sam-checkmark {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: #c084fc;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.45);
}

.sam-custom-checkbox .sam-checkmark:after {
    content: "";
    display: none;
    width: 4px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.sam-custom-checkbox input:checked ~ .sam-checkmark:after {
    display: block;
}

.sam-custom-checkbox input:indeterminate ~ .sam-checkmark:after {
    display: block;
    width: 8px;
    height: 2px;
    background: #ffffff;
    border: none;
    transform: none;
}

/* SSH Live Terminal / Console Styles */
@keyframes termCursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.ssh-terminal-blinking-cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--accent-green, #22c55e);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: termCursorBlink 1s infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.terminal-cmd-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px 10px;
    transition: background 0.15s ease;
}

.terminal-cmd-block:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(56, 189, 248, 0.15);
}

/* =========================================================================
   SESIONES SSH ACTIVAS: ESTILOS Y ADAPTACIÓN RESPONSIVA MÓVIL
   ========================================================================= */
.ssh-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-ssh-view,
.btn-ssh-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-ssh-view {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-blue, #38bdf8);
    border-color: rgba(56, 189, 248, 0.3);
}

.btn-ssh-view:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: var(--accent-blue, #38bdf8);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
    transform: translateY(-1px);
}

.btn-ssh-close {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red, #ef4444);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-ssh-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: var(--accent-red, #ef4444);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

/* Adaptación para pantallas medianas y móviles (<= 768px) */
@media (max-width: 768px) {
    /* 1. Tabla de Sesiones SSH a Cards */
    .ssh-table-container .ufw-table thead {
        display: none !important;
    }

    .ssh-table-container .ufw-table,
    .ssh-table-container .ufw-table tbody,
    .ssh-table-container .ufw-table tr,
    .ssh-table-container .ufw-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .ssh-table-container .ufw-table tr {
        background: var(--inner-bg, rgba(15, 23, 42, 0.45));
        border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
        border-radius: 12px;
        margin-bottom: 12px;
        padding: 12px 14px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    }

    .ssh-table-container .ufw-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 7px 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        font-size: 0.82rem !important;
        text-align: right !important;
    }

    .ssh-table-container .ufw-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted, #94a3b8);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: left;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .ssh-table-container .ufw-table td.ssh-actions-cell {
        border-bottom: none !important;
        padding-top: 10px !important;
        display: block !important;
    }

    .ssh-table-container .ufw-table td.ssh-actions-cell::before {
        display: none !important;
    }

    .ssh-table-container .ssh-actions-btn-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .ssh-table-container .btn-ssh-view,
    .ssh-table-container .btn-ssh-close {
        width: 100% !important;
        justify-content: center !important;
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
    }

    /* 2. Modal de Sesión SSH en Móvil */
    #modal-ssh-session-view {
        padding: 6px !important;
        align-items: flex-end;
    }

    #modal-ssh-session-view .ssh-modal-box {
        padding: 12px 10px !important;
        max-height: calc(100dvh - 12px) !important;
        border-radius: 14px !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .ssh-modal-header h3 {
        font-size: 0.95rem !important;
    }

    .ssh-modal-summary-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .ssh-modal-summary-item {
        padding: 8px 10px !important;
    }

    .ssh-modal-summary-item .summary-title {
        font-size: 0.65rem !important;
    }

    .ssh-modal-summary-item .summary-value {
        font-size: 0.8rem !important;
    }

    .ssh-modal-infobox {
        padding: 8px 10px !important;
        gap: 6px !important;
    }

    .ssh-modal-infobox > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }

    .ssh-modal-infobox code,
    .ssh-modal-infobox span {
        width: 100% !important;
        font-size: 0.72rem !important;
    }

    .ssh-modal-subtabs-nav {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
    }

    .ssh-modal-subtabs-nav .btn-tab {
        padding: 6px 4px !important;
        font-size: 0.7rem !important;
    }

    .ssh-terminal-header-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        padding: 8px 10px !important;
    }

    .ssh-terminal-header-left {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .ssh-terminal-mode-selector {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 3px !important;
    }

    .ssh-terminal-mode-selector .btn-tab {
        justify-content: center !important;
        padding: 4px 2px !important;
        font-size: 0.64rem !important;
        text-align: center !important;
    }

    .ssh-terminal-header-actions {
        display: grid !important;
        grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .ssh-terminal-header-actions .btn-tab {
        justify-content: center !important;
        padding: 5px 2px !important;
        font-size: 0.68rem !important;
    }

    #ssh-modal-terminal-screen {
        min-height: 200px !important;
        max-height: 42vh !important;
        padding: 8px 10px !important;
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
    }

    .ssh-logs-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    .ssh-logs-toolbar > div {
        width: 100% !important;
        min-width: 100% !important;
    }

    .ssh-logs-filters {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        width: 100% !important;
        gap: 4px !important;
    }

    .ssh-logs-filters .btn-tab {
        justify-content: center !important;
        padding: 5px 2px !important;
        font-size: 0.66rem !important;
    }

    .ssh-modal-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .ssh-modal-footer .ssh-modal-footer-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .ssh-modal-footer .ssh-modal-footer-actions button {
        width: 100% !important;
        justify-content: center !important;
        padding: 8px 10px !important;
    }
}

/* Adaptación para móviles compactos (<= 480px) */
@media (max-width: 480px) {
    .ssh-modal-summary-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
    }

    .ssh-modal-summary-item {
        padding: 6px 8px !important;
    }

    .ssh-modal-summary-item .summary-title {
        font-size: 0.62rem !important;
    }

    .ssh-modal-summary-item .summary-value {
        font-size: 0.75rem !important;
    }

    #ssh-modal-terminal-screen {
        font-size: 0.66rem !important;
        padding: 6px 8px !important;
        min-height: 180px !important;
        max-height: 38vh !important;
    }
}

/* =========================================================================
   FORM CONTROLS & CUSTOM INPUTS (ESTILOS GLOBALES Y TEMAS)
   ========================================================================= */

.form-control-custom,
.login-input,
input[type="text"].form-control-custom,
input[type="number"].form-control-custom,
input[type="password"].form-control-custom,
select.form-control-custom,
textarea.form-control-custom {
    background: var(--inner-bg) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text-main) !important;
    border-radius: 8px !important;
    outline: none !important;
    font-family: inherit;
    font-size: 0.82rem;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.form-control-custom:focus,
.login-input:focus,
input[type="text"].form-control-custom:focus,
input[type="number"].form-control-custom:focus,
input[type="password"].form-control-custom:focus,
select.form-control-custom:focus,
textarea.form-control-custom:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) !important;
}

select.form-control-custom,
.form-control-custom select {
    background-color: var(--inner-bg) !important;
    color: var(--text-main) !important;
    cursor: pointer;
}

select.form-control-custom option,
.form-control-custom option,
option {
    background-color: #181d27 !important;
    color: #f8fafc !important;
    font-size: 0.82rem !important;
    padding: 8px 10px !important;
}

select.form-control-custom option:checked,
.form-control-custom option:checked {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

/* =========================================================================
   ADMINISTRADOR DE PROCESOS (CONTROL DE PROCESOS - RENDIMIENTO)
   ========================================================================= */

.proc-stats-banner {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: var(--shadow-style);
}

.proc-toolbar-container .proc-search-box input {
    background: var(--inner-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.proc-toolbar-container .proc-search-box input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
    outline: none;
}

.proc-table-wrapper {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    max-height: 60vh;
    overflow-y: auto;
}

.proc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.proc-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--table-header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proc-table thead th.sortable-th {
    cursor: pointer;
    transition: color 0.15s ease;
}

.proc-table thead th.sortable-th:hover {
    color: var(--accent-blue);
}

.proc-table thead th .sort-indicator {
    font-size: 0.72rem;
    opacity: 0.45;
    transition: all 0.15s ease;
}

.proc-table thead th.sortable-th:hover .sort-indicator,
.proc-table thead th .sort-indicator.active-sort {
    opacity: 1;
    color: var(--accent-blue);
}

.proc-table-row {
    border-bottom: 1px solid var(--card-border);
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.proc-table-row:hover {
    background-color: rgba(56, 189, 248, 0.06);
}

.proc-table-name {
    display: inline-block;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-main);
}

.proc-cmd-subtext {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
}

/* =========================================================================
   TEMA: FRUTIGER AERO - ADMINISTRADOR DE PROCESOS
   ========================================================================= */

[data-theme-style="frutiger-aero"] .proc-stats-banner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(224, 242, 254, 0.65) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .proc-stats-banner,
[data-theme-style="frutiger-aero"][data-oled="true"] .proc-stats-banner {
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.35) 0%, rgba(15, 23, 42, 0.75) 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

[data-theme-style="frutiger-aero"] .proc-table thead th {
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.95) 0%, rgba(224, 242, 254, 0.85) 100%) !important;
    color: #0369a1 !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme-style="frutiger-aero"][data-theme="dark"] .proc-table thead th,
[data-theme-style="frutiger-aero"][data-oled="true"] .proc-table thead th {
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%) !important;
    color: #7dd3fc !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme-style="frutiger-aero"] .proc-table-row:hover {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%) !important;
}

/* =========================================================================
   TEMA: 8-BIT SONIC MANIA - ADMINISTRADOR DE PROCESOS
   ========================================================================= */

[data-theme-style="sonic-mania"] .proc-stats-banner,
[data-theme-style="8bit"] .proc-stats-banner {
    border-radius: 0px !important;
    border: 2px solid var(--card-border) !important;
    box-shadow: 4px 4px 0px #000000 !important;
}

[data-theme-style="sonic-mania"] .proc-table-wrapper,
[data-theme-style="8bit"] .proc-table-wrapper {
    border-radius: 0px !important;
    border: 2px solid var(--card-border) !important;
}

[data-theme-style="sonic-mania"] .proc-table thead th,
[data-theme-style="8bit"] .proc-table thead th {
    background: var(--table-header-bg) !important;
    border-bottom: 2px solid var(--card-border) !important;
    color: var(--accent-yellow) !important;
}

[data-theme-style="sonic-mania"] .proc-table-row:hover,
[data-theme-style="8bit"] .proc-table-row:hover {
    background-color: rgba(27, 86, 253, 0.25) !important;
}

[data-theme-style="sonic-mania"] .btn-terminate,
[data-theme-style="8bit"] .btn-terminate {
    border-radius: 0px !important;
    border: 2px solid var(--accent-red) !important;
    box-shadow: 2px 2px 0px #000000 !important;
}

/* =========================================================================
   MODO EMOJIS (UNICODE REPLACEMENTS)
   ========================================================================= */

body.use-emojis-mode .fa-bars-progress::before {
    content: "📊" !important;
}

body.use-emojis-mode .fa-circle-play::before {
    content: "▶️" !important;
}

body.use-emojis-mode .fa-moon::before {
    content: "💤" !important;
}

body.use-emojis-mode .fa-triangle-exclamation::before {
    content: "⚠️" !important;
}

body.use-emojis-mode .fa-arrow-down-wide-short::before {
    content: "🔽" !important;
}

body.use-emojis-mode .fa-arrow-up-wide-short::before {
    content: "🔼" !important;
}

body.use-emojis-mode .fa-arrow-down-long::before {
    content: "⬇️" !important;
}

body.use-emojis-mode .fa-arrow-up-long::before {
    content: "⬆️" !important;
}

body.use-emojis-mode .fa-sort::before {
    content: "↕️" !important;
}

body.use-emojis-mode .fa-sort-up::before {
    content: "🔼" !important;
}

body.use-emojis-mode .fa-sort-down::before {
    content: "🔽" !important;
}

/* =========================================================================
   OPTIMIZACIONES MÓVILES (TABLETS Y SMARTPHONES)
   ========================================================================= */

@media (max-width: 900px) {
    .milesbot-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    /* CONTROL DE PROCESOS */
    .proc-stats-banner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }

    .proc-stats-banner .sys-info-item:last-child {
        grid-column: span 2;
        justify-content: flex-end;
    }

    .proc-toolbar-container .proc-search-box {
        min-width: 100% !important;
        width: 100% !important;
    }

    .proc-filter-chips {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        padding-bottom: 6px !important;
        width: 100% !important;
    }

    .proc-filter-chips button {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .proc-table thead th:nth-child(3),
    .proc-table tbody td:nth-child(3),
    .proc-table thead th:nth-child(4),
    .proc-table tbody td:nth-child(4) {
        display: none !important;
    }

    .proc-table-name {
        max-width: 120px !important;
    }

    .proc-cmd-subtext {
        max-width: 130px !important;
        font-size: 0.64rem !important;
    }

    .proc-table-wrapper {
        max-height: 52vh !important;
    }

    /* MILES BOT */
    #tab-content-milesbot .sys-banner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }

    #tab-content-milesbot .sys-banner > div:last-child {
        grid-column: span 2;
        justify-content: flex-end;
    }

    #tab-content-milesbot .card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    #box-subtab-dm .form-control-custom,
    #box-subtab-dm select {
        width: 100% !important;
    }

    #box-user-id-wrapper {
        width: 100% !important;
        min-width: 100% !important;
    }

    #discord-chat-messages {
        height: 220px !important;
    }

    #embed-live-preview-box {
        max-width: 100% !important;
    }

    #bot-servers-table th,
    #bot-servers-table td {
        padding: 8px 6px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .proc-stats-banner {
        grid-template-columns: 1fr 1fr !important;
    }

    .proc-table-name {
        max-width: 100px !important;
        font-size: 0.72rem !important;
    }

    .proc-cmd-subtext {
        display: none !important;
    }

    .proc-table td, 
    .proc-table th {
        padding: 7px 6px !important;
    }

    .proc-table .btn-terminate {
        padding: 3px 6px !important;
        font-size: 0.68rem !important;
    }

    #tab-content-milesbot .sys-banner {
        grid-template-columns: 1fr 1fr !important;
    }

    #box-subtab-raw .console-output {
        height: 190px !important;
        font-size: 0.72rem !important;
    }
}




