/* =============================================================================
   DATEI: /portal_style.css
   Project: CentralStation - Sentinel Glow 2.0 (Premium & Responsive Redesign)
   Version: 7.0.0
   BESCHREIBUNG:
   - Modernisiertes Design-System mit Fokus auf visuelle Eleganz und mobile Nutzbarkeit.
   - Hochwertige Glassmorphic-Effekte, geschmeidige Verläufe und feine Schatten.
   - Vollständig responsive Anpassung für mobile Endgeräte (Drawer-Sidebar).
   ========================================================================== */

/* ========================================================================== */
/* 1. Globale Variablen (Design-System Tokens)
/* ========================================================================== */
:root {
    /* Day Mode (Light) */
    --bg-color: #f3f5f8;
    --text-color: #1e2229;
    --text-muted: #5d6778;
    --container-bg: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    
    /* Accent Colors */
    --accent-cyan: #0099cc;
    --accent-pink: #e0338f;
    --accent-purple: #7a4ad1;
    --accent-teal: #1dbf97;
    --accent-orange: #f97316;
    --accent-yellow: #eab308;
    --accent-green: #15803d;
    --accent-blue: #2563eb;
    
    /* Glow Effects (Subtle for Light Mode) */
    --glow-cyan: 0 4px 20px rgba(0, 153, 204, 0.15);
    --glow-pink: 0 4px 20px rgba(224, 51, 143, 0.15);
    --glow-purple: 0 4px 20px rgba(122, 74, 209, 0.15);
    --glow-yellow-subtle: 0 4px 15px rgba(234, 179, 8, 0.08);
    --glow-cyan-subtle: 0 4px 15px rgba(0, 153, 204, 0.08);
    --glow-pink-subtle: 0 4px 15px rgba(224, 51, 143, 0.08);
    --glow-purple-subtle: 0 4px 15px rgba(122, 74, 209, 0.08);
    
    /* Component Tokens */
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.06);
    --sidebar-bg: #ffffff;
    --table-header-bg: #f8fafc;
    --row-even-bg: rgba(0, 0, 0, 0.015);
    --row-hover-bg: rgba(0, 153, 204, 0.05);
    --table-border-color: rgba(0, 0, 0, 0.05);
    --link-color: #0077b6;
    --header-bg: rgba(255, 255, 255, 0.85);
    --sidebar-text-hover: #0f172a;
}

body.dark-mode {
    /* Night Mode - Premium Cyber Glow */
    --bg-color: #080b10;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --container-bg: rgba(15, 23, 42, 0.6);
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);

    --accent-cyan: #06b6d4;
    --accent-pink: #f43f5e;
    --accent-purple: #a855f7;
    --accent-teal: #14b8a6;
    --accent-orange: #f97316;
    --accent-yellow: #eab308;
    --accent-green: #22c55e;
    --accent-blue: #3b82f6;
    
    --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.3);
    --glow-pink: 0 0 25px rgba(244, 63, 94, 0.3);
    --glow-purple: 0 0 25px rgba(168, 85, 247, 0.3);
    --glow-cyan-subtle: 0 8px 30px rgba(6, 182, 212, 0.12);
    --glow-pink-subtle: 0 8px 30px rgba(244, 63, 94, 0.12);
    --glow-purple-subtle: 0 8px 30px rgba(168, 85, 247, 0.12);
    --glow-yellow-subtle: 0 8px 30px rgba(234, 179, 8, 0.12);

    --card-bg: rgba(15, 23, 42, 0.7);
    --card-border: rgba(255, 255, 255, 0.07);
    --sidebar-bg: rgba(10, 15, 30, 0.95);
    --table-header-bg: rgba(30, 41, 59, 0.5);
    --row-even-bg: rgba(255, 255, 255, 0.01);
    --row-hover-bg: rgba(6, 182, 212, 0.08);
    --table-border-color: rgba(255, 255, 255, 0.04);
    --link-color: #38bdf8;
    --header-bg: rgba(10, 15, 30, 0.85);
    --sidebar-text-hover: #ffffff;
}

/* ========================================================================== */
/* 2. Base Styling & Typography
/* ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, .heading-accent {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

/* Globaler Override gegen klobige Inline-Schriftstärken */
[style*="font-weight:950"], [style*="font-weight: 950"],
[style*="font-weight:900"], [style*="font-weight: 900"],
[style*="font-weight:850"], [style*="font-weight: 850"],
[style*="font-weight:800"], [style*="font-weight: 800"] {
    font-weight: 600 !important;
}

