/* ════════════════════════════════════════════════════════════════════
   login.css — Premium Futuristic Sci-Fi Theme v3
   SkillPort IELTS Platform
   Colors: #3B82F6 · #6366F1 · #06B6D4 · bg #050816
════════════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

/* ════════════════════════════════════════════════════════════════════
   BODY & BASE
════════════════════════════════════════════════════════════════════ */
.login-body {
  min-height: 100vh;
  background: #050816;
  background-image:
    radial-gradient(ellipse 110% 80% at 5%  5%,  rgba(12, 22, 100, 0.95) 0%, transparent 44%),
    radial-gradient(ellipse  80% 70% at 95% 95%,  rgba(8,  4,  60, 0.95) 0%, transparent 44%),
    radial-gradient(ellipse  60% 45% at 50% 115%, rgba(4, 14,  50, 0.80) 0%, transparent 56%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Particle canvas ── */
#particleCanvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}

/* ── Dot grid overlay ── */
.login-body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(59,130,246,0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none; z-index: 0; opacity: 0.36;
}

/* ── Digital line mesh overlay ── */
.mesh-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.028) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ════════════════════════════════════════════════════════════════════
   FLOATING ORBS
════════════════════════════════════════════════════════════════════ */
.bg-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; }

.orb-1 {
  width: 950px; height: 950px; top: -26%; left: -18%;
  background: radial-gradient(circle at 38% 38%,
    rgba(29, 46, 200, 0.34) 0%,  rgba(18, 28, 130, 0.17) 38%,
    rgba(8,  16, 72,  0.07) 58%, transparent 72%);
  animation: floatA 13s ease-in-out infinite;
}
.orb-2 {
  width: 760px; height: 760px; bottom: -20%; right: -12%;
  background: radial-gradient(circle at 62% 62%,
    rgba(80, 28, 210, 0.30) 0%,  rgba(55, 16, 148, 0.15) 40%,
    rgba(22,  8,  72, 0.06) 62%, transparent 76%);
  animation: floatB 16s ease-in-out infinite;
}
.orb-3 {
  width: 580px; height: 580px; top: 30%; left: 46%;
  background: radial-gradient(circle at 50% 50%,
    rgba(6, 182, 212, 0.11) 0%, rgba(8, 120, 144, 0.05) 45%, transparent 68%);
  animation: floatC 18s ease-in-out infinite;
}
.orb-4 {
  width: 400px; height: 400px; top: 4%; right: 16%;
  background: radial-gradient(circle at 50% 50%,
    rgba(99, 102, 241, 0.14) 0%, rgba(66, 68, 188, 0.06) 46%, transparent 70%);
  animation: floatD 11s ease-in-out infinite;
}
.orb-5 {
  width: 1200px; height: 640px; top: 22%; left: 15%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(24, 50, 148, 0.07) 0%, rgba(6, 182, 212, 0.03) 42%, transparent 66%);
  filter: blur(55px);
  animation: floatE 24s ease-in-out infinite;
}

@keyframes floatA {
  0%,100%{transform:translate(0,0) scale(1)}
  35%    {transform:translate(52px,42px) scale(1.04)}
  68%    {transform:translate(-24px,62px) scale(0.97)}
}
@keyframes floatB {
  0%,100%{transform:translate(0,0) scale(1)}
  45%    {transform:translate(-46px,-40px) scale(1.05)}
  80%    {transform:translate(28px,-56px) scale(0.96)}
}
@keyframes floatC {
  0%,100%{transform:translate(0,0)}
  50%    {transform:translate(36px,-42px)}
}
@keyframes floatD {
  0%,100%{transform:translate(0,0)}
  50%    {transform:translate(-30px,28px)}
}
@keyframes floatE {
  0%,100%{transform:translate(0,0) scale(1)}
  50%    {transform:translate(75px,-55px) scale(1.09)}
}

/* ════════════════════════════════════════════════════════════════════
   LIGHT BEAMS (5 total)
════════════════════════════════════════════════════════════════════ */
.beam { position: absolute; pointer-events: none; }

