/* Auth split layout inspired by modern UI design */
:root {
  /* Paleta para imobiliária */
  --estate-navy: #10375C;     /* azul marinho profissional */
  --estate-teal: #2A9D8F;     /* teal moderno */
  --estate-emerald: #2ECC71;  /* verde confiança/ação */
  --estate-sand: #F4E3C1;     /* areia suave para detalhes */
}

.auth-body { background: radial-gradient( circle at 0% 0%, #2a2b63 0%, #1c1d3a 30%, #121325 100% ); min-height: 100vh; }
.auth-split { position: relative; }

.auth-hero { background: linear-gradient(135deg, var(--estate-navy) 0%, var(--estate-teal) 55%, var(--estate-emerald) 100%); }
.auth-hero .hero-inner { max-width: 680px; }
.auth-hero .hero-title { font-size: 2.8rem; font-weight: 800; letter-spacing: 0.5px; }
.auth-hero .hero-sub { font-size: 1rem; opacity: 0.9; }

/* Bloco de contato centralizado abaixo do título no hero */
.hero-contact { color: rgba(255,255,255,0.9); }
.hero-contact a { color: #fff; text-decoration: none; }
.hero-contact a:hover { color: var(--estate-sand); text-decoration: underline; }

.auth-panel { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); }
.auth-card { width: 420px; max-width: 92vw; background: rgba(255,255,255,0.92); border-radius: 16px; padding: 28px; }
@media (prefers-color-scheme: dark) {
  .auth-card { background: rgba(17,21,29,0.92); color: #fff; }
}

.auth-card .form-label { font-weight: 600; }
.auth-card .form-control { background: rgba(255,255,255,0.75); border: 1px solid rgba(0,0,0,0.08); height: 48px; border-radius: 12px; }
@media (prefers-color-scheme: dark) {
  .auth-card .form-control { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.15); }
}

/* Primary button styled to green accent like screenshot */
.auth-card .btn-primary { background: var(--estate-emerald); border-color: var(--estate-emerald); color: #0d2a1d; font-weight: 700; height: 48px; border-radius: 12px; }
.auth-card .btn-primary:hover { filter: brightness(0.95); }

/* Secondary outlined button for optional actions */
.auth-card .btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: inherit; height: 48px; border-radius: 12px; }
.auth-card .btn-outline:hover { border-color: var(--estate-teal); color: var(--estate-teal); }

/* Small brand chip in hero */
.auth-hero .badge { background: var(--estate-sand); color: #24323e; border-radius: 999px; }

/* Alerts spacing in compact card */
.auth-card .alert { border-radius: 12px; }

/* Botão flutuante do WhatsApp no layout de autenticação */
/* Versão nova com badge – escondida por padrão até configurar número */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg,#25D366,#128C7E);
  display: none; /* aparece quando houver número configurado */
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  z-index: 2000;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:active { transform: scale(.98); }
.whatsapp-float:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.28); transform: translateY(-3px); }
.whatsapp-icon { width:34px; height:34px; fill:#fff; display:block; }
.whatsapp-badge {
  position: absolute;
  right: 76px;
  bottom: 12px;
  background: #fff;
  color:#111;
  padding: 6px 10px;
  border-radius: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size:13px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  white-space:nowrap;
  display:inline-block;
}
@media (max-width:700px){
  .whatsapp-badge { display:none; }
  .whatsapp-float { right:12px; bottom:12px; width:58px; height:58px; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.whatsapp-float::after{
  content: "";
  position: absolute; left:0; right:0; top:0; bottom:0;
  border-radius:50%;
  animation: pulse 2.6s infinite;
  pointer-events: none;
}