/* System Status Section */

.status-overall-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #10b981 !important;
    margin-top: 5px;
}

.status-pulse {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #10b981;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Category Labels */
.status-category-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35) !important;
    margin-bottom: 8px;
    margin-top: 8px;
    padding-left: 4px;
}

.status-category-label:first-of-type {
    margin-top: 0;
}

.status-grid {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 16px;
}

.status-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.status-row:first-child {
    padding-top: 0;
}

.status-service {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    flex-shrink: 0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.status-up {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    transition: box-shadow 0.8s ease;
}

.status-dot.status-down {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.status-dot.status-wip {
    background: #6b7280;
    box-shadow: 0 0 6px rgba(107, 114, 128, 0.3);
}

/* Coming Soon badge */
.status-badge-wip {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(107, 114, 128, 0.25);
    border: 1px solid rgba(107, 114, 128, 0.4);
    color: #9ca3af !important;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
}

.status-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.3px;
}

.status-bars {
    flex: 1;
    display: flex;
    gap: 2px;
    height: 28px;
    align-items: flex-end;
    margin: 0 20px;
}

.status-bar {
    flex: 1;
    border-radius: 2px;
    min-width: 3px;
    transition: opacity 0.2s ease;
    position: relative;
    cursor: default;
}

.status-bar.bar-up {
    background: #10b981;
    opacity: 0.7;
}

.status-bar.bar-up:hover {
    opacity: 1;
}

.status-bar.bar-incident {
    background: #f59e0b;
    opacity: 0.9;
}

.status-bar.bar-incident:hover {
    opacity: 1;
}

.status-bar.bar-down {
    background: #ef4444;
    opacity: 0.9;
}

.status-bar.bar-wip {
    background: #4b5563;
    opacity: 0.3;
}

.status-bar.bar-wip:hover {
    opacity: 0.5;
}

/* Tooltip */
.status-bar::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 10;
}

.status-bar:hover::after {
    opacity: 1;
}

.status-uptime {
    min-width: 65px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #10b981 !important;
    font-family: 'Roboto', monospace;
    flex-shrink: 0;
}

.status-uptime-wip {
    color: #6b7280 !important;
}

/* Legend */
.status-legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 5px 0;
}

.status-timerange {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-legend-items {
    display: flex;
    gap: 16px;
}

.status-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4) !important;
}

.status-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

.status-legend-up {
    background: #10b981;
    opacity: 0.7;
}

.status-legend-incident {
    background: #f59e0b;
    opacity: 0.9;
}

.status-legend-wip {
    background: #4b5563;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .status-grid {
        padding: 16px 14px;
    }

    .status-service {
        min-width: 150px;
    }

    .status-bars {
        margin: 0 12px;
    }

    .status-uptime {
        min-width: 50px;
        font-size: 13px;
    }

    .status-name {
        font-size: 13px;
    }

    .status-badge-wip {
        display: none;
    }

    .status-legend {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .status-service {
        min-width: 110px;
    }

    .status-bars {
        margin: 0 8px;
        height: 22px;
    }

    .status-bar::after {
        display: none;
    }
}
