/* ============================================================
   Cuckold — auth.css
   Splash +18, login y registro (sans-serif)
   Tipografía +25% · logos +50% · depende de main.css
   ============================================================ */

.auth-page { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

.auth-header { text-align: center; padding: 32px 16px 0; }
.auth-header img { width: 100%; max-width: 345px; }

.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 40px; }
.auth-card {
  width: 100%; max-width: 480px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
}

/* Toggle login/registro */
.mode-toggle { display: flex; background: var(--bg3); border-bottom: 1px solid var(--border); }
.mode-btn {
  flex: 1; padding: 16px; text-align: center; font-size: 18px; font-weight: 500;
  color: var(--text3); cursor: pointer; transition: all .2s;
  border: none; background: none; font-family: var(--font); text-decoration: none;
}
.mode-btn:hover { text-decoration: none; }
.mode-btn.active { background: var(--bg2); color: var(--accent2); box-shadow: inset 0 -2px 0 var(--accent); }

/* Form */
.form-wrap { padding: 28px; }
.form-title { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-sub { font-size: 16px; color: var(--text3); margin-bottom: 24px; }

/* Stepper */
.stepper { display: flex; align-items: center; margin-bottom: 28px; }
.step-item { display: flex; align-items: center; flex: 1; }
.step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; flex-shrink: 0; transition: all .3s;
}
.step-circle.done { background: var(--accent); color: #fff; }
.step-circle.active { background: var(--accent); color: #fff; box-shadow: 0 0 0 3px rgba(139,92,246,.25); }
.step-circle.pending { background: var(--bg3); color: var(--text3); border: 1px solid var(--border); }
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 4px; transition: background .3s; }
.step-line.done { background: var(--accent); }

/* Inputs */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 15px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  font-family: var(--font); font-size: 17px; outline: none; transition: border-color .2s;
}
.field select { background-image: var(--sel-arrow); background-repeat: no-repeat; background-position: right 13px center; background-size: 12px; padding-right: 36px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder { color: var(--text3); }
.field textarea { resize: vertical; min-height: 90px; }
.field .field-err { color: var(--red); font-size: 15px; margin-top: 5px; }
.field input.invalid, .field select.invalid { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Autocompletado de ciudad (Georef) */
.suggest-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  background: var(--bg3); border: 1px solid var(--accent);
  border-radius: 0 0 10px 10px; max-height: 240px; overflow-y: auto; display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.suggest-geo {
  padding: 10px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  border-bottom: 1px solid var(--border);
}
.suggest-geo:last-child { border-bottom: none; }
.suggest-geo:hover { background: var(--bg4); }
.suggest-geo strong { font-size: 15px; color: var(--text); font-weight: 600; }
.suggest-geo span { font-size: 13px; color: var(--text3); }
.suggest-empty { padding: 10px 14px; font-size: 14px; color: var(--text3); }

/* Checkboxes (busco) */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 12px; cursor: pointer;
  transition: all .2s; font-size: 16px; color: var(--text2); user-select: none;
}
.check-item.selected { border-color: var(--accent); background: rgba(139,92,246,.12); color: var(--accent3); }
.check-item input { display: none; }

/* Botones del form */
.btn-submit {
  width: 100%; padding: 14px; border-radius: 12px;
  background: transparent; border: 1px solid var(--accent); color: var(--accent2); font-family: var(--font);
  font-size: 19px; font-weight: 600; cursor: pointer; transition: all .2s; margin-top: 8px;
}
.btn-submit:hover { background: rgba(139,92,246,.15); color: var(--accent2); text-decoration: none; }
.btn-back {
  width: 100%; padding: 12px; border-radius: 12px;
  border: 1px solid var(--border); background: none; color: var(--text2);
  font-family: var(--font); font-size: 18px; cursor: pointer; transition: all .2s; margin-top: 8px;
}
.btn-back:hover { border-color: var(--accent2); color: var(--accent2); }

.divider-text { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text3); margin: 16px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.link-btn { color: var(--accent2); cursor: pointer; font-weight: 500; font-size: 16px; }
.link-btn:hover { color: var(--accent3); }

.terms-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 15px; color: var(--text3); }
.terms-row input { margin-top: 3px; accent-color: var(--accent); }

/* Banner de errores */
.error-banner {
  background: rgba(244,63,94,.1); border: 1px solid rgba(244,63,94,.3);
  color: #fda4af; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: 16px;
}
.error-banner ul { margin: 0; padding-left: 18px; }
.error-banner li { margin: 2px 0; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.step-panel { animation: fadeIn .3s ease; }

/* ── Splash +18 ── */
.splash { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; z-index: 1; }
.splash-box {
  text-align: center; max-width: 460px; padding: 44px 40px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 20px;
}
.splash-box img { width: 100%; max-width: 330px; margin-bottom: 0; }
.splash-title { font-size: 33px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.splash-sub { font-size: 17px; color: var(--text2); line-height: 1.6; margin-bottom: 24px; }
.splash-warning {
  font-size: 15px; color: var(--text3); background: var(--bg3);
  border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; margin-bottom: 24px; line-height: 1.5;
}
/* .btn-splash movido a main.css: el age-gate es overlay global y auth.css no carga en el feed */
