/* Watchdog Service Monitor Styles - Main/Public */
/* Uses --theme-* variables from theme changer system */

/* Status Page Container */
.watchdog-status {
    max-width: 1000px;
    margin: 0 auto;
}

/* Overall Status Banner */
.watchdog-banner {
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.watchdog-banner.healthy {
    border-color: var(--theme-success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, var(--theme-bg-secondary) 100%);
}

.watchdog-banner.degraded {
    border-color: var(--theme-warning);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, var(--theme-bg-secondary) 100%);
}

.watchdog-banner.outage {
    border-color: var(--theme-error);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, var(--theme-bg-secondary) 100%);
}

.watchdog-banner-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.watchdog-banner-icon.healthy { color: var(--theme-success); }
.watchdog-banner-icon.degraded { color: var(--theme-warning); }
.watchdog-banner-icon.outage { color: var(--theme-error); }

.watchdog-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-text-heading);
    margin-bottom: 0.5rem;
}

.watchdog-banner-subtitle {
    font-size: 1rem;
    color: var(--theme-text-muted);
}

/* Stats Row */
.watchdog-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.watchdog-stat {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.watchdog-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text-heading);
}

.watchdog-stat-label {
    font-size: 0.875rem;
    color: var(--theme-text-muted);
    margin-top: 0.25rem;
}

/* Category Cards */
.watchdog-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.watchdog-category {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border-light);
    border-radius: 0.75rem;
    overflow: hidden;
}

.watchdog-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--theme-bg-hover);
    border-bottom: 1px solid var(--theme-border-light);
}

.watchdog-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.watchdog-category-title i {
    color: var(--theme-text-accent);
}

.watchdog-category-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.watchdog-category-status.operational {
    background: rgba(16, 185, 129, 0.15);
    color: var(--theme-success);
}

.watchdog-category-status.degraded {
    background: rgba(245, 158, 11, 0.15);
    color: var(--theme-warning);
}

.watchdog-category-status.outage {
    background: rgba(239, 68, 68, 0.15);
    color: var(--theme-error);
}

/* Service List */
.watchdog-services {
    padding: 0.5rem 0;
}

.watchdog-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--theme-border-light);
}

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

.watchdog-service-name {
    font-size: 0.9rem;
    color: var(--theme-text-primary);
}

.watchdog-service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.watchdog-service-status.healthy {
    color: var(--theme-success);
}

.watchdog-service-status.unhealthy {
    color: var(--theme-error);
}

.watchdog-service-status i {
    font-size: 0.7rem;
}

/* Last Updated */
.watchdog-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--theme-text-muted);
    font-size: 0.875rem;
}