a { color: var(--link-color); text-decoration: none; transition: all 0.2s ease; }
a:hover { filter: brightness(1.2); }

/* ========================================================================== */
/* 3. Responsive Page Layout
/* ========================================================================== */
.page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.content-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-width: 0;
    position: relative;
}

/* Main Column containing Header & Scrollable Content */
.main-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    position: relative;
}

.global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--header-bg);
    color: var(--text-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
    padding-bottom: 100px;
}

/* Premium Sidebar Layout */
.sidebar {
    width: 270px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid var(--glass-border);
    padding: 25px;
    flex-shrink: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--glass-border) transparent;
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1100;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.sidebar-nav h3 {
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 25px 0 12px 15px;
    font-weight: 700;
}

.sidebar-nav ul { list-style: none; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: var(--text-muted);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 3px;
}

.sidebar-nav a:hover {
    background: var(--row-hover-bg);
    color: var(--sidebar-text-hover);
    transform: translateX(4px);
}

.sidebar-nav a.active {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    font-weight: 600;
    box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.05);
}

/* Sidebar Toggle & Backdrop on Mobile */
#sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.3rem;
    cursor: pointer;
    margin-right: 15px;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.2s;
}
#sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

#sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    animation: fade-in 0.25s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================================================== */
/* 4. Unified Grid System & Dashboard Widgets
/* ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.widget-container {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.widget-large {
    grid-column: span 2;
}

/* Drag Handle */
.drag-handle {
    cursor: grab;
    padding: 2px 10px;
    color: var(--text-muted);
    opacity: 0.2;
    transition: opacity 0.2s;
    display: flex;
    justify-content: flex-start;
    font-size: 0.8rem;
}
.widget-container:hover .drag-handle { opacity: 0.8; }

/* Premium Cards */
.cs-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .cs-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* Card Variations for Accents */
.cs-card.cyan {
    border-top: 3px solid var(--accent-cyan);
}
.cs-card.cyan:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan-subtle);
}

.cs-card.yellow {
    border-top: 3px solid var(--accent-yellow);
}
.cs-card.yellow:hover {
    border-color: var(--accent-yellow);
    box-shadow: var(--glow-yellow-subtle);
}

.cs-card.purple {
    border-top: 3px solid var(--accent-purple);
}
.cs-card.purple:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple-subtle);
}

.cs-card.pink {
    border-top: 3px solid var(--accent-pink);
}
.cs-card.pink:hover {
    border-color: var(--accent-pink);
    box-shadow: var(--glow-pink-subtle);
}

.cs-card.green {
    border-top: 3px solid var(--accent-green);
}
.cs-card.green:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.1);
}

/* Modern Widgets Specifics */
.cs-widget {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.widget-header-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid var(--glass-border);
}

.cs-card.cyan .icon-box { background: rgba(6, 182, 212, 0.05); color: var(--accent-cyan); }
.cs-card.yellow .icon-box { background: rgba(234, 179, 8, 0.05); color: var(--accent-yellow); }
.cs-card.purple .icon-box { background: rgba(168, 85, 247, 0.05); color: var(--accent-purple); }
.cs-card.pink .icon-box { background: rgba(244, 63, 94, 0.05); color: var(--accent-pink); }
.cs-card.green .icon-box { background: rgba(34, 197, 94, 0.05); color: var(--accent-green); }

/* Unified Stats Typography */
.cs-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -0.03em;
    color: var(--text-color);
}
.cs-card.cyan .cs-stat-value { text-shadow: 0 0 15px rgba(6, 182, 212, 0.15); }
.cs-card.pink .cs-stat-value { text-shadow: 0 0 15px rgba(244, 63, 94, 0.15); }
.cs-card.purple .cs-stat-value { text-shadow: 0 0 15px rgba(168, 85, 247, 0.15); }

.cs-stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.cs-card-footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
    margin-top: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* ========================================================================== */
/* 5. Modules, Tabellen & Forms
/* ========================================================================== */
.module-nav {
    margin-bottom: 30px;
    background: var(--glass-bg);
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-x: auto;
}
.module-nav::-webkit-scrollbar { display: none; }

.module-nav a {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    white-space: nowrap;
}
.module-nav a i { font-size: 0.85rem; }

.module-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}
.module-nav a.active {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    margin-bottom: 25px;
}

.central-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.central-table th {
    background: var(--table-header-bg);
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    font-weight: 600;
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.central-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--table-border-color);
    color: var(--text-color);
    font-size: 0.85rem;
    transition: background 0.2s;
}

