/* =========================================
   SLD Tools - Zentrales Stylesheet
   ========================================= */

/* --- 1. GLOBALER RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- 2. GRUNDLAYOUT & TYPOGRAFIE (Safari Fixes inklusive) --- */
html, body {
    background-color: #000000; /* Erzwingt echtes Schwarz auch über den Scroll-Rand hinaus */
    color: #ffffff;
    /* Moderne Systemschriften (zwingt Apple-Geräte zu San Francisco statt Times New Roman) */
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    min-height: 100vh; /* Besser als height: 100vh für mobile Browser */
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Verhindert seitliches Wackeln/Scrollen */
    scrollbar-gutter: stable;
}

/* --- 3. NAVIGATIONSLEISTE (TABS) --- */
.navbar {
    background-color: #111111;
    border-bottom: 1px solid #333333;
    display: flex;
    width: 100%;
    z-index: 100;
    
    /* Standard für Handys: Links ausrichten und scrollen */
    overflow-x: auto; 
    white-space: nowrap; 
    -webkit-overflow-scrolling: touch; 
    justify-content: flex-start; 
    
    /* Versteckt den Scrollbalken */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.navbar::-webkit-scrollbar {
    display: none;
}

/* --- NEU: MEDIA QUERY FÜR DESKTOP --- */
/* Sobald der Bildschirm breiter als 768px ist (Tablets & PCs), zentrieren wir die Tabs! */
@media (min-width: 768px) {
    .navbar {
        justify-content: center; 
    }
}

.nav-tab {
    color: #888888;
    text-decoration: none;
    padding: 16px 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0; 
}

.nav-tab:hover {
    color: #ffffff;
    background-color: #1a1a1a;
}

.nav-tab.active {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
}

/* --- 4. HAUPTINHALT & CONTAINER --- */
.content-wrapper {
    flex: 1; /* Füllt den Platz unter der Leiste auf */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Verhindert, dass auf Handys der Rand berührt wird */
}

.container {
    text-align: center;
    width: 100%;
    max-width: 800px;
}

h1 {
    color: #444444;
    font-size: 1.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Generische dunkle Box für alle Tools */
.info-box {
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 40px 20px;
    margin: 20px 0;
    width: 100%;
}

/* --- 5. SLD AIR CUE SPEZIFISCH --- */
.active-title {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.active-cue {
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
}

.pending-title {
    color: #FF9800;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 5px;
}

.pending-cue {
    font-size: 3rem;
    color: #cccccc;
    margin: 0;
}

/* --- 6. STATUS ANZEIGEN (Global für SLD Air Cue und Fixture Finder) --- */
.status {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #555555;
    text-align: center;
}

.status span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #555555;
    border-radius: 50%;
    margin-right: 5px;
}

/* Grüne LED */
.status.online span {
    background-color: #4CAF50;
}

/* Rote LED */
.status.offline span {
    background-color: #F44336;
}
/* --- ISOLIERTE SLD LIVE VIEW STYLES --- */

/* Styling für den Active Cue (Jetzt kleiner!) */
.eos-active-number {
    color: #4CAF50; 
    font-size: 1.2em; /* Vorher 1.6em - jetzt deutlich kleiner */
    font-weight: bold;
    display: block; 
}
.eos-active-text {
    color: #ffffff; 
    font-size: 0.75em; 
    font-weight: normal; /* Das zwingt die Schrift, nicht mehr fett zu sein! */
    margin-top: 5px; 
    display: block; 
}
/* Styling für den Pending Cue */
.eos-pending-number {
    color: #FF9800; /* Das Orange passend zur Überschrift */
    font-size: 1.2em; /* Gleiche Größe wie Active Number */
    font-weight: bold;
    display: block;
}
.eos-pending-text {
    color: #cccccc; /* Leichtes Grau für Pending-Text */
    font-size: 0.9em; /* Größe bleibt normal */
    margin-top: 8px;
    display: block;
}
/* --- SLD AIR CUE ZOOM KONTROLLEN --- */
.eos-zoom-controls {
    display: flex;
    justify-content: center; /* Zentriert alles perfekt in der Mitte */
    align-items: center;
    gap: 15px; /* Abstand zwischen den Knöpfen und dem Wort */
    margin-top: 20px; /* Abstand zum oberen Bildschirmrand */
    margin-bottom: 10px;
}

.eos-zoom-label {
    color: #888888; /* Dezentes Grau */
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 2px;
}

.eos-zoom-btn {
    background-color: transparent; /* Kein störender Block-Hintergrund mehr */
    color: #888888;
    border: 1px solid #444444; /* Sehr dezenter Rahmen */
    border-radius: 6px;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.2s ease;
    
    /* Zentriert das + und - im Knopf */
    display: flex;
    justify-content: center;
    align-items: center;
}

.eos-zoom-btn:hover {
    background-color: #333333; /* Leichtes Aufhellen beim Tippen */
    color: #ffffff;
    border-color: #888888;
}
/* =========================================
   FOOTER (Copyright & Impressum)
   ========================================= */
.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #555555; 
    font-size: 0.85em;
    letter-spacing: 1px;
    width: 100%;
}

.site-footer a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff; 
    text-decoration: underline;
}
/* --- SUPPORT DASHBOARD (Monitoring) --- */
.support-container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mon-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #050505;
    color: #bbb;
    font-size: 13px;
    border: 1px solid #222;
}

.mon-table th {
    background-color: #111;
    color: #666;
    text-align: left;
    padding: 15px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    border-bottom: 2px solid #222;
}

.mon-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #1a1a1a;
}

/* Status-Lichter */
.mon-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mon-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
}

.mon-online { background-color: #00ff00; box-shadow: 0 0 10px #00ff00; }
.mon-offline { background-color: #ff3333; }

.mon-code {
    font-family: monospace;
    color: #00ff00;
    background: #111;
    padding: 3px 7px;
    border-radius: 3px;
}