:root { --fondo: #060605; --caja: #14120E; --texto: #EDE6D6; --tenue: #8D8676; --acento: #E8C27A; --borde: rgba(232,194,122,.35); }
:root[data-tema="ana"] { --fondo: #F4F8F8; --caja: #FFFFFF; --texto: #15323B; --tenue: #5B7280; --acento: #0E7C86; --borde: rgba(14,124,134,.3); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 16px; background: var(--fondo); color: var(--texto); font: 15px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.caja { width: 100%; max-width: 380px; background: var(--caja); border: 1px solid var(--borde); border-radius: 22px; padding: 28px 22px; display: flex; flex-direction: column; gap: 12px; }
.logo { width: 48px; height: 48px; align-self: center; }
h1 { margin: 0; text-align: center; font: 600 22px Georgia, serif; color: var(--acento); }
.sub { margin: 0; text-align: center; color: var(--tenue); font-size: 13px; }
form { display: flex; flex-direction: column; gap: 10px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--tenue); }
input { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--borde); background: transparent; color: var(--texto); font: inherit; font-size: 16px; }
input:focus { outline: none; border-color: var(--acento); }
button { padding: 12px; border-radius: 12px; border: 0; background: var(--acento); color: var(--fondo); font: 600 15px system-ui, sans-serif; cursor: pointer; }
:root[data-tema="ana"] button { color: #fff; }
button.link { background: none; color: var(--tenue); font-weight: 400; padding: 4px; }
.error { min-height: 1em; margin: 0; color: #E08A6A; text-align: center; font-size: 13px; }
