/* Status Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

.status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.2rem;
    color: #b8c5d6;
    margin-bottom: 20px;
}

.last-updated {
    font-size: 0.9rem;
    color: #8b9bb4;
    font-style: italic;
}

/* Overall Status */
.overall-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-info {
    flex: 1;
}

.status-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.services-text {
    font-size: 1rem;
    color: #b8c5d6;
    margin-bottom: 8px;
}

.response-time {
    font-size: 0.9rem;
    color: #8b9bb4;
}

.refresh-btn {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.refresh-btn.rotating svg {
    animation: rotate 1s linear;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.status-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.operational {
    background: #00d4aa;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.status-indicator.degraded {
    background: #ffa726;
    box-shadow: 0 0 20px rgba(255, 167, 38, 0.5);
}

.status-indicator.down {
    background: #ef5350;
    box-shadow: 0 0 20px rgba(239, 83, 80, 0.5);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.status-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #ffffff;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: #b8c5d6;
    font-size: 0.9rem;
}

.detail-item .value {
    font-weight: 500;
    color: #ffffff;
}

.detail-item .value.operational {
    color: #00d4aa;
}

.detail-item .value.degraded {
    color: #ffa726;
}

.detail-item .value.down {
    color: #ef5350;
}

/* Metrics Section */
.metrics-section {
    margin-bottom: 40px;
}

.metrics-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.metric-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.metric-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-label {
    color: #b8c5d6;
    font-size: 0.9rem;
}

.metric-value {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

/* Incidents Section */
.incidents-section {
    margin-bottom: 40px;
}

.incidents-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.incidents-list {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-incidents {
    text-align: center;
    color: #b8c5d6;
    font-style: italic;
    padding: 40px 20px;
}

.incident-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid #00d4aa;
    transition: all 0.3s ease;
}

.incident-item:last-child {
    margin-bottom: 0;
}

.incident-item.resolved {
    border-left-color: #00d4aa;
}

.incident-item.investigating {
    border-left-color: #ffa726;
}

.incident-item.identified {
    border-left-color: #ef5350;
}

.incident-item.maintenance {
    border-left-color: #4facfe;
}

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.incident-id {
    font-size: 0.9rem;
    color: #8b9bb4;
    font-family: 'Courier New', monospace;
}

.incident-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.incident-status.resolved {
    background: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
}

.incident-status.investigating {
    background: rgba(255, 167, 38, 0.2);
    color: #ffa726;
}

.incident-status.identified {
    background: rgba(239, 83, 80, 0.2);
    color: #ef5350;
}

.incident-status.monitoring {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

.incident-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.incident-description {
    color: #b8c5d6;
    margin-bottom: 12px;
    line-height: 1.5;
}

.incident-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #8b9bb4;
}

/* Footer */
.status-footer {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #4facfe;
}

.footer-info p {
    color: #8b9bb4;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-container {
        padding: 15px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .overall-status {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .incident-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .status-text {
        font-size: 1.5rem;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }

    .metric-card {
        padding: 20px;
    }

    .incident-item {
        padding: 16px;
    }
} 