/* ═══════════════════════════════════════════════════════════════
   sanC MES — sign-in pages (login.html, forgot-password.html)
   Cyan palette, rounded cards, gentle motion. All motion stops
   for users who ask their OS for reduced motion.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Lato', sans-serif;

  /* MES brand palette — cyan (same as index.html).
     White text only on cyan-700 and darker. */
  --cyan-50:  #ECFEFF;
  --cyan-100: #CFFAFE;
  --cyan-200: #A5F3FC;
  --cyan-300: #67E8F9;
  --cyan-400: #22D3EE;
  --cyan-500: #06B6D4;
  --cyan-600: #0891B2;
  --cyan-700: #0E7490;
  --cyan-800: #155E75;
  --cyan-900: #164E63;

  --pri:     var(--cyan-700);
  --pri-dk:  var(--cyan-800);
  --pri-lt:  rgba(6, 182, 212, 0.14);
  --bg:      var(--cyan-50);
  --surface: #FFFFFF;
  --txt:     var(--cyan-900);
  --txt2:    #5B6B73;
  --border:  var(--cyan-200);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────────── */
.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  height: 100vh;
  min-height: 640px;
  position: relative;
  overflow: hidden;
}

/* soft background shapes behind the form */
.login-shell::before,
.login-shell::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.login-shell::before {
  width: 420px; height: 420px; right: -120px; top: -140px;
  background: rgba(103, 232, 249, 0.35);
  animation: drift 18s ease-in-out infinite alternate;
}
.login-shell::after {
  width: 360px; height: 360px; right: 18%; bottom: -180px;
  background: rgba(165, 243, 252, 0.45);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

/* ═══════════════════════════════════════════════════════════════
   LEFT — brand panel (shared/components/AuthBrandPanel.js)
   ═══════════════════════════════════════════════════════════════ */
.bp {
  position: relative;
  z-index: 1;
  margin: 18px 0 18px 18px;
  border-radius: 32px;
  padding: 36px 40px 32px;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(34, 211, 238, .28) 0%, transparent 55%),
    linear-gradient(150deg, var(--cyan-700) 0%, var(--cyan-800) 45%, var(--cyan-900) 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 0;
  box-shadow: 0 30px 60px -24px rgba(22, 78, 99, .55);
}

/* dotted texture */
.bp::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(236, 254, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

/* floating glow orbs */
.bp__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.bp__orb--a { width: 260px; height: 260px; left: -80px; bottom: -60px;  background: rgba(34, 211, 238, .35); animation: drift 14s ease-in-out infinite alternate; }
.bp__orb--b { width: 200px; height: 200px; right: -40px; top: 30%;     background: rgba(103, 232, 249, .25); animation: drift 17s ease-in-out infinite alternate-reverse; }

.bp > *:not(.bp__orb):not(.bp__waves) { position: relative; z-index: 1; }

/* top row: brand chip + status chip */
.bp__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  animation: rise .7s var(--ease-out) both;
}
.bp__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  font: 800 13px var(--font-heading);
  letter-spacing: .4px;
}
.bp__chip-logo {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500));
  color: var(--cyan-900);
  font-size: 16px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
.bp__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(8, 145, 178, .35);
  border: 1px solid rgba(165, 243, 252, .30);
  font: 700 11px var(--font-body); letter-spacing: .6px; text-transform: uppercase;
  color: var(--cyan-50);
}
.dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80; flex-shrink: 0;
}
.dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #4ADE80; opacity: 0;
  animation: ping 1.8s ease-out infinite;
}

