/* ─────────── Variables CSS ─────────── */
:root {
    --color-bg: #0f172a;
    --color-surface: #1e293b;
    --color-border: #334155;
    --color-text: #e2e8f0;
    --color-muted: #94a3b8;
    --color-primary: #38bdf8;
    --color-success: #22c55e;
    --color-danger: #ef4444;
    --radius: 10px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* ─────────── Base ─────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font);
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
/* ─────────── Card Base ─────────── */
.card {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
h1 {
    margin: 0 0 .5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
}
.subtitle {
    color: var(--color-muted);
    margin: 0 0 1.5rem;
    font-size: .95rem;
}
/* ─────────── Lista de Checks ─────────── */
ul.checks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
ul.checks li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: .95rem;
}
ul.checks li:last-child {
    border-bottom: none;
}
/* ─────────── Badges ─────────── */
.badge {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.badge.ok {
    background: rgba(34,197,94,.15);
    color: var(--color-success);
}
.badge.fail {
    background: rgba(239,68,68,.15);
    color: var(--color-danger);
}
/* ─────────── Código ─────────── */
code {
    background: rgba(148,163,184,.15);
    padding: .15rem .4rem;
    border-radius: 6px;
    font-size: .85em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
/* ─────────── Footer Note ─────────── */
.footer-note {
    margin-top: 1.5rem;
    font-size: .8rem;
    color: var(--color-muted);
    text-align: center;
}
/* ─────────── Utilidades Compartidas ─────────── */
.muted {
    color: #64748b;
}
.text-right {
    text-align: right;
}
/* ─────────── Alertas ─────────── */
.alert {
    padding: .75rem .9rem;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: .75rem;
    transition: opacity .3s;
}
.alert-success {
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #86efac;
}
.alert-error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
}
.alert.is-fading {
    opacity: 0;
}
/* ─────────── Placeholder Menú Público ─────────── */
.menu-public-placeholder {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}
.menu-public-placeholder .card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    max-width: 560px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    color: #0f172a;
}
/* ─────────── Responsive ─────────── */
@media (max-width: 576px) {
    body {
        padding: .5rem;
    }
    .card {
        padding: 1.5rem;
    }
    h1 {
        font-size: 1.3rem;
    }
}