.beam-1 {
  width: 170px; height: 80vh;
  top: -14%; left: 22%;
  background: linear-gradient(180deg,
    transparent 0%, rgba(59,130,246,0.20) 18%,
    rgba(99,102,241,0.30) 50%, rgba(139,92,246,0.16) 78%, transparent 100%);
  transform: rotate(22deg); transform-origin: top center;
  filter: blur(24px);
  animation: bp1 8s ease-in-out infinite;
}
.beam-2 {
  width: 130px; height: 66vh;
  bottom: -8%; right: 26%;
  background: linear-gradient(0deg,
    transparent 0%, rgba(6,182,212,0.16) 25%,
    rgba(59,130,246,0.26) 56%, rgba(99,102,241,0.11) 82%, transparent 100%);
  transform: rotate(-17deg); transform-origin: bottom center;
  filter: blur(28px);
  animation: bp2 11s ease-in-out infinite;
}
.beam-3 {
  width: 95px; height: 92vh;
  top: -6%; left: 60%;
  background: linear-gradient(180deg,
    transparent 0%, rgba(6,182,212,0.13) 28%,
    rgba(34,211,238,0.22) 58%, rgba(6,182,212,0.09) 84%, transparent 100%);
  transform: rotate(-7deg); transform-origin: top center;
  filter: blur(32px);
  animation: bp3 14s ease-in-out infinite 2s;
}
.beam-4 {
  width: 75px; height: 72vh;
  top: 6%; right: 7%;
  background: linear-gradient(155deg,
    transparent 0%, rgba(139,92,246,0.16) 26%,
    rgba(167,139,250,0.24) 54%, rgba(99,102,241,0.11) 82%, transparent 100%);
  transform: rotate(34deg); transform-origin: top right;
  filter: blur(22px);
  animation: bp4 10s ease-in-out infinite 1s;
}
.beam-5 {
  width: 110px; height: 56vh;
  bottom: 0; left: 6%;
  background: linear-gradient(0deg,
    transparent 0%, rgba(59,130,246,0.18) 28%,
    rgba(96,165,250,0.22) 60%, rgba(59,130,246,0.08) 86%, transparent 100%);
  transform: rotate(-32deg); transform-origin: bottom left;
  filter: blur(30px);
  animation: bp5 13s ease-in-out infinite 3s;
}

@keyframes bp1 { 0%,100%{opacity:.55;transform:rotate(22deg) scaleY(1)}        50%{opacity:.95;transform:rotate(19deg) scaleY(1.11) translateX(-14px)} }
@keyframes bp2 { 0%,100%{opacity:.44;transform:rotate(-17deg) scaleY(1)}        50%{opacity:.82;transform:rotate(-13deg) scaleY(1.13)} }
@keyframes bp3 { 0%,100%{opacity:.36;transform:rotate(-7deg) scaleY(1)}         50%{opacity:.70;transform:rotate(-4deg) scaleY(1.09)} }
@keyframes bp4 { 0%,100%{opacity:.42;transform:rotate(34deg) scaleY(1)}         50%{opacity:.78;transform:rotate(30deg) scaleY(1.15)} }
@keyframes bp5 { 0%,100%{opacity:.34;transform:rotate(-32deg) scaleY(1)}        50%{opacity:.64;transform:rotate(-28deg) scaleY(1.10)} }

/* ════════════════════════════════════════════════════════════════════
   GEOMETRIC HEXAGONS
════════════════════════════════════════════════════════════════════ */
.hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hex-1 {
  width: 440px; height: 440px; top: -10%; left: -7%;
  background: rgba(59,130,246,0.030);
  filter: drop-shadow(0 0 14px rgba(59,130,246,0.14));
  animation: hexSpin 65s linear infinite;
}
.hex-2 {
  width: 290px; height: 290px; top: 1%; right: 3%;
  background: rgba(99,102,241,0.034);
  filter: drop-shadow(0 0 11px rgba(99,102,241,0.16));
  animation: hexSpin 48s linear infinite reverse;
}
.hex-3 {
  width: 210px; height: 210px; bottom: 4%; right: 11%;
  background: rgba(6,182,212,0.032);
  filter: drop-shadow(0 0 9px rgba(6,182,212,0.14));
  animation: hexSpin 40s linear infinite 8s;
}
.hex-4 {
  width: 360px; height: 360px; bottom: -9%; left: 28%;
  background: rgba(139,92,246,0.026);
  filter: drop-shadow(0 0 12px rgba(139,92,246,0.13));
  animation: hexSpin 58s linear infinite reverse 4s;
}
@keyframes hexSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ════════════════════════════════════════════════════════════════════
   LIGHT STREAKS (occasional diagonal flashes)
════════════════════════════════════════════════════════════════════ */
.streak { position: absolute; pointer-events: none; }

