/* ═══════════════════════════════════════════════════════════════
   SHIDODUTCH STALKER (X-RAY DOSSIER) — THEME ENGINE v1
   · DEFAULT    = PRO: professionele raid-look (raid.shidodutch.com)
   · body.light = PRO-LIGHT
   · body.rld   = RED LIGHT DISTRICT: de originele neon-stalker-look
   Alles onder body:not(.rld) — originele css en JS onaangeroerd.
   Deelt dezelfde localStorage-keys als de rest (dexTheme/dexRLD).
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. PRO-PALETTE (raid-waarden, gemapt op stalker-vars) ────── */
body:not(.rld) {
    --bg: #05080b;
    --bg2: #0a0f14;
    --card: #0a0f14;
    --card-solid: #0d141b;
    --neu-bg: #0d141b;
    --blue: #39a0ff;
    --neon-blue: #39a0ff;
    --nl-blue: #39a0ff;
    --green: #3ddc84;
    --neon-green: #3ddc84;
    --red: #ff2d4d;
    --neon-red: #ff2d4d;
    --neon-pink: #ff2d95;
    --purple: #b48ce8;
    --gold: #e8b054;
    --orange: #e8b054;
    --text: #dbe7ee;
    --text2: #9fb1bd;
    --text3: #6f8595;
    --border: #16222c;
    --border-hi: #22384a;
    --line-soft: rgba(255, 45, 77, 0.26);
    --line-hard: rgba(255, 45, 77, 0.42);
    --shadow-lg: 4px 4px 0 rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 45, 77, 0.06);
    --shadow-sm: 2px 2px 0 rgba(0, 0, 0, 0.5);
    --ring: rgba(255, 45, 77, 0.16);
    --radius: 3px;
    --transition: 0.15s ease;
    background:
        repeating-linear-gradient(0deg, rgba(151, 167, 182, 0.022) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, rgba(151, 167, 182, 0.022) 0 1px, transparent 1px 32px),
        var(--bg) !important;
    color: var(--text) !important;
}

/* scanlines: koel i.p.v. rood-getint; roze orb-gloed uit */
body:not(.rld)::before {
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(151, 167, 182, 0.012) 3px, rgba(151, 167, 182, 0.012) 5px) !important;
}
body:not(.rld)::after { background: none !important; }

body:not(.rld) ::selection { background: rgba(255, 45, 77, 0.35); color: #fff; }
body:not(.rld) ::-webkit-scrollbar { width: 9px; height: 9px; }
body:not(.rld) ::-webkit-scrollbar-track { background: var(--bg); }
body:not(.rld) ::-webkit-scrollbar-thumb { background: #22384a; border-radius: 2px; }
body:not(.rld) ::-webkit-scrollbar-thumb:hover { background: rgba(255, 45, 77, 0.5); }

/* ── 2. WALLEN-HEADER: platte pro-kop ═══════════════════════════ */
body:not(.rld) .wallen-header {
    background: var(--card-solid) !important;
    border-bottom: 1px solid rgba(255, 45, 77, 0.32) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55) !important;
}
body:not(.rld) .hdr-sub { color: var(--text3) !important; text-shadow: none !important; }
body:not(.rld) .hdr-tag {
    border-width: 1px !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5) !important;
    text-shadow: none !important;
}
body:not(.rld) .hdr-tag.red {
    color: #ff2d4d !important;
    border-color: rgba(255, 45, 77, 0.42) !important;
    background: rgba(255, 45, 77, 0.06) !important;
}
body:not(.rld) .hdr-tag.gold {
    color: #e8b054 !important;
    border-color: rgba(232, 176, 84, 0.42) !important;
    background: rgba(232, 176, 84, 0.06) !important;
}
body:not(.rld) .hdr-tag.pink {
    color: #ff2d95 !important;
    border-color: rgba(255, 45, 149, 0.42) !important;
    background: rgba(255, 45, 149, 0.06) !important;
}

