/**
 * Auth - Premium Authentication UI
 * Unified theme for both User & Admin portals
 * Consistent with Student Portal v2 & Admin v2 design systems
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --auth-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --auth-primary: #6366f1;
  --auth-primary-hover: #4f46e5;
  --auth-primary-light: rgba(99, 102, 241, 0.1);
  --auth-secondary: #818cf8;
  --auth-gradient-1: #6366f1;
  --auth-gradient-2: #818cf8;
  --auth-gradient-3: #a78bfa;
  --auth-gradient-4: #c084fc;
  --auth-text: #0f172a;
  --auth-text-2: #475569;
  --auth-text-muted: #64748b;
  --auth-text-light: #94a3b8;
  --auth-surface: #ffffff;
  --auth-surface-2: #f8fafc;
  --auth-surface-3: #f1f5f9;
  --auth-border: #e2e8f0;
  --auth-border-light: #f1f5f9;
  --auth-input-bg: #f8fafc;
  --auth-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --auth-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --auth-shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
  --auth-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  --auth-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --auth-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --auth-duration: 0.3s;
  --auth-radius: 12px;
  --auth-radius-lg: 16px;
  --auth-radius-xl: 20px;
  --auth-radius-2xl: 24px;
}

/* ════════════════════════════════════════════════════════════════
   USER AUTH - Premium Split Layout
   ════════════════════════════════════════════════════════════════ */

.auth-pro {
  font-family: var(--auth-font);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Animated Background ── */
.auth-pro__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1550 20%, #2d1b69 40%, #1e1b4b 60%, #14103a 80%, #0a0e1a 100%);
  background-size: 400% 400%;
  animation: authGradientShift 16s ease infinite;
}

.auth-pro__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 35%, rgba(99, 102, 241, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 65%, rgba(139, 92, 246, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(168, 85, 247, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 20%, rgba(129, 140, 248, 0.18) 0%, transparent 45%);
  pointer-events: none;
  animation: authGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes authGlowPulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.85; }
}

.auth-pro__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ── Floating Orbs ── */
.auth-pro__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: authOrbFloat 25s ease-in-out infinite;
  will-change: transform;
}

.auth-pro__orb--1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(99, 102, 241, 0.1) 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.auth-pro__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.08) 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: -8s;
}

.auth-pro__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35) 0%, rgba(168, 85, 247, 0.05) 70%);
  top: 40%;
  left: 35%;
  animation-delay: -16s;
}

@keyframes authGradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
}

@keyframes authOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(25px, -25px) scale(1.08); }
  50% { transform: translate(-15px, 15px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.05); }
}

/* ── Split Layout Container ── */
.auth-pro__container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-pro__layout {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  gap: 3rem;
}

/* ── Hero Section (Left Side) ── */
.auth-pro__hero {
  flex: 1;
  max-width: 50%;
  padding-right: 1rem;
}

.auth-pro__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--auth-radius);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: authRevealUp 0.6s var(--auth-ease-spring);
  backdrop-filter: blur(8px);
}

.auth-pro__hero-badge svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.auth-pro__hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1.25rem 0;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: authRevealUp 0.6s 0.1s var(--auth-ease-spring) both;
}

.auth-pro__hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
  animation: authRevealUp 0.6s 0.2s var(--auth-ease-spring) both;
}

.auth-pro__hero-features {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: authRevealUp 0.6s 0.3s var(--auth-ease-spring) both;
}

.auth-pro__hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.auth-pro__hero-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.auth-pro__hero-feature span {
  font-size: 1.1rem;
}

.auth-pro__hero-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ── Card Section (Right Side) ── */
.auth-pro__card-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 440px;
}

.auth-pro__card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--auth-radius-2xl);
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 0 20px rgba(99, 102, 241, 0.15),
    0 0 40px rgba(139, 92, 246, 0.1),
    0 0 80px rgba(168, 85, 247, 0.06);
  padding: 2.5rem 2rem;
  animation: authCardReveal 0.6s 0.15s var(--auth-ease-spring) both, authCardGlow 6s ease-in-out infinite alternate;
  transition: box-shadow var(--auth-duration) var(--auth-ease), border-color var(--auth-duration) var(--auth-ease);
}