/* headline */
.bp__hero { animation: rise .8s .08s var(--ease-out) both; }
.bp__title {
  font: 800 clamp(30px, 3.2vw, 44px)/1.08 var(--font-heading);
  letter-spacing: -.5px;
}
.bp__title-accent {
  background: linear-gradient(90deg, var(--cyan-200), #fff, var(--cyan-300), var(--cyan-200));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
.bp__sub {
  margin-top: 12px;
  max-width: 440px;
  font-size: 14.5px; line-height: 1.65;
  color: rgba(236, 254, 255, .88);
}

/* flowing signal lines (canvas, drawn by AuthBrandPanel) */
.bp__waves {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.bp__space { flex: 1 1 auto; min-height: 140px; }

/* feature cards */
.bp__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feat {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .35s var(--ease-out), background .3s, border-color .3s, box-shadow .35s;
  animation: rise .8s var(--ease-out) both;
}
.feat:nth-child(1) { animation-delay: .24s; }
.feat:nth-child(2) { animation-delay: .32s; }
.feat:nth-child(3) { animation-delay: .40s; }
.feat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(165, 243, 252, .55);
  box-shadow: 0 16px 30px -16px rgba(34, 211, 238, .65);
}
.feat__icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: rgba(165, 243, 252, .18);
  color: var(--cyan-100);
  font-size: 19px;
  margin-bottom: 10px;
  transition: transform .45s var(--ease-out), background .3s;
}
.feat:hover .feat__icon { transform: rotate(-10deg) scale(1.12); background: rgba(165, 243, 252, .32); }
.feat__title { font: 800 13px var(--font-heading); margin-bottom: 3px; }
.feat__text  { font-size: 12px; line-height: 1.5; color: rgba(236, 254, 255, .82); }

/* ═══════════════════════════════════════════════════════════════
   RIGHT — form card
   ═══════════════════════════════════════════════════════════════ */
.login-form-side {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 28px;
  overflow-y: auto;      /* the two-step card can be taller than a short screen */
}
.login-form-side > .login-card { margin: auto 0; }
.login-card {
  position: relative;
  width: 100%; max-width: 440px;
  padding: 44px 42px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(165, 243, 252, .7);
  backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .8) inset,
    0 30px 60px -28px rgba(22, 78, 99, .35);
  animation: rise .8s .1s var(--ease-out) both;
  overflow: hidden;
}
/* accent bar on top of the card */
.login-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--cyan-700), var(--cyan-400), var(--cyan-700));
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}

/* step dots */
.step-dots { display: flex; gap: 6px; margin-bottom: 26px; }
.step-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--border);
  transition: background .3s, width .4s var(--ease-out);
}
.step-dot.active { background: var(--pri); width: 26px; }
.step-dot.done   { background: #16a34a; }

/* logo + subtitle */
.card-logo {
  display: flex; align-items: center; gap: 10px;
  font: 800 26px var(--font-heading); color: var(--txt);
  margin-bottom: 4px;
}
.card-logo b { color: var(--pri); }
.card-logo__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan-700), var(--cyan-900));
  color: #fff; font-size: 19px;
  box-shadow: 0 8px 18px -8px rgba(14, 116, 144, .8);
  transition: transform .5s var(--ease-out);
}
.login-card:hover .card-logo__mark { transform: rotate(-8deg) scale(1.06); }
.card-sub { font-size: 13.5px; color: var(--txt2); margin-bottom: 24px; line-height: 1.5; }

/* alerts */
.alert-box {
  border-radius: 14px; padding: 11px 14px;
  font-size: 13px; margin-bottom: 18px;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
  animation: rise .4s var(--ease-out) both;
}
.alert-box code { font-size: 12px; }
.alert-box--error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-box--warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-box--info    { background: var(--cyan-100); color: var(--cyan-800); border: 1px solid var(--cyan-300); }
.alert-box__close {
  background: none; border: none; cursor: pointer;
  font-size: 16px; line-height: 1; margin-left: auto;
  color: inherit; flex-shrink: 0; opacity: .7;
}
.alert-box__close:hover { opacity: 1; }

/* form fields */
.form-group { margin-bottom: 18px; position: relative; }
.form-label {
  display: block; font: 700 12px var(--font-body);
  color: var(--txt); margin-bottom: 6px; letter-spacing: .2px;
}
.form-input {
  width: 100%; height: 50px;
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 0 46px 0 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--txt);
  background: #fff; outline: none;
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease-out);
}
.form-input::placeholder { color: #94A9B0; }
.form-input:hover:not(:disabled) { border-color: var(--cyan-300); }
.form-input:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 4px var(--pri-lt);
  transform: translateY(-1px);
}
.form-input.is-error { border-color: #ef4444; animation: shake .35s ease-in-out; }
.form-input:disabled { opacity: .6; cursor: not-allowed; }

.pw-toggle {
  position: absolute; right: 12px; top: 36px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: none; color: var(--txt2);
  cursor: pointer; font-size: 17px;
  transition: background .2s, color .2s;
}
.pw-toggle:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 1px; }
.pw-toggle:hover { background: var(--pri-lt); }

.field-error { font-size: 11.5px; color: #dc2626; margin-top: 5px; animation: rise .3s var(--ease-out) both; }

.link-sm {
  font-size: 12.5px; color: var(--pri); font-weight: 700; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease-out);
}
.link-sm:hover { background-size: 100% 1.5px; }

