/* =========================================================
   Mestres do Cuidado — adaptações sobre auth-form.css (cópia fiel das
   telas de entrar/cadastro do NIDDS-SISTEMA). Só o que é desta marca:
   foto do painel, logo, ícones em SVG (o NIDDS usa Font Awesome) e os
   poucos elementos que o NIDDS não tem (aceite, campo-isca).
   ========================================================= */

.brand-section::before {
  background-image: url("../img/cursos/mentoria-enfermeiros-v2.webp");
}

.brand-top {
  color: var(--cream);
}

.brand-top img {
  height: 50px;
}

.brand-top .brand-name {
  font-family: "Great Vibes", var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 0.95;
  white-space: nowrap;
  display: grid;
  gap: 6px;
}

.brand-top .brand-name span {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- ícones SVG no lugar do Font Awesome ---------- */
.auth .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.input-icon {
  display: flex;
  bottom: 16px;
}

.feature-icon {
  display: flex;
  justify-content: center;
}

.feature-icon .icon {
  width: 18px;
  height: 18px;
}

.password-toggle {
  background: none;
  border: 0;
  cursor: pointer;
}

.auth-back .icon {
  width: 14px;
  height: 14px;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

/* requisitos da senha: ponto vira ✓ quando cumpre */
.req-item .ponto {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
  transition: background-color 0.3s var(--ease);
}

.req-item.ok .ponto {
  background: var(--success);
}

/* ---------- aceite dos termos ---------- */
.aceite {
  align-items: flex-start;
  line-height: 1.5;
}

.aceite input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
}

.aceite a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}

/* ---------- campo-isca: fora da tela, longe de leitor de tela ---------- */
.isca {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- avisos e estados ---------- */
.inline-alert[hidden],
.success-state[hidden] {
  display: none;
}

.success-state:not([hidden]) {
  display: block;
  animation: modalIn 0.5s var(--ease);
}

.success-icon-wrap .icon {
  width: 24px;
  height: 24px;
}

.form-hint {
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.cadastro-form .form-group {
  margin-bottom: 22px;
}

#cadastro-enviar,
#login-submit {
  margin-top: 8px;
  padding: 18px 30px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

@media (max-width: 600px) {
  .req-list {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}

/* nidds-ui.css deixa .brand-name em caixa alta espaçada (logo do NIDDS);
   aqui o nome é manuscrito. */
.brand-top .brand-name {
  text-transform: none;
  letter-spacing: 0.01em;
}

.password-toggle .icon,
.input-icon .icon {
  stroke-width: 1.7;
}

.req-list {
  margin-bottom: 26px;
}

/* ---------- Continuar com o Google (botão oficial, em iframe) ---------- */
.google-botao {
  width: 100%;
  max-width: 400px;
  min-height: 44px;
  display: flex;
  justify-content: center;
}

.google-aviso {
  margin-top: 16px;
  text-align: center;
  line-height: 1.6;
}

.google-aviso a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
}

#google-bloco[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* Estados com dourado de marca em fundo claro (2,18 a 2,40:1): hover do
   link de cadastro, do mostrar senha e o rótulo "Média" da força da senha. */
.register-link a:hover,
.password-toggle:hover,
.strength-label.medium { color: var(--gold-text); }