.auth-pro__card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow:
    0 32px 64px -12px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 0 30px rgba(99, 102, 241, 0.2),
    0 0 60px rgba(139, 92, 246, 0.15),
    0 0 100px rgba(168, 85, 247, 0.08);
}

@keyframes authCardGlow {
  0% {
    box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.5) inset,
      0 0 20px rgba(99, 102, 241, 0.12),
      0 0 40px rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
  }
  100% {
    box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.5) inset,
      0 0 25px rgba(99, 102, 241, 0.2),
      0 0 50px rgba(139, 92, 246, 0.14),
      0 0 80px rgba(168, 85, 247, 0.07);
    border-color: rgba(139, 92, 246, 0.4);
  }
}

@keyframes authCardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes authRevealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Logo ── */
.auth-pro__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.auth-pro__logo img {
  max-height: 44px;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
}

.auth-pro__logo:hover img {
  transform: scale(1.05);
}

/* ── Header ── */
.auth-pro__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-pro__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--auth-text);
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.auth-pro__subtitle {
  font-size: 0.9rem;
  color: var(--auth-text-muted);
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Form ── */
.auth-pro__form {
  margin-top: 0;
}

.auth-pro__form-group {
  margin-bottom: 1.25rem;
}

.auth-pro__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--auth-text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.auth-pro__input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--auth-font);
  color: var(--auth-text);
  background: var(--auth-input-bg);
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius);
  transition: all 0.2s var(--auth-ease);
  outline: none;
  -webkit-appearance: none;
}

.auth-pro__input::placeholder {
  color: var(--auth-text-light);
  font-weight: 400;
}

.auth-pro__input:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.auth-pro__input:focus {
  border-color: var(--auth-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--auth-primary-light);
}

/* ── Input with prefix (mobile) ── */
.auth-pro__input-wrap {
  position: relative;
}

.auth-pro__input-wrap .auth-pro__prefix {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--auth-text-2);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-pro__input-wrap .auth-pro__prefix::after {
  content: '';
  width: 1px;
  height: 18px;
  background: var(--auth-border);
  margin-left: 4px;
}

.auth-pro__input-wrap .auth-pro__input {
  padding-left: 3.8rem;
}

/* ── Primary Button ── */
.auth-pro__btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--auth-font);
  color: #fff;
  background: linear-gradient(135deg, var(--auth-gradient-1), var(--auth-gradient-2));
  border: none;
  border-radius: var(--auth-radius);
  cursor: pointer;
  transition: all 0.25s var(--auth-ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.auth-pro__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-pro__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.auth-pro__btn:hover::before {
  opacity: 1;
}

.auth-pro__btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.auth-pro__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Loading State ── */
.auth-pro__btn-loading {
  display: none;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
  margin: 0 auto;
}

.auth-pro__btn.is-loading .auth-pro__btn-text {
  visibility: hidden;
}

.auth-pro__btn.is-loading .auth-pro__btn-loading {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -11px 0 0 -11px;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

/* ── Alerts ── */
.auth-pro__alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--auth-radius);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  animation: authSlideIn 0.4s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-pro__alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-pro__alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

@keyframes authSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Footer ── */
.auth-pro__footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auth-surface-3);
  text-align: center;
}

.auth-pro__footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--auth-text-light);
  letter-spacing: 0.01em;
}

/* ── Trust Badges ── */
.auth-pro__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1rem;
}

.auth-pro__trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--auth-text-light);
  font-weight: 500;
}

.auth-pro__trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--auth-primary);
  flex-shrink: 0;
}

/* ── Single OTP Input ── */
.auth-pro__otp-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--auth-input-bg);
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius);
  transition: all 0.25s var(--auth-ease);
  overflow: hidden;
}

.auth-pro__otp-wrap.is-focused {
  border-color: var(--auth-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--auth-primary-light);
}

.auth-pro__otp-wrap.is-complete {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  background: #fff;
}

.auth-pro__otp-wrap.is-error {
  animation: authOtpShake 0.4s ease;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

@keyframes authOtpShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.auth-pro__otp-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 1rem;
  color: var(--auth-text-light);
  flex-shrink: 0;
  transition: color 0.25s var(--auth-ease);
}

