/* Banani Login Modal */
#login-modal.ra-auth-modal {
  padding: 12px !important;
}

#login-modal.ra-auth-modal .modal-dialog {
  max-width: 440px !important;
  width: calc(100% - 24px);
  margin: 1.25rem auto !important;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: center;
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
}

/* Mobile shell — hidden on desktop */
.ra-login-atm,
.ra-login-m-topbar,
.ra-login-m-bnav {
  display: none !important;
}

.ra-login-scroll {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

#ra-login-trust {
  display: none;
}

#login-modal.ra-auth-modal .modal-content {
  background: linear-gradient(160deg, #141e38 0%, #0d1525 60%, #0a101e 100%) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,95,46,0.06), inset 0 1px 0 rgba(255,255,255,0.06);
  color: #e8eaf6 !important;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
}

#login-modal.ra-auth-modal .modal-content::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  background: radial-gradient(ellipse, rgba(255,95,46,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#ra-login-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ff5f2e 30%, #ff8a00 60%, transparent 100%);
  width: 100%;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

#ra-login-header {
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

#ra-login-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #64748b;
  padding: 0;
  z-index: 2;
  cursor: pointer;
}

#ra-login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

#ra-login-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ff6a35, #ff3a00);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(255,95,46,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  color: #fff;
}

#ra-login-logo-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  border: 1px solid rgba(255,95,46,0.3);
}

#ra-login-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#ra-login-logo-text span { color: #ff5f2e; }

#ra-login-title {
  font-size: 20px;
  font-weight: 800;
  color: #e8eaf6;
  letter-spacing: 0.3px;
  text-align: center;
  margin: 0;
}

#ra-login-subtitle {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin: 2px 0 0;
}

#ra-login-tabs {
  display: flex;
  margin: 18px 28px 0;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.ra-login-tab {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.ra-login-tab.active {
  background: #1a2240;
  color: #e8eaf6;
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ra-login-tab.active .material-symbols-outlined { color: #ff5f2e; }

#ra-login-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#ra-login-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#login-modal.ra-auth-modal .modal-content,
#login-modal.ra-auth-modal .modal-dialog {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#login-modal.ra-auth-modal .modal-content::-webkit-scrollbar,
#login-modal.ra-auth-modal .modal-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#ra-login-live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow-x: auto;
  scrollbar-width: none;
}

#ra-login-live::-webkit-scrollbar { display: none; }

.ra-login-live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
}

.ra-login-live-text {
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}

.ra-login-live-mult {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.ra-login-live-mult.orange { background: rgba(255,95,46,0.15); color: #ff7a50; }
.ra-login-live-mult.green { background: rgba(34,197,94,0.12); color: #4ade80; }
.ra-login-live-mult.yellow { background: rgba(245,158,11,0.12); color: #fbbf24; }
.ra-login-live-mult.red { background: rgba(239,68,68,0.12); color: #f87171; }
.ra-login-live-mult.purple { background: rgba(139,92,246,0.12); color: #a78bfa; }

#loginForm.login-form {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  margin: 0 !important;
  width: 100%;
}

.ra-login-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 !important;
}

.ra-login-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0;
}

.ra-login-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  padding: 0 14px;
  height: 44px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ra-login-input.active-field,
.ra-login-input:focus-within {
  border-color: rgba(255,95,46,0.4);
  background: rgba(255,95,46,0.04);
  box-shadow: 0 0 0 3px rgba(255,95,46,0.07);
}

.ra-login-input .material-symbols-outlined {
  font-size: 16px;
  color: #64748b;
  flex-shrink: 0;
  line-height: 1;
}

.ra-login-input input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #e8eaf6 !important;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  min-width: 0;
  height: 100%;
  padding: 0 !important;
}

.ra-login-input input::placeholder {
  color: #64748b;
  opacity: 1;
}

.ra-login-eye {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

#ra-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#ra-remember-me {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #94a3b8;
}

.ra-login-toggle {
  width: 32px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 9px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.ra-login-toggle.on {
  background: #ff5f2e;
}

.ra-login-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: left 0.15s ease, right 0.15s ease;
}

.ra-login-toggle.on .ra-login-toggle-thumb {
  left: auto;
  right: 3px;
}

#ra-remember-label {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.ra-login-forgot {
  font-size: 12px;
  font-weight: 600;
  color: #ff5f2e;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.ra-login-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #ff6a35 0%, #ff3a00 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #fff !important;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 0;
  box-shadow: 0 6px 28px rgba(255,95,46,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.ra-login-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ra-login-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.ra-login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ra-login-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.ra-login-divider-text {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.ra-login-social {
  display: flex;
  gap: 8px;
}

.ra-login-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.ra-login-social-btn:hover {
  background: rgba(255,255,255,0.06);
}

#ra-login-bonus {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(255,95,46,0.07));
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#ra-login-bonus-emoji {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

#ra-login-bonus-copy { flex: 1; min-width: 0; }

#ra-login-bonus-title {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
}

#ra-login-bonus-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}

#ra-login-bonus-cta {
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b, #ff5f2e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  padding: 0;
}

#ra-login-register-link {
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

#ra-login-register-link .link {
  color: #ff5f2e;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
}

#login-modal.ra-auth-modal .error {
  color: #ef4444 !important;
  font-size: 12px !important;
  font-weight: 500;
  margin: 0;
  display: block;
}

#login-modal.ra-auth-modal label.error:empty,
#login-modal.ra-auth-modal #login-error:empty {
  display: none !important;
}

