/* --- STATUS PAGE STYLES --- */

html, body {
    overflow-y: auto !important; /* Scrollen erlauben */
    height: auto !important;
}

::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

.status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 80px 20px;
    min-height: 100vh;
}

/* --- HEADER --- */
.status-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

/* Breadcrumb (Wiederverwendet) */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.bc-home-icon { color: #a1a1aa; display: flex; text-decoration: none; }
.bc-home-icon:hover { color: white; }
.bc-separator { color: #52525b; display: flex; }
.bc-current { color: var(--primary-orange); font-weight: 600; font-size: 0.95rem; }

.status-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0 0 10px 0;
}

.status-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
    margin: 0;
}

/* --- GLOBAL STATUS BAR --- */
.global-status {
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    border: 1px solid transparent;
}

/* Status: Operational (Green) */
.global-status.operational {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
/* Status: Issues (Orange) - Beispiel */
.global-status.issues {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
    color: #f97316;
}

.gs-icon svg { width: 32px; height: 32px; }

.gs-text h3 { margin: 0; font-size: 1.2rem; }
.gs-text span { font-size: 0.9rem; opacity: 0.8; }


/* --- LEGEND --- */
.status-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- THE DOTS (Pulsierend) --- */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

/* Pulse Effect */
.dot::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px;
    right: -2px; bottom: -2px;
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Farben */
.dot.operational { background-color: #22c55e; box-shadow: 0 0 5px #22c55e; }
.dot.operational::after { background-color: #22c55e; }

.dot.degraded { background-color: #eab308; box-shadow: 0 0 5px #eab308; } /* Gelb */
.dot.degraded::after { background-color: #eab308; }

.dot.maintenance { background-color: #f97316; box-shadow: 0 0 5px #f97316; } /* Orange */
.dot.maintenance::after { background-color: #f97316; }

.dot.outage { background-color: #ef4444; box-shadow: 0 0 5px #ef4444; } /* Rot */
.dot.outage::after { background-color: #ef4444; }


/* --- GRID --- */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive */
    gap: 24px;
}

/* Card Style (Wie Screenshot) */
.status-card {
    background-color: #0c0b09;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.status-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Card Header */
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}

.card-head h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.head-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
}
.head-status.operational {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Liste der Services */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .status-title { font-size: 2.5rem; }
    .status-grid { grid-template-columns: 1fr; }
}