/* auth.css — depende de codex.css. Estilos das páginas de cadastro/login/verificação. */

.auth-wrap{
  max-width: 420px;
  margin: 3rem auto;
}

.auth-card{
  background: var(--panel);
  border:1px solid var(--hairline);
  border-radius:16px;
  padding: 2rem 1.75rem;
}

.auth-title{
  font-family: var(--font-display);
  font-size:1.5rem;
  font-weight:700;
  color: var(--text-bright);
  margin-bottom:.35rem;
}

.auth-subtitle{
  color: var(--text-dim);
  font-size:.88rem;
  margin-bottom:1.5rem;
}

.auth-field{
  margin-bottom:1.1rem;
}
.auth-field label{
  display:block;
  font-family: var(--font-mono);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color: var(--text-dim);
  margin-bottom:.4rem;
}
.auth-field input{
  width:100%;
  background: var(--panel-2);
  border:1px solid var(--hairline);
  border-radius:8px;
  color: var(--text-bright);
  padding:.65rem .8rem;
  font-size:.95rem;
}
.auth-field input:focus{
  outline:none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.auth-field-hint{
  font-size:.72rem;
  color: var(--text-dim);
  margin-top:.3rem;
}

.auth-submit{
  width:100%;
  background: var(--accent);
  color:#0b0d14;
  border:none;
  border-radius:10px;
  padding:.75rem;
  font-weight:700;
  font-size:.95rem;
  cursor:pointer;
  transition: opacity .15s ease;
}
.auth-submit:hover{ opacity:.9; }

.auth-links{
  margin-top:1.25rem;
  text-align:center;
  font-size:.85rem;
  color: var(--text-dim);
}
.auth-links a{ color: var(--accent); text-decoration:none; }
.auth-links a:hover{ text-decoration:underline; }

.auth-alert{
  border-radius:10px;
  padding:.75rem 1rem;
  font-size:.85rem;
  margin-bottom:1.25rem;
  line-height:1.5;
}
.auth-alert--erro{
  background: rgba(255,164,164,.08);
  border:1px solid rgba(255,164,164,.3);
  color: var(--text-red-bright, #ffb3b3);
}
.auth-alert--sucesso{
  background: rgba(182,253,179,.08);
  border:1px solid rgba(182,253,179,.3);
  color: var(--text-green-bright, #b6fdb3);
}
