/* ===================================================
   Landing Page Styles — index.css
   =================================================== */

/* ─── Hero Background ──────────────────────────────── */
.landing-body {
  background: #0a0f1e;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated blobs */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  animation: blob-move 10s ease-in-out infinite;
  opacity: .18;
}
.blob-1 { width: 500px; height: 500px; background: #10b981; top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: #3b82f6; bottom: 10%; left: -80px; animation-delay: -4s; }
.blob-3 { width: 350px; height: 350px; background: #f59e0b; top: 50%; left: 50%; animation-delay: -7s; opacity: .10; }

/* ─── Nav ───────────────────────────────────────────── */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,15,30,.70);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  color: #fff;
}
.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg,#10b981,#059669);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(16,185,129,.4);
}
.nav-logo .logo-text { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.nav-logo .logo-text em { font-style: normal; color: #10b981; }
.nav-logo .logo-sub { font-size: .7rem; color: rgba(255,255,255,.4); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.theme-toggle-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: all .2s ease;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ─── Hero Section ─────────────────────────────────── */
.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 3rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
  padding: .45rem 1.1rem;
  border-radius: 9999px;
  font-size: .82rem; font-weight: 600;
  margin-bottom: 1.8rem;
  animation: fadeUp .6s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeUp .6s .1s ease both;
}
.hero-title .hl {
  background: linear-gradient(135deg,#10b981,#34d399,#3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(.95rem,2vw,1.1rem);
  color: rgba(255,255,255,.55);
  max-width: 540px; margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeUp .6s .2s ease both;
}

/* Live stats strip */
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeUp .6s .3s ease both;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 2rem; font-weight: 900;
  color: #fff; line-height: 1;
  display: block;
}
.hero-stat .lbl {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: .3rem;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

/* ─── Login Cards ───────────────────────────────────── */
.login-cards {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 880px;
  animation: fadeUp .6s .4s ease both;
}

.login-card {
  flex: 1;
  min-width: 320px;
  max-width: 400px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.login-card.admin-card::before { background: linear-gradient(90deg,#10b981,#059669); }
.login-card.member-card::before { background: linear-gradient(90deg,#3b82f6,#6366f1); }
.login-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.card-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 18px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto;
  padding: 20px;
  margin-bottom: 1.1rem;
}
.admin-card  .card-icon-wrap { background: rgba(16,185,129,.18); }
.member-card .card-icon-wrap { background: rgba(59,130,246,.18); }

.login-card h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .3rem; }
.login-card p  { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 1.6rem; }

.lc-label {
  display: block;
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-bottom: .4rem;
}
.lc-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .7rem 1rem;
  font-family: 'Cairo','Tajawal',sans-serif;
  font-size: .95rem;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
  margin-bottom: .9rem;
}
.lc-input::placeholder { color: rgba(255,255,255,.25); }
.lc-input:focus {
  border-color: rgba(16,185,129,.6);
  background: rgba(255,255,255,.10);
}
.lc-input.blue:focus { border-color: rgba(59,130,246,.6); }

.lc-password-wrap { position: relative; margin-bottom: .9rem; }
.lc-password-wrap .lc-input { padding-left: 2.8rem; }
.lc-password-wrap .eye-btn {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.35);
  cursor: pointer; font-size: .9rem; transition: color .2s;
}
.lc-password-wrap .eye-btn:hover { color: rgba(255,255,255,.7); }

.lc-submit-btn {
  width: 100%;
  padding: .8rem;
  border: none;
  border-radius: 12px;
  font-family: 'Cairo','Tajawal',sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: all .25s ease;
  margin-top: .5rem;
}
.admin-card  .lc-submit-btn { background: linear-gradient(135deg,#10b981,#059669); color: #fff; box-shadow: 0 6px 24px rgba(16,185,129,.4); }
.member-card .lc-submit-btn { background: linear-gradient(135deg,#3b82f6,#6366f1); color: #fff; box-shadow: 0 6px 24px rgba(59,130,246,.4); }
.lc-submit-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.lc-submit-btn .spinner-sm { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.lc-submit-btn.loading .spinner-sm { display: block; }
.lc-submit-btn.loading .btn-text { display: none; }

/* ─── Features Section ─────────────────────────────── */
.features-section {
  position: relative; z-index: 1;
  padding: 5rem 1.5rem;
}
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #10b981;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.7rem,4vw,2.5rem);
  font-weight: 900; color: #fff;
  margin-bottom: 1.1rem;
}
.section-sub {
  font-size: .95rem; color: rgba(255,255,255,.45);
  max-width: 500px; margin: 0 auto 3.5rem; line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all .25s ease;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.10);
  border-color: rgba(16,185,129,.3);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-card h4  { font-size: .95rem; font-weight: 700; color: #e2e8f0; margin-bottom: .5rem; }
.feature-card p   { font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.7; }

/* ─── Footer ────────────────────────────────────────── */
.landing-footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 2rem 1.5rem;
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}
.landing-footer span { color: #10b981; }

/* ─── Error message ─────────────────────────────────── */
.lc-error {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: .55rem .9rem;
  font-size: .8rem;
  margin-bottom: .75rem;
  display: none;
}
.lc-error.show { display: block; animation: fadeIn .3s ease; }

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 640px) {
  .login-card { min-width: 280px; }
  .hero-stats { gap: 1.5rem; }
  .landing-nav { padding: .75rem 1rem; }
}









  /* ══════════════════════════════════════════════
     RESET & BASE
  ══════════════════════════════════════════════ */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green:   #10b981;
    --green-d: #059669;
    --blue:    #3b82f6;
    --blue-d:  #2563eb;
    --gold:    #f59e0b;
    --dark:    #060d1a;
    --dark2:   #0d1b2e;
    --dark3:   #0f2035;
    --glass:   rgba(255,255,255,.06);
    --glass-b: rgba(255,255,255,.10);
    --brd:     rgba(255,255,255,.10);
    --txt:     #f1f5f9;
    --txt2:    rgba(255,255,255,.55);
    --txt3:    rgba(255,255,255,.30);
    --r:       18px;
    --r-sm:    10px;
    --shadow:  0 24px 64px rgba(0,0,0,.5);
  }

  html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: var(--dark);
    color: var(--txt);
    direction: rtl;
  }

  /* ══════════════════════════════════════════════
     PARTICLES CANVAS
  ══════════════════════════════════════════════ */
  #particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

  /* ══════════════════════════════════════════════
     SPLIT LAYOUT
  ══════════════════════════════════════════════ */
  .split {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 1;
  }

  /* ── LEFT PANEL (info) ── */
  .panel-left {
    flex: 1 1 37%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #091526 0%, #0c1e35 60%, #0a2540 100%);
    border-left: 1px solid var(--brd);
  }

  /* decorative rings */
  .panel-left::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(16,185,129,.12);
    top: -120px; right: -160px;
    animation: ring-spin 18s linear infinite;
  }
  .panel-left::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,.10);
    bottom: -80px; left: -80px;
    animation: ring-spin 24s linear infinite reverse;
  }
  @keyframes ring-spin { to { transform: rotate(360deg); } }

  /* ── RIGHT PANEL (login) ── */
  .panel-right {
    flex: 0 0 63%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 3rem;
    /* background: rgba(6, 13, 26, .96); */
    /* background: linear-gradient(145deg, #091526 0%, #0c1e35 60%, #0a2540 100%); */
    /* backdrop-filter: blur(24px); */
    position: relative;
    overflow: hidden;
  }
  .panel-right::before {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,.08) 0%, transparent 70%);
    bottom: -60px;
    left: -60px;
    pointer-events: none;
  }

  /* ══════════════════════════════════════════════
     LEFT PANEL CONTENT
  ══════════════════════════════════════════════ */
  .brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    animation: fadeSlideDown .6s ease both;
  }
  .brand-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--green), var(--green-d));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(16,185,129,.4);
    flex-shrink: 0;
  }
  .brand-name { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
  .brand-sub  { font-size: .75rem; color: var(--txt3); margin-top: .1rem; }

  /* hero text */
  .hero-text { position: relative; z-index: 1; animation: fadeSlideUp .7s .1s ease both; }
  .hero-text .tag {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(16,185,129,.12);
    border: 1px solid rgba(16,185,129,.25);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .78rem; font-weight: 700; color: #34d399;
    margin-bottom: 1.1rem;
    letter-spacing: .3px;
  }
  .hero-text h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: .85rem;
    color: #fff;
  }
  .hero-text h1 .hl {
    background: linear-gradient(135deg, var(--green), #34d399, var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-text p {
    font-size: .9rem;
    color: var(--txt2);
    line-height: 1.85;
    max-width: 380px;
  }

  /* stats grid */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
    position: relative; z-index: 1;
    animation: fadeSlideUp .7s .25s ease both;
  }
  .stat-box {
    background: var(--glass);
    border: 1px solid var(--brd);
    border-radius: var(--r);
    padding: 1rem .9rem;
    transition: transform .25s ease, background .25s ease;
  }
  .stat-box:hover { transform: translateY(-4px); background: var(--glass-b); }
  .stat-box .ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    margin-bottom: .65rem;
  }
  .stat-box .val {
    font-size: 1.25rem; font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: .25rem;
    display: block;
  }
  .stat-box .lbl { font-size: .72rem; color: var(--txt3); }

  /* activity feed */
  .activity-wrap {
    position: relative; z-index: 1;
    animation: fadeSlideUp .7s .38s ease both;
  }
  .activity-title {
    font-size: .78rem; font-weight: 700; color: var(--txt3);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: .7rem;
  }
  .activity-list { display: flex; flex-direction: column; gap: .45rem; }
  .activity-item {
    display: flex; align-items: center; gap: .7rem;
    background: var(--glass);
    border: 1px solid var(--brd);
    border-radius: var(--r-sm);
    padding: .6rem .85rem;
    transition: background .2s ease;
    animation: slideInRight .5s ease both;
  }
  .activity-item:hover { background: var(--glass-b); }
  .activity-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
  }
  .activity-text { font-size: .82rem; flex: 1; }
  .activity-text strong { display: block; color: var(--txt); font-weight: 600; }
  .activity-text span   { color: var(--txt3); font-size: .75rem; }
  .activity-amount { font-size: .85rem; font-weight: 800; }

  /* left footer */
  .left-footer {
    font-size: .75rem;
    color: var(--txt3);
    position: relative; z-index: 1;
    animation: fadeSlideUp .7s .5s ease both;
  }
  .left-footer span { color: var(--green); }

  /* ══════════════════════════════════════════════
     RIGHT PANEL — LOGIN FORM
  ══════════════════════════════════════════════ */

  /* greeting */
  .login-greeting { margin-bottom: 1.6rem; animation: fadeSlideDown .6s .1s ease both; }
  .login-greeting h2 { font-size: 1.55rem; font-weight: 900; color: #fff; margin-bottom: .2rem; }
  .login-greeting p  { font-size: .85rem; color: var(--txt2); }

  /* tab switcher */
  .tab-switcher {
    display: flex;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--brd);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 1.75rem;
    position: relative;
    animation: fadeSlideUp .6s .15s ease both;
  }
  .tab-bg {
    position: absolute;
    top: 4px; bottom: 4px;
    width: calc(50% - 4px);
    border-radius: 9px;
    transition: all .38s cubic-bezier(.34,1.56,.64,1);
    z-index: 0;
  }
  .tab-btn {
    flex: 1;
    position: relative; z-index: 1;
    background: none; border: none;
    padding: .65rem 1rem;
    border-radius: 9px;
    font-family: 'Cairo', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: color .3s ease;
    color: var(--txt2);
  }
  .tab-btn.act { color: #fff; }
  .tab-btn .ti { font-size: 1rem; }

  /* tab[member] active → bg slides right, tab[admin] active → slides left */
  .tab-bg.member { right: 4px; background: linear-gradient(135deg, var(--blue-d), var(--blue)); }
  .tab-bg.admin  { right: calc(50%); background: linear-gradient(135deg, var(--green-d), var(--green)); }

  /* forms wrapper */
  .forms-wrap { position: relative; }
  .login-form-panel {
    display: none;
    flex-direction: column;
    gap: .85rem;
    animation: formIn .4s ease both;
  }
  .login-form-panel.active { display: flex; }

  /* field */
  .field-label {
    font-size: 1rem; font-weight: 700;
    color: var(--txt3);
    margin-bottom: .35rem;
    display: block;
    letter-spacing: .3px;
  }
  .field-wrap { position: relative; }
  .field-wrap .f-icon {
    position: absolute;
    right: .95rem; top: 50%; transform: translateY(-50%);
    color: var(--txt3);
    font-size: .88rem;
    pointer-events: none;
    transition: color .2s;
  }
  .f-input {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.10);
    border-radius: 11px;
    padding: .78rem 2.6rem .78rem .95rem;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: .95rem;
    color: #fff;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
  }
  .f-input::placeholder { color: rgba(255,255,255,.2); }
  .f-input:focus {
    border-color: var(--green);
    background: rgba(16,185,129,.07);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
  }
  .f-input:focus ~ .f-icon { color: var(--green); }
  .f-input.blue-focus:focus {
    border-color: var(--blue);
    background: rgba(59,130,246,.07);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
  }
  .f-input.blue-focus:focus ~ .f-icon { color: var(--blue); }

  /* password toggle */
  .eye-toggle {
    position: absolute;
    left: .85rem; top: 50%; transform: translateY(-50%);
    background: none; border: none;
    color: rgba(255,255,255,.3);
    cursor: pointer; font-size: .88rem;
    transition: color .2s;
    padding: 0;
  }
  .eye-toggle:hover { color: rgba(255,255,255,.7); }

  /* code input special */
  .code-input {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 800;
    padding: .85rem 1rem !important;
    text-transform: uppercase;
  }

  /* hint box */
  .hint-box {
    display: flex; align-items: center; gap: .5rem;
    background: rgba(59,130,246,.08);
    border: 1px solid rgba(59,130,246,.18);
    border-radius: 9px;
    padding: .55rem .85rem;
    font-size: .78rem;
    color: rgba(255,255,255,.45);
  }
  .hint-box i { color: #60a5fa; flex-shrink: 0; }

  /* error */
  .form-error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.25);
    color: #fca5a5;
    border-radius: 9px;
    padding: .55rem .85rem;
    font-size: .8rem;
    display: none;
    animation: shake .4s ease;
  }
  .form-error.show { display: flex; align-items: center; gap: .5rem; }

  /* submit button */
  .submit-btn {
    width: 100%;
    padding: .88rem;
    border: none;
    border-radius: 12px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 1rem; font-weight: 800;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    transition: all .25s ease;
    margin-top: .25rem;
    position: relative;
    overflow: hidden;
  }
  .submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background .2s;
  }
  .submit-btn:hover::after { background: rgba(255,255,255,.07); }
  .submit-btn:active { transform: scale(.98); }

  .btn-green { background: linear-gradient(135deg, var(--green-d), var(--green)); color: #fff; box-shadow: 0 8px 28px rgba(16,185,129,.4); }
  .btn-blue  { background: linear-gradient(135deg, var(--blue-d),  var(--blue));  color: #fff; box-shadow: 0 8px 28px rgba(59,130,246,.4); }

  .btn-spinner {
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: none;
  }
  .submit-btn.loading .btn-spinner { display: block; }
  .submit-btn.loading .btn-txt     { display: none; }

  /* divider */
  .or-divider {
    display: flex; align-items: center; gap: .75rem;
    color: var(--txt3); font-size: .78rem;
    margin: .1rem 0;
  }
  .or-divider::before, .or-divider::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(255,255,255,.08);
  }

  /* switch link */
  .switch-link {
    text-align: center;
    font-size: .8rem;
    color: var(--txt3);
    animation: fadeSlideUp .6s .45s ease both;
    margin-top: .5rem;
  }
  .switch-link button {
    background: none; border: none;
    font-family: 'Cairo', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s;
    margin-right: .25rem;
  }
  .switch-link button.green-lnk { color: var(--green); }
  .switch-link button.blue-lnk  { color: var(--blue); }
  .switch-link button:hover { filter: brightness(1.3); }

  /* right footer */
  .right-footer {
    text-align: center;
    font-size: .73rem; color: var(--txt3);
    margin-top: 1rem;
    animation: fadeSlideUp .6s .55s ease both;
  }

  /* ══════════════════════════════════════════════
     ANIMATIONS
  ══════════════════════════════════════════════ */
  @keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes formIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes blob-move {
    0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translateY(0)   rotate(0deg); }
    50%      { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translateY(-20px) rotate(10deg); }
  }
  @keyframes float-y {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
  }
  @keyframes shake {
    0%,100% { transform: translateX(0); }
    20%,60% { transform: translateX(-5px); }
    40%,80% { transform: translateX(5px); }
  }
  @keyframes pulse-glow {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.35); }
    50%      { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  }
  @keyframes counter-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ══════════════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════════════ */
  @media (max-width: 860px) {
    html, body { overflow: auto; }
    .split { flex-direction: column; height: auto; min-height: 100vh; }
    .panel-left  { flex: none; padding: 1.75rem 1.5rem; min-height: 320px; }
    .panel-right { flex: none; padding: 1.75rem 1.5rem; }
    .stats-grid  { grid-template-columns: repeat(3, 1fr); }
    .activity-wrap { display: none; }
  }
  @media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-box:last-child { display: none; }
  }
