.hero-section,
.content-area,
.auth-card,
.modal-overlay {
  --primary:      #bf023f;
  --primary-light:#e8204f;
  --primary-pale: #fff0f4;
  --text:         #1a1a2e;
  --muted:        #8890a4;
  --border:       #e8eaf0;
  --input-bg:     #f7f8fc;
}

/* ═══ HERO ═══ */
.hero-section {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 100%);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 560px;
}
.hero-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 10px;
  white-space: nowrap;
}
.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ═══ CONTENT AREA ═══ */
.login-content-area {
  display: flex;
  align-items: flex-start;
  padding: 0 15% 60px;
  position: relative;
}

/* ── Illustration ── */
.illus-wrap {
  flex: 1;
  min-width: 0;
  padding-top: 40px;
  transition: opacity .4s ease, transform .4s ease;
}
.illus-wrap.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-24px);
}
.illus-wrap img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
}

/* ── Auth Card ── */
.auth-card-wrap {
  flex-shrink: 0;
  width: 560px;
  margin-top: -200px;
  position: relative;
  z-index: 20;
}
.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  position: relative;
  overflow: hidden;
  min-height: 800px;
  display: flex;
  flex-direction: column;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #bf023f, #ff6b9d);
}

/* ═══ SWITCH ROW ═══ */
.switch-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 18px;
  color: #8890a4;
}
.switch-row a {
  color: #1a1a2e !important;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
}
.switch-row a:hover { color: #bf023f; }

/* ═══ FORM TITLE ═══ */
.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #1a1a2e;
}
.form-title .accent { color: #bf023f; }

/* ═══ LOGIN METHOD TOGGLE ═══ */
.login-method-toggle {
  display: flex;
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}
.method-tab {
  flex: 1;
  padding: 10px 0;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #8890a4;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.method-tab.active {
  flex: 1.4;                /* makes active tab wider */
  background: #fff;
  color: #bf023f;
  font-size: 16px;          /* slightly larger text */
  padding: 12px 0;          /* slightly taller */
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.method-tab svg { flex-shrink: 0; }

/* ═══ FORMS ═══ */
.auth-form { display: none; 
                flex-direction: column; 
                gap: 14px; 
                height: 100%; 
                }
.auth-form.active { display: flex;
                    flex: 1;
                 }

/* Login method panels */
.signin-panel { display: none; flex-direction: column; gap: 18px; }
.signin-panel.active { display: flex; flex: 1;}

/* ── Field ── */
.login-field-group { display: flex; flex-direction: column; gap: 5px; }
.login-field-group label {
  font-size: 13px;
  font-weight: 650;
  color: #8890a4;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.login-field-group input {
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 18px;
  font-family: 'DM Sans', sans-serif;
  color: #1a1a2e;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}
.login-field-group input:focus {
  border-color: #bf023f;
  box-shadow: 0 0 0 3px rgba(191,2,63,0.1);
}
.login-field-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error,
.forgot-error,
.mpin-error {
  display: none;
  font-size: 13px;
  color: #e53e3e;
  margin-top: 8px;
  line-height: 1.4;
}

.login-field-group.error input {
  border-color: #e53e3e;
}

/* ── OTP Send Row ── */
.otp-send-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.otp-send-row .login-field-group { flex: 1; }
.send-otp-btn {
  flex-shrink: 0;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid #bf023f;
  background: transparent;
  color: #bf023f;
  font-size: 16px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.send-otp-btn:hover:not(:disabled) { background: #bf023f; color: #fff; }
.send-otp-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ═══ UNIFIED 4-DIGIT CODE INPUT ═══ */
.otp-section { display: none; flex-direction: column; gap: 8px; }
.otp-section.show { display: flex; flex: 1; }

.code-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.code-label-text {
  font-size: 13px;
  font-weight: 600;
  color: #8890a4;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.code-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 100px;
  background: #fff0f4;
  color: #bf023f;
  font-size: 11px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .3px;
}

/* 4-digit boxes */
.otp-digits { display: flex; gap: 10px; margin-top: 5px; }
.otp-digit {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  outline: none;
  caret-color: #bf023f;
  color: #1a1a2e;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-sizing: border-box;
}
.otp-digit:focus {
  border-color: #bf023f;
  box-shadow: 0 0 0 3px rgba(191,2,63,0.12);
  transform: scale(1.06);
}
.otp-digit.filled {
  background: #fff0f4;
  border-color: #bf023f;
  color: #bf023f;
}

/* ── Resend Row ── */
.resend-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.resend-timer { font-size: 12.5px; color: #8890a4; }
.resend-timer .countdown { color: #bf023f; font-weight: 700; }
.resend-btn {
  background: none;
  border: 1.5px solid #bf023f;
  color: #bf023f;
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding: 5px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.resend-btn:hover { background: #bf023f; color: #fff; }

/* ── MPIN Login ── */
.mpin-login-label {
  font-size: 13px;
  font-weight: 600;
  color: #8890a4;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mpin-login-digits {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.mpin-login-digit {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  outline: none;
  caret-color: #bf023f;
  color: #1a1a2e;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-sizing: border-box;
}
.mpin-login-digit:focus {
  border-color: #bf023f;
  box-shadow: 0 0 0 3px rgba(191,2,63,0.12);
  transform: scale(1.06);
}
.mpin-login-digit.filled {
  background: #fff0f4;
  border-color: #bf023f;
}

/* ── Forgot MPIN ── */
.forgot-mpin-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}
.forgot-mpin-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #bf023f;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
  transition: opacity .15s;
}
.forgot-mpin-link:hover { opacity: 0.75; text-decoration: underline; }

.mpin-skip-row {
  font-size: 13px;
  color: #475569;
  margin: 10px 0 14px;
}
.mpin-skip-btn {
  background: none;
  border: none;
  color: #e53e3e;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.mpin-skip-btn:hover { opacity: 0.85; }

/* ── Divider ── */
.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #8890a4;
}
.login-divider::before,
.login-divider::after { content: ''; flex: 1; height: 1px; background: #e8eaf0; }

/* ── Social ── */
.social-row { display: flex; gap: 20px; }
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 50px;
  border-radius: 11px;
  border: 1.5px solid #e8eaf0;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  color: #1a1a2e;
  transition: border-color .2s, box-shadow .2s;
}
.social-btn:hover {
  border-color: #bbb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

/* ── Submit ── */
.login-submit-btn {
  width: 200px;
  height: 48px;
  border-radius: 100px;
  border: 1px solid #d0d0d0;
  background: transparent;
  box-shadow: 0px 3.9px 3.9px rgba(0,0,0,0.25);
  color: #bf023f;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .15s;
  margin: 6px auto 0;
  display: block;
  margin-top: 50px;

}
.login-submit-btn:hover {
  background: #bf023f;
  color: #fff;
  box-shadow: 0 8px 22px rgba(191,2,63,0.3);
  transform: translateY(-2px);
}
.login-submit-btn:active { transform: none; }

/* ═══ MODAL OVERLAY (login-specific, higher z than Bootstrap modals) ═══ */
.login-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,12,30,0.72);
  backdrop-filter: blur(6px);
  z-index: 1060;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.login-modal-overlay.open { display: flex; }
.login-modal-card {
  background: #fff;
  border-radius: 22px;
  padding: 40px 36px 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  animation: lmcSlideUp .35s cubic-bezier(.4,0,.2,1);
}
@keyframes lmcSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.login-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  color: #8890a4;
  cursor: pointer;
  line-height: 1;
  transition: color .15s;
}
.login-modal-close:hover { color: #1a1a2e; }

/* CREATE MPIN modal */
.modal-switch-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 15px;
  font-size: 16px;
  color: #8890a4;
}
.modal-switch-row a {
  color: #1a1a2e;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.login-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}
.login-modal-title .accent { color: #bf023f; }
.login-modal-desc {
  font-family: 'Outfit', sans-serif;
  text-align:left;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #1c1c1f;
}

.mpin-label {
  font-size: 11px;
  font-weight: 600;
  color: #8890a4;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.mpin-digits { display: flex; gap: 10px; margin-bottom: 18px; }
.mpin-digit {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  outline: none;
  caret-color: #bf023f;
  color: #1a1a2e;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-sizing: border-box;
}
.mpin-digit:focus {
  border-color: #bf023f;
  box-shadow: 0 0 0 3px rgba(191,2,63,0.12);
  transform: scale(1.06);
}
.mpin-digit.filled {
  background: #fff0f4;
  border-color: #bf023f;
}
.mpin-error {
  font-size: 12px;
  color: #e53e3e;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}
.login-modal-save-btn {
  width: 100%;
  height: 48px;
  border-radius: 100px;
  border: none;
  background: linear-gradient(135deg, #bf023f, #e8204f);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(191,2,63,0.3);
  transition: transform .15s, box-shadow .15s;
  margin-top: 6px;
}
.login-modal-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(191,2,63,0.4);
}

.mpin-eye-btn{
  border:none;
  background:transparent;
  font-size:20px;
  cursor:pointer;
  color:#8890a4;
}

/* Success State */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 12px 0;
}
.success-state.show { display: flex; }
.success-state svg { animation: lmcPopIn .4s cubic-bezier(.4,0,.2,1); }
@keyframes lmcPopIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-state h3 { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 700; color: #1a1a2e; }
.success-state p { font-size: 13px; color: #8890a4; line-height: 1.6; }

/* FORGOT MPIN modal */
#forgot-mpin-modal .login-modal-card { max-width: 420px; }

.forgot-step { display: none; flex-direction: column; gap: 16px; }
.forgot-step.active { display: flex; }

.forgot-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1a1a2e;
}
.forgot-modal-title .accent { color: #bf023f; }
.forgot-desc { font-size: 14px; color: #8890a4; line-height: 1.6; margin-top: -8px; }

.reset-method-row { display: flex; gap: 10px; }
.reset-method-btn {
  flex: 1;
  padding: 14px 10px;
  border-radius: 14px;
  border: 2px solid #e8eaf0;
  background: #f7f8fc;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8890a4;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.reset-method-btn svg { opacity: 0.55; transition: opacity .2s; }
.reset-method-btn.active,
.reset-method-btn:hover {
  border-color: #bf023f;
  color: #bf023f;
  background: #fff0f4;
  box-shadow: 0 4px 14px rgba(191,2,63,0.1);
}
.reset-method-btn.active svg,
.reset-method-btn:hover svg { opacity: 1; }

.reset-input-wrap { display: none; flex-direction: column; gap: 12px; }
.reset-input-wrap.show { display: flex; }

.forgot-otp-section { display: flex; flex-direction: column; gap: 10px; }
.forgot-otp-digits { display: flex; gap: 10px; justify-content: center; }
.forgot-otp-digit {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  outline: none;
  caret-color: #bf023f;
  color: #1a1a2e;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-sizing: border-box;
}
.forgot-otp-digit:focus {
  border-color: #bf023f;
  box-shadow: 0 0 0 3px rgba(191,2,63,0.12);
  transform: scale(1.05);
}
.forgot-otp-digit.filled {
  background: #fff0f4;
  border-color: #bf023f;
  color: #bf023f;
}

.new-mpin-label {
  font-size: 12px;
  font-weight: 600;
  color: #8890a4;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.new-mpin-digits { display: flex; gap: 10px; margin-bottom: 14px; }
.new-mpin-digit {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  background: #f7f8fc;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  outline: none;
  caret-color: #bf023f;
  color: #1a1a2e;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-sizing: border-box;
}
.new-mpin-digit:focus {
  border-color: #bf023f;
  box-shadow: 0 0 0 3px rgba(191,2,63,0.12);
  transform: scale(1.06);
}
.new-mpin-digit.filled {
  background: #fff0f4;
  border-color: #bf023f;
}
.forgot-error { font-size: 12px; color: #e53e3e; display: none; margin-top: -6px; }

.forgot-success {
  display: none;
  text-align: center;
  font-size: 14px;
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
}

.button-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.6);
  border-top-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  animation: spin 0.8s linear infinite;
}

.login-modal-save-btn.loading .button-loader {
  display: inline-block;
}

.login-modal-save-btn.loading #forgot-send-btn-text {
  opacity: 0.8;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.login-modal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #8890a4;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
  margin-bottom: -4px;
  transition: color .15s;
}
.login-modal-back-link:hover { color: #1a1a2e; }

.forgot-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 4px; }
.progress-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e8eaf0;
  transition: background .3s, transform .3s;
}
.progress-dot.active { background: #bf023f; transform: scale(1.3); }
.progress-dot.done   { background: #34c759; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
  .hero-section { height: 240px; }
  .hero-text h1 { font-size: 34px; }
  .hero-text p  { font-size: 13.5px; max-width: 360px; }
  .login-content-area { padding: 0 4% 50px; }
  .auth-card-wrap { width: 460px; margin-top: -170px; }
  .auth-card { padding: 34px 34px 30px; min-height: 600px; }
  .form-title { font-size: 42px; margin-bottom: 20px; }
  .otp-digit { width: 50px; height: 54px; font-size: 20px; }
  .mpin-login-digit { width: 50px; height: 54px; font-size: 20px; }
}

@media (max-width: 768px) {
  .hero-section { height: 200px; }
  .hero-text { left: 4%; max-width: 80%; }
  .hero-text h1 { font-size: 26px; white-space: normal; }
  .hero-text p { display: none; }
  .login-content-area {
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 48px;
  }
  .auth-card-wrap {
    width: 100%;
    max-width: 520px;
    margin-top: 24px;
    order: 1;
  }
  .auth-card { padding: 28px 24px 24px; min-height: auto; border-radius: 16px; }
  .auth-card::before { height: 3px; }
  .form-title { font-size: 36px; margin-bottom: 18px; }
  .switch-row { font-size: 13px; margin-bottom: 14px; }
  .switch-row a { font-size: 13px; }
  .illus-wrap {
    order: 2;
    width: 100%;
    max-width: 360px;
    padding-top: 24px;
    margin: 0 auto;
  }
  .illus-wrap.hidden {
    position: static;
    opacity: 0;
    transform: none;
    height: 0;
    overflow: hidden;
    padding-top: 0;
  }
  .otp-digit { width: 52px; height: 56px; font-size: 20px; }
  .mpin-login-digit { width: 52px; height: 56px; font-size: 20px; }
  .social-btn { font-size: 13px; height: 40px; }
  .login-submit-btn { width: 180px; height: 44px; font-size: 20px;  margin-top: 5px;}
  .login-modal-card { padding: 30px 22px 26px; border-radius: 18px; }
  .mpin-digit { width: 50px; height: 54px; font-size: 20px; }
  .new-mpin-digit { width: 50px; height: 54px; }
  .forgot-otp-digit { width: 50px; height: 54px; font-size: 20px; }
}

@media (max-width: 480px) {
  .hero-section { height: 170px; }
  .hero-text h1 { font-size: 22px; }
  .login-content-area { padding: 16px 12px 40px; }
  .auth-card { padding: 24px 18px 20px; }
  .form-title { font-size: 30px; }
  .otp-send-row { flex-direction: column; align-items: stretch; }
  .send-otp-btn { width: 100%; }
  .otp-digits { gap: 8px; }
  .otp-digit { width: 58px; height: 60px; font-size: 22px; border-radius: 10px; }
  .mpin-login-digits { gap: 8px; }
  .mpin-login-digit { width: 58px; height: 60px; font-size: 22px; }
  .social-btn span { display: none; }
  .login-submit-btn { width: 160px; font-size: 18px; }
  .login-modal-card { padding: 26px 16px 22px; }
  .mpin-digits { gap: 8px; }
  .mpin-digit { width: 52px; height: 56px; font-size: 20px; }
  .new-mpin-digits { gap: 8px; }
  .new-mpin-digit { width: 52px; height: 56px; }
  .forgot-otp-digits { gap: 8px; }
  .forgot-otp-digit { width: 52px; height: 56px; font-size: 20px; }
  .illus-wrap { display: none; }
}

#global-error-box{
  position: fixed;
  top: 20px;
  right: -350px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #fff;
  padding: 14px 22px;
  border-radius: 6px 0 0 6px;
  z-index: 9999;
  transition: right 0.4s ease;
}

#global-error-box.show{
  right: 0;
}

.social-error-box {
  display: none;
  font-size: 14px;
  color: #bf023f;
  margin-top: 8px;
}

/* ============================================================
   Scales the entire page content uniformly to match Windows 100%.
============================================================ */
@media (min-width: 992px) and (max-width: 1512px) {
  main {
    zoom: 0.8;
  }
}
