/* Extracted styles from status.html */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.status-container {
    max-width: 1000px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.status-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.login-form input {
    border-radius: 50px;
    padding: 12px 20px;
}

.login-form button {
    border-radius: 50px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: bold;
}

.login-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.status-table {
    margin-top: 30px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-ok {
    background: #d4edda;
    color: #155724;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
}

.status-warning {
    background: #fff3cd;
    color: #856404;
}

.status-unknown {
    background: #e2e3e5;
    color: #383d41;
}

.overall-status {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
}

.overall-healthy {
    background: #d4edda;
    color: #155724;
}

.overall-degraded {
    background: #fff3cd;
    color: #856404;
}

.timestamp {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 20px;
}

.spinner-container {
    text-align: center;
    padding: 40px;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.details-text {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #6c757d;
    word-break: break-all;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
}

.auth-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    margin-left: 8px;
    font-weight: 600;
}

.role-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #e9ecef;
    font-size: 0.85rem;
}

/* Domain list styles */
.domains-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.domain-item {
    padding: 8px 12px;
    border-radius: 8px;
    background: #f1f3f5;
    display: inline-block;
    font-weight: 600;
}

.domain-item.https {
    background: #d4edda;
    color: #155724;
}
