/* Rules that only apply on /auth/ — loaded by that page after style.css. */
.poster-eyebrow {
  font-family: var(--font-stamp);
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.1em;
  color: var(--brass-bright);
  margin-bottom: 2px;
}

.auth-section {
  display: flex;
  align-items: center;
}

.auth-card { max-width: 100%; text-align: center; }
.auth-card-side { overflow: hidden; }

.auth-hero-side {
  background: linear-gradient(135deg, rgb(var(--brass-rgb) / 0.06), transparent 60%);
  border-right: 1px solid var(--glass-border);
}

@media (max-width: 860px) {
  .auth-section .container { grid-template-columns: 1fr !important; }
  .auth-hero-side {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 24px !important;
    text-align: center;
  }
  .auth-hero-side > div { align-items: center; }
  .auth-hero-side img { margin-left: auto; margin-right: auto; }
  .auth-hero-side h1 { font-size: 1.8rem !important; }
  .auth-hero-side p.poster-eyebrow { justify-content: center !important; }
  .auth-hero-side > div > div[style*="flex-direction:column"] { max-width: 360px; margin: 0 auto; }
}

.password-strength-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); transition: background 0.2s; }

.password-strength-weak .password-strength-bar:nth-child(1) { background: #f87171; }

.password-strength-medium .password-strength-bar:nth-child(1),
.password-strength-medium .password-strength-bar:nth-child(2) { background: #fbbf24; }

.password-strength-strong .password-strength-bar { background: #34d399; }

/* Phones: the sign-in card comes first (it used to sit below the whole marketing hero),
   fields are bigger and tighter, and nothing can push the page wider than the screen. */
@media (max-width: 860px) {
  .auth-section { min-height: auto !important; }
  .auth-card-side { order: -1; padding: 20px 12px 8px !important; }
  .auth-card { padding: 22px 16px 24px; }
  .auth-hero-side { padding: 28px 20px 36px !important; border-bottom: none; border-top: 1px solid var(--glass-border); }
  .auth-card form input { margin-bottom: 0; min-height: 48px; }
  .auth-card .btn-block { min-height: 48px; }
  .auth-card #email-auth-tabs .btn { min-height: 44px; }
  .auth-card #signin-captcha, .auth-card #signup-captcha { max-width: 100%; overflow: hidden; }
}

@media (pointer: coarse) { .auth-card #forgot-password-btn { padding: 12px 10px; min-height: 44px; } }