/* buttons */
.btn {
  position: relative; overflow: hidden;
  width: 100%; height: 50px; border-radius: 14px; border: none;
  font: 700 14.5px var(--font-heading); letter-spacing: .3px;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .25s var(--ease-out), box-shadow .3s, background-position .5s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--cyan-700) 0%, var(--cyan-800) 50%, var(--cyan-700) 100%);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(14, 116, 144, .9);
}
/* shine sweep */
.btn-primary::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease-out);
}
.btn-primary:hover:not(:disabled) {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(14, 116, 144, .95);
}
.btn-primary:hover:not(:disabled)::after { left: 120%; }
.btn-primary:active:not(:disabled) { transform: translateY(0) scale(.99); }
.btn-primary:disabled {
  background: var(--cyan-100); color: var(--cyan-800);
  box-shadow: none; cursor: not-allowed;
}
.btn-primary:disabled::after { display: none; }
.btn-primary:disabled .spinner { border-color: rgba(14, 116, 144, .25); border-top-color: var(--cyan-700); }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover:not(:disabled) .arrow { transform: translateX(4px); }

/* spinner */
.spinner {
  display: inline-block; flex-shrink: 0;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* footer + back link */
.card-footer {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--border);
  text-align: center; font-size: 12.5px; color: var(--txt2);
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 13px var(--font-body); color: var(--pri);
  cursor: pointer; background: none; border: none;
  padding: 6px 10px 6px 6px; margin: -6px 0 18px -6px;
  border-radius: 10px; text-decoration: none;
  transition: background .2s;
}
.back-link:hover { background: var(--pri-lt); }
.back-link span { transition: transform .3s var(--ease-out); }
.back-link:hover span { transform: translateX(-3px); }

/* ── Two-step code ─────────────────────────────────────────── */
.mfa { text-align: center; }
.mfa .back-link { float: left; }
.mfa::after { content: ''; display: block; clear: both; }

/* animated phone + shield */
.mfa-art {
  position: relative;
  width: 112px; height: 112px;
  margin: 8px auto 18px;
  display: grid; place-items: center;
  clear: both;
}
.mfa-art__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--cyan-300);
  animation: spin 14s linear infinite;
}
.mfa-art__ring--2 {
  inset: 12px;
  border: 2px solid var(--cyan-100);
  border-top-color: var(--cyan-500);
  animation: spin 2.4s linear infinite reverse;
}
.mfa-art__phone {
  position: relative;
  width: 50px; height: 76px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--cyan-700), var(--cyan-900));
  box-shadow: 0 12px 24px -10px rgba(14, 116, 144, .8), inset 0 0 0 2px rgba(165, 243, 252, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  animation: float 4s ease-in-out infinite;
}
.mfa-art__notch {
  position: absolute; top: 6px;
  width: 16px; height: 4px; border-radius: 4px;
  background: rgba(165, 243, 252, .45);
}
.mfa-art__shield { font-size: 20px; animation: beat 2.4s ease-in-out infinite; }
.mfa-art__dots { display: flex; gap: 3px; }
.mfa-art__dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan-200);
  animation: typing 1.2s ease-in-out infinite;
}
.mfa-art__dots i:nth-child(2) { animation-delay: .15s; }
.mfa-art__dots i:nth-child(3) { animation-delay: .3s; }
.mfa-art__badge {
  position: absolute; right: 14px; bottom: 16px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #16a34a; color: #fff; font: 800 13px var(--font-body);
  box-shadow: 0 0 0 4px #fff;
  animation: pop .6s .4s var(--ease-out) both;
}

.mfa__title { font: 800 21px var(--font-heading); color: var(--txt); margin-bottom: 6px; }
.mfa__sub   { font-size: 13px; color: var(--txt2); margin-bottom: 18px; line-height: 1.55; }
.mfa__sub b { color: var(--txt); }

.mfa-note {
  display: flex; align-items: flex-start; gap: 10px;
  text-align: left;
  padding: 11px 14px; margin-bottom: 18px;
  border-radius: 14px;
  background: var(--cyan-50);
  border: 1px dashed var(--cyan-300);
  font-size: 12.5px; line-height: 1.5; color: var(--cyan-800);
  animation: rise .45s var(--ease-out) both;
}
.mfa-note__icon { font-size: 15px; line-height: 1.2; }

