/**
 * OZARK ORACLE - Watchtower Dashboard Styles
 * Page-specific CSS for watchtower_dashboard.html
 *
 * Requires: quantum-theme.css loaded first
 */

/* === DASHBOARD GRID === */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--sp-lg);
    max-width: 1200px;
    margin: 0 auto var(--sp-2xl);
}

/* === SYSTEM STATUS === */

.system-status {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--sp-xl);
    background: var(--glass-bg);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-lg);
}

.go-status {
    font-size: var(--text-3xl);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: var(--sp-sm);
}

.go-status-ok {
    color: var(--success);
}

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

/* === STATUS INDICATOR === */

.status-indicator {
    padding: 2px 10px;
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    font-weight: bold;
}

.status-ok {
    background: rgba(0, 68, 0, 0.8);
    color: var(--success);
    border: 1px solid var(--success);
}

.status-fail {
    background: rgba(68, 0, 0, 0.8);
    color: var(--error);
    border: 1px solid var(--error);
}

/* === CHECK ITEMS === */

.check-item {
    margin-bottom: var(--sp-md);
    padding: var(--sp-md);
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--silver-darker);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.check-item-ok {
    border-left-color: var(--success);
}

.check-item-fail {
    border-left-color: var(--error);
}

.check-header {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    margin-bottom: var(--sp-xs);
}

.check-msg {
    font-size: var(--text-base);
    color: var(--white);
}

.check-time {
    color: var(--silver-dark);
    font-size: var(--text-xs);
}

.check-status-ok {
    color: var(--success);
}

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

/* === WATCHTOWER CARD === */

.wt-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-dim);
    padding: var(--sp-lg);
    position: relative;
    border-radius: var(--radius-md);
    transition: border-color var(--ease-normal), box-shadow var(--ease-normal);
}

.wt-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.wt-card-title {
    color: var(--gold);
    font-size: var(--text-lg);
    margin-bottom: var(--sp-md);
    border-bottom: 1px solid var(--glass-border-dim);
    padding-bottom: var(--sp-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === REFRESH NOTICE === */

.refresh-notice {
    text-align: center;
    margin-bottom: var(--sp-2xl);
    color: var(--silver-darker);
    font-size: var(--text-sm);
}

/* === ACTION LINKS === */

.action-links {
    text-align: center;
    margin-bottom: var(--sp-2xl);
}

.btn-action {
    display: inline-block;
    margin: 0 var(--sp-sm);
    color: var(--gold);
    text-decoration: none;
    border: 1px solid var(--gold);
    padding: var(--sp-sm) var(--sp-lg);
    border-radius: var(--radius-sm);
    transition: all var(--ease-normal);
    font-weight: bold;
}

.btn-action:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* === MOBILE === */

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
