/* --- Base Colors & Font --- */
:root {
    --bs-body-font-family: 'Inter', -apple-system, sans-serif;
    --bs-body-bg: #f1f5f9;
    --color-up: #10B981;
    --color-down: #EF4444;
}

/* --- Container Adjustment --- */
.container {
    max-width: 1100px;
    padding-top: 3rem;
}

/* --- Group Headers --- */
.group-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    width: 100%;
}

/* --- Status Card Styling --- */
.status-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem !important; /* 余白を少し詰める */
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-name {
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.service-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    word-break: break-all;
}

/* --- Status Badges --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem !important;
    border-radius: 9999px;
    font-size: 0.7rem !important;
    font-weight: 600;
}

.status-badge.operational { background-color: #d1fae5; color: #065f46; }
.status-badge.outage { background-color: #fee2e2; color: #991b1b; }

/* --- Global Status Banner --- */
#global-status-banner {
    border: none !important;
    border-radius: 16px !important;
}

#global-status-banner.bg-success { background: #10B981 !important; }
#global-status-banner.bg-danger { background: #EF4444 !important; }