@media (max-width: 480px) {
  /* legacy hook kept; mobile shell handled at 991.98px below */
}

/* —— Mobile Login (≤991.98px) — desktop sizes unchanged above —— */
@media (max-width: 991.98px) {
  #login-modal.ra-auth-modal {
    padding: 0 !important;
    background: #080c18;
  }

  #login-modal.ra-auth-modal .modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: #080c18;
    overflow: hidden;
  }

  .ra-login-atm {
    display: block !important;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .ra-login-atm-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(30,20,80,0.9) 0%, rgba(5,8,22,0.98) 65%);
  }

  .ra-login-atm-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  .ra-login-atm-glow-top {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 260px;
    background: radial-gradient(ellipse, rgba(255,95,46,0.14) 0%, transparent 70%);
  }

  .ra-login-atm-glow-bottom {
    position: absolute;
    bottom: -60px;
    left: 30px;
    width: 260px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(30,45,130,0.22) 0%, transparent 70%);
  }

  .ra-login-atm-streak {
    position: absolute;
    height: 1px;
  }

  .ra-login-atm-streak-1 {
    top: 210px;
    left: 20px;
    width: 160px;
    background: linear-gradient(90deg, transparent, rgba(255,95,46,0.18), transparent);
    transform: rotate(-8deg);
  }

  .ra-login-atm-streak-2 {
    top: 420px;
    right: 10px;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(245,158,11,0.14), transparent);
    transform: rotate(6deg);
  }

  .ra-login-atm-chip {
    position: absolute;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 16px;
    letter-spacing: 0.5px;
    z-index: 1;
  }

  .ra-login-atm-chip.orange {
    background: rgba(255,95,46,0.18);
    color: #ff7a50;
    border: 1px solid rgba(255,95,46,0.25);
  }

  .ra-login-atm-chip.green {
    background: rgba(34,197,94,0.14);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
  }

  .ra-login-atm-chip.yellow {
    background: rgba(245,158,11,0.14);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.2);
  }

  .ra-login-atm-chip.red {
    background: rgba(239,68,68,0.14);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.2);
  }

  .ra-login-atm-chip.purple {
    background: rgba(139,92,246,0.14);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.2);
  }

  .ra-login-atm-chip-1 { top: 88px; left: 10px; }
  .ra-login-atm-chip-2 { top: 130px; right: 12px; }
  .ra-login-atm-chip-3 { bottom: 190px; left: 8px; }
  .ra-login-atm-chip-4 { bottom: 150px; right: 10px; }

  .ra-login-m-topbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 16px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
  }

  .ra-login-m-logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ra-login-m-logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6a35, #cc1a00);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 16px rgba(255,95,46,0.5);
  }

  .ra-login-m-logo-text {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
  }

  .ra-login-m-logo-text span { color: #ff5f2e; }

  .ra-login-m-support {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    padding: 0;
  }

  .ra-login-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 14px 12px;
    position: relative;
    z-index: 5;
    scrollbar-width: none;
  }

  .ra-login-scroll::-webkit-scrollbar { display: none; }

  #login-modal.ra-auth-modal .modal-content {
    margin: 0;
    max-height: none !important;
    flex: 0 0 auto;
    overflow: visible;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  }

  #login-modal.ra-auth-modal .modal-content::before {
    display: none;
  }

  #ra-login-header {
    padding: 14px 18px 0;
    gap: 2px;
  }

  #ra-login-close {
    width: 28px;
    height: 28px;
  }

  #ra-login-logo {
    gap: 8px;
    margin-bottom: 4px;
  }

  #ra-login-logo-icon {
    width: 34px;
    height: 34px;
  }

  #ra-login-logo-icon .material-symbols-outlined {
    font-size: 16px !important;
  }

  #ra-login-logo-text {
    font-size: 17px;
  }

  #ra-login-title {
    font-size: 16px;
  }

  #ra-login-subtitle {
    font-size: 11px;
    margin-top: 0;
  }

  #ra-login-tabs {
    margin: 10px 18px 0;
    padding: 3px;
  }

  .ra-login-tab {
    padding: 7px 8px;
    font-size: 12px;
    gap: 4px;
  }

  .ra-login-tab .material-symbols-outlined {
    font-size: 14px !important;
  }

  #ra-login-body {
    padding: 12px 18px 16px;
    gap: 10px;
    overflow: visible;
    flex: 0 0 auto;
  }

  #ra-login-live {
    gap: 5px;
    padding: 5px 10px;
  }

  .ra-login-live-text,
  .ra-login-live-mult {
    font-size: 10px;
  }

  #loginForm.login-form {
    gap: 10px;
  }

  .ra-login-field {
    gap: 3px;
  }

  .ra-login-input {
    height: 40px;
    padding: 0 11px;
    gap: 8px;
  }

  .ra-login-input input {
    font-size: 13px;
  }

  #ra-login-options {
    margin: 0;
  }

  .ra-login-submit,
  #loginSubmit {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 13px !important;
  }

  .ra-login-divider-text {
    font-size: 10px;
  }

  .ra-login-social {
    flex-direction: row !important;
    gap: 6px;
  }

  .ra-login-social-btn {
    padding: 8px 4px;
    font-size: 11px;
    min-height: 0;
  }

  #ra-login-bonus {
    padding: 8px 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  #ra-login-bonus-title {
    font-size: 11px;
  }

  #ra-login-bonus-sub {
    font-size: 10px;
  }

  #ra-login-register-link {
    font-size: 11px;
  }

  #ra-login-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 2px 0 4px;
    flex-shrink: 0;
  }

  .ra-login-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
  }

  .ra-login-trust-div {
    width: 1px;
    height: 11px;
    background: rgba(255,255,255,0.08);
  }

  .ra-login-m-bnav {
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    height: 56px;
    padding: 0 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    background: rgba(10,14,26,0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .ra-login-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    flex: 1;
    background: none;
    border: 0;
    color: #64748b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
  }

  .ra-login-bnav-item .material-symbols-outlined {
    font-size: 18px;
    color: #64748b;
  }

  .ra-login-bnav-item.active,
  .ra-login-bnav-item.active .material-symbols-outlined {
    color: #ff5f2e;
  }

  .ra-login-bnav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .ra-login-bnav-center-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff6a35, #cc1a00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,95,46,0.5);
    margin-top: -12px;
    border: 2px solid rgba(255,255,255,0.1);
  }

  .ra-login-bnav-center-btn .material-symbols-outlined {
    font-size: 18px;
    transform: rotate(30deg);
  }

  .ra-login-bnav-center-label {
    font-size: 10px;
    font-weight: 700;
    color: #ff5f2e;
    margin-top: -2px;
  }
}