.streak-1 {
  width: 2px; height: 220px; top: 12%; left: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(6,182,212,0.92) 50%, transparent 100%);
  filter: blur(1.5px); transform: rotate(25deg);
  animation: streakFly 18s ease-in-out infinite;
}
.streak-2 {
  width: 1.5px; height: 170px; top: 6%; right: 22%;
  background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.88) 50%, transparent 100%);
  filter: blur(1px); transform: rotate(-20deg);
  animation: streakFly 24s ease-in-out infinite 7s;
}
.streak-3 {
  width: 2.5px; height: 290px; top: 32%; left: 54%;
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.85) 50%, transparent 100%);
  filter: blur(2px); transform: rotate(14deg);
  animation: streakFly 32s ease-in-out infinite 16s;
}

@keyframes streakFly {
  0%  { transform: rotate(inherit) translateY(-130%); opacity: 0; }
  6%  { opacity: 0.92; }
  44% { opacity: 0.75; }
  50% { transform: rotate(inherit) translateY(230%);  opacity: 0; }
  100%{ transform: rotate(inherit) translateY(230%);  opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   CARD WRAPPER
════════════════════════════════════════════════════════════════════ */
.login-wrapper {
  position: relative; z-index: 10;
  width: 100%; max-width: 480px; padding: 1.5rem;
  animation: wrapperEntrance 2.0s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

@keyframes wrapperEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.90); }
  to   { opacity: 1; transform: translateY(0px)  scale(1.00); }
}

/* Ambient light waves behind the card */
.login-wrapper::before {
  content: '';
  position: absolute; inset: -36px; border-radius: 52px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(59,130,246,0.14) 0%, rgba(99,102,241,0.09) 36%, transparent 68%);
  z-index: -1; pointer-events: none;
  animation: wavePulse 4.5s ease-in-out infinite;
}
.login-wrapper::after {
  content: '';
  position: absolute; inset: -60px; border-radius: 68px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(6,182,212,0.07) 0%, rgba(139,92,246,0.06) 42%, transparent 68%);
  z-index: -1; pointer-events: none;
  animation: wavePulse 6.5s ease-in-out 1.2s infinite reverse;
}
@keyframes wavePulse {
  0%,100% { transform: scale(1);    opacity: 0.65; }
  50%     { transform: scale(1.06); opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════════
   ANIMATED NEON BORDER RING
════════════════════════════════════════════════════════════════════ */
.card-glow-ring {
  position: relative; border-radius: 28px; padding: 1.5px;
  background: linear-gradient(
    120deg,
    rgba(59,130,246,0.95) 0%,
    rgba(99,102,241,0.85) 18%,
    rgba(139,92,246,0.95) 36%,
    rgba(6,182,212,0.80)  54%,
    rgba(59,130,246,0.90) 72%,
    rgba(99,102,241,0.95) 90%,
    rgba(59,130,246,0.95) 100%
  );
  background-size: 300% 300%;
  animation: borderFlow 5s ease infinite,
              cardGlowPulse 1.2s cubic-bezier(0.4, 0, 0.2, 1) 2.0s both;
  box-shadow:
    0  0  32px rgba(59,130,246,0.38),
    0  0  75px rgba(99,102,241,0.20),
    0  0 150px rgba(139,92,246,0.10),
    0 32px 90px rgba(0,0,0,0.58);
}
@keyframes borderFlow {
  0%  { background-position: 0%   50%; }
  50% { background-position: 100% 50%; }
  100%{ background-position: 0%   50%; }
}
@keyframes cardGlowPulse {
  0%   { box-shadow: 0 0  32px rgba(59,130,246,0.38), 0 0  75px rgba(99,102,241,0.20), 0 0 150px rgba(139,92,246,0.10), 0 32px 90px rgba(0,0,0,0.58); }
  40%  { box-shadow: 0 0  58px rgba(59,130,246,0.82), 0 0 115px rgba(99,102,241,0.50), 0 0 230px rgba(139,92,246,0.30), 0 32px 90px rgba(0,0,0,0.58); }
  100% { box-shadow: 0 0  32px rgba(59,130,246,0.38), 0 0  75px rgba(99,102,241,0.20), 0 0 150px rgba(139,92,246,0.10), 0 32px 90px rgba(0,0,0,0.58); }
}

/* Outer pulsing aura — ring 1 */
.card-glow-ring::before {
  content: ''; position: absolute; inset: -18px; border-radius: 44px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(59,130,246,0.18) 0%, rgba(99,102,241,0.11) 38%,
    rgba(6,182,212,0.06)  60%, transparent 72%);
  z-index: -1;
  animation: auraRing 4s ease-in-out infinite;
}
/* Outer pulsing aura — ring 2 */
.card-glow-ring::after {
  content: ''; position: absolute; inset: -36px; border-radius: 56px;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(139,92,246,0.09) 0%, rgba(59,130,246,0.06) 44%, transparent 68%);
  z-index: -1;
  animation: auraRing 6s ease-in-out 1.8s infinite reverse;
}
@keyframes auraRing {
  0%,100% { opacity: 0.55; transform: scale(1); }
  50%     { opacity: 1.00; transform: scale(1.07); }
}

