/* ============================================================================
   SpaceX — صفحات الدخول
   ============================================================================ */

body.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--sx-ink);
  position: relative;
}

/* خلفية المدارات — العنصر التوقيعي في الهوية.
   position: fixed مقصود: الحلقات أعرض من الشاشة عمداً، والعنصر الثابت
   لا يُوسّع منطقة تمرير المستند — فلا يظهر شريط تمرير أفقي.
   (overflow على body لا يكفي: القيمة تُمرَّر للـ viewport ويبقى الجسم visible.) */
body.auth-body::before,
body.auth-body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body.auth-body::before {
  width: 760px; height: 300px;
  border: 1px solid rgba(91, 52, 239, .40);
  transform: rotate(-28deg);
  inset-block-start: 12%;
  inset-inline-start: -12%;
}
body.auth-body::after {
  width: 660px; height: 260px;
  border: 1px solid rgba(255, 176, 32, .22);
  transform: rotate(30deg);
  inset-block-end: 8%;
  inset-inline-end: -10%;
}

.auth-card {
  width: 100%;
  max-width: 408px;
  background: var(--sx-surface);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
  padding: 36px 32px 30px;
  position: relative;
  z-index: 2;
}

.auth-brand { text-align: center; margin-bottom: 26px; }
.auth-brand svg { margin: 0 auto 12px; display: block; }
.auth-brand-name {
  font-family: var(--sx-font-display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: 2px;
  color: var(--sx-ink);
  line-height: 1.1;
}
.auth-brand-name span { color: var(--sx-primary); }
.auth-brand-sub {
  font-size: 10.5px;
  letter-spacing: 3px;
  color: var(--sx-text-soft);
  text-transform: uppercase;
  margin-top: 5px;
}
.auth-title {
  font-family: var(--sx-font-head);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: var(--sx-text-muted);
  margin: 16px 0 0;
}

.auth-card .form-group { margin-bottom: 15px; }
.auth-card .btn-block { margin-top: 8px; padding: 12px; font-size: 15px; }

.auth-footer {
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--sx-border);
  font-family: var(--sx-font-mono);
  font-size: 11px;
  letter-spacing: .8px;
  color: var(--sx-text-soft);
}

.auth-alt-link { text-align: center; margin-top: 14px; font-size: 13.5px; }

@media (max-width: 480px) {
  .auth-card { padding: 28px 22px 24px; }
  body.auth-body::before, body.auth-body::after { display: none; }
}
