.auth-page { min-height: 100vh; background: var(--wasla-ivory); }
.auth-shell { min-height: calc(100vh - 77px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .82fr); }
.auth-visual {
  position: relative; min-height: 660px; overflow: hidden; color: var(--text-on-dark);
  background: linear-gradient(rgba(31,2,8,.62), rgba(31,2,8,.75)), url('/assets/brand/wasla-texture-approved-v1.png') center/cover no-repeat;
  display: flex; align-items: end; padding: clamp(44px, 7vw, 100px);
}
.auth-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 5%, rgba(205,76,51,.28), transparent 34%), radial-gradient(circle at center, transparent 30%, rgba(16,0,4,.44)); }
.auth-visual__content { position: relative; z-index: 1; max-width: 650px; }
.auth-visual__eyebrow { color: var(--wasla-gold-soft); font-weight: 900; margin-bottom: 12px; }
.auth-visual h1 { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: 1.03; margin-bottom: 20px; }
.auth-visual p { color: var(--text-muted-dark); font-size: 1.08rem; max-width: 560px; }
.auth-panel { display: grid; place-items: center; padding: 48px 28px; }
.auth-card { width: min(100%, 520px); background: #fffaf4; border: 1px solid #ead7ca; border-radius: 28px; padding: clamp(28px, 5vw, 46px); box-shadow: var(--shadow-soft); }
.auth-card__kicker { color: var(--wasla-gold); font-weight: 900; margin-bottom: 8px; }
.auth-card h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 10px; }
.auth-card__lead { color: var(--text-muted-light); margin-bottom: 26px; }
.auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: #a08588; font-size: .85rem; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: #ead7ca; }
.social-stack { display: grid; gap: 10px; }
.social-btn { min-height: 50px; border: 1px solid #dbc9bc; border-radius: 14px; background: #fff; color: var(--wasla-burgundy-800); font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.social-btn[disabled] { cursor: not-allowed; opacity: .64; }
.auth-switch { text-align: center; color: var(--text-muted-light); margin-top: 22px; }
.auth-switch a { color: var(--wasla-burgundy-700); font-weight: 900; }
.auth-privacy { color: #8b7477; font-size: .82rem; line-height: 1.7; margin-top: 18px; }
.otp-stage[hidden], .email-stage[hidden] { display: none; }
.otp-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 10px; color: var(--text-muted-light); font-size: .88rem; }
.link-button { border: 0; background: none; padding: 0; color: var(--wasla-burgundy-700); font-weight: 900; cursor: pointer; }
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: 300px; padding: 48px 24px; }
  .auth-panel { padding: 34px 18px 54px; }
}
@media (max-width: 560px) {
  .auth-visual { min-height: 245px; align-items: center; }
  .auth-visual p { display: none; }
  .auth-card { border-radius: 22px; padding: 26px 20px; }
}

/* v0.16.1 legal and OTP guidance */
.auth-privacy a{color:var(--wasla-burgundy-800);font-weight:700;text-decoration:underline;text-decoration-color:rgba(201,154,75,.65);text-underline-offset:3px}.otp-expiry{margin:-2px 0 14px;color:var(--text-muted-light);font-size:.9rem}
