:root, :root[data-theme="noche"] {
  --bg: #0B0B0D; --fg: #f2f2f0; --muted: #a9a9a2; --line: #26261f;
  --accent: #B8F500; --accent-fg: #0B0B0D; --field: #1e1e22; --field-line: #33333a;
  --danger: #ff6b6b;
}
:root[data-theme="lima"] {
  --bg: #fff; --fg: #16161a; --muted: #62625c; --line: #e5e5e0;
  --accent: #7a8f00; --accent-fg: #fff; --field: #fff; --field-line: #ccc;
  --danger: #b3261e;
}
html, body { background: var(--bg); }

.signup { max-width: 22rem; margin: 3rem auto; padding: 0 1.25rem; font-family: system-ui, sans-serif; color: var(--fg); }
.signup h1 { font-size: 1.25rem; }
.signup form { display: grid; gap: .6rem; }
.signup__names { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.signup input[type="text"], .signup input[type="email"], .signup input[type="password"] {
  width: 100%; box-sizing: border-box; padding: .6rem; border: 1px solid var(--field-line);
  border-radius: 6px; font-size: .95rem; background: var(--field); color: var(--fg);
}
.signup input::placeholder { color: var(--muted); }
.signup button[type="submit"] {
  width: 100%; box-sizing: border-box; padding: .75rem; border: 0; border-radius: 8px;
  background: var(--accent); color: var(--accent-fg); font-size: 1rem; font-weight: 600;
  cursor: pointer; -webkit-appearance: none; appearance: none;
}
.signup__pw { position: relative; display: grid; }
.signup__pw input { padding-right: 2.6rem; }
.signup__eye {
  position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border: 0; background: none; color: var(--muted); cursor: pointer;
}
.signup__eye svg { width: 1.2rem; height: 1.2rem; }
.signup__eye[aria-pressed="true"] { color: var(--accent); }
.signup__errors { color: var(--danger); font-size: .85rem; margin: 0 0 .5rem; }
.signup__hint { margin: -.3rem 0 0; font-size: .78rem; color: var(--muted); }
.signup__terms { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.signup__terms input { width: auto; margin-top: .15rem; }
.signup__alt { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.signup__alt a, .signup__terms a { color: var(--accent); }
