/* assets/css/login.css — Popup de login/cadastro do associado. */

/* =====================================================
   POPUP DE LOGIN/CADASTRO DO ASSOCIADO (2026-09-21)
   Lightbox fullscreen, mesma arquitetura de overlay de
   .stieen-video-lightbox (ver comentário lá em cima) — ícone "chave"
   do header (includes/header.php) abre este popup via
   assets/js/login-lightbox.js. Markup em
   includes/login_popup_associado.php (incluído no footer, disponível
   em toda página).
   ===================================================== */
.stieen-login-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--stieen-veu-escuro);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: auto;
}
.stieen-login-lightbox.is-aberto { display: flex; }
.stieen-login-lightbox-fechar {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--stieen-escuro-elevado);
  color: var(--stieen-branco);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}
.stieen-login-lightbox-fechar:hover { background: var(--stieen-vermelho); }

.stieen-login-lightbox-wrap { width: min(420px, 100%); margin: auto; }

.stieen-login-card {
  background: var(--stieen-branco);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}
.stieen-login-card-logo { height: 48px; width: auto; margin: 0 auto 20px; display: block; }

.stieen-login-titulo {
  font-size: calc(22px * var(--stieen-escala-fonte));
  font-weight: 800;
  color: var(--stieen-escuro);
  margin: 0 0 24px;
}

.stieen-login-card form { display: flex; flex-direction: column; text-align: left; }
.stieen-login-card label {
  font-size: calc(16px * var(--stieen-escala-fonte));
  font-weight: 600;
  color: var(--stieen-escuro);
  margin: 14px 0 6px;
}
.stieen-login-card label:first-of-type { margin-top: 0; }
.stieen-login-card input[type="text"],
.stieen-login-card input[type="email"],
.stieen-login-card input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--stieen-cinza-borda);
  border-radius: 6px;
  font-size: calc(16px * var(--stieen-escala-fonte));
  font-family: inherit;
  color: var(--stieen-escuro);
}
.stieen-login-card input:focus {
  outline: none;
  border-color: var(--stieen-vermelho);
}

.stieen-login-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.stieen-login-botao {
  margin-top: 22px;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--stieen-vermelho);
  color: var(--stieen-branco);
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: calc(16px * var(--stieen-escala-fonte));
  font-weight: 700;
  cursor: pointer;
}
.stieen-login-botao:hover { background: var(--stieen-vermelho-escuro); }
.stieen-login-botao:disabled { opacity: .7; cursor: default; }

.stieen-login-alerta {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: calc(16px * var(--stieen-escala-fonte));
  font-weight: 600;
  margin-bottom: 16px;
}
.stieen-login-alerta-sucesso { background: var(--stieen-sucesso-fundo); color: var(--stieen-sucesso); }
.stieen-login-alerta-erro { background: var(--stieen-erro-fundo); color: var(--stieen-vermelho); }

@media (max-width: 480px) {
  .stieen-login-lightbox-fechar { top: 12px; right: 12px; width: 40px; height: 40px; }
  .stieen-login-card { padding: 28px 20px; }
}
