:root {
    --bg: #f3f4f6;
    --card-bg: white;
    --text: #222;
    --accent: #0078d4;
}

.dark-mode {
    --bg: #151515;
    --card-bg: #222222;
    --text: #f0f0f0;
    --accent: #4ea3ff;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 30px;
    transition: 0.3s;
}

.container {
    max-width: 800px;
    margin: auto;
}

.header {
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

.label {
    font-size: 14px;
    color: #888;
}

.value {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent);
}

.timestamp {
    font-size: 16px;
}

.button-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 16px;
    cursor: pointer;
}

.status-loading {
    background: #e8f1ff;
    color: #005fb8;
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.status-good {
    background: #dff6dd;
    color: #107c10;
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.status-warning {
    background: #fff4ce;
    color: #8a6d00;
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.status-error {
    background: #fde7e9;
    color: #a4262c;
    padding: 10px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}