/* ════════════════════════════════════════════════════════════════════
   GLASSMORPHISM CARD
════════════════════════════════════════════════════════════════════ */
.login-card {
  background: rgba(4, 7, 26, 0.88);
  backdrop-filter: blur(52px) saturate(150%);
  -webkit-backdrop-filter: blur(52px) saturate(150%);
  border-radius: 27px;
  padding: 2.875rem 2.625rem 2.375rem;
  position: relative; overflow: hidden;
}

/* Top shimmer line */
.login-card::before {
  content: '';
  position: absolute; top: 0; left: 3%; right: 3%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59,130,246,0.85) 12%,
    rgba(99,102,241,1.00) 35%,
    rgba(99,180,255,1.00) 52%,
    rgba(6,182,212,0.90)  72%,
    transparent 100%);
  filter: blur(0.4px);
}
/* Inner radial glow at top */
.login-card::after {
  content: '';
  position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 340px; height: 210px;
  background: radial-gradient(ellipse at center,
    rgba(59,130,246,0.13) 0%, rgba(99,102,241,0.07) 50%, transparent 72%);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
   LOGO
════════════════════════════════════════════════════════════════════ */
.card-logo { text-align: center; margin-bottom: 1.875rem; position: relative; }

.logo-glow-wrap {
  display: inline-block; position: relative; border-radius: 24px;
  animation: logoGlow 3.5s ease-in-out infinite alternate;
}
.logo-img {
  width: 110px; height: 110px; border-radius: 22px;
  display: block; object-fit: contain; position: relative; z-index: 1;
}
.logo-scan {
  position: absolute; top: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(180deg,
    rgba(120,185,255,0.16) 0%, rgba(99,140,255,0.08) 60%, transparent 100%);
  border-radius: 22px 22px 0 0;
  animation: logoScan 3s ease-in-out infinite;
  pointer-events: none; z-index: 2;
}
@keyframes logoGlow {
  from { box-shadow: 0 0 24px rgba(59,130,246,0.58), 0 0 48px rgba(99,102,241,0.30), 0 6px 30px rgba(0,0,0,0.58); }
  to   { box-shadow: 0 0 42px rgba(59,130,246,0.92), 0 0 88px rgba(99,102,241,0.50), 0 0 130px rgba(6,182,212,0.24), 0 6px 30px rgba(0,0,0,0.58); }
}
@keyframes logoScan {
  0%  { top: 0%;  opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100%{ top: 65%; opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   FORM HEADER
════════════════════════════════════════════════════════════════════ */
.form-head { text-align: center; margin-bottom: 2rem; }

.form-head h2 {
  font-size: 1.875rem; font-weight: 800; color: #fff;
  margin: 0 0 0.5rem; letter-spacing: -0.3px;
  text-shadow:
    0 0 40px rgba(59,130,246,0.50),
    0 0 80px rgba(99,102,241,0.22);
}
.form-head p {
  font-size: 0.6875rem; color: rgba(140,172,255,0.46);
  letter-spacing: 3px; text-transform: uppercase; font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════
   FORM GROUPS & LABELS
════════════════════════════════════════════════════════════════════ */
.login-body .form-group { margin-bottom: 1.25rem; }

.login-body .form-group label {
  display: block; font-size: 0.6875rem; font-weight: 700;
  color: rgba(140,172,255,0.52); margin-bottom: 0.45rem;
  letter-spacing: 1.3px; text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════
   INPUTS
════════════════════════════════════════════════════════════════════ */
.login-body .inp-wrap { position: relative; }

.login-body .inp-wrap input {
  width: 100%; box-sizing: border-box; height: 52px;
  padding-left: 2.875rem; padding-right: 3rem;
  background: rgba(255,255,255,0.038);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 13px; font-family: inherit;
  font-size: 0.9375rem; color: #d8e4ff; outline: none;
  transition: border-color 220ms, background 220ms, box-shadow 220ms;
  -webkit-text-fill-color: #d8e4ff;
}
.login-body .inp-wrap input::placeholder {
  color: rgba(90,120,200,0.32);
  -webkit-text-fill-color: rgba(90,120,200,0.32);
}
.login-body .inp-wrap input:hover {
  border-color: rgba(59,130,246,0.34);
  background: rgba(59,130,246,0.042);
}
.login-body .inp-wrap input:focus {
  background: rgba(59,130,246,0.07);
  border-color: rgba(96,165,250,0.78);
  box-shadow:
    0 0 0 3px rgba(59,130,246,0.14),
    0 0 22px rgba(59,130,246,0.22),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Autofill override */
.login-body .inp-wrap input:-webkit-autofill,
.login-body .inp-wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(6,10,36,0.98) inset;
  -webkit-text-fill-color: #d8e4ff !important;
  border-color: rgba(59,130,246,0.46);
  transition: background-color 5000s;
}

/* Input icon */
.login-body .inp-icon {
  position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%);
  color: rgba(88,140,255,0.36); display: flex; pointer-events: none;
  transition: color 220ms;
}
.login-body .inp-wrap:focus-within .inp-icon { color: rgba(96,165,250,0.76); }

/* Eye toggle */
.login-body .inp-eye {
  position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(88,140,255,0.30); display: flex; padding: 3px;
  transition: color 180ms;
}
.login-body .inp-eye:hover { color: rgba(148,200,255,0.82); }

/* Field error */
.login-body .field-err {
  display: none; font-size: 0.8rem; color: #f87171;
  margin-top: 0.35rem; padding-left: 0.125rem;
}

/* ════════════════════════════════════════════════════════════════════
   ERROR BANNER
════════════════════════════════════════════════════════════════════ */
.login-body .login-err-msg {
  margin-top: 1.25rem;
  background: rgba(220,38,38,0.10); border: 1px solid rgba(220,38,38,0.26);
  color: #fca5a5; padding: 0.75rem 1rem; border-radius: 11px;
  font-size: 0.875rem; margin-bottom: 1rem;
  display: none; align-items: center; gap: 0.5rem;
}

/* ════════════════════════════════════════════════════════════════════
   SUBMIT BUTTON
════════════════════════════════════════════════════════════════════ */
.login-body .btn-login {
  width: 100%; height: 54px;
  background: linear-gradient(120deg, #1d4ed8 0%, #4f46e5 32%, #7c3aed 64%, #2563eb 100%);
  background-size: 300% 300%;
  color: #fff; border: none; border-radius: 13px;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-bottom: 0.875rem; margin-top: 0.25rem;
  box-shadow:
    0 4px 26px rgba(59,130,246,0.45),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  transition:
    transform 220ms cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 220ms ease,
    background-position 550ms ease;
  position: relative; overflow: hidden;
  animation: btnGradient 6s ease infinite;
}
@keyframes btnGradient {
  0%  { background-position: 0%   50%; }
  50% { background-position: 100% 50%; }
  100%{ background-position: 0%   50%; }
}

/* Shimmer sweep */
.btn-shimmer {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: skewX(-15deg); pointer-events: none; transition: left 0s;
}
.login-body .btn-login:hover .btn-shimmer { left: 160%; transition: left 0.55s ease; }

.login-body .btn-login:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow:
    0 8px 40px rgba(59,130,246,0.62),
    0 0 64px rgba(99,102,241,0.34),
    0 0 110px rgba(139,92,246,0.17),
    0 0 0 1px rgba(255,255,255,0.12) inset;
}
.login-body .btn-login:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59,130,246,0.46);
  transition: transform 80ms, box-shadow 80ms;
}
.login-body .btn-login:disabled {
  opacity: 0.55; cursor: not-allowed; transform: none;
  box-shadow: 0 4px 14px rgba(59,130,246,0.26); animation: none;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER / SPINNER / UTILITIES
════════════════════════════════════════════════════════════════════ */
.login-body .form-foot {
  text-align: center; font-size: 0.8125rem;
  color: rgba(90,120,195,0.26); margin-top: 0.75rem; letter-spacing: 0.2px;
}

.login-body .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.30);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.login-body .hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  .login-wrapper { padding: 1rem; }
  .card-glow-ring { border-radius: 24px; }
  .login-card { padding: 2.25rem 1.75rem 2rem; border-radius: 23px; }
  .logo-img { width: 92px; height: 92px; }
  .form-head h2 { font-size: 1.625rem; }
  .orb-1 { width: 400px; height: 400px; }
  .orb-2 { width: 320px; height: 320px; }
  .beam-3, .beam-4, .beam-5 { display: none; }
  .hex-1, .hex-2 { display: none; }
  .streak-2, .streak-3 { display: none; }
}
@media (max-width: 360px) {
  .login-card { padding: 2rem 1.375rem 1.75rem; }
  .form-head h2 { font-size: 1.4rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .login-body *, .login-body *::before, .login-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
