/* Alemp Eventos — telas de acesso (login, convite, privacidade) */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #070b12;
  --surface:   #101623;
  --border:    #1f2c40;
  --text:      #eef4fa;
  --text-2:    #aab6c7;
  --muted:     #6b7a90;
  --neon:      #00e5ff;
  --roxo:      #7c4dff;
  --pink:      #ff2ec4;
  --erro:      #ff4d6d;
  --verde:     #00ff9d;
  --f-display: 'Orbitron', sans-serif;
  --f-body:    'Rajdhani', sans-serif;
}

html, body { height: 100%; }

body.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--f-body);
  font-size: 1.05rem;
  color: var(--text);
  background:
    radial-gradient(1000px 560px at 85% -10%, rgba(0, 229, 255, 0.13), transparent 60%),
    radial-gradient(900px 520px at -10% 112%, rgba(124, 77, 255, 0.13), transparent 60%),
    radial-gradient(700px 420px at 112% 108%, rgba(255, 46, 196, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

.login-card {
  width: 100%;
  max-width: 412px;
  background: linear-gradient(180deg, rgba(22, 30, 44, 0.92), rgba(13, 18, 28, 0.97));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 34px 24px;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.06), 0 30px 80px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.7), transparent);
}

.logo {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: 4px;
  text-align: center;
  color: var(--text);
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo img { filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.35)); }
.logo-nome span { color: var(--neon); }

.tagline {
  text-align: center;
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 8px 0 26px;
}

.alerta {
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.45);
  color: #ffb3c0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
}

.form-stack { display: flex; flex-direction: column; gap: 16px; }

.campo { display: flex; flex-direction: column; gap: 6px; }

.campo > span {
  font-family: var(--f-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-2);
}

.input-wrap { position: relative; color: var(--muted); }

.input-wrap svg {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  stroke: currentColor;
  pointer-events: none;
  transition: stroke 0.2s;
}

.campo input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-family: var(--f-body);
  font-size: 1.05rem;
  color: var(--text);
  background: rgba(7, 11, 18, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.campo input::placeholder { color: #55637a; }

.campo input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14), 0 0 18px rgba(0, 229, 255, 0.12);
}
.input-wrap:focus-within { color: var(--neon); }

/* Olho para mostrar/ocultar a senha (criado pelo auth.js). */
.input-wrap.com-olho input { padding-right: 48px; }
.ver-senha {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 8px;
  color: var(--muted); cursor: pointer;
}
.ver-senha:hover, .ver-senha[aria-pressed="true"] { color: var(--neon); }
.ver-senha:focus-visible { outline: 2px solid var(--neon); outline-offset: -2px; }
.input-wrap .ver-senha svg { position: static; transform: none; width: 20px; height: 20px; }

/* Corrige o autofill branco/azul do Chrome */
.campo input:-webkit-autofill,
.campo input:-webkit-autofill:hover,
.campo input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #0e141f inset;
  transition: background-color 9999s ease-in-out 0s;
}

.btn-neon {
  width: 100%;
  margin-top: 4px;
  padding: 13px 20px;
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #021014;
  background: linear-gradient(135deg, #00e5ff, #38b6ff);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s, filter 0.2s;
}
.btn-neon:hover {
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.5);
  filter: brightness(1.05);
}
.btn-neon:active { transform: translateY(1px); }

.rodape {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 44, 64, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.rodape .protegido { display: inline-flex; align-items: center; gap: 6px; }
.rodape .ponto {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.6);
}

@media (max-width: 480px) {
  .login-card { padding: 30px 22px 20px; }
  .logo { font-size: 1.3rem; }
}

/* ---------- convite / privacidade ---------- */
.input-wrap.sem-icone input { padding-left: 14px; }
.aceite { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.98rem; cursor: pointer; }
.aceite input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--neon); flex-shrink: 0; }
.btn-link { display: block; text-align: center; text-decoration: none; margin-top: 8px; }
.login-card a { color: var(--neon); }
.rodape a { color: var(--muted); text-decoration: none; }
.rodape a:hover { color: var(--neon); }
.texto-longo { max-width: 720px; }
.texto-longo h2 {
  font-family: var(--f-display); font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--neon); margin: 26px 0 8px;
}
.texto-longo p, .texto-longo li { color: var(--text-2); line-height: 1.55; }
.texto-longo ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 6px; }
.texto-longo b { color: var(--text); }
body.auth-body:has(.texto-longo) { align-items: flex-start; }

/* ---------- baixar o app ---------- */
[hidden] { display: none !important; }
.baixar { max-width: 460px; }
.baixar .tagline { margin-bottom: 20px; }
.abas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px;
  background: rgba(7, 11, 18, 0.7); border: 1px solid var(--border); border-radius: 12px;
}
.aba {
  min-height: 46px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font-family: var(--f-body); font-size: 1.08rem; font-weight: 700; color: var(--text-2);
}
.aba[aria-selected="true"] { background: rgba(0, 229, 255, 0.14); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.35); }
.aba:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.painel { margin-top: 18px; }
.rapido .nota { text-align: center; color: var(--text-2); margin-top: 8px; }
.rapido .separador {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 4px;
  color: var(--muted); font-size: 0.92rem;
}
.rapido .separador::before, .rapido .separador::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.passo-a-passo { list-style: none; counter-reset: passo; display: grid; gap: 12px; margin-top: 10px; }
.passo-a-passo li {
  counter-increment: passo; position: relative; padding-left: 44px; min-height: 32px;
  color: var(--text-2); line-height: 1.4; font-size: 1.08rem;
}
.passo-a-passo li::before {
  content: counter(passo); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 0.85rem; font-weight: 700;
  color: #021014; background: linear-gradient(135deg, #00e5ff, #7c4dff);
}
.passo-a-passo b, .pronto b, .aviso b, .rapido b { color: var(--text); }
.passo-a-passo small { color: var(--muted); font-size: 0.92rem; }
.aviso, .instalado, .pronto { border-radius: 10px; padding: 12px 14px; line-height: 1.45; }
.aviso { margin-bottom: 14px; background: rgba(255, 179, 0, 0.08); border: 1px solid rgba(255, 179, 0, 0.3); color: #ffd27a; }
.instalado { margin-bottom: 10px; background: rgba(0, 255, 157, 0.08); border: 1px solid rgba(0, 255, 157, 0.35); color: var(--text); text-align: center; font-weight: 600; }
.pronto { margin-top: 18px; background: rgba(0, 255, 157, 0.06); border: 1px solid rgba(0, 255, 157, 0.25); color: var(--text-2); }
.pronto img { vertical-align: middle; border-radius: 5px; }
.btn-copiar {
  display: block; width: 100%; margin-top: 14px; min-height: 44px; cursor: pointer;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--text-2);
}
.btn-copiar:hover { border-color: var(--neon); color: var(--neon); }
.baixar .btn-link { margin-top: 18px; font-weight: 600; }

/* "Lembrar meu e-mail e manter conectado" — área de toque grande no celular */
.lembrar {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; cursor: pointer;
  color: var(--text); font-size: 0.98rem; line-height: 1.3;
}
.lembrar input {
  width: 20px; height: 20px; flex: none; margin: 0;
  accent-color: var(--neon); cursor: pointer;
}