.auth-pro__otp-wrap.is-focused .auth-pro__otp-lock {
  color: var(--auth-primary);
}

.auth-pro__otp-wrap.is-complete .auth-pro__otp-lock {
  color: #22c55e;
}

.auth-pro__otp-input {
  flex: 1;
  padding: 0.95rem 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Inter', monospace;
  letter-spacing: 0.75em;
  text-align: center;
  color: var(--auth-text);
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  width: 100%;
  min-width: 0;
}

.auth-pro__otp-input::placeholder {
  color: var(--auth-border);
  letter-spacing: 0.55em;
  font-weight: 400;
  font-size: 1.3rem;
}

.auth-pro__otp-input::-webkit-outer-spin-button,
.auth-pro__otp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.auth-pro__otp-badge {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 4px 10px;
  margin-right: 0.75rem;
  background: var(--auth-surface-3);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--auth-text-light);
  flex-shrink: 0;
  transition: all 0.25s var(--auth-ease);
  white-space: nowrap;
}

.auth-pro__otp-badge.is-complete {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* ── OTP Progress Bar ── */
.auth-pro__otp-progress {
  height: 3px;
  background: var(--auth-surface-3);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.auth-pro__otp-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--auth-gradient-1), var(--auth-gradient-2));
  border-radius: 2px;
  transition: width 0.2s var(--auth-ease), background 0.3s var(--auth-ease);
}

.auth-pro__otp-wrap.is-complete ~ .auth-pro__otp-progress .auth-pro__otp-progress-bar {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* ── Resend & Timer ── */
.auth-pro__resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.auth-pro__timer {
  font-size: 0.85rem;
  color: var(--auth-text-light);
  font-weight: 500;
}

.auth-pro__resend-btn {
  background: transparent;
  border: 1.5px solid var(--auth-border);
  color: var(--auth-text-2);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--auth-font);
  cursor: pointer;
  transition: all 0.2s var(--auth-ease);
}

.auth-pro__resend-btn:hover:not(:disabled) {
  border-color: var(--auth-primary);
  color: var(--auth-primary);
  background: var(--auth-primary-light);
}

.auth-pro__resend-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Mobile Number Display ── */
.auth-pro__mobile-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--auth-primary-light);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--auth-primary);
  margin-top: 8px;
}

/* ── Back Link ── */
.auth-pro__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--auth-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}

.auth-pro__back:hover {
  color: var(--auth-primary);
}

.auth-pro__back svg {
  width: 16px;
  height: 16px;
}

/* ── Utility ── */
.auth-pro .d-none {
  display: none !important;
}


/* ════════════════════════════════════════════════════════════════
   ADMIN AUTH - Premium Dark Split Layout
   ════════════════════════════════════════════════════════════════ */

.admin-auth-pro {
  font-family: var(--auth-font);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.admin-auth-pro__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e3a5f 100%);
  background-size: 400% 400%;
  animation: authGradientShift 18s ease infinite;
}

.admin-auth-pro__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(66, 133, 244, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.admin-auth-pro__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: authOrbFloat 25s ease-in-out infinite;
}

.admin-auth-pro__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(66, 133, 244, 0.2);
  top: -150px;
  left: -100px;
}

.admin-auth-pro__orb--2 {
  width: 350px;
  height: 350px;
  background: rgba(99, 102, 241, 0.15);
  bottom: -80px;
  right: -80px;
  animation-delay: -12s;
}

.admin-auth-pro__layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.admin-auth-pro__hero {
  flex: 1;
  max-width: 50%;
  padding-right: 3rem;
}

.admin-auth-pro__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--auth-radius);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: authCardReveal 0.6s var(--auth-ease-spring);
}

.admin-auth-pro__hero-badge svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.admin-auth-pro__hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: authCardReveal 0.6s 0.1s var(--auth-ease-spring) both;
}

.admin-auth-pro__hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin: 0;
  max-width: 400px;
  animation: authCardReveal 0.6s 0.2s var(--auth-ease-spring) both;
}

.admin-auth-pro__hero-features {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: authCardReveal 0.6s 0.3s var(--auth-ease-spring) both;
}