/* Desktop login — keep original card, hide mobile chrome */
@media (min-width: 992px) {
  .ra-login-atm,
  .ra-login-m-topbar,
  .ra-login-m-bnav,
  #ra-login-trust {
    display: none !important;
  }

  .ra-login-scroll {
    display: flex !important;
    flex-direction: column;
    flex: 0 1 auto;
    width: 100%;
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
    overflow: hidden;
    padding: 0;
    gap: 0;
  }

  #login-modal.ra-auth-modal .modal-content {
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
  }

  #ra-login-body {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
  }
}

/* Forgot / reset password — share login modal chrome */
#forgot-modal.ra-auth-modal,
#reset-password-modal.ra-auth-modal {
  padding: 12px !important;
}

#forgot-modal.ra-auth-modal .modal-dialog,
#reset-password-modal.ra-auth-modal .modal-dialog {
  max-width: 440px !important;
  width: calc(100% - 24px);
  margin: 1.25rem auto !important;
}

#forgot-modal.ra-auth-modal .modal-content,
#reset-password-modal.ra-auth-modal .modal-content {
  background: linear-gradient(160deg, #141e38 0%, #0d1525 60%, #0a101e 100%) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,95,46,0.06), inset 0 1px 0 rgba(255,255,255,0.06);
  color: #e8eaf6 !important;
  overflow: hidden;
  position: relative;
}

#forgot-modal #ra-login-header,
#reset-password-modal #ra-login-header {
  position: relative;
}

#forgot-modal .ra-login-close-btn,
#reset-password-modal .ra-login-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #64748b;
  padding: 0;
  z-index: 2;
  cursor: pointer;
}

#forgot-modal .ra-auth-modal-title,
#reset-password-modal .ra-auth-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #e8eaf6;
  margin: 8px 0 6px;
}

#forgot-modal .ra-auth-modal-sub,
#reset-password-modal .ra-auth-modal-sub,
#forgot-modal .email_text {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8 !important;
  margin: 0;
  line-height: 1.45;
}

#forgot-modal .ra-forgot-body,
#reset-password-modal .ra-forgot-body {
  padding: 8px 28px 28px;
}

#forgot-modal .ra-auth-cancel-link,
#reset-password-modal .ra-auth-cancel-link {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  padding: 8px;
}

#forgot-modal .ra-auth-cancel-link:hover {
  color: #ff7a4d;
}

#forgot-modal .ra-login-submit:disabled,
#reset-password-modal .ra-login-submit:disabled,
#login-modal .ra-login-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

