/* ============================================================
   صفحات ورود و ثبت‌نام
   ============================================================ */

body.auth-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px;
  background: var(--bg);
}

.auth-wrap { position: relative; width: min(440px, 100%); }
.auth-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.auth-bg .orb-1 { width: 420px; height: 420px; background: rgba(99,102,241,.3); top: -140px; inset-inline-start: -100px; }
.auth-bg .orb-2 { width: 360px; height: 360px; background: rgba(20,184,166,.25); bottom: -120px; inset-inline-end: -80px; animation-delay: -4s; }

.auth-card {
  position: relative;
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 38px 34px; box-shadow: var(--shadow);
  animation: riseUp .6s cubic-bezier(.22,1,.36,1) both;
}

.auth-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; margin-bottom: 26px;
}
.auth-brand img { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(99,102,241,.4)); }
.auth-brand span {
  font-size: 1.5rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.auth-card h1 { text-align: center; font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: .87rem; margin-bottom: 26px; }

.pass-wrap { position: relative; }
.pass-wrap input { padding-inline-end: 44px; }
.pass-eye {
  position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 1rem;
  opacity: .55; padding: 6px; transition: opacity .2s;
}
.pass-eye:hover { opacity: 1; }

.auth-alt { text-align: center; margin-top: 22px; font-size: .86rem; color: var(--muted); }
.auth-alt a { color: var(--primary-text); font-weight: 700; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 22px; }
}
