/* System Page Specific Styles */

.system-status-card {
    transition: transform 0.2s ease-in-out;
}

.system-status-card:hover {
    transform: translateY(-2px);
}

.system-metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.system-metric-label {
    font-size: 0.875rem;
    color: var(--tblr-muted);
    margin-bottom: 0.5rem;
}

.system-progress-bar {
    height: 8px;
    border-radius: 4px;
}

.disk-usage-item {
    padding: 1rem;
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    margin-bottom: 1rem;
    background: var(--tblr-card-bg);
}

.disk-usage-item:last-child {
    margin-bottom: 0;
}

.disk-mount-point {
    font-weight: 600;
    color: var(--tblr-primary);
}

.disk-usage-stats {
    font-size: 0.875rem;
    color: var(--tblr-muted);
}

.disk-percentage {
    font-weight: 600;
    color: var(--tblr-emphasis-color);
}

.load-average-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tblr-primary);
    margin-bottom: 0.25rem;
}

.load-average-label {
    font-size: 0.75rem;
    color: var(--tblr-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uptime-display {
    text-align: center;
    padding: 1rem;
}

.uptime-days {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tblr-info);
    line-height: 1;
}

.uptime-subtitle {
    font-size: 0.875rem;
    color: var(--tblr-muted);
    margin-top: 0.5rem;
}

.uptime-breakdown {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.uptime-breakdown-item {
    text-align: center;
}

.uptime-breakdown-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tblr-emphasis-color);
}

.uptime-breakdown-label {
    font-size: 0.75rem;
    color: var(--tblr-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status indicators */
.status-healthy {
    color: var(--tblr-success);
}

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

.status-critical {
    color: var(--tblr-danger);
}

/* Refresh button animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.refreshing .ti-refresh {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .system-metric-value {
        font-size: 1.5rem;
    }

    .uptime-days {
        font-size: 2rem;
    }

    .load-average-value {
        font-size: 1.25rem;
    }

    .uptime-breakdown {
        flex-direction: column;
        gap: 0.5rem;
    }

    .last-update-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .uptime-days {
        font-size: 1.75rem;
    }

    .system-metric-value {
        font-size: 1.25rem;
    }
}