/* ========================================
   🎨 PORTAL DE TI - DESIGN SYSTEM
   Paleta E — Light Mode Profissional
   ======================================== */

/* === VARIÁVEIS CSS (Light Mode Padrão) === */
:root {
    /* Cores Primárias — Azul Corporativo */
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

    /* Cores Secundárias — Roxo */
    --secondary-color: #7c3aed;
    --secondary-light: #8b5cf6;
    --secondary-dark: #6d28d9;

    /* Cores de Acento — Verde Esmeralda */
    --accent-color: #059669;
    --accent-light: #10b981;
    --accent-dark: #047857;

    /* Cores de Fundo — Light Mode */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-overlay: rgba(248, 250, 252, 0.98);

    /* Cores de Texto */
    --text-primary: #0f172a;
    --text-secondary: #1e293b;
    --text-tertiary: #475569;
    --text-muted: #94a3b8;

    /* Cores de Borda */
    --border-color: rgba(15, 23, 42, 0.1);
    --border-light: rgba(15, 23, 42, 0.05);
    --border-focus: rgba(37, 99, 235, 0.4);

    /* Cores de Status */
    --success: #059669;
    --success-light: #10b981;
    --warning: #d97706;
    --warning-light: #f59e0b;
    --error: #dc2626;
    --error-light: #ef4444;
    --info: #2563eb;
    --info-light: #3b82f6;

    /* Prioridades de Chamados */
    --priority-low: #059669;
    --priority-medium: #d97706;
    --priority-high: #ea580c;
    --priority-urgent: #dc2626;

    /* Sombras — Suaves para Light Mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.2);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-blur: blur(12px);

    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Bordas */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transições — L8: mais suaves */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;
    --max-width: 1400px;

    /* Tipografia */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Scheme */
    color-scheme: light;

    /* Theme Transitions Control */
    --theme-transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;

    /* Sidebar Default (Light) */
    --sidebar-bg: #ffffff;
    --sidebar-text: #0f172a;
}

body,
html {
    transition: var(--theme-transition);
}

.sidebar,
.header,
.card,
.glass-card,
.app-content {
    transition: var(--theme-transition);
}

/* === MODO ESCURO EXPLÍCITO (garante que o tema aplica em todos os browsers) === */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-glass: rgba(30, 41, 59, 0.5);
    --bg-overlay: rgba(15, 23, 42, 0.95);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.05);
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    color-scheme: dark;

    /* Sidebar Dark */
    --sidebar-bg: #1e293b;
    --sidebar-text: #f1f5f9;
}

/* === MODO CLARO === */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --bg-overlay: rgba(248, 250, 252, 0.95);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.1);
    --border-light: rgba(15, 23, 42, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    color-scheme: light;
}

/* === RESET E BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* === TIPOGRAFIA === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* === GLASSMORPHISM COMPONENTS === */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--border-focus);
}

@media (max-width: 768px) {
    .glass-card {
        padding: var(--spacing-md);
    }
}

/* === BOTÕES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-error {
    background: var(--error);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* === INPUTS === */
.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Helper para Grid Responsivo */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

@media (max-width: 480px) {
    .responsive-grid {
        grid-template-columns: 1fr;
    }
}

/* === CARDS === */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

