:root { --primary: #dc3545; --auth-navbar-h: 60px; }

/* ── Layout geral ── */
body.auth-body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

/* ── Navbar ── */
.auth-navbar {
  background: rgba(15, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  height: var(--auth-navbar-h);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.auth-navbar-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff !important;
  letter-spacing: -.3px;
  text-decoration: none;
}

.auth-nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75) !important;
  padding: 6px 10px !important;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.auth-nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.08);
}

/* ── Wrapper central ── */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-container { width: 100%; max-width: 600px; }

/* ── Card ── */
.auth-card {
  background: white;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}

.auth-brand { text-align: center; margin-bottom: 28px; }

.auth-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: #1a1a2e; margin: 8px 0 4px;
}

.auth-brand-sub { color: #6c757d; font-size: .875rem; margin: 0; }

.auth-title  { font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.auth-sub    { margin-bottom: 24px; font-size: .9rem; }

.form-label { font-size: .875rem; color: #495057; }
.form-control, .input-group-text { border-radius: 10px !important; }
.input-group .input-group-text { background: #f8f9fa; border-color: #dee2e6; color: #6c757d; }
.btn-danger { border-radius: 10px !important; }
.auth-rate-limit-hint { color: #6c757d; }

/* ── Footer ── */
.auth-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  padding: 14px 24px;
  background: rgba(0,0,0,.25);
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}
.auth-footer strong { color: rgba(255,255,255,.75); }
.auth-footer a {
  color: #ff6b7a; font-weight: 600; text-decoration: none;
  transition: opacity .2s;
}
.auth-footer a:hover { opacity: .8; }
.auth-footer a i { font-size: .8rem; }

/* ── WhatsApp ── */
.auth-whatsapp {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  width: 46px; height: 46px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.auth-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.65);
}
