/*
 * VTX theme for Wanderer (wanderer.vtxg.org) — matches www.vtxg.org.
 * Injected by nginx (sub_filter) into Wanderer's <head>; served from /var/www/vtx-theme/.
 * Leaves EVE semantic colours (security, wormhole classes, effects, system status, connections)
 * and Wanderer's accessibility themes alone. Generated by gen_wanderer_css.py.
 */

/* DaisyUI (app shell): base, neutral and accent colours */
html[data-theme=dark] {
    --b1: 14.48% 0.0000 89.88;  /* #0a0a0a */
    --b2: 12.86% 0.0000 89.88;  /* #070707 */
    --b3: 11.49% 0.0000 89.88;  /* #050505 */
    --bc: 90.67% 0.0000 89.88;  /* #e0e0e0 */
    --n: 20.02% 0.0000 89.88;  /* #161616 */
    --nc: 90.67% 0.0000 89.88;  /* #e0e0e0 */
    --p: 50.16% 0.1887 27.48;  /* #b71c1c */
    --pc: 100.00% 0.0000 89.88;  /* #ffffff */
    --s: 39.99% 0.1641 29.23;  /* #8b0000 */
    --sc: 100.00% 0.0000 89.88;  /* #ffffff */
    --a: 66.36% 0.2231 25.73;  /* #ff4444 */
    --ac: 14.48% 0.0000 89.88;  /* #0a0a0a */
}

/* PrimeReact (map panels, dialogs, tables): accent red instead of blue, VTX surfaces */
html:root {
    --primary-color: #c62828;
    --primary-color-text: #ffffff;
    --primary-50: #fdecec;
    --primary-100: #f9d0d0;
    --primary-200: #f2a9a9;
    --primary-300: #ea7f7f;
    --primary-400: #e05555;
    --primary-500: #c62828;
    --primary-600: #a82222;
    --primary-700: #8b0000;
    --primary-800: #6e0000;
    --primary-900: #4d0000;
    --highlight-bg: rgba(139, 0, 0, 0.32);
    --highlight-text-color: #ffffff;
    --focus-ring: 0 0 0 1px #ff4444;
    --surface-ground: #050505;
    --surface-section: #050505;
    --surface-b: #050505;
    --surface-card: #0d0d0d;
    --surface-overlay: #0d0d0d;
    --surface-a: #0d0d0d;
    --surface-e: #0d0d0d;
    --surface-f: #0d0d0d;
    --surface-border: #2a2a2a;
    --surface-d: #2a2a2a;
    --surface-hover: rgba(255, 255, 255, 0.04);
    --surface-c: rgba(255, 255, 255, 0.04);
    --selected-item-bg: rgba(139, 0, 0, 0.30);
}

/* Wanderer's own Default theme (the accessible themes keep their own colours) */
html .default-theme {
    --dark-bg: #0a0a0a;
    --tooltip-bg: #0d0d0d;
    --text-color: #e0e0e0;
    --selected-item-bg: rgba(139, 0, 0, 0.30);
}

html body {
    background-color: #050505;
}

html ::selection {
    background: #8b0000;
    color: #fff;
}

/* Tailwind dark grey utilities -> VTX neutrals (opacity variants preserved) */
html .border-gray-600 { border-color: rgb(64 64 64 / var(--tw-border-opacity, 1)); }
html .border-gray-700 { border-color: rgb(44 44 44 / var(--tw-border-opacity, 1)); }
html .border-gray-800 { border-color: rgb(30 30 30 / var(--tw-border-opacity, 1)); }
html .border-stone-600 { border-color: rgb(64 64 64 / var(--tw-border-opacity, 1)); }
html .border-stone-700 { border-color: rgb(44 44 44 / var(--tw-border-opacity, 1)); }
html .border-stone-700\/50 { border-color: rgb(44 44 44 / 0.5); }
html .border-stone-700\/60 { border-color: rgb(44 44 44 / 0.6); }
html .border-stone-700\/80 { border-color: rgb(44 44 44 / 0.8); }
html .border-stone-800 { border-color: rgb(30 30 30 / var(--tw-border-opacity, 1)); }
html .border-stone-800\/90 { border-color: rgb(30 30 30 / 0.9); }
html .border-zinc-800 { border-color: rgb(30 30 30 / var(--tw-border-opacity, 1)); }
html .bg-gray-800 { background-color: rgb(20 20 20 / var(--tw-bg-opacity, 1)); }
html .bg-gray-800\/80 { background-color: rgb(20 20 20 / 0.8); }
html .bg-gray-900 { background-color: rgb(12 12 12 / var(--tw-bg-opacity, 1)); }
html .bg-gray-900\/60 { background-color: rgb(12 12 12 / 0.6); }
html .bg-neutral-800 { background-color: rgb(20 20 20 / var(--tw-bg-opacity, 1)); }
html .bg-neutral-900 { background-color: rgb(12 12 12 / var(--tw-bg-opacity, 1)); }
html .bg-neutral-900\/60 { background-color: rgb(12 12 12 / 0.6); }
html .bg-stone-800 { background-color: rgb(20 20 20 / var(--tw-bg-opacity, 1)); }
html .bg-stone-800\/50 { background-color: rgb(20 20 20 / 0.5); }
html .bg-stone-800\/70 { background-color: rgb(20 20 20 / 0.7); }
html .bg-stone-900 { background-color: rgb(12 12 12 / var(--tw-bg-opacity, 1)); }
html .bg-stone-900\/40 { background-color: rgb(12 12 12 / 0.4); }
html .bg-stone-900\/60 { background-color: rgb(12 12 12 / 0.6); }
html .bg-stone-900\/70 { background-color: rgb(12 12 12 / 0.7); }
html .bg-stone-900\/90 { background-color: rgb(12 12 12 / 0.9); }
html .bg-stone-900\/95 { background-color: rgb(12 12 12 / 0.95); }
html .bg-stone-950 { background-color: rgb(5 5 5 / var(--tw-bg-opacity, 1)); }
html .bg-stone-950\/50 { background-color: rgb(5 5 5 / 0.5); }
html .bg-zinc-900 { background-color: rgb(12 12 12 / var(--tw-bg-opacity, 1)); }

html .from-stone-950 { --tw-gradient-from: #050505 var(--tw-gradient-from-position); --tw-gradient-to: rgb(5 5 5 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
html .to-stone-900 { --tw-gradient-to: #0c0c0c var(--tw-gradient-to-position); }