/* === ANIMAÇÕES === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-base) ease-out;
}

/* === UTILIDADES === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.w-full {
    width: 100%;
}

/* === SCROLLBAR CUSTOMIZADA === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* === RESPONSIVIDADE E MOBILE-FIRST === */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 80px;
    }

    .user-info,
    .nav-item span:not(.nav-icon),
    .user-name,
    .user-role {
        display: none;
    }

    .user-profile {
        justify-content: center;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
        font-size: 14px;
    }

    /* Sidebar mobile: usa transform (definido em layout.css), não left */
    header {
        left: 0 !important;
        width: 100% !important;
        padding: 0 15px;
    }

    .main-content {
        padding-left: 0 !important;
        padding-top: 80px;
    }

    .page-header>div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    .header-tabs {
        display: none !important;
    }

    .container {
        padding: 0 15px;
    }

    .glass-card {
        padding: 15px;
    }

    /* REMOVIDO: grid override universal que quebrava o layout inteiro */
    /* Usar classes específicas: .responsive-grid, .form-grid-2, etc. */
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .card {
        padding: 15px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-action {
        width: 36px;
        height: 36px;
    }

    .btn {
        width: 100%;
        padding: 0.6rem 1rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

.badge-status.online {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-status.offline {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* ==========================================
   ✨ L1 — ANIMAÇÕES DE ENTRADA (FADE-IN)
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card,
.glass-card,
.stat-card {
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Delay escalonado para múltiplos cards */
.card:nth-child(1),
.glass-card:nth-child(1),
.stat-card:nth-child(1) {
    animation-delay: 0.05s;
}

.card:nth-child(2),
.glass-card:nth-child(2),
.stat-card:nth-child(2) {
    animation-delay: 0.10s;
}

.card:nth-child(3),
.glass-card:nth-child(3),
.stat-card:nth-child(3) {
    animation-delay: 0.15s;
}

.card:nth-child(4),
.glass-card:nth-child(4),
.stat-card:nth-child(4) {
    animation-delay: 0.20s;
}

.card:nth-child(5),
.glass-card:nth-child(5) {
    animation-delay: 0.25s;
}

.card:nth-child(6),
.glass-card:nth-child(6) {
    animation-delay: 0.30s;
}

.card:nth-child(n+7),
.glass-card:nth-child(n+7) {
    animation-delay: 0.35s;
}

/* ==========================================
   👤 L3 — AVATAR GRADIENTE COM INICIAIS
   ========================================== */
.user-avatar,
.avatar-initials {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.user-avatar:hover,
.avatar-initials:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
    transform: scale(1.06);
}

/* ==========================================
   💀 L5 — SKELETON LOADING
   ========================================== */
@keyframes shimmer {
    0% {
        background-position: -800px 0;
    }

    100% {
        background-position: 800px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            var(--bg-tertiary) 25%,
            var(--bg-secondary) 50%,
            var(--bg-tertiary) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-title {
    height: 22px;
    width: 60%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-card {
    height: 120px;
    border-radius: var(--radius-lg);
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-btn {
    height: 38px;
    width: 120px;
    border-radius: var(--radius-md);
}

.skeleton-row {
    height: 48px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

/* ==========================================
   💬 L6 — TOOLTIPS NA SIDEBAR RECOLHIDA
   ========================================== */
[data-sidebar="collapsed"] .nav-link,
.sidebar.collapsed .nav-link {
    position: relative;
}

[data-sidebar="collapsed"] .nav-link .sidebar-tooltip,
.sidebar.collapsed .nav-link .sidebar-tooltip {
    display: block;
    position: absolute;
    left: calc(var(--sidebar-collapsed-width) + 10px);
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: var(--text-primary);
    color: var(--bg-secondary);
    padding: 5px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: var(--shadow-md);
    z-index: 9999;
}

[data-sidebar="collapsed"] .nav-link:hover .sidebar-tooltip,
.sidebar.collapsed .nav-link:hover .sidebar-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Esconder tooltips quando sidebar está expandida */
.nav-link .sidebar-tooltip {
    display: none;
}

/* ==========================================
   📋 L7 — MODO COMPACTO DA TABELA
   ========================================== */
.table-compact .table td,
.table-compact .table th {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
}

.table-compact .badge {
    font-size: 0.65rem;
    padding: 2px 6px;
}

.btn-compact-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-compact-toggle:hover,
.btn-compact-toggle.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ==========================================
   🔴 L9 — BADGE DE CONTAGEM NA SIDEBAR
   ========================================== */
.nav-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: var(--error);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(220, 38, 38, 0.4);
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
}

.nav-count-badge.zero {
    display: none;
}

.nav-count-badge.warning {
    background: var(--warning);
    animation: none;
}

/* ==========================================
   📊 L10 — MINI SPARKLINE (canvas)
   ========================================== */
.sparkline-container {
    position: relative;
    height: 40px;
    margin-top: 8px;
    opacity: 0.7;
}

.sparkline-container canvas {
    width: 100% !important;
    max-height: 40px;
}

/* ==========================================
   🔔 F1 — BANNER URGENTE
   ========================================== */
.urgent-banner {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    animation: urgentPulse 2s ease infinite;
}

.urgent-banner.visible {
    display: flex;
}

@keyframes urgentPulse {

    0%,
    100% {
        border-color: rgba(220, 38, 38, 0.25);
    }

    50% {
        border-color: rgba(220, 38, 38, 0.6);
    }
}

/* ==========================================
   📈 L2 — BARRA DE PROGRESSO DE METAS
   ========================================== */
.progress-bar-wrapper {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    height: 8px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(60px);
        opacity: 0;
    }
}

/* ==========================================
   🌓 L8 — TRANSIÇÃO SUAVE DE TEMA
   ========================================== */
/* Transição global removida a pedido do usuário para evitar efeito de "piscar" na navegação */

/* Exceções: não aplicar transição em animações específicas */
.skeleton,
.skeleton *,
canvas,
img,
video,
.progress-bar-fill,
.nav-count-badge {
    transition: none !important;
}

/* ==========================================
   🌙 DARK MODE — variáveis ajustadas
   ========================================== */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(30, 41, 59, 0.6);
    --bg-overlay: rgba(15, 23, 42, 0.97);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.12);
    --border-light: rgba(148, 163, 184, 0.06);
    --border-focus: rgba(59, 130, 246, 0.5);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.5);
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    color-scheme: dark;
}