/* صفحات المصادقة — دخول / تسجيل / استعادة كلمة المرور (هوية رتل الفاتحة) */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  position: relative;
  z-index: 1;
}

.auth-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(212,175,55,0.16), transparent 60%),
    linear-gradient(160deg, #eaf5ef, var(--rtl-emerald-950) 70%);
  border-left: 1px solid var(--border-soft);
  overflow: hidden;
}
.auth-visual-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
  top: -120px;
  right: -120px;
  filter: blur(10px);
}
.auth-visual-content { text-align: center; max-width: 420px; position: relative; }
.brand-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--rtl-emerald-600);
  margin-bottom: 28px;
  letter-spacing: 2px;
}
.brand-mark.small { font-size: 1.8rem; margin-bottom: 14px; }
.auth-verse {
  font-size: 2.2rem;
  color: var(--rtl-emerald-600);
  margin-bottom: 14px;
}
.auth-verse-ref { color: var(--text-muted); font-size: .9rem; }

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
}
.auth-card-head { text-align: center; margin-bottom: 28px; }
.auth-card-head h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); font-size: .92rem; margin: 0; }

.auth-row-between {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 20px;
  font-size: .85rem;
}
.link-gold { color: var(--rtl-gold-600); font-weight: 600; }
.link-gold:hover { text-decoration: underline; }

.auth-footer-text {
  text-align: center;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: .9rem;
}

.auth-alert {
  background: rgba(164, 36, 59, 0.08);
  border: 1px solid rgba(164, 36, 59, 0.35);
  color: var(--rtl-ruby);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 18px;
}
.auth-success {
  background: rgba(30, 138, 90, 0.09);
  border: 1px solid rgba(30, 138, 90, 0.35);
  color: var(--accent-success);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 18px;
}

.auth-steps-hint {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 22px;
}

@media (max-width: 920px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