.central-table tbody tr:nth-child(even) { background: var(--row-even-bg); }
.central-table tbody tr:hover { background: var(--row-hover-bg); }

/* Badges */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.cs-badge-cyan   { background: rgba(6, 182, 212, 0.1);  color: var(--accent-cyan);   border-color: rgba(6, 182, 212, 0.15); }
.cs-badge-pink   { background: rgba(244, 63, 94, 0.1);  color: var(--accent-pink);   border-color: rgba(244, 63, 94, 0.15); }
.cs-badge-purple { background: rgba(168, 85, 247, 0.1); color: var(--accent-purple); border-color: rgba(168, 85, 247, 0.15); }
.cs-badge-green  { background: rgba(34, 197, 94, 0.1);  color: var(--accent-green);  border-color: rgba(34, 197, 94, 0.15); }
.cs-badge-orange { background: rgba(249, 115, 22, 0.1);  color: var(--accent-orange); border-color: rgba(249, 115, 22, 0.15); }
.cs-badge-blue   { background: rgba(59, 130, 246, 0.1);  color: var(--accent-blue);   border-color: rgba(59, 130, 246, 0.15); }
.cs-badge-yellow { background: rgba(234, 179, 8, 0.1);   color: var(--accent-yellow); border-color: rgba(234, 179, 8, 0.15); }
.cs-badge-grey   { background: rgba(255, 255, 255, 0.05); color: var(--text-muted);    border-color: var(--glass-border); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary { 
    background: var(--accent-cyan); 
    color: #000000; 
    box-shadow: var(--glow-cyan-subtle);
}
.btn-primary:hover { 
    background: #ffffff;
    transform: translateY(-2px); 
    box-shadow: var(--glow-cyan);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

/* ========================================================================== */
/* 6. Media Queries & Responsive Styling (CRITICAL)
/* ========================================================================== */

/* Desktop Collapsed Sidebar options / Normal layout */
@media (min-width: 992px) {
    .sidebar.collapsed {
        width: 80px;
        padding: 25px 15px;
    }
    .sidebar.collapsed .sidebar-nav h3 {
        display: none;
    }
    .sidebar.collapsed .sidebar-nav a {
        justify-content: center;
        padding: 12px;
    }
    .sidebar.collapsed .sidebar-nav a span {
        display: none;
    }
}

/* Medium & Small Viewports (Tablets / Phones) */
@media (max-width: 991px) {
    #sidebar-toggle {
        display: inline-block;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        z-index: 1100;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    #sidebar-backdrop.active {
        display: block;
    }
    
    .global-header {
        padding: 12px 20px;
    }
    
    .main-content {
        padding: 20px 20px;
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .widget-large {
        grid-column: span 2;
    }
}

/* Phone Viewports */
@media (max-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .widget-large {
        grid-column: span 1;
    }
    
    .global-header {
        padding: 10px 15px;
    }
    
    .header-brand h1 {
        font-size: 1.25rem;
    }
    
    .main-content {
        padding: 15px 15px 80px 15px;
    }
    
    .header-controls .user-info span {
        display: none; /* Hide admin/user badges on very small phones to prevent overflow */
    }
    
    .stop-btn {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
}

/* ========================================================================== */
/* 7. Filigrane Hilfsklassen & Premium UI Overlays (NEU)
/* ========================================================================== */

/* Premium Glassmorphic Inputs */
.cs-input {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-color) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
.cs-input:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 10px rgba(6, 182, 212, 0.15) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}
.cs-input option {
    background: #0f172a !important;
    color: #fff !important;
}
select.cs-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 32px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    color: #fff !important;
    background-color: rgba(15, 23, 42, 0.8) !important;
}
.cs-input-mono {
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 500 !important;
}

/* Custom Checkbox Container */
.cs-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}
.cs-checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.cs-checkbox-wrapper input[type="checkbox"]:checked {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}
.cs-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #000;
    font-size: 0.65rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Premium Card Box Design */
.cs-card-premium {
    background: rgba(15, 23, 42, 0.3) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}
.cs-card-premium:hover {
    border-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-2px);
}

/* Terminal & Log Styling */
.terminal-scanline {
    position: relative;
    overflow: hidden;
}
.terminal-scanline::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0.2;
}
.terminal-scanline::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.4) 120%);
    pointer-events: none;
    z-index: 11;
}

/* Custom Scrollbar for Terminals and Lists */
.cs-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.cs-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.cs-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}
.cs-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Modals Overlay & Layouts */
.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.custom-modal-overlay.active {
    display: flex;
}
.custom-modal-v2 {
    background: #0b0f19;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}