/* ── 3. VEGAS-SIGN: STALKER-letters strak ══════════════════════ */
body:not(.rld) .vegas-sign {
    text-shadow: none !important;
}
body:not(.rld) .vegas-sign .neon-letter {
    animation: none !important;
    color: #ff2d4d !important;
    text-shadow: 0 0 12px rgba(255, 45, 77, 0.45) !important;
    opacity: 1 !important;
}
/* kapotte lampjes (3 en 7): rustig dim, karakter behouden */
body:not(.rld) .vegas-sign .neon-letter:nth-child(3),
body:not(.rld) .vegas-sign .neon-letter:nth-child(7) {
    color: #552730 !important;
    text-shadow: none !important;
    opacity: 0.65 !important;
}
/* flikkerpeertjes in de header: uit in pro */
body:not(.rld) .rl-bulbs { display: none !important; }

/* ── 4. STAT-BOXEN: van neon-groen naar pro ════════════════════ */
body:not(.rld) .stat-box {
    background: var(--card2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55) !important;
}
body:not(.rld) .stat-box::before {
    background: linear-gradient(90deg, transparent, rgba(255, 45, 77, 0.35), transparent) !important;
    opacity: 0.6 !important;
}

/* ── 5. PANELEN + TABS ═════════════════════════════════════════ */
body:not(.rld) .panel {
    background: var(--card2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 3px 3px 3px !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55) !important;
}
body:not(.rld) .panel::after { display: none !important; }
body:not(.rld) .tab-btn {
    background: var(--card2) !important;
    border: 1px solid var(--border) !important;
    border-bottom: none !important;
    border-radius: 3px 3px 0 0 !important;
    box-shadow: 2px -2px 0 rgba(0, 0, 0, 0.4) !important;
    color: var(--text3) !important;
    text-shadow: none !important;
}
body:not(.rld) .tab-btn:hover { color: var(--text) !important; }
body:not(.rld) .tab-btn.on,
body:not(.rld) .tab-btn.active {
    color: #ff2d4d !important;
    border-color: rgba(255, 45, 77, 0.42) !important;
    background: #0a0f14 !important;
}

/* venster-chrome (targets-window e.d.) */
body:not(.rld) .targets-window { border-color: var(--border) !important; }
body:not(.rld) .targets-window .rl-window-header {
    background: var(--card2) !important;
    border-bottom: 1px solid var(--border) !important;
}
body:not(.rld) .targets-window .rl-window-title { color: var(--text2) !important; text-shadow: none !important; }

/* ── 6. KNOPPEN ════════════════════════════════════════════════ */
body:not(.rld) .stalk-btn {
    background: #ff2d4d !important;
    border: 1px solid #ff2d4d !important;
    border-radius: 2px !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5) !important;
    text-shadow: none !important;
}
body:not(.rld) .stalk-btn:hover {
    background: #e11d3f !important;
    transform: translate(-1px, -1px) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55), 0 0 14px rgba(255, 45, 77, 0.25) !important;
}
body:not(.rld) .load-more-btn,
body:not(.rld) .sweep-all-btn {
    background: rgba(61, 220, 132, 0.06) !important;
    border: 1px solid rgba(61, 220, 132, 0.4) !important;
    color: #3ddc84 !important;
    text-shadow: none !important;
    border-radius: 2px !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5) !important;
}
body:not(.rld) .load-more-btn:hover,
body:not(.rld) .sweep-all-btn:hover {
    background: rgba(61, 220, 132, 0.12) !important;
    border-color: #3ddc84 !important;
    transform: translate(-1px, -1px) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55) !important;
}