/* authenticator set-up QR (always on white so phones can read it, also in dark mode) */
.mfa-qr {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin: -4px 0 18px;
  animation: rise .5s var(--ease-out) both;
}
.mfa-qr img {
  width: 164px; height: 164px;
  padding: 8px; border-radius: 16px;
  background: #fff;
  border: 1px solid var(--cyan-200);
  box-shadow: 0 10px 24px -14px rgba(8, 51, 68, .35);
  image-rendering: pixelated;
}
.mfa-qr__key {
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 12.5px; color: var(--cyan-700);
  word-break: break-all; text-align: center;
}
.mfa-qr__key:hover { text-decoration: underline; }

/* six digit boxes */
.otp {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px; margin-bottom: 14px;
}
.otp__box {
  width: 100%; aspect-ratio: 4 / 5; max-height: 62px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-align: center;
  font: 800 24px var(--font-heading); color: var(--txt);
  caret-color: var(--pri);
  outline: none;
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease-out), background .2s;
}
.otp__box:nth-child(3) { margin-right: 6px; }   /* 123 456 grouping */
.otp__box:hover:not(:disabled) { border-color: var(--cyan-300); transform: translateY(-2px); }
.otp__box:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 4px var(--pri-lt);
  transform: translateY(-3px);
}
.otp__box--filled {
  background: var(--cyan-50);
  border-color: var(--cyan-500);
  animation: pop .3s var(--ease-out);
}
.otp--done .otp__box { border-color: var(--cyan-600); background: var(--cyan-50); animation: checking 1s ease-in-out infinite; }
.otp--done .otp__box:nth-child(2) { animation-delay: .08s; }
.otp--done .otp__box:nth-child(3) { animation-delay: .16s; }
.otp--done .otp__box:nth-child(4) { animation-delay: .24s; }
.otp--done .otp__box:nth-child(5) { animation-delay: .32s; }
.otp--done .otp__box:nth-child(6) { animation-delay: .40s; }
.otp--error .otp__box { border-color: #ef4444; background: #FEF2F2; animation: shake .35s ease-in-out; }
.otp__box:disabled { opacity: .7; }

/* code refresh countdown */
.otp-timer {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 auto 18px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: var(--cyan-50);
  font-size: 12px; color: var(--txt2);
}
.otp-timer b { color: var(--txt); font-variant-numeric: tabular-nums; }
.otp-timer__ring { width: 22px; height: 22px; transform: rotate(-90deg); }
.otp-timer__track { fill: none; stroke: var(--cyan-100); stroke-width: 4; }
.otp-timer__bar {
  fill: none; stroke: var(--cyan-600); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 97.4;
  transition: stroke-dashoffset 1s linear, stroke .3s;
}
.otp-timer__bar--low { stroke: #f59e0b; }

/* "or" divider + secondary button */
.or-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0; color: var(--txt2);
  font: 700 11px var(--font-body); text-transform: uppercase; letter-spacing: 1px;
}
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.btn-ghost {
  background: #fff;
  color: var(--pri);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--pri);
  background: var(--cyan-50);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -14px rgba(14, 116, 144, .8);
}
.btn-ghost:disabled { opacity: .6; cursor: not-allowed; }
.spinner--dark { border-color: rgba(14, 116, 144, .25); border-top-color: var(--pri); }

.mfa__hint { margin-top: 8px; font-size: 11.5px; color: var(--txt2); }
.mfa__help {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--txt2);
}

/* sent state (forgot password) */
.done-hero {
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: 6px auto 16px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--cyan-100), var(--cyan-200));
  font-size: 40px;
  animation: pop .6s var(--ease-out) both, float 4s .6s ease-in-out infinite;
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes rise    { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift   { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, -24px) scale(1.12); } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes ping    { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes pop     { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes shake   { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes checking { 50% { transform: translateY(-4px); box-shadow: 0 6px 12px -6px rgba(8,145,178,.6); } }
@keyframes beat    { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
@keyframes typing  { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .feat__text { display: none; }
}
@media (max-width: 960px) {
  .login-shell { grid-template-columns: 1fr; }
  .bp { display: none; }
}
@media (max-width: 480px) {
  .otp { gap: 5px; }
  .otp__box { font-size: 20px; border-radius: 11px; }
  .login-form-side { padding: 20px 14px; }
  .login-card { padding: 34px 22px 28px; border-radius: 22px; }
}

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