/* Base Variables */
:root {
    --bg-color: #0d0d0d;
    --card-bg: rgba(30, 30, 30, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary-color: #6c5ce7;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --error-color: #d63031;
    --text-main: #ffffff;
    --text-secondary: #b3b3b3;
    --blur-strength: 12px;
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* Container */
.status-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header */
.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.last-check {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Overall Status */
.overall-status {
    background: rgba(0, 184, 148, 0.1);
    /* Default Green tint */
    border: 1px solid rgba(0, 184, 148, 0.3);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--success-color);
}

.overall-status .material-icons-round {
    font-size: 3rem;
}

.overall-status h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    /* Safari support */
    border: 1px solid var(--card-border);
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-name {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Status Colors */
.status-operational {
    color: var(--success-color);
}

.status-degraded {
    color: var(--warning-color);
}

.status-outage {
    color: var(--error-color);
}

/* Footer */
.status-footer {
    margin-top: auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
}

.status-operational .status-dot {
    box-shadow: 0 0 8px rgba(0, 184, 148, 0.6);
}