:root {
    --admp-bg: #0d1117;
    --admp-card: #161b22;
}

body {
    min-height: 100vh;
}

/* Tweaks per readability log/htop */
.font-monospace, code, pre {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.log-stream {
    background: #0d1117;
    color: #c9d1d9;
    padding: 12px 14px;
    border-radius: 6px;
    height: 60vh;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}
.log-stream .ts { color: #8b949e; }
.log-stream .err { color: #f85149; }
.log-stream .warn { color: #d29922; }

.cron-row td { vertical-align: middle; }
.cron-expr {
    font-family: ui-monospace, monospace;
    background: var(--bs-secondary-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.metric-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 14px 16px;
}
.metric-card .metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--bs-secondary-color);
}
.metric-card .metric-value {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
}

/* HTMX: indicatore di richiesta in corso */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
}