.admin-auth-pro__hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.admin-auth-pro__hero-feature span {
  font-size: 1.1rem;
}

.admin-auth-pro__card-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 440px;
}

.admin-auth-pro__card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--auth-radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  padding: 2.5rem 2rem;
  animation: authCardReveal 0.6s 0.2s var(--auth-ease-spring) both;
  transition: box-shadow var(--auth-duration) var(--auth-ease);
}

.admin-auth-pro__card:hover {
  box-shadow:
    0 32px 64px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.admin-auth-pro__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.admin-auth-pro__logo img {
  max-height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.admin-auth-pro__logo:hover img {
  transform: scale(1.05);
}

.admin-auth-pro__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.admin-auth-pro__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--auth-text);
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.02em;
}

.admin-auth-pro__subtitle {
  font-size: 0.9rem;
  color: var(--auth-text-muted);
  margin: 0;
}

.admin-auth-pro__form-group {
  margin-bottom: 1.25rem;
}

.admin-auth-pro__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--auth-text);
  margin-bottom: 0.5rem;
}

.admin-auth-pro__input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--auth-font);
  color: var(--auth-text);
  background: var(--auth-input-bg);
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius);
  transition: all 0.2s var(--auth-ease);
  outline: none;
}

.admin-auth-pro__input::placeholder {
  color: var(--auth-text-light);
}

.admin-auth-pro__input:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.admin-auth-pro__input:focus {
  border-color: #4285F4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}

.admin-auth-pro__btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--auth-font);
  color: #fff;
  background: linear-gradient(135deg, #4285F4, #3367d6);
  border: none;
  border-radius: var(--auth-radius);
  cursor: pointer;
  transition: all 0.25s var(--auth-ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.4);
}

.admin-auth-pro__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-auth-pro__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.45);
}

.admin-auth-pro__btn:hover::before {
  opacity: 1;
}

.admin-auth-pro__btn:active {
  transform: translateY(0);
}

.admin-auth-pro__btn.is-loading .admin-auth-pro__btn-text {
  visibility: hidden;
}

.admin-auth-pro__btn-loading {
  display: none;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -11px 0 0 -11px;
}

.admin-auth-pro__btn.is-loading .admin-auth-pro__btn-loading {
  display: block;
}

.admin-auth-pro__alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--auth-radius);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  animation: authSlideIn 0.4s ease;
}

.admin-auth-pro__alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.admin-auth-pro__footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auth-surface-3);
  text-align: center;
}

.admin-auth-pro__footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--auth-text-light);
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  /* User Auth */
  .auth-pro__hero {
    display: none;
  }
  .auth-pro__layout {
    justify-content: center;
  }
  .auth-pro__card-wrap {
    max-width: 100%;
  }

  /* Admin Auth */
  .admin-auth-pro__hero {
    display: none;
  }
  .admin-auth-pro__card-wrap {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .auth-pro__container {
    padding: 1.5rem 1rem;
  }
  .auth-pro__card {
    padding: 2rem 1.5rem;
    border-radius: var(--auth-radius-xl);
  }
  .auth-pro__title {
    font-size: 1.35rem;
  }
  .auth-pro__otp-input {
    font-size: 1.3rem;
    letter-spacing: 0.6em;
    padding: 0.85rem 0.5rem;
  }

  .admin-auth-pro__layout {
    padding: 1.5rem 1rem;
  }
  .admin-auth-pro__card {
    padding: 2rem 1.5rem;
    border-radius: var(--auth-radius-xl);
  }
}

@media (max-width: 480px) {
  .auth-pro__card {
    padding: 1.75rem 1.25rem;
  }
  .auth-pro__title {
    font-size: 1.25rem;
  }
  .auth-pro__btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }
  .auth-pro__input {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  .auth-pro__input-wrap .auth-pro__input {
    padding-left: 3.5rem;
  }
  .auth-pro__otp-input {
    font-size: 1.15rem;
    letter-spacing: 0.5em;
    padding: 0.8rem 0.5rem;
  }
  .auth-pro__otp-lock {
    padding-left: 0.75rem;
  }
  .auth-pro__otp-badge {
    margin-right: 0.5rem;
    font-size: 0.65rem;
    padding: 3px 8px;
  }
}
