/* Obby Lab · estilos de las pantallas de acceso (login y registro), servidas sin sesión */
:root { --ground: #EDF1F7; --surface: #fff; --ink: #1B2130; --ink-2: #56617A; --line: #D8DFEA; --blue: #2F6FE4; --blue-ink: #1B4FB5; --red: #D9463B; --red-soft: #FCE4E1; --yellow: #F2B632; --grid: rgba(47,111,228,.085); color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --ground: #0F1219; --surface: #181D2A; --ink: #EDF0F6; --ink-2: #A7B0C4; --line: #2B3345; --blue: #5B8DF2; --blue-ink: #9DBBFF; --red: #F06A5E; --red-soft: #3C201D; --grid: rgba(91,141,242,.07); color-scheme: dark; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 20px; color: var(--ink); background: var(--ground);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px;
  font-family: 'Nunito', system-ui, sans-serif; font-size: 17px; line-height: 1.5; }
.tarjeta { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; box-shadow: 0 8px 24px rgba(27,33,48,.09); text-align: center; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 700; font-size: 1.6rem; }
.logo svg { width: 44px; height: 44px; }
h1 { font-family: 'Fredoka', 'Nunito', sans-serif; font-weight: 600; font-size: 1.55rem; margin: 18px 0 4px; line-height: 1.2; }
p { margin: .4rem 0; color: var(--ink-2); }
form { display: grid; gap: 8px; margin-top: 18px; text-align: left; }
label { font-weight: 800; font-size: .95rem; margin-top: 6px; }
input, select { font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
input:focus { border-color: var(--blue); outline: none; }
.fila { display: flex; gap: 8px; align-items: center; }
.fila input { flex: 1; }
.ojo { font: inherit; border: 2px solid var(--line); background: var(--surface); border-radius: 12px; min-width: 48px; min-height: 48px; cursor: pointer; }
button.entrar { font: inherit; font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--blue); border: 0; border-radius: 14px; min-height: 52px; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); margin-top: 10px; }
button.entrar[disabled] { opacity: .6; cursor: wait; }
.error { background: var(--red-soft); border: 1px solid var(--red); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.pie { margin-top: 18px; font-size: .95rem; }
.pie a { color: var(--blue-ink); font-weight: 700; }
:is(input, button, select, a):focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
