@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --dark:   #292E32;
    --yellow: #FAC644;
    --teal:   #275E70;
    --red:    #E82525;
    --bg:     #f4f3f0;
    --card:   #ffffff;
    --border: rgba(0,0,0,.1);
    --text:   #292E32;
    --muted:  #8a8a8a;
    --bebas:  'Bebas Neue', sans-serif;
    --inter:  'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: var(--inter);
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ── Auth (login / registro) ─────────────────────────────── */
.auth-wrap {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px 36px;
}

.auth-logo { display: block; text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 34px; }

.auth-card h1 {
    font-family: var(--bebas);
    font-size: 32px;
    letter-spacing: .03em;
    text-align: center;
    margin-bottom: 6px;
}

.auth-sub {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 24px;
}

.auth-err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}
.auth-err ul { padding-left: 18px; }

.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: 6px;
}

.input {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 12px 14px;
    font-size: 16px;
    font-family: var(--inter);
    border-radius: 0;
}
.input:focus { outline: none; border-color: var(--dark); }

.auth-btn {
    width: 100%;
    border: none;
    background: var(--dark);
    color: var(--yellow);
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 8px;
    transition: opacity .15s;
}
.auth-btn:hover { opacity: .85; }

.auth-alt {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 20px;
}
.auth-alt a { color: var(--teal); font-weight: 600; }

.auth-back {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
}
.auth-back:hover { color: var(--text); }

/* ── Footer mínimo (compartido vía inc/footer.php) ────────── */
.foot-mini {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}
.foot-mini p { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .03em; }
.foot-mini-links { display: flex; gap: 20px; }
.foot-mini-links a { font-size: 11px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.foot-mini-links a:hover { color: var(--yellow); }
@media (max-width: 480px) {
    .foot-mini { flex-direction: column; text-align: center; gap: 8px; }
}
