﻿/* =========================================
   1. ROOT, BASICS & Z-INDEX HIERARCHY
   ========================================= */
:root {
    --ui-color: #0f0;
    --ui-glow: rgba(0, 255, 0, 0.2);
    --ui-highlight: #aa0;
    --ui-highlight-dark: #aa0;
    --ui-highlight-dark-glow: rgba(170, 170, 0, 0.2);
    --ui-info: #0aa;
    --ui-info-dark: #0aa;
    --ui-info-dark-glow: rgba(0, 170, 170, 0.2);
    --ui-danger: #f55;
    --ui-danger-light: #f55;
    --ui-danger-light-glow: rgba(255, 85, 85, 0.2);
    --shadow-light: rgba(255, 255, 255, 0.05);
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --z-map-base: 5;
    --z-map-overlay: 100;
    --z-top-bar: 500;
    --z-auth-overlay: 2000;
    --z-mobile-menu: 3000;
    --z-modal-bg: 11000;
    --z-modal-fg: 12000;
    --z-toast: 13000;
}

body {
    margin: 0;
    padding: 0;
    /* Cyber-Sunset: Heißes Orange geht über tiefes Rot in ein sehr dunkles, warmes Violett über */
    background: radial-gradient(circle at 50% 100%, #d95400 0%, #8c1c00 20%, #300a14 55%, #140a1a 100%);
    background-attachment: fixed;
    color: #eee;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-family: 'Rajdhani', sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
    border-left: 1px solid var(--ui-color);
}

::-webkit-scrollbar-thumb {
    background: var(--ui-color);
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #afa;
    }

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #050505;
    border-left: 1px solid #1a1a1a;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333;
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: var(--ui-color);
    }

.tooltip {
    cursor: help;
}

/* Globale Entschlackung für alle Überschriften */
h1, h2, h3, h4, .score-value, .radar-header {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* Gezieltes Scoping für Überschriften in den Panels */
.panel h2, .view-section h2, .auth-box h2 {
    margin-top: 0;
    font-size: 1.15em; /* Deutlich eleganter als der Standard */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Feiner, durchgezogener Strich statt klobigem dashed */
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--ui-highlight);
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* =========================================
   CYBER-SCROLLBARS (Global)
   ========================================= */
/* Für Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 80, 0, 0.5) rgba(0, 0, 0, 0.2);
}

/* Für Chrome, Edge, Safari, Opera */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 100, 50, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 80, 0, 0.5);
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(255, 50, 0, 0.8);
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 100, 0, 0.9);
        box-shadow: 0 0 10px rgba(255, 100, 0, 0.8);
    }

::-webkit-scrollbar-corner {
    background: transparent;
}