/**
 * Status Page Styles
 * Matches Landing Page Design (Dark Theme)
 */

/* Status Banner */
.status-banner {
    background: linear-gradient(
        180deg,
        rgba(25, 25, 25, 0.95) 0%,
        rgba(15, 15, 15, 0.98) 100%
    );
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: border-color 0.3s ease;
}

.status-banner.operational {
    border-color: rgba(16, 185, 129, 0.5);
}

.status-banner.degraded {
    border-color: rgba(245, 158, 11, 0.5);
}

.status-banner.outage {
    border-color: rgba(239, 68, 68, 0.5);
}

.status-indicator-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    background: rgba(107, 114, 128, 0.3);
    border: 3px solid rgba(107, 114, 128, 0.5);
    transition: all 0.3s ease;
}

.status-indicator-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6B7280;
    transform: translate(-50%, -50%);
    animation: pulse-subtle 2s ease-in-out infinite;
}

.status-indicator-large.operational {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10B981;
}

.status-indicator-large.operational::after {
    background: #10B981;
}

.status-indicator-large.degraded {
    background: rgba(245, 158, 11, 0.2);
    border-color: #F59E0B;
}

.status-indicator-large.degraded::after {
    background: #F59E0B;
}

.status-indicator-large.outage {
    background: rgba(239, 68, 68, 0.2);
    border-color: #EF4444;
}

.status-indicator-large.outage::after {
    background: #EF4444;
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.status-text {
    flex: 1;
}

.status-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #F0F0F0;
}

.status-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.70);
    margin: 0;
}

/* Services List */
.services-list {
    margin: 30px 0;
}

/* Service Item */
.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    transition: background-color 0.2s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-subtle 2s ease-in-out infinite;
}

.service-icon.operational {
    background: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.service-icon.degraded {
    background: #F59E0B;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.service-icon.outage {
    background: #EF4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #F0F0F0;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-status {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 500;
}

.service-response-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.50);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.loading-state p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 1rem;
    margin: 0;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.10);
    border-top-color: #DC2626;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Legal Footer Links */
.legal-footer .footer-links a {
    color: rgba(240, 240, 240, 0.60);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-footer .footer-links a:hover {
    color: #DC2626;
}

/* Responsive */
@media (max-width: 768px) {
    .status-banner {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .status-indicator-large {
        width: 50px;
        height: 50px;
    }

    .status-indicator-large::after {
        width: 16px;
        height: 16px;
    }

    .status-title {
        font-size: 1.5rem;
    }

    .status-description {
        font-size: 0.95rem;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 0;
    }

    .service-meta {
        width: 100%;
        justify-content: space-between;
    }

    .service-name {
        font-size: 1rem;
    }

    .service-status {
        font-size: 0.9rem;
    }

    .service-response-time {
        font-size: 0.8rem;
    }
}