/* ── 7. TABELLEN / INPUTS ══════════════════════════════════════ */
body:not(.rld) .history-table th {
    color: var(--text2) !important;
    border-bottom: 1px solid var(--border-hi) !important;
    background: var(--card2) !important;
    text-shadow: none !important;
}
body:not(.rld) .history-table td {
    border-bottom: 1px solid var(--border) !important;
    border-left-color: transparent !important;
}
body:not(.rld) .history-table tr:hover td { background: rgba(255, 45, 77, 0.04) !important; }
/* walistrades: goud-accent behouden maar zonder neon-gloed */
body:not(.rld) .big-trade td { border-left: 3px solid rgba(232, 176, 84, 0.55) !important; }
body:not(.rld) .big-trade td:first-child::before { filter: none !important; }

body:not(.rld) .input-field,
body:not(.rld) .bag-search {
    background: #0c1117 !important;
    border: 1px solid var(--border) !important;
    border-radius: 2px !important;
    color: var(--text) !important;
}
body:not(.rld) .input-field:focus,
body:not(.rld) .bag-search:focus {
    outline: none !important;
    border-color: #ff2d4d !important;
    box-shadow: 0 0 12px rgba(255, 45, 77, 0.22) !important;
}

/* ── 8. DOSSIER-ONDERDELEN ════════════════════════════════════ */
body:not(.rld) .bag-row {
    background: var(--card2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55) !important;
}
body:not(.rld) .bag-row.open { border-color: rgba(255, 45, 77, 0.42) !important; }

body:not(.rld) .target-item {
    background: rgba(57, 160, 255, 0.04) !important;
    border: 1px solid var(--border) !important;
    border-radius: 2px !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5) !important;
}
body:not(.rld) .target-item:hover {
    border-color: rgba(57, 160, 255, 0.4) !important;
    background: rgba(57, 160, 255, 0.08) !important;
}

