/* O2 Security Theme - Professional Dark Blue */
:root[data-theme="dark"] {
    /* Base Colors - Deep dark blue palette */
    --bg: #0B0E14;
    --surface: #0F1319;
    --surface-elev: #161B24;

    /* Borders - Subtle but defined */
    --card-border: #1E2430;
    --divider: #1E2430;

    /* Primary Colors - Professional Blue */
    --primary: #3B82F6;
    --primary-700: #2563EB;
    --primary-rgb: 59 130 246;

    /* Accent Colors - Muted Purple */
    --accent: #6366F1;
    --accent-700: #4F46E5;
    --accent-rgb: 99 102 241;

    /* Semantic Colors */
    --highlight: #F472B6;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --highlight-rgb: 244 114 182;
    --success-rgb: 34 197 94;
    --warning-rgb: 245 158 11;
    --danger-rgb: 239 68 68;

    /* Text Colors */
    --muted: #64748B;
    --text: #F1F5F9;
    --text-2: #94A3B8;

    /* Interactive Elements */
    --chip-bg: rgba(255, 255, 255, 0.04);
    --input-bg: rgba(0, 0, 0, 0.2);
    --focus: rgba(59, 130, 246, 0.25);
}

/* Global Styles */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Card Styles */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--card-border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

/* Input Styles */
input,
textarea,
select {
    background-color: var(--input-bg) !important;
    border-color: var(--divider) !important;
    color: var(--text) !important;
    transition: all 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--focus) !important;
    outline: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #2D3748;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A5568;
}
