/* ═══════════════════════════════════════════════════════════════
   STARSPAY · AUTHENTICATION SYSTEM (Login / Register)
   Rich Matte Slate & Sapphire Dual-Panel Design
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --auth-bg:      #0b0f19;
  --auth-surface: #111827;
  --auth-card:    #1f2937;
  --auth-border:  rgba(255, 255, 255, 0.08);
  --auth-border2: rgba(255, 255, 255, 0.15);
  --auth-accent:  #3b82f6;
  --auth-accent2: #6366f1;
  --auth-grd:     linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --auth-text:    #f3f4f6;
  --auth-muted:   #9ca3af;
  --auth-radius:  20px;
  --auth-shadow:  0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.auth-page {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--auth-bg);
  color: var(--auth-text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Orbs & Background FX ─────────────────────────────────────── */
.auth-bg-orbs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; opacity: 0.15;
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent);
  top: -20%; left: -10%;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent);
  bottom: -20%; right: -10%; animation-delay: 4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* ── Split Dual Panel Wrapper ─────────────────────────────────── */
.auth-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 960px;
  margin: auto;
  border-radius: var(--auth-radius);
  background: var(--auth-surface);
  border: 1px solid var(--auth-border2);
  box-shadow: var(--auth-shadow);
  overflow: hidden;
}

.auth-split-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 560px;
}

/* Left Hero Feature Panel */
.auth-hero-panel {
  flex: 1;
  background: linear-gradient(145deg, #111827 0%, #1e1b4b 100%);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--auth-border);
  position: relative;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-brand img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--auth-accent);
}
.auth-brand-name {
  font-size: 1.25rem; font-weight: 800; color: #fff;
  letter-spacing: -0.02em;
}

.auth-hero-content h3 {
  font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem;
  line-height: 1.3;
}
.auth-hero-content p {
  color: var(--auth-muted); font-size: 0.9rem; margin-bottom: 2rem;
  line-height: 1.6;
}

.auth-features-list {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem;
}
.auth-feature-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: #e2e8f0; font-weight: 500;
}
.auth-feature-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(59, 130, 246, 0.15); color: var(--auth-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.auth-hero-footer {
  display: flex; align-items: center; gap: 16px;
  padding-top: 1.5rem; border-top: 1px solid var(--auth-border);
}
.auth-stat-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--auth-muted); font-weight: 600;
}
.auth-stat-badge i { color: #10b981; }

/* Right Form Panel */
.auth-form-panel {
  flex: 1;
  padding: 3rem 2.5rem;
  background: var(--auth-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-header { margin-bottom: 2rem; }
.auth-header h4 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.auth-header p { font-size: 0.85rem; color: var(--auth-muted); }

/* Form Controls */
.auth-form-group { margin-bottom: 1.25rem; }
.auth-label {
  display: block; font-size: 0.82rem; font-weight: 600; color: #d1d5db;
  margin-bottom: 6px; letter-spacing: 0.02em;
}

.auth-input-wrapper { position: relative; }
.auth-input-wrapper i.form-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--auth-muted); font-size: 1.1rem; pointer-events: none;
  transition: var(--sp-transition);
}

.auth-input, select.auth-input {
  width: 100%;
  background: var(--auth-card) !important;
  border: 1px solid var(--auth-border) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 14px 12px 42px !important;
  font-size: 0.88rem;
  transition: var(--sp-transition);
}
.auth-input:focus, select.auth-input:focus {
  border-color: var(--auth-accent) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
  outline: none;
}
.auth-input::placeholder { color: #6b7280; }

.btn-auth-primary {
  width: 100%;
  background: var(--auth-grd);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(59, 130, 246, 0.4);
  transition: var(--sp-transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-auth-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(59, 130, 246, 0.5);
  color: #fff;
}

.auth-footer-text {
  text-align: center; font-size: 0.85rem; color: var(--auth-muted);
  margin-top: 1.5rem;
}
.auth-footer-text a {
  color: var(--auth-accent); font-weight: 700; text-decoration: none;
}
.auth-footer-text a:hover { text-decoration: underline; }

/* Responsive Grid */
@media (max-width: 991px) {
  .auth-split-wrapper { flex-direction: column; }
  .auth-hero-panel { display: none; }
  .auth-form-panel { padding: 2.5rem 1.75rem; }
}