body:not(.rld) .trf-chip {
    background: var(--card2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 2px !important;
    color: var(--text2) !important;
}
body:not(.rld) .trf-chip.on {
    color: #39a0ff !important;
    border-color: rgba(57, 160, 255, 0.45) !important;
    background: rgba(57, 160, 255, 0.08) !important;
}

/* proof-of-work doos: goud-accent zonder gloed */
body:not(.rld) .pow-box {
    border: 1px solid rgba(232, 176, 84, 0.35) !important;
    background: rgba(232, 176, 84, 0.04) !important;
    border-radius: 3px !important;
}
body:not(.rld) .pow-h { text-shadow: none !important; color: #e8b054 !important; }
body:not(.rld) .pow-row {
    border: 1px solid var(--border) !important;
    background: var(--card2) !important;
    border-radius: 2px !important;
}

/* ── 9. RLD-KNOP: actieve stand glowt ══════════════════════════ */
body.rld .rld-btn {
    border-color: rgba(255, 26, 58, 0.6) !important;
    color: #ff1a3a !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 26, 58, 0.35) !important;
}
body:not(.rld) .rld-btn.on {
    border-color: rgba(255, 45, 77, 0.58) !important;
    color: #ff2d4d !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 45, 77, 0.3) !important;
}

/* ═══ 10. PRO-LIGHT ═══════════════════════════════════════════ */
body:not(.rld).light {
    --bg: #eef1f5;
    --bg2: #ffffff;
    --card: #ffffff;
    --card-solid: #ffffff;
    --card2: #f4f7fa;
    --neu-bg: #ffffff;
    --blue: #1f7ae0;
    --neon-blue: #1f7ae0;
    --green: #16a34a;
    --neon-green: #16a34a;
    --red: #e11d3f;
    --neon-red: #e11d3f;
    --neon-pink: #e11d3f;
    --purple: #8b5cf6;
    --gold: #b07818;
    --orange: #b07818;
    --text: #101820;
    --text2: #3f4b57;
    --text3: #7c8a96;
    --border: #d7dee6;
    --border-hi: #b9c6d2;
    --line-soft: rgba(225, 29, 63, 0.25);
    --line-hard: rgba(225, 29, 63, 0.45);
    --shadow-lg: 3px 3px 0 rgba(16, 24, 32, 0.10);
    --shadow-sm: 2px 2px 0 rgba(16, 24, 32, 0.08);
    --ring: rgba(225, 29, 63, 0.14);
    background:
        repeating-linear-gradient(0deg, rgba(16, 24, 32, 0.018) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, rgba(16, 24, 32, 0.018) 0 1px, transparent 1px 32px),
        var(--bg) !important;
}
body:not(.rld).light ::-webkit-scrollbar-track { background: #e6ebf0; }
body:not(.rld).light ::-webkit-scrollbar-thumb { background: #b9c6d2; }
body:not(.rld).light::before {
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(16, 24, 32, 0.01) 3px, rgba(16, 24, 32, 0.01) 5px) !important;
}

body:not(.rld).light .wallen-header {
    background: #ffffff !important;
    border-bottom-color: rgba(225, 29, 63, 0.22) !important;
    box-shadow: 2px 2px 0 rgba(16, 24, 32, 0.1) !important;
}
body:not(.rld).light .vegas-sign .neon-letter {
    color: #e11d3f !important;
    text-shadow: 0 0 8px rgba(225, 29, 63, 0.22) !important;
}
body:not(.rld).light .vegas-sign .neon-letter:nth-child(3),
body:not(.rld).light .vegas-sign .neon-letter:nth-child(7) {
    color: #9aa5ae !important;
    text-shadow: none !important;
}
body:not(.rld).light .stat-box,
body:not(.rld).light .panel,
body:not(.rld).light .bag-row,
body:not(.rld).light .tab-btn,
body:not(.rld).light .trf-chip,
body:not(.rld).light .pow-row {
    background: #ffffff !important;
    border-color: #d7dee6 !important;
    box-shadow: 2px 2px 0 rgba(16, 24, 32, 0.1) !important;
}
body:not(.rld).light .tab-btn.on,
body:not(.rld).light .tab-btn.active {
    color: #e11d3f !important;
    border-color: rgba(225, 29, 63, 0.35) !important;
    background: #f4f7fa !important;
}
body:not(.rld).light .targets-window .rl-window-header { background: #f4f7fa !important; }
body:not(.rld).light .history-table th { background: #f4f7fa !important; color: #3f4b57 !important; }
body:not(.rld).light .input-field,
body:not(.rld).light .bag-search { background: #ffffff !important; }
body:not(.rld).light .stalk-btn { background: #e11d3f !important; border-color: #e11d3f !important; }
body:not(.rld).light .load-more-btn,
body:not(.rld).light .sweep-all-btn {
    background: rgba(22, 163, 74, 0.07) !important;
    border-color: rgba(22, 163, 74, 0.35) !important;
    color: #16a34a !important;
}


/* ═══ SD-NAV: site-brede navigatie — één uniforme stijl, net als de overige knoppen ═══ */
.sd-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px 0; }
.sd-nav-btn {
    display: inline-block; padding: 9px 14px;
    font-family: 'Orbitron', monospace !important;
    font-weight: 700 !important;
    font-size: 0.55rem !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 2px !important; cursor: pointer;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.14)) !important;
    background: var(--panel, var(--card2, rgba(0, 0, 0, 0.35))) !important;
    color: var(--text2, #9fb1bd) !important;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5) !important;
    transition: all 0.15s;
}
.sd-nav-btn:hover {
    transform: translate(-1px, -1px) !important;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55) !important;
    color: var(--text, #ffffff) !important;
    border-color: var(--border-hi, rgba(255, 255, 255, 0.3)) !important;
}
body:not(.rld).light .sd-nav-btn {
    background: #ffffff !important;
    border-color: #d7dee6 !important;
    box-shadow: 2px 2px 0 rgba(16, 24, 32, 0.1) !important;
}
body:not(.rld).light .sd-nav-btn:hover { box-shadow: 3px 3px 0 rgba(16, 24, 32, 0.14) !important; }
