/* ============================================================
   ONNTRADE LOGIN — PREMIUM CRYPTO THEME
   ============================================================ */

.zfx-auth-page{
  min-height:100vh!important;
  min-height:100dvh!important;
  width:100%!important;
  padding:34px 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  color:#f5fffb!important;
  background:
    radial-gradient(circle at 8% 10%,rgba(0,235,170,.13),transparent 30%),
    radial-gradient(circle at 92% 90%,rgba(0,130,255,.12),transparent 32%),
    #03090b!important;
}

.zfx-auth-page::before{
  opacity:.10!important;
  background-image:
    linear-gradient(rgba(0,240,180,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,240,180,.08) 1px,transparent 1px)!important;
  background-size:56px 56px!important;
  mask-image:linear-gradient(to bottom,black,transparent 88%)!important;
}

.zfx-auth-glow{
  filter:blur(110px)!important;
  opacity:.55!important;
}

.zfx-auth-glow-one{
  background:rgba(0,240,175,.16)!important;
}

.zfx-auth-glow-two{
  background:rgba(0,130,255,.12)!important;
}

.zfx-auth-shell{
  width:min(1160px,100%)!important;
  min-height:680px!important;
  grid-template-columns:minmax(330px,.82fr) minmax(430px,1.18fr)!important;
  overflow:hidden!important;
  border:1px solid rgba(0,240,180,.15)!important;
  border-radius:30px!important;
  background:rgba(7,17,18,.94)!important;
  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    0 0 80px rgba(0,230,170,.05)!important;
}

.zfx-auth-shell::after{
  display:none!important;
}

.zfx-auth-showcase{
  padding:54px 42px!important;
  border-right:1px solid rgba(0,240,180,.11)!important;
  background:
    radial-gradient(circle at 50% 30%,rgba(0,240,180,.14),transparent 34%),
    linear-gradient(155deg,#071b19,#061110 70%)!important;
}

.zfx-auth-back{
  color:#94aca7!important;
}

.zfx-auth-back:hover{
  color:#00e9a6!important;
}

.zfx-auth-showcase-art{
  width:118px!important;
  height:118px!important;
  margin-bottom:24px!important;
  padding:0!important;
  border-radius:28px!important;
  background:
    linear-gradient(145deg,rgba(0,235,170,.12),rgba(0,110,90,.08))!important;
  border:1px solid rgba(0,240,180,.24)!important;
  box-shadow:
    0 20px 60px rgba(0,230,170,.13),
    inset 0 0 30px rgba(0,240,180,.05)!important;
  transform:none!important;
  animation:onnAuthLogoFloat 5s ease-in-out infinite!important;
}

.zfx-auth-showcase-art img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border-radius:inherit!important;
}

.zfx-auth-showcase-brand{
  margin-bottom:12px!important;
  font-size:42px!important;
  letter-spacing:-1.8px!important;
  background:linear-gradient(90deg,#f5fffb,#00e9a6)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}

.zfx-auth-showcase-copy{
  max-width:380px!important;
  color:#89a49e!important;
  font-size:14px!important;
  line-height:1.8!important;
}

.zfx-auth-showcase-pill{
  color:#00e9a6!important;
  border:1px solid rgba(0,240,180,.17)!important;
  background:rgba(0,240,180,.045)!important;
  box-shadow:0 10px 35px rgba(0,240,180,.05)!important;
}

.zfx-auth-form-panel{
  padding:48px clamp(28px,5vw,70px)!important;
  background:#071011!important;
}

.zfx-auth-card{
  width:100%!important;
  max-width:500px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.zfx-auth-brand-icon{
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  padding:5px!important;
  background:#0b1d1b!important;
  border:1px solid rgba(0,240,180,.20)!important;
}

.zfx-auth-brand-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

.zfx-auth-brand-name{
  color:#f3fffb!important;
}

.zfx-auth-brand-caption{
  color:#00e9a6!important;
}

.zfx-auth-kicker{
  color:#00e9a6!important;
  letter-spacing:2px!important;
}

.zfx-auth-heading{
  color:#f4fffb!important;
  font-size:44px!important;
  letter-spacing:-2px!important;
}

.zfx-auth-subtitle{
  color:#809a94!important;
  line-height:1.7!important;
}

.zfx-auth-label{
  color:#b8cbc6!important;
}

.zfx-auth-input{
  min-height:56px!important;
  height:56px!important;
  color:#effff9!important;
  background:#091718!important;
  border:1px solid rgba(132,175,166,.17)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease!important;
}

.zfx-auth-input:hover{
  border-color:rgba(0,240,180,.28)!important;
}

.zfx-auth-input:focus{
  outline:none!important;
  background:#0b1b1c!important;
  border-color:#00e9a6!important;
  box-shadow:
    0 0 0 4px rgba(0,233,166,.08),
    0 12px 30px rgba(0,0,0,.18)!important;
}

.zfx-auth-submit{
  min-height:56px!important;
  border:0!important;
  border-radius:14px!important;
  color:#02110c!important;
  background:linear-gradient(135deg,#00e9a6,#00c98f)!important;
  box-shadow:
    0 16px 38px rgba(0,233,166,.16)!important;
  font-weight:900!important;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease!important;
}

.zfx-auth-submit:hover{
  transform:translateY(-2px)!important;
  filter:brightness(1.05)!important;
  box-shadow:0 20px 45px rgba(0,233,166,.24)!important;
}

.zfx-auth-create{
  color:#00e9a6!important;
}

.zfx-auth-create:hover{
  color:#66ffd1!important;
}

.zfx-auth-security{
  color:#718b85!important;
}

.zfx-auth-security span{
  color:#00e9a6!important;
}

.zfx-auth-bottom-note{
  color:#5e7771!important;
}

@keyframes onnAuthLogoFloat{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-7px) rotate(1deg)}
}

@media(max-width:850px){
  .zfx-auth-page{
    padding:18px 12px!important;
    align-items:flex-start!important;
    overflow:auto!important;
  }

  .zfx-auth-shell{
    grid-template-columns:1fr!important;
    min-height:auto!important;
    border-radius:24px!important;
  }

  .zfx-auth-showcase{
    min-height:290px!important;
    padding:48px 22px 30px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(0,240,180,.11)!important;
  }

  .zfx-auth-showcase-art{
    width:82px!important;
    height:82px!important;
    border-radius:20px!important;
    margin-bottom:15px!important;
  }

  .zfx-auth-showcase-brand{
    font-size:30px!important;
  }

  .zfx-auth-showcase-copy{
    font-size:13px!important;
    max-width:330px!important;
  }

  .zfx-auth-form-panel{
    padding:34px 22px 38px!important;
  }

  .zfx-auth-heading{
    font-size:36px!important;
  }
}

@media(max-width:480px){
  .zfx-auth-page{
    padding:8px!important;
  }

  .zfx-auth-shell{
    border-radius:20px!important;
  }

  .zfx-auth-showcase{
    min-height:245px!important;
    padding:42px 16px 25px!important;
  }

  .zfx-auth-form-panel{
    padding:28px 16px 32px!important;
  }

  .zfx-auth-heading{
    font-size:31px!important;
    letter-spacing:-1.2px!important;
  }

  .zfx-auth-subtitle{
    font-size:13px!important;
  }

  .zfx-auth-input{
    min-height:53px!important;
    height:53px!important;
  }

  .zfx-auth-submit{
    min-height:54px!important;
  }
}


/* ONNTRADE MOBILE LOGIN: show only the login card */
@media (max-width: 850px) {
  .zfx-auth-showcase {
    display: none !important;
  }

  .zfx-auth-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto !important;
  }

  .zfx-auth-form-panel {
    width: 100% !important;
    min-width: 0 !important;
    padding: 34px 22px 38px !important;
  }
}

@media (max-width: 480px) {
  .zfx-auth-page {
    padding: 8px !important;
  }

  .zfx-auth-form-panel {
    padding: 28px 16px 32px !important;
  }
}


/* ONNTRADE FINAL COMPACT LOGIN LAYOUT */

/* Desktop: fit the complete login panel inside the visible screen */
@media (min-width: 851px) {
  .zfx-auth-page {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    padding: 12px 18px !important;
    overflow: hidden !important;
  }

  .zfx-auth-shell {
    width: min(1060px, 100%) !important;
    height: min(610px, calc(100dvh - 24px)) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    grid-template-columns: minmax(300px, .82fr) minmax(400px, 1.18fr) !important;
  }

  .zfx-auth-form-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 22px clamp(26px, 4vw, 54px) !important;
  }

  .zfx-auth-heading {
    font-size: 38px !important;
    letter-spacing: -1.5px !important;
  }
}

/* Mobile: compact single login card */
@media (max-width: 850px) {
  .zfx-auth-page {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    padding: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .zfx-auth-showcase {
    display: none !important;
  }

  .zfx-auth-shell {
    width: min(520px, 100%) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 20px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    border-radius: 20px !important;
  }

  .zfx-auth-form-panel {
    width: 100% !important;
    min-width: 0 !important;
    padding: 20px 20px 22px !important;
  }

  .zfx-auth-heading {
    font-size: 30px !important;
    letter-spacing: -1px !important;
  }

  .zfx-auth-input {
    min-height: 48px !important;
    height: 48px !important;
  }

  .zfx-auth-submit {
    min-height: 50px !important;
  }

  .zfx-auth-divider {
    margin: 16px 0 13px !important;
  }

  .zfx-auth-create {
    min-height: 46px !important;
  }

  .zfx-auth-security {
    margin-top: 14px !important;
  }

  .zfx-auth-bottom-note {
    margin-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .zfx-auth-form-panel {
    padding: 16px 14px 18px !important;
  }

  .zfx-auth-heading {
    font-size: 27px !important;
  }
}


/* ONNTRADE PREMIUM COMPLETE REDESIGN */

.zfx-auth-page {
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  padding: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(0, 231, 164, .13), transparent 34%),
    radial-gradient(ellipse at 88% 82%, rgba(0, 119, 255, .10), transparent 34%),
    #030909 !important;
}

.zfx-auth-page::before {
  opacity: .13 !important;
  background-size: 48px 48px !important;
}

.zfx-auth-shell {
  width: min(1080px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: grid !important;
  grid-template-columns: minmax(300px, .88fr) minmax(420px, 1.12fr) !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 235, 175, .20) !important;
  border-radius: 26px !important;
  background: rgba(5, 15, 15, .96) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .52), 0 0 55px rgba(0, 225, 165, .055) !important;
}

.zfx-auth-showcase {
  min-width: 0 !important;
  min-height: 570px !important;
  padding: 42px 34px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  text-align: center !important;
  border-right: 1px solid rgba(0, 235, 175, .14) !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 231, 164, .13), transparent 38%),
    linear-gradient(155deg, #0a211d, #061110 75%) !important;
}

.zfx-auth-back {
  align-self: flex-start !important;
  position: absolute !important;
  margin: 0 !important;
}

.zfx-auth-showcase-art {
  width: 104px !important;
  height: 104px !important;
  margin: 0 auto 4px !important;
  border-radius: 26px !important;
  padding: 5px !important;
  border: 1px solid rgba(0, 240, 180, .30) !important;
  background: rgba(0, 230, 170, .07) !important;
  box-shadow: 0 14px 45px rgba(0, 230, 170, .12) !important;
}

.zfx-auth-showcase-copy {
  max-width: 340px !important;
  margin: 0 !important;
  color: #a3bbb4 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.zfx-auth-showcase-pill {
  margin-top: 8px !important;
  padding: 11px 16px !important;
  border-radius: 30px !important;
  color: #00e9a6 !important;
  border: 1px solid rgba(0, 240, 180, .22) !important;
  background: rgba(0, 240, 180, .055) !important;
  font-size: 10px !important;
  letter-spacing: 1.2px !important;
}

.zfx-auth-form-panel {
  min-width: 0 !important;
  min-height: 570px !important;
  padding: 38px clamp(28px, 5vw, 62px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(145deg, #081313, #061010) !important;
}

.zfx-auth-card {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
}

.zfx-auth-brand-row {
  margin-bottom: 20px !important;
}

.zfx-auth-brand-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
}

.zfx-auth-brand-name {
  color: #f3fffb !important;
  letter-spacing: 1px !important;
}

.zfx-auth-brand-caption {
  color: #00e9a6 !important;
}

.zfx-auth-kicker {
  display: inline-flex !important;
  margin-bottom: 10px !important;
  color: #00e9a6 !important;
  font-size: 10px !important;
  letter-spacing: 1.8px !important;
}

.zfx-auth-heading {
  margin: 0 0 9px !important;
  color: #f4fffb !important;
  font-size: clamp(30px, 3vw, 38px) !important;
  line-height: 1.12 !important;
  letter-spacing: -1.4px !important;
}

.zfx-auth-subtitle {
  margin: 0 0 22px !important;
  color: #8ba49c !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.zfx-auth-field {
  margin-bottom: 16px !important;
}

.zfx-auth-label {
  display: block !important;
  margin-bottom: 7px !important;
  color: #c3d5cf !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.zfx-auth-input-wrap {
  width: 100% !important;
}

.zfx-auth-input {
  width: 100% !important;
  min-height: 50px !important;
  height: 50px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(150, 190, 178, .22) !important;
  border-radius: 12px !important;
  color: #effff9 !important;
  background: #0d1c1b !important;
  font-size: 14px !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .20) !important;
}

.zfx-auth-input:focus {
  border-color: #00dca0 !important;
  box-shadow: 0 0 0 3px rgba(0, 220, 160, .10) !important;
}

.zfx-auth-show-password {
  color: #00e9a6 !important;
}

.zfx-auth-submit {
  width: 100% !important;
  min-height: 51px !important;
  height: 51px !important;
  margin-top: 5px !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #02130d !important;
  background: linear-gradient(110deg, #00e9a6, #00c88d) !important;
  box-shadow: 0 10px 28px rgba(0, 220, 160, .16) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.zfx-auth-submit:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(0, 220, 160, .23) !important;
}

.zfx-auth-divider {
  margin: 17px 0 14px !important;
  color: #8da69e !important;
}

.zfx-auth-divider::before,
.zfx-auth-divider::after {
  background: rgba(160, 190, 180, .20) !important;
}

.zfx-auth-create {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid rgba(0, 220, 160, .40) !important;
  border-radius: 12px !important;
  color: #00e9a6 !important;
  background: rgba(0, 220, 160, .055) !important;
  font-size: 13px !important;
}

.zfx-auth-create:hover:not(:disabled) {
  border-color: #00e9a6 !important;
  background: rgba(0, 220, 160, .12) !important;
}

.zfx-auth-security {
  margin-top: 15px !important;
  color: #8ca49c !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.zfx-auth-security span {
  color: #00e9a6 !important;
}

.zfx-auth-bottom-note {
  margin: 12px 0 0 !important;
  color: #607a71 !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Tablet and mobile: one focused login card */
@media (max-width: 850px) {
  .zfx-auth-page {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: 22px 14px !important;
    align-items: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .zfx-auth-showcase {
    display: none !important;
  }

  .zfx-auth-shell {
    display: block !important;
    width: min(500px, 100%) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 22px !important;
  }

  .zfx-auth-form-panel {
    width: 100% !important;
    min-height: 0 !important;
    padding: 30px 26px !important;
  }

  .zfx-auth-card {
    max-width: 100% !important;
  }

  .zfx-auth-heading {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .zfx-auth-page {
    padding: 12px !important;
  }

  .zfx-auth-shell {
    border-radius: 18px !important;
  }

  .zfx-auth-form-panel {
    padding: 24px 18px !important;
  }

  .zfx-auth-brand-row {
    margin-bottom: 17px !important;
  }

  .zfx-auth-heading {
    font-size: 29px !important;
  }

  .zfx-auth-subtitle {
    margin-bottom: 19px !important;
    font-size: 12px !important;
  }

  .zfx-auth-input {
    min-height: 49px !important;
    height: 49px !important;
  }

  .zfx-auth-submit {
    min-height: 50px !important;
    height: 50px !important;
  }
}

@media (max-width: 360px) {
  .zfx-auth-form-panel {
    padding: 20px 14px !important;
  }

  .zfx-auth-heading {
    font-size: 26px !important;
  }
}


/* ONNTRADE NO-SCROLL VIEWPORT FIT */

/* Lock login page to the available browser viewport */
html:has(.zfx-auth-page),
body:has(.zfx-auth-page),
body:has(.zfx-auth-page) #root {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.zfx-auth-page {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.zfx-auth-shell {
  width: min(1020px, 100%) !important;
  height: min(540px, calc(100dvh - 16px)) !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 16px) !important;
  overflow: hidden !important;
}

.zfx-auth-showcase {
  min-height: 0 !important;
  height: 100% !important;
  padding: 24px 28px !important;
  gap: 15px !important;
}

.zfx-auth-showcase-art {
  width: 82px !important;
  height: 82px !important;
}

.zfx-auth-showcase-copy {
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.zfx-auth-showcase-pill {
  margin-top: 2px !important;
  padding: 8px 12px !important;
}

.zfx-auth-form-panel {
  min-height: 0 !important;
  height: 100% !important;
  padding: 12px 34px !important;
  overflow: hidden !important;
}

.zfx-auth-card {
  max-width: 430px !important;
}

.zfx-auth-brand-row {
  margin-bottom: 10px !important;
}

.zfx-auth-brand-icon {
  width: 34px !important;
  height: 34px !important;
}

.zfx-auth-kicker {
  margin-bottom: 6px !important;
  font-size: 9px !important;
}

.zfx-auth-heading {
  margin: 0 0 6px !important;
  font-size: 30px !important;
  line-height: 1.08 !important;
}

.zfx-auth-subtitle {
  margin: 0 0 12px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

.zfx-auth-field {
  margin-bottom: 10px !important;
}

.zfx-auth-label {
  margin-bottom: 5px !important;
  font-size: 11px !important;
}

.zfx-auth-input {
  height: 43px !important;
  min-height: 43px !important;
  border-radius: 10px !important;
}

.zfx-auth-submit {
  height: 45px !important;
  min-height: 45px !important;
  margin-top: 2px !important;
}

.zfx-auth-divider {
  margin: 10px 0 9px !important;
}

.zfx-auth-create {
  min-height: 41px !important;
}

.zfx-auth-security {
  margin-top: 9px !important;
  font-size: 9px !important;
}

.zfx-auth-bottom-note {
  margin-top: 6px !important;
  font-size: 9px !important;
  line-height: 1.3 !important;
}

/* Mobile: logo panel stays hidden; all login controls fit */
@media (max-width: 850px) {
  .zfx-auth-page {
    padding: 8px !important;
  }

  .zfx-auth-showcase {
    display: none !important;
  }

  .zfx-auth-shell {
    display: block !important;
    width: min(460px, 100%) !important;
    height: auto !important;
    max-height: calc(100dvh - 16px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .zfx-auth-form-panel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 20px !important;
    overflow: hidden !important;
  }

  .zfx-auth-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .zfx-auth-brand-row {
    margin-bottom: 8px !important;
  }

  .zfx-auth-heading {
    font-size: 27px !important;
  }

  .zfx-auth-subtitle {
    margin-bottom: 10px !important;
  }

  .zfx-auth-field {
    margin-bottom: 9px !important;
  }

  .zfx-auth-input {
    height: 44px !important;
    min-height: 44px !important;
  }

  .zfx-auth-submit {
    height: 46px !important;
    min-height: 46px !important;
  }

  .zfx-auth-divider {
    margin: 9px 0 !important;
  }

  .zfx-auth-create {
    min-height: 40px !important;
  }

  .zfx-auth-security {
    margin-top: 8px !important;
  }

  .zfx-auth-bottom-note {
    margin-top: 5px !important;
  }
}

@media (max-width: 380px) {
  .zfx-auth-form-panel {
    padding: 14px 13px !important;
  }

  .zfx-auth-heading {
    font-size: 25px !important;
  }

  .zfx-auth-subtitle {
    font-size: 10px !important;
  }
}

/* Short screens: tighten vertical rhythm further */
@media (max-height: 650px) {
  .zfx-auth-shell {
    height: calc(100dvh - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
  }

  .zfx-auth-form-panel {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .zfx-auth-showcase {
    gap: 10px !important;
  }
}


/* ONNTRADE MOBILE FINAL TIGHT FIT */
@media (max-width: 850px) {
  .zfx-auth-page {
    padding: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .zfx-auth-shell {
    display: block !important;
    width: min(440px, 100%) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .zfx-auth-form-panel {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 17px 19px 14px !important;
    overflow: visible !important;
  }

  .zfx-auth-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .zfx-auth-brand-row {
    margin-bottom: 7px !important;
  }

  .zfx-auth-brand-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .zfx-auth-kicker {
    margin-bottom: 5px !important;
    font-size: 9px !important;
  }

  .zfx-auth-heading {
    margin-bottom: 5px !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
  }

  .zfx-auth-subtitle {
    margin-bottom: 10px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .zfx-auth-field {
    margin-bottom: 8px !important;
  }

  .zfx-auth-label {
    margin-bottom: 4px !important;
  }

  .zfx-auth-input {
    height: 43px !important;
    min-height: 43px !important;
  }

  .zfx-auth-submit {
    height: 45px !important;
    min-height: 45px !important;
    margin-top: 2px !important;
  }

  .zfx-auth-divider {
    margin: 8px 0 !important;
  }

  .zfx-auth-create {
    min-height: 39px !important;
  }

  .zfx-auth-security {
    margin-top: 7px !important;
    line-height: 1.35 !important;
  }

  .zfx-auth-bottom-note {
    margin-top: 5px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 480px) {
  .zfx-auth-page {
    padding: 6px !important;
  }

  .zfx-auth-form-panel {
    padding: 15px 14px 12px !important;
  }

  .zfx-auth-heading {
    font-size: 24px !important;
  }
}

/* ONNTRADE PREMIUM 2FA LOGIN FINISH */


/* ONNTRADE PREMIUM 2FA LOGIN FINISH */

.zfx-auth-page {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(0,233,166,.16), transparent 34%),
    radial-gradient(ellipse at 88% 82%, rgba(0,119,255,.10), transparent 34%),
    #030909 !important;
}

.zfx-auth-shell {
  border: 1px solid rgba(0,233,166,.24) !important;
  border-radius: 26px !important;
  background: linear-gradient(135deg,#071411,#050d0d) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,.58),
    0 0 50px rgba(0,233,166,.07) !important;
}

.zfx-auth-showcase {
  border-right: 1px solid rgba(0,233,166,.15) !important;
  background:
    radial-gradient(circle at 50% 35%,rgba(0,233,166,.14),transparent 42%),
    linear-gradient(155deg,#0a211b,#06100f) !important;
}

.zfx-auth-showcase-art {
  border: 1px solid rgba(0,233,166,.35) !important;
  border-radius: 24px !important;
  background: rgba(0,233,166,.07) !important;
  box-shadow: 0 14px 45px rgba(0,233,166,.13) !important;
}

.zfx-auth-form-panel {
  background:
    radial-gradient(ellipse at 90% 0%,rgba(0,233,166,.055),transparent 42%),
    linear-gradient(145deg,#081514,#050d0d) !important;
}

.zfx-auth-kicker {
  border: 1px solid rgba(0,233,166,.25) !important;
  border-radius: 30px !important;
  color: #00e9a6 !important;
  background: rgba(0,233,166,.07) !important;
}

.zfx-auth-heading {
  color: #f2fff9 !important;
  letter-spacing: -1.5px !important;
}

.zfx-auth-subtitle {
  color: #91aaa1 !important;
}

.zfx-auth-label {
  color: #c4d8d0 !important;
}

.zfx-auth-input {
  border: 1px solid rgba(130,180,160,.24) !important;
  border-radius: 13px !important;
  color: #f0fff8 !important;
  background: #0b1917 !important;
}

.zfx-auth-input:focus {
  border-color: #00e9a6 !important;
  box-shadow: 0 0 0 4px rgba(0,233,166,.09),
              0 12px 28px rgba(0,0,0,.2) !important;
}

/* Authenticator one-time code */
.zfx-auth-page input[autocomplete="one-time-code"] {
  min-height: 62px !important;
  height: 62px !important;
  text-align: center !important;
  font-size: 25px !important;
  font-weight: 850 !important;
  letter-spacing: 12px !important;
  padding-left: 22px !important;
  font-variant-numeric: tabular-nums !important;
}

.zfx-auth-submit {
  min-height: 55px !important;
  border-radius: 13px !important;
  color: #03130d !important;
  background: linear-gradient(110deg,#00e9a6,#00c88d) !important;
  box-shadow: 0 12px 30px rgba(0,220,160,.17) !important;
  font-weight: 900 !important;
}

.zfx-auth-submit:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 17px 36px rgba(0,220,160,.25) !important;
}

.zfx-auth-create {
  border-radius: 13px !important;
  border-color: rgba(0,220,160,.38) !important;
  color: #00e9a6 !important;
  background: rgba(0,220,160,.055) !important;
}

.zfx-auth-error {
  border-radius: 12px !important;
  border-color: rgba(255,100,120,.35) !important;
  background: rgba(100,15,30,.22) !important;
}

@media (max-width: 850px) {
  .zfx-auth-shell {
    border-radius: 22px !important;
  }

  .zfx-auth-page input[autocomplete="one-time-code"] {
    min-height: 58px !important;
    height: 58px !important;
    font-size: 23px !important;
    letter-spacing: 10px !important;
  }
}

@media (max-width: 380px) {
  .zfx-auth-page input[autocomplete="one-time-code"] {
    letter-spacing: 7px !important;
    font-size: 21px !important;
  }
}

/* ONNTRADE CLEAN CENTERED AUTHENTICATOR SCREEN */


/* ONNTRADE CLEAN CENTERED AUTHENTICATOR SCREEN */

/* Apply only while the authenticator-code input is visible */
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) {
  width: min(540px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 32px) !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: 1fr !important;
  overflow-y: auto !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg,#0b1917,#07100f) !important;
  border: 1px solid rgba(0,233,166,.22) !important;
  box-shadow: 0 25px 75px rgba(0,0,0,.55),
              0 0 45px rgba(0,233,166,.06) !important;
}

/* Compact centered ONNTRADE branding */
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase {
  display: flex !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 25px 24px 8px !important;
  gap: 10px !important;
  border: 0 !important;
  background: transparent !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase-art {
  width: 68px !important;
  height: 68px !important;
  margin: 0 auto !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase-copy {
  margin: 0 auto !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase-pill {
  display: none !important;
}

/* Verification panel */
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-form-panel {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 14px 42px 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: transparent !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-card {
  width: 100% !important;
  max-width: 390px !important;
  margin: 0 auto !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-brand-row {
  display: none !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-kicker {
  margin-bottom: 9px !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-heading {
  font-size: 30px !important;
  letter-spacing: -1px !important;
  margin-bottom: 8px !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-subtitle {
  margin-bottom: 22px !important;
  font-size: 13px !important;
}

/* Normal readable six-digit input: no clipped placeholder */
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) input[placeholder*="6-digit code"] {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  text-align: center !important;
  letter-spacing: 5px !important;
  font-size: 20px !important;
  font-weight: 750 !important;
  border-radius: 11px !important;
}

/* Compact verification actions */
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-submit {
  min-height: 51px !important;
  height: 51px !important;
  margin-top: 12px !important;
  border-radius: 11px !important;
}

@media (max-width: 850px) {
  .zfx-auth-shell:has(input[placeholder*="6-digit code"]) {
    width: min(440px,100%) !important;
    max-height: calc(100dvh - 24px) !important;
  }

  .zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase {
    padding: 20px 18px 5px !important;
  }

  .zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-form-panel {
    padding: 12px 22px 25px !important;
  }
}

@media (max-width: 380px) {
  .zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-form-panel {
    padding: 10px 16px 22px !important;
  }

  .zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-heading {
    font-size: 26px !important;
  }
}

/* ONNTRADE FINAL AUTHENTICATOR CLEANUP */


/* ONNTRADE FINAL AUTHENTICATOR CLEANUP */

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-back,
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase-copy,
.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase-pill {
  display: none !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase {
  padding: 24px 20px 4px !important;
  gap: 0 !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-showcase-art {
  margin: 0 auto !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-heading {
  font-size: 0 !important;
  margin-bottom: 9px !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-heading::after {
  content: "Verify Authenticator Code";
  display: block;
  color: #f4fffb;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-subtitle {
  font-size: 0 !important;
  margin-bottom: 20px !important;
}

.zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-subtitle::after {
  content: "Enter the 6-digit code from your Google Authenticator app.";
  display: block;
  color: #91aaa1;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .zfx-auth-shell:has(input[placeholder*="6-digit code"]) .zfx-auth-heading::after {
    font-size: 26px;
  }
}
/* ============================================================
   ONNTRADE SIGNUP — PREMIUM CRYPTO THEME
   ============================================================ */

.ONNTRADE-signup-page{
  width:100%!important;
  min-height:100vh!important;
  min-height:100dvh!important;
  padding:34px 22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:
    radial-gradient(circle at 8% 12%,rgba(0,235,170,.13),transparent 30%),
    radial-gradient(circle at 92% 88%,rgba(0,130,255,.11),transparent 32%),
    #03090b!important;
  color:#f5fffb!important;
}

.ONNTRADE-signup-page::before{
  border-color:rgba(0,240,180,.08)!important;
}

.ONNTRADE-signup-page::after{
  border-color:rgba(0,240,180,.05)!important;
}

.ONNTRADE-signup-card{
  width:min(1160px,100%)!important;
  max-width:1160px!important;
  min-height:700px!important;
  display:grid!important;
  grid-template-columns:minmax(330px,.82fr) minmax(430px,1.18fr)!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:30px!important;
  border:1px solid rgba(0,240,180,.15)!important;
  background:#071011!important;
  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    0 0 80px rgba(0,230,170,.05)!important;
}

.ONNTRADE-signup-showcase{
  width:100%!important;
  min-height:700px!important;
  padding:54px 42px!important;
  border:0!important;
  border-right:1px solid rgba(0,240,180,.11)!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 50% 30%,rgba(0,240,180,.14),transparent 34%),
    linear-gradient(155deg,#071b19,#061110 70%)!important;
}

.ONNTRADE-showcase-art{
  border:1px solid rgba(0,240,180,.22)!important;
  background:rgba(0,240,180,.045)!important;
  box-shadow:0 20px 60px rgba(0,230,170,.12)!important;
}

.ONNTRADE-showcase-art img{
  object-fit:contain!important;
}

.ONNTRADE-showcase-brand{
  color:#f4fffb!important;
  background:linear-gradient(90deg,#f5fffb,#00e9a6)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
}

.ONNTRADE-showcase-copy{
  color:#89a49e!important;
}

.ONNTRADE-showcase-pill{
  color:#00e9a6!important;
  border-color:rgba(0,240,180,.17)!important;
  background:rgba(0,240,180,.045)!important;
}

.ONNTRADE-signup-form-panel{
  min-height:700px!important;
  padding:46px clamp(28px,5vw,70px)!important;
  background:#071011!important;
}

.ONNTRADE-signup-card > .ONNTRADE-signup-card,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-card{
  width:100%!important;
  max-width:500px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.ONNTRADE-signup-brand{
  color:#f4fffb!important;
}

.ONNTRADE-signup-brand span{
  color:#00e9a6!important;
}

.ONNTRADE-signup-badge{
  color:#00e9a6!important;
  background:rgba(0,240,180,.05)!important;
  border-color:rgba(0,240,180,.15)!important;
}

.ONNTRADE-signup-card h1{
  color:#f4fffb!important;
  font-size:42px!important;
  letter-spacing:-1.8px!important;
}

.ONNTRADE-signup-subtitle{
  color:#809a94!important;
  line-height:1.7!important;
}

.ONNTRADE-signup-referral{
  color:#00e9a6!important;
  background:rgba(0,240,180,.045)!important;
  border-color:rgba(0,240,180,.16)!important;
  border-radius:14px!important;
}

.ONNTRADE-signup-field label{
  color:#b8cbc6!important;
}

.ONNTRADE-signup-field input,
.ONNTRADE-signup-field select{
  height:56px!important;
  min-height:56px!important;
  color:#effff9!important;
  background:#091718!important;
  border:1px solid rgba(132,175,166,.17)!important;
  border-radius:14px!important;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease!important;
}

.ONNTRADE-signup-field input:hover,
.ONNTRADE-signup-field select:hover{
  border-color:rgba(0,240,180,.28)!important;
}

.ONNTRADE-signup-field input:focus,
.ONNTRADE-signup-field select:focus{
  outline:none!important;
  background:#0b1b1c!important;
  border-color:#00e9a6!important;
  box-shadow:0 0 0 4px rgba(0,233,166,.08)!important;
}

.ONNTRADE-signup-submit{
  min-height:56px!important;
  border:0!important;
  border-radius:14px!important;
  color:#02110c!important;
  background:linear-gradient(135deg,#00e9a6,#00c98f)!important;
  box-shadow:0 16px 38px rgba(0,233,166,.16)!important;
  font-weight:900!important;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease!important;
}

.ONNTRADE-signup-submit:hover{
  transform:translateY(-2px)!important;
  filter:brightness(1.05)!important;
  box-shadow:0 20px 45px rgba(0,233,166,.24)!important;
}

.ONNTRADE-signup-error{
  color:#ff8d9b!important;
  background:rgba(255,55,90,.07)!important;
  border-color:rgba(255,55,90,.18)!important;
  border-radius:12px!important;
}

.ONNTRADE-otp-panel,
.ONNTRADE-signup-success{
  background:#091718!important;
  border:1px solid rgba(0,240,180,.15)!important;
  border-radius:18px!important;
  box-shadow:0 18px 50px rgba(0,0,0,.25)!important;
}

.ONNTRADE-otp-panel h2,
.ONNTRADE-signup-success h2{
  color:#f4fffb!important;
}

.ONNTRADE-otp-subtitle,
.ONNTRADE-otp-validity{
  color:#809a94!important;
}

.ONNTRADE-otp-email{
  color:#00e9a6!important;
}

.ONNTRADE-otp-input{
  width:52px!important;
  height:58px!important;
  color:#f4fffb!important;
  background:#071011!important;
  border:1px solid rgba(132,175,166,.18)!important;
  border-radius:13px!important;
}

.ONNTRADE-otp-input:focus{
  border-color:#00e9a6!important;
  box-shadow:0 0 0 4px rgba(0,233,166,.08)!important;
  outline:none!important;
}

@media(max-width:900px){
  .ONNTRADE-signup-page{
    display:block!important;
    padding:16px 10px!important;
  }

  .ONNTRADE-signup-card{
    display:block!important;
    width:100%!important;
    max-width:680px!important;
    min-height:0!important;
    margin:0 auto!important;
    border-radius:24px!important;
  }

  .ONNTRADE-signup-showcase{
    min-height:290px!important;
    height:auto!important;
    padding:48px 22px 30px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(0,240,180,.11)!important;
  }

  .ONNTRADE-signup-form-panel{
    min-height:0!important;
    height:auto!important;
    padding:34px 22px 38px!important;
  }

  .ONNTRADE-signup-card h1{
    font-size:36px!important;
  }
}

@media(max-width:600px){
  .ONNTRADE-signup-page{
    padding:7px!important;
  }

  .ONNTRADE-signup-card{
    border-radius:20px!important;
  }

  .ONNTRADE-signup-showcase{
    min-height:245px!important;
    padding:42px 16px 25px!important;
  }

  .ONNTRADE-showcase-art img{
    width:82px!important;
    height:82px!important;
  }

  .ONNTRADE-signup-form-panel{
    padding:28px 16px 32px!important;
  }

  .ONNTRADE-signup-card h1{
    font-size:31px!important;
    letter-spacing:-1.1px!important;
  }

  .ONNTRADE-signup-subtitle{
    font-size:13px!important;
  }

  .ONNTRADE-signup-field{
    margin-bottom:15px!important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select{
    height:53px!important;
    min-height:53px!important;
  }

  .ONNTRADE-signup-submit{
    min-height:54px!important;
  }

  .ONNTRADE-otp-boxes{
    gap:6px!important;
  }

  .ONNTRADE-otp-input{
    width:42px!important;
    height:50px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .ONNTRADE-signup-page *,
  .ONNTRADE-signup-page *::before,
  .ONNTRADE-signup-page *::after{
    animation:none!important;
    transition:none!important;
  }
}
/* ============================================================
   ONNTRADE SIGNUP FINAL CLEAN OVERRIDE
   ============================================================ */

.ONNTRADE-signup-page{
  width:100%!important;
  min-height:100vh!important;
  margin:0!important;
  padding:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:
    radial-gradient(circle at 15% 20%,rgba(0,220,180,.12),transparent 34%),
    radial-gradient(circle at 85% 80%,rgba(35,105,255,.12),transparent 38%),
    #020a12!important;
  overflow-x:hidden!important;
}

.ONNTRADE-signup-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:40% 60%!important;
  width:100%!important;
  max-width:1180px!important;
  min-height:700px!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:#030b0d!important;
  border:1px solid rgba(0,220,180,.18)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.48)!important;
}

/* LEFT SHOWCASE */

.ONNTRADE-signup-showcase{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:700px!important;
  height:100%!important;
  padding:52px 42px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 50% 45%,rgba(0,220,180,.12),transparent 34%),
    linear-gradient(160deg,#031b1b 0%,#021311 55%,#01090b 100%)!important;
  border:0!important;
  border-right:1px solid rgba(0,220,180,.14)!important;
  border-radius:0!important;
}

/* KILL OLD GIANT GRAPHIC */

.ONNTRADE-signup-showcase:before,
.ONNTRADE-signup-showcase:after{
  content:none!important;
  display:none!important;
}

/* BACK */

.ONNTRADE-showcase-back{
  position:absolute!important;
  top:30px!important;
  left:34px!important;
  z-index:20!important;
  color:rgba(255,255,255,.82)!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:700!important;
}

.ONNTRADE-showcase-back:hover{
  color:#00e6b8!important;
  transform:translateX(-3px)!important;
}

/* REAL ONNTRADE LOGO */

.ONNTRADE-showcase-art{
  position:relative!important;
  z-index:5!important;
  width:170px!important;
  height:170px!important;
  flex:0 0 170px!important;
  margin:0 auto 34px!important;
  padding:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:30px!important;
  background:rgba(255,255,255,.025)!important;
  border:1px solid rgba(0,230,184,.24)!important;
  box-shadow:
    0 0 0 10px rgba(0,230,184,.025),
    0 24px 60px rgba(0,0,0,.38)!important;
  animation:onntradeSignupLogoFloat 5s ease-in-out infinite!important;
}

.ONNTRADE-showcase-art img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
}

/* COPY */

.ONNTRADE-showcase-copy{
  position:relative!important;
  z-index:5!important;
  max-width:430px!important;
  margin:0 auto 20px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:15px!important;
  line-height:1.75!important;
}

/* PILL */

.ONNTRADE-showcase-pill{
  position:relative!important;
  z-index:5!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:8px 18px!important;
  border-radius:999px!important;
  color:#00e6b8!important;
  background:rgba(0,230,184,.055)!important;
  border:1px solid rgba(0,230,184,.18)!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:1.4px!important;
  white-space:nowrap!important;
}

/* RIGHT FORM */

.ONNTRADE-signup-form-panel{
  width:100%!important;
  min-width:0!important;
  min-height:700px!important;
  height:100%!important;
  padding:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#030b0d!important;
  border:0!important;
  border-radius:0!important;
}

.ONNTRADE-signup-form-panel>*{
  width:100%!important;
  max-width:550px!important;
}

.ONNTRADE-signup-card h1{
  color:#fff!important;
  letter-spacing:-1.5px!important;
}

.ONNTRADE-signup-subtitle{
  color:rgba(255,255,255,.58)!important;
}

/* ANIMATION */

@keyframes onntradeSignupLogoFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}

/* TABLET */

@media(max-width:950px){
  .ONNTRADE-signup-page{
    padding:16px!important;
    display:block!important;
  }

  .ONNTRADE-signup-card{
    display:block!important;
    max-width:720px!important;
    min-height:0!important;
  }

  .ONNTRADE-signup-showcase{
    min-height:330px!important;
    height:auto!important;
    padding:55px 24px 34px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(0,220,180,.14)!important;
  }

  .ONNTRADE-showcase-art{
    width:125px!important;
    height:125px!important;
    flex-basis:125px!important;
    padding:14px!important;
    margin-bottom:24px!important;
  }

  .ONNTRADE-signup-form-panel{
    min-height:0!important;
    height:auto!important;
    padding:34px 28px!important;
  }
}

/* MOBILE */

@media(max-width:600px){
  .ONNTRADE-signup-page{
    padding:7px!important;
  }

  .ONNTRADE-signup-card{
    border-radius:20px!important;
  }

  .ONNTRADE-signup-showcase{
    min-height:275px!important;
    padding:52px 18px 28px!important;
  }

  .ONNTRADE-showcase-back{
    top:18px!important;
    left:18px!important;
    font-size:13px!important;
  }

  .ONNTRADE-showcase-art{
    width:100px!important;
    height:100px!important;
    flex-basis:100px!important;
    padding:12px!important;
    border-radius:22px!important;
    margin-bottom:20px!important;
  }

  .ONNTRADE-showcase-copy{
    max-width:330px!important;
    font-size:13px!important;
    line-height:1.6!important;
    margin-bottom:15px!important;
  }

  .ONNTRADE-showcase-pill{
    min-height:34px!important;
    padding:7px 13px!important;
    font-size:9px!important;
    letter-spacing:1px!important;
  }

  .ONNTRADE-signup-form-panel{
    padding:28px 16px!important;
  }

  .ONNTRADE-signup-card h1{
    font-size:32px!important;
  }
}

/* ============================================================
   ONNTRADE SIGNUP - FINAL CARD WIDTH / FORM FIX
   ============================================================ */

/* Main outer card */
.ONNTRADE-signup-page > .ONNTRADE-signup-card {
  display: grid !important;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
  width: 100% !important;
  max-width: 1180px !important;
  min-height: 700px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

/* IMPORTANT:
   Prevent the outer card/grid CSS from affecting
   any nested content inside the form panel.
*/
.ONNTRADE-signup-form-panel .ONNTRADE-signup-card {
  display: block !important;
  width: 100% !important;
  max-width: 550px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Form panel */
.ONNTRADE-signup-form-panel {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 700px !important;
  height: auto !important;
  padding: 48px 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Everything inside form panel gets usable width */
.ONNTRADE-signup-form-panel > div,
.ONNTRADE-signup-form-panel > form,
.ONNTRADE-signup-form-panel form {
  width: 100% !important;
  max-width: 550px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Header */
.ONNTRADE-signup-form-panel h1 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  white-space: normal !important;
}

/* Subtitle */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-subtitle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Badge */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-badge {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
}

/* Referral notice */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-referral {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Error */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-error {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Field wrapper */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-field {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Labels */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-field label {
  display: block !important;
  width: 100% !important;
}

/* INPUTS */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-field input,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-field select,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-field textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Buttons */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-submit {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Referral row */
.ONNTRADE-signup-form-panel .ONNTRADE-referral-row {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* OTP */
.ONNTRADE-signup-form-panel .ONNTRADE-otp-panel {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* SUCCESS */
.ONNTRADE-signup-form-panel .ONNTRADE-signup-success {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ============================================================
   FIX OLD MOJIBAKE WITHOUT PUTTING UNICODE IN POWERSHELL
   ============================================================ */

.ONNTRADE-showcase-pill {
  font-size: 0 !important;
}

.ONNTRADE-showcase-pill::after {
  content: "FOREX TRADING | XM GLOBAL MT5";
  font-size: 11px !important;
  letter-spacing: 1.4px !important;
  font-weight: 800 !important;
}

/* ============================================================
   DESKTOP BALANCE
   ============================================================ */

@media (min-width: 951px) {
  .ONNTRADE-signup-form-panel {
    padding-left: 58px !important;
    padding-right: 58px !important;
  }

  .ONNTRADE-signup-form-panel > div {
    width: 100% !important;
    max-width: 550px !important;
  }

  .ONNTRADE-signup-form-panel h1 {
    font-size: 44px !important;
    line-height: 1.05 !important;
  }
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 950px) {
  .ONNTRADE-signup-page > .ONNTRADE-signup-card {
    display: block !important;
    width: 100% !important;
    max-width: 720px !important;
    min-height: 0 !important;
  }

  .ONNTRADE-signup-form-panel {
    width: 100% !important;
    min-height: 0 !important;
    padding: 38px 30px !important;
  }

  .ONNTRADE-signup-form-panel > div {
    width: 100% !important;
    max-width: 550px !important;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {
  .ONNTRADE-signup-form-panel {
    width: 100% !important;
    min-height: 0 !important;
    padding: 28px 18px !important;
  }

  .ONNTRADE-signup-form-panel > div {
    width: 100% !important;
    max-width: none !important;
  }

  .ONNTRADE-signup-form-panel h1 {
    font-size: 32px !important;
    line-height: 1.08 !important;
  }

  .ONNTRADE-signup-form-panel .ONNTRADE-signup-field input,
  .ONNTRADE-signup-form-panel .ONNTRADE-signup-field select {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
  }

  .ONNTRADE-showcase-pill::after {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }
}


/* ============================================================
   ONNTRADE SIGNUP - FINAL VERTICAL FORM STACK
   ROOT FIX: FORM PANEL CHILDREN MUST NOT BE FLEX ROW
   ============================================================ */

/* Main card */
.ONNTRADE-signup-page > .ONNTRADE-signup-card {
  display: grid !important;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
  width: 100% !important;
  max-width: 1180px !important;
  min-height: 700px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* ============================================================
   LEFT SIDE
   ============================================================ */

.ONNTRADE-signup-showcase {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 700px !important;
  box-sizing: border-box !important;
}

/* ============================================================
   RIGHT SIDE — CRITICAL
   ============================================================ */

.ONNTRADE-signup-form-panel {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 700px !important;
  height: auto !important;
  padding: 48px 58px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #030b0d !important;
}

/* Hide old text-only brand inside form */
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-brand {
  display: none !important;
}

/* ============================================================
   ALL DIRECT FORM CONTENT
   ============================================================ */

.ONNTRADE-signup-form-panel > .ONNTRADE-signup-badge,
.ONNTRADE-signup-form-panel > h1,
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-subtitle,
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-referral,
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-error,
.ONNTRADE-signup-form-panel > form {
  display: block !important;
  width: 100% !important;
  max-width: 550px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Badge */
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-badge {
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

/* Heading */
.ONNTRADE-signup-form-panel > h1 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  color: #ffffff !important;
  font-size: 44px !important;
  line-height: 1.08 !important;
  letter-spacing: -1.5px !important;
  white-space: normal !important;
}

/* Subtitle */
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-subtitle {
  margin-top: 0 !important;
  margin-bottom: 26px !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Referral notice */
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-referral {
  margin-bottom: 18px !important;
}

/* Error */
.ONNTRADE-signup-form-panel > .ONNTRADE-signup-error {
  margin-bottom: 18px !important;
}

/* ============================================================
   FORM ITSELF
   ============================================================ */

.ONNTRADE-signup-form-panel > form {
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Every field is full width */
.ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Labels */
.ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field label {
  display: block !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  box-sizing: border-box !important;
}

/* Inputs */
.ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field input,
.ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field select,
.ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 56px !important;
  box-sizing: border-box !important;
}

/* Buttons */
.ONNTRADE-signup-form-panel > form button,
.ONNTRADE-signup-form-panel > form .ONNTRADE-signup-submit {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ============================================================
   BACK BUTTON — REMOVE MOJIBAKE
   ============================================================ */

.ONNTRADE-showcase-back {
  font-size: 0 !important;
}

.ONNTRADE-showcase-back::after {
  content: "\2190 Back" !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* ============================================================
   CRYPTO PILL
   ============================================================ */

.ONNTRADE-showcase-pill {
  font-size: 0 !important;
}

.ONNTRADE-showcase-pill::after {
  content: "FOREX TRADING | XM GLOBAL MT5";
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 1.4px !important;
}

/* ============================================================
   DESKTOP
   ============================================================ */

@media (min-width: 951px) {
  .ONNTRADE-signup-form-panel {
    display: block !important;
    padding: 48px 58px !important;
  }
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 950px) {
  .ONNTRADE-signup-page {
    display: block !important;
    padding: 16px !important;
  }

  .ONNTRADE-signup-page > .ONNTRADE-signup-card {
    display: block !important;
    width: 100% !important;
    max-width: 720px !important;
    min-height: 0 !important;
  }

  .ONNTRADE-signup-showcase {
    min-height: 330px !important;
    height: auto !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(0,220,180,.14) !important;
  }

  .ONNTRADE-signup-form-panel {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 38px 30px !important;
  }

  .ONNTRADE-signup-form-panel > h1,
  .ONNTRADE-signup-form-panel > .ONNTRADE-signup-subtitle,
  .ONNTRADE-signup-form-panel > form {
    max-width: 550px !important;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {
  .ONNTRADE-signup-page {
    padding: 7px !important;
  }

  .ONNTRADE-signup-form-panel {
    display: block !important;
    padding: 28px 18px !important;
  }

  .ONNTRADE-signup-form-panel > h1 {
    font-size: 32px !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
  }

  .ONNTRADE-signup-form-panel > .ONNTRADE-signup-subtitle {
    font-size: 13px !important;
    margin-bottom: 22px !important;
  }

  .ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field input,
  .ONNTRADE-signup-form-panel > form .ONNTRADE-signup-field select {
    height: 52px !important;
  }

  .ONNTRADE-showcase-pill::after {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  .ONNTRADE-showcase-back::after {
    font-size: 13px !important;
  }
}


/* ============================================================
   ONNTRADE SIGNUP - CREATE ACCOUNT BUTTON FINAL FIX
   ============================================================ */

/* Main submit button */
.ONNTRADE-signup-form-panel button[type="submit"],
.ONNTRADE-signup-form-panel .ONNTRADE-signup-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  margin: 18px 0 0 !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #00dca8 !important;
  color: #03110e !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(0,220,168,.16) !important;
}

/* Button text must also be centered */
.ONNTRADE-signup-form-panel button[type="submit"] span,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-submit span {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  line-height: 1 !important;
}

/* Hover */
.ONNTRADE-signup-form-panel button[type="submit"]:hover,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-submit:hover {
  transform: translateY(-1px) !important;
  background: #08e8b3 !important;
  box-shadow: 0 16px 34px rgba(0,220,168,.22) !important;
}

/* Disabled */
.ONNTRADE-signup-form-panel button[type="submit"]:disabled,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-submit:disabled {
  opacity: .65 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* ============================================================
   ALREADY HAVE ACCOUNT
   ============================================================ */

.ONNTRADE-signup-form-panel a,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-login {
  text-align: center !important;
}

.ONNTRADE-signup-form-panel > form + div,
.ONNTRADE-signup-form-panel .ONNTRADE-signup-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 18px auto 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {
  .ONNTRADE-signup-form-panel button[type="submit"],
  .ONNTRADE-signup-form-panel .ONNTRADE-signup-submit {
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin-top: 16px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }
}



/* ONNTRADE PREMIUM REGISTRATION SUCCESS - FINAL */
.ONNTRADE-signup-success-overlay {
  background:
    radial-gradient(ellipse at 50% 15%, rgba(0,220,160,.12), transparent 48%),
    rgba(2,8,12,.94) !important;
  backdrop-filter: blur(12px) !important;
  padding: 20px !important;
}

.ONNTRADE-signup-success-overlay .ONNTRADE-signup-success {
  width: min(100%, 680px) !important;
  max-height: calc(100vh - 40px) !important;
  overflow-y: auto !important;
  padding: 34px !important;
  border: 1px solid rgba(30,220,165,.34) !important;
  border-radius: 25px !important;
  background:
    radial-gradient(ellipse at top left, rgba(13,145,104,.15), transparent 48%),
    linear-gradient(145deg,#0c211d,#09151a 65%,#0b1918) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,.58),
    0 0 45px rgba(0,205,151,.09),
    inset 0 1px rgba(255,255,255,.035) !important;
}

.ONNTRADE-success-header {
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}

.ONNTRADE-success-icon {
  width: 66px !important;
  height: 66px !important;
  flex: 0 0 66px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(100,255,208,.45) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg,#19dca5,#079c79) !important;
  color: #03251c !important;
  box-shadow: 0 12px 32px rgba(0,210,151,.22) !important;
  animation: onnSuccessPop .5s cubic-bezier(.2,.8,.2,1) both !important;
}

.ONNTRADE-success-icon svg {
  width: 39px !important;
  height: 39px !important;
  display: block !important;
}

@keyframes onnSuccessPop {
  from { opacity: 0; transform: scale(.65) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.ONNTRADE-success-status {
  color: #38e8b5 !important;
  letter-spacing: 2px !important;
  font-weight: 900 !important;
}

.ONNTRADE-signup-success h2 {
  color: #f3fff9 !important;
  font-size: clamp(21px,3vw,29px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.8px !important;
}

.ONNTRADE-signup-success-note {
  padding: 16px 18px !important;
  border: 1px solid rgba(132,190,170,.14) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.035) !important;
  color: #b5c9c0 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

.ONNTRADE-credentials-title strong {
  color: #e8faf2 !important;
  letter-spacing: .8px !important;
}

.ONNTRADE-credential {
  min-height: 76px !important;
  padding: 16px !important;
  border: 1px solid rgba(103,165,145,.17) !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg,rgba(18,39,43,.95),rgba(7,19,24,.95)) !important;
  transition: border-color .2s ease, transform .2s ease !important;
}

.ONNTRADE-credential:hover {
  border-color: rgba(39,220,166,.42) !important;
  transform: translateY(-2px) !important;
}

.ONNTRADE-credential-label {
  color: #829d95 !important;
  letter-spacing: 1px !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.ONNTRADE-credential-value {
  display: block !important;
  margin-top: 8px !important;
  color: #39e3b0 !important;
  font-size: 14px !important;
  overflow-wrap: anywhere !important;
}

.ONNTRADE-referral-card {
  padding: 17px !important;
  border: 1px solid rgba(29,207,157,.3) !important;
  border-radius: 16px !important;
  background: linear-gradient(120deg,rgba(10,94,71,.17),rgba(8,27,29,.75)) !important;
}

.ONNTRADE-referral-link {
  color: #5cebc1 !important;
  overflow-wrap: anywhere !important;
  font-weight: 800 !important;
}

.ONNTRADE-copy-button {
  min-height: 40px !important;
  padding: 0 19px !important;
  border: 1px solid rgba(36,222,169,.4) !important;
  border-radius: 11px !important;
  background: rgba(10,130,94,.16) !important;
  color: #58edc0 !important;
  font-weight: 800 !important;
  transition: all .2s ease !important;
}

.ONNTRADE-copy-button:hover {
  background: rgba(10,160,111,.3) !important;
  box-shadow: 0 0 18px rgba(20,205,149,.13) !important;
}

.ONNTRADE-security {
  border: 1px solid rgba(227,187,95,.2) !important;
  border-radius: 13px !important;
  background: rgba(171,126,42,.07) !important;
  color: #c6b98f !important;
}

.ONNTRADE-security-mark {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 23px !important;
}

.ONNTRADE-security-mark svg {
  width: 21px !important;
  height: 21px !important;
  display: block !important;
}

.ONNTRADE-continue-button {
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-radius: 14px !important;
  background: linear-gradient(110deg,#20d6a3,#0da982) !important;
  color: #031c15 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(0,190,139,.16) !important;
}

.ONNTRADE-continue-button:hover {
  filter: brightness(1.09) !important;
  transform: translateY(-2px) !important;
}

.ONNTRADE-continue-arrow {
  display: inline-flex !important;
  align-items: center !important;
}

.ONNTRADE-continue-arrow svg {
  width: 19px !important;
  height: 19px !important;
  display: block !important;
}

@media(max-width:600px) {
  .ONNTRADE-signup-success-overlay {
    padding: 10px !important;
  }
  .ONNTRADE-signup-success-overlay .ONNTRADE-signup-success {
    max-height: calc(100vh - 20px) !important;
    padding: 23px 17px !important;
    border-radius: 20px !important;
  }
  .ONNTRADE-success-icon {
    width: 53px !important;
    height: 53px !important;
    flex-basis: 53px !important;
    border-radius: 16px !important;
  }
  .ONNTRADE-success-icon svg {
    width: 32px !important;
    height: 32px !important;
  }
}

/* ONNTRADE SUCCESS MODAL - COMPACT MOBILE FIT */
@media (max-width: 600px) {
  .ONNTRADE-signup-success-overlay {
    padding: 8px !important;
    align-items: center !important;
    overflow-y: auto !important;
  }

  .ONNTRADE-signup-success-overlay .ONNTRADE-signup-success {
    width: 100% !important;
    max-width: 480px !important;
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    overflow-y: auto !important;
    padding: 15px 13px !important;
    border-radius: 17px !important;
    gap: 0 !important;
  }

  .ONNTRADE-success-header {
    gap: 11px !important;
    margin-bottom: 13px !important;
    align-items: center !important;
  }

  .ONNTRADE-success-icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 13px !important;
  }

  .ONNTRADE-success-icon svg {
    width: 27px !important;
    height: 27px !important;
  }

  .ONNTRADE-success-status {
    font-size: 8px !important;
    letter-spacing: 1.2px !important;
  }

  .ONNTRADE-signup-success h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    letter-spacing: -.4px !important;
  }

  .ONNTRADE-signup-success-note {
    padding: 10px 11px !important;
    margin: 0 0 12px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  .ONNTRADE-credentials-title {
    margin-bottom: 8px !important;
    gap: 5px !important;
  }

  .ONNTRADE-credentials-title strong {
    font-size: 10px !important;
  }

  .ONNTRADE-credentials-title span {
    font-size: 8px !important;
  }

  .ONNTRADE-credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .ONNTRADE-credential {
    min-height: 59px !important;
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .ONNTRADE-credential-label {
    font-size: 8px !important;
  }

  .ONNTRADE-credential-value {
    margin-top: 4px !important;
    font-size: 12px !important;
  }

  .ONNTRADE-referral-card {
    margin-top: 8px !important;
    padding: 11px !important;
  }

  .ONNTRADE-signup-success button {
    min-height: 42px !important;
    padding: 10px 13px !important;
    font-size: 11px !important;
  }
}

/* Narrow phones: keep credential cards readable */
@media (max-width: 390px) {
  .ONNTRADE-credentials-grid {
    grid-template-columns: 1fr !important;
  }

  .ONNTRADE-signup-success-overlay .ONNTRADE-signup-success {
    padding: 13px 11px !important;
  }
}
.crypto-ex-shell{width:100%;min-height:100%;padding:24px;background:radial-gradient(circle at 85% 5%,rgba(0,214,143,.08),transparent 28%),#050b0d;color:#e8f4f1;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}.crypto-ex-shell *{box-sizing:border-box}.crypto-ex-recent-strip{background:rgba(10,22,25,.9);border:1px solid rgba(53,214,164,.14);border-radius:16px;padding:14px 18px;margin-bottom:16px;box-shadow:0 10px 30px rgba(0,0,0,.18)}.crypto-ex-recent-title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#78a69c;margin-bottom:10px}.crypto-ex-recent-scroll{display:flex;gap:10px;overflow-x:auto}.crypto-ex-recent-scroll::-webkit-scrollbar{height:4px}.crypto-ex-recent-empty{color:#647d78;font-size:13px;padding:4px 0}.crypto-ex-market-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.crypto-ex-market-card{display:flex;align-items:center;gap:12px;width:100%;padding:15px 18px;border:1px solid rgba(74,214,170,.14);border-radius:14px;background:rgba(11,25,28,.82);color:#dcebe7;cursor:pointer;text-align:left;transition:.2s}.crypto-ex-market-card:hover{border-color:rgba(0,220,151,.4);transform:translateY(-1px)}.crypto-ex-market-card.active{border-color:#00d894;background:linear-gradient(135deg,rgba(0,216,148,.13),rgba(10,27,30,.92));box-shadow:0 0 0 1px rgba(0,216,148,.08),0 12px 30px rgba(0,216,148,.08)}.crypto-ex-market-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(0,216,148,.1);color:#00e49a;font-size:18px}.crypto-ex-spot-head{margin-bottom:16px}.crypto-ex-spot-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.crypto-ex-spot-title h2{margin:0;font-size:26px;line-height:1.15;font-weight:800;letter-spacing:-.03em;color:#f4fbf9}.crypto-ex-spot-title p{margin:7px 0 0;color:#718b86;font-size:13px}.crypto-ex-total-pnl{min-width:180px;text-align:right}.crypto-ex-total-pnl span{display:block;color:#6f8883;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.crypto-ex-total-pnl strong{display:block;margin-top:5px;font-size:22px;color:#00df96}.crypto-ex-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.crypto-ex-wallet-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.crypto-ex-kpi{position:relative;min-height:128px;padding:17px;border:1px solid rgba(75,151,137,.16);border-radius:16px;background:linear-gradient(145deg,rgba(12,27,30,.96),rgba(7,16,18,.96));box-shadow:0 10px 28px rgba(0,0,0,.16);overflow:hidden}.crypto-ex-kpi:after{content:"";position:absolute;right:-35px;bottom:-45px;width:100px;height:100px;border-radius:50%;background:rgba(0,216,148,.045)}.crypto-ex-kpi-primary{border-color:rgba(0,216,148,.28);background:linear-gradient(145deg,rgba(0,216,148,.1),rgba(7,19,21,.98))}.crypto-ex-kpi-head{display:flex;align-items:center;gap:9px;margin-bottom:13px}.crypto-ex-kpi-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(0,216,148,.1);color:#00e49a;font-size:15px;font-weight:800}.crypto-ex-kpi-icon.pnl{color:#48e8ad}.crypto-ex-kpi-icon.positions{color:#8fdfff}.crypto-ex-kpi-icon.closed{color:#b5a9ff}.crypto-ex-kpi-icon.open{color:#ffd36a}.crypto-ex-kpi-icon.profit{color:#57e7a5}.crypto-ex-label{font-size:11px;color:#78918c;text-transform:uppercase;letter-spacing:.055em;font-weight:700}.crypto-ex-value{font-size:24px;font-weight:800;line-height:1.15;color:#f1faf7;letter-spacing:-.02em}.crypto-ex-value.pos{color:#27e49b}.crypto-ex-value.neg{color:#ff6f7c}.crypto-ex-note{margin-top:7px;font-size:11px;color:#536c67}.crypto-ex-kpi-primary .crypto-ex-value{color:#00e49a}.crypto-ex-futures-card{position:relative}.crypto-ex-futures-icon{display:inline-grid;place-items:center}.crypto-ex-futures-icon.trades{color:#8edcff}.crypto-ex-futures-icon.positions{color:#9cf0cf}.crypto-ex-futures-icon.closed{color:#b9a9ff}.crypto-ex-futures-icon.open{color:#ffd46d}.crypto-ex-account,.crypto-ex-accounts,.crypto-ex-table-wrap,.crypto-ex-history,.crypto-ex-panel{background:rgba(8,19,21,.88);border:1px solid rgba(75,151,137,.15);border-radius:16px}.crypto-ex-accounts{margin-top:18px;padding:18px}.crypto-ex-accounts-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.crypto-ex-accounts-title h3{margin:0;font-size:15px}.crypto-ex-accounts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crypto-ex-account{padding:16px}.crypto-ex-account:hover{border-color:rgba(0,216,148,.3)}.crypto-ex-table-wrap{margin-top:18px;overflow:hidden}.crypto-ex-table-wrap table{width:100%;border-collapse:collapse}.crypto-ex-table-wrap th{padding:12px 14px;text-align:left;background:rgba(15,32,35,.9);color:#6f8b85;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.crypto-ex-table-wrap td{padding:13px 14px;border-top:1px solid rgba(75,151,137,.09);color:#cfe0dc;font-size:12px}.crypto-ex-table-wrap tr:hover td{background:rgba(0,216,148,.025)}.crypto-ex-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.crypto-ex-badge.real{background:rgba(0,216,148,.1);color:#20e49b;border:1px solid rgba(0,216,148,.22)}.crypto-ex-badge.demo{background:rgba(90,150,255,.1);color:#82b5ff;border:1px solid rgba(90,150,255,.2)}.crypto-ex-status{display:inline-flex;align-items:center;gap:6px;color:#69dcae;font-size:11px}.crypto-ex-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#00dc91;box-shadow:0 0 8px rgba(0,220,145,.8)}.crypto-ex-shell button{font:inherit}.crypto-ex-shell button:not(.crypto-ex-market-card){border-radius:9px}.crypto-ex-shell input,.crypto-ex-shell select{background:#0a181b;color:#dcebe7;border:1px solid rgba(75,151,137,.2);border-radius:9px;padding:9px 11px}.crypto-ex-shell::-webkit-scrollbar{width:7px;height:7px}.crypto-ex-shell::-webkit-scrollbar-thumb{background:#1b3a35;border-radius:10px}.crypto-ex-shell::-webkit-scrollbar-track{background:transparent}@media(max-width:1100px){.crypto-ex-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.crypto-ex-wallet-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.crypto-ex-shell{padding:14px}.crypto-ex-market-modes,.crypto-ex-accounts-grid{grid-template-columns:1fr}.crypto-ex-kpis,.crypto-ex-wallet-kpis{grid-template-columns:1fr 1fr}.crypto-ex-spot-title{align-items:flex-start;flex-direction:column}.crypto-ex-total-pnl{text-align:left}.crypto-ex-kpi{min-height:112px}.crypto-ex-value{font-size:20px}}@media(max-width:480px){.crypto-ex-kpis,.crypto-ex-wallet-kpis{grid-template-columns:1fr}}

.crypto-ex-futures-dashboard{margin-top:4px;padding:24px;border:1px solid rgba(75,151,137,.15);border-radius:20px;background:radial-gradient(circle at 90% 0%,rgba(0,216,148,.07),transparent 30%),linear-gradient(145deg,rgba(8,20,22,.98),rgba(4,11,13,.98));box-shadow:0 18px 50px rgba(0,0,0,.22)}
.crypto-ex-futures-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}
.crypto-ex-futures-title-row h2{margin:0;color:#f3faf8;font-size:27px;font-weight:800;letter-spacing:-.03em}
.crypto-ex-futures-title-row p{margin:7px 0 0;color:#718b86;font-size:13px}
.crypto-ex-futures-total-pnl{text-align:right;min-width:180px}
.crypto-ex-futures-total-pnl span{display:block;color:#718b86;font-size:10px;text-transform:uppercase;letter-spacing:.11em;font-weight:700}
.crypto-ex-futures-total-pnl strong{display:block;margin-top:5px;color:#00e49a;font-size:23px;font-weight:800}
.crypto-ex-futures-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.crypto-ex-futures-card{position:relative;min-height:125px;padding:17px;border:1px solid rgba(75,151,137,.16);border-radius:16px;background:linear-gradient(145deg,rgba(12,28,31,.98),rgba(7,16,18,.98));box-shadow:0 10px 28px rgba(0,0,0,.15);overflow:hidden;transition:.2s}
.crypto-ex-futures-card:hover{transform:translateY(-2px);border-color:rgba(0,216,148,.3);box-shadow:0 14px 34px rgba(0,216,148,.07)}
.crypto-ex-futures-card:after{content:"";position:absolute;right:-35px;bottom:-45px;width:105px;height:105px;border-radius:50%;background:rgba(0,216,148,.045)}
.crypto-ex-futures-card strong{display:block;position:relative;z-index:1;margin:12px 0 7px;color:#f2faf8;font-size:24px;font-weight:800;line-height:1.1}
.crypto-ex-futures-card small{position:relative;z-index:1;display:block;color:#78928c;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.055em;line-height:1.4}
.crypto-ex-futures-icon{position:absolute!important;z-index:2;top:15px;right:15px;width:31px;height:31px;display:grid!important;place-items:center;border-radius:9px;background:rgba(0,216,148,.1);color:#00e49a;font-size:13px}
.crypto-ex-futures-icon.profit{color:#42e6a8;background:rgba(0,216,148,.1)}
.crypto-ex-futures-icon.trades{color:#8edcff;background:rgba(90,180,255,.09)}
.crypto-ex-futures-icon.positions{color:#b0a7ff;background:rgba(145,120,255,.09)}
.crypto-ex-futures-icon.closed{color:#d0a9ff;background:rgba(170,100,255,.09)}
.crypto-ex-futures-icon.open{color:#ffd36b;background:rgba(255,190,70,.09)}
.crypto-ex-profit-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.crypto-ex-profit-period{position:relative;padding:18px;border-radius:15px;border:1px solid rgba(75,151,137,.15);background:rgba(10,24,27,.92);overflow:hidden}
.crypto-ex-profit-period strong{display:block;color:#78928c;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.crypto-ex-profit-period b{display:block;margin-top:9px;color:#f1faf7;font-size:22px;font-weight:800}
.crypto-ex-profit-period.today{border-color:rgba(0,216,148,.25);background:linear-gradient(145deg,rgba(0,216,148,.08),rgba(10,24,27,.94))}
.crypto-ex-profit-period.today b{color:#00e49a}
.crypto-ex-profit-period.week b{color:#83cfff}
.crypto-ex-profit-period.month b{color:#b8a7ff}
.crypto-ex-futures-closed{margin-top:18px;padding:20px;border:1px solid rgba(75,151,137,.15);border-radius:17px;background:rgba(7,18,20,.9)}
.crypto-ex-futures-closed-head{margin-bottom:16px}
.crypto-ex-futures-closed-head h3{margin:0;color:#eef8f5;font-size:17px;font-weight:800}
.crypto-ex-futures-closed-head p{margin:6px 0 0;color:#627b76;font-size:12px}
.crypto-ex-closed-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-radius:12px;background:rgba(13,30,33,.8);border:1px solid rgba(75,151,137,.1);color:#718b86;font-size:12px}
.crypto-ex-closed-toolbar b{color:#dbece7}
.crypto-ex-closed-actions{display:flex;align-items:center;gap:8px}
.crypto-ex-closed-actions input{min-width:190px;background:#081619!important;color:#dcebe7!important;border:1px solid rgba(75,151,137,.2)!important;border-radius:9px!important;padding:9px 11px!important}
.crypto-ex-closed-actions button{background:#102629;color:#dcebe7;border:1px solid rgba(75,151,137,.2);padding:8px 13px;border-radius:9px;cursor:pointer}
.crypto-ex-closed-actions button:hover{border-color:#00d894;color:#00e49a}
.crypto-ex-futures-dashboard .crypto-ex-closed-table,.crypto-ex-futures-dashboard table{width:100%;border-collapse:collapse}
.crypto-ex-futures-dashboard th{padding:12px;text-align:left;color:#6e8983;background:#0d2023;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.crypto-ex-futures-dashboard td{padding:13px 12px;border-top:1px solid rgba(75,151,137,.08);color:#cfe0db;font-size:12px}
.crypto-ex-futures-dashboard tr:hover td{background:rgba(0,216,148,.025)}
@media(max-width:1100px){.crypto-ex-futures-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.crypto-ex-futures-dashboard{padding:16px}.crypto-ex-futures-title-row{align-items:flex-start;flex-direction:column}.crypto-ex-futures-total-pnl{text-align:left}.crypto-ex-futures-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crypto-ex-profit-periods{grid-template-columns:1fr}.crypto-ex-closed-toolbar{align-items:flex-start;flex-direction:column}.crypto-ex-closed-actions{width:100%}.crypto-ex-closed-actions input{width:100%;min-width:0}}
@media(max-width:480px){.crypto-ex-futures-grid{grid-template-columns:1fr}.crypto-ex-futures-title-row h2{font-size:22px}}

/* Exchange Trade Tables - Position / Open / Closed */
.crypto-ex-detail-panel{margin-top:18px;border:1px solid rgba(80,220,190,.16);border-radius:18px;background:linear-gradient(180deg,rgba(7,24,25,.96),rgba(4,16,18,.96));overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.18)}
.crypto-ex-detail-tabs{display:flex;gap:8px;padding:12px;border-bottom:1px solid rgba(80,220,190,.12);overflow-x:auto}
.crypto-ex-detail-tab{display:flex;align-items:center;gap:8px;min-width:max-content;padding:10px 15px;border:1px solid rgba(120,180,190,.14);border-radius:10px;background:rgba(10,30,32,.72);color:#8fa9ab;font:600 12px/1.2 inherit;cursor:pointer;transition:.2s}
.crypto-ex-detail-tab:hover{border-color:rgba(0,210,160,.35);color:#d8ffff}
.crypto-ex-detail-tab.active{border-color:rgba(0,220,165,.55);background:rgba(0,180,135,.12);color:#fff;box-shadow:0 0 18px rgba(0,210,160,.08)}
.crypto-ex-detail-tab b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.07);color:#d8ffff;font-size:11px}
.crypto-ex-detail-content{padding:0}
.crypto-ex-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px}
.crypto-ex-detail-heading>div{display:flex;flex-direction:column;gap:5px}
.crypto-ex-detail-heading strong{font-size:16px;color:#f2ffff}
.crypto-ex-detail-heading small{font-size:11px;color:#6f9294}
.crypto-ex-detail-heading>b{min-width:34px;height:28px;padding:0 9px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:rgba(0,210,160,.1);color:#00e0ad;font-size:12px}
.crypto-ex-detail-list{width:100%;overflow-x:auto}
.crypto-ex-detail-row{display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(90px,.8fr) minmax(110px,1fr) minmax(100px,.85fr) minmax(100px,.9fr) minmax(145px,1fr) minmax(145px,1fr);align-items:center;min-width:900px;padding:14px 20px;border-top:1px solid rgba(120,180,190,.08);column-gap:18px;color:#a7bdbf;font-size:12px}
.crypto-ex-detail-row:not(.crypto-ex-detail-header):hover{background:rgba(0,210,160,.035)}
.crypto-ex-detail-row strong{color:#edfafa;font-size:12px;font-weight:700}
.crypto-ex-detail-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crypto-ex-detail-header{border-top:0;background:rgba(8,31,33,.72);color:#628487;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.crypto-ex-detail-header span{overflow:visible}
.crypto-ex-detail-row .positive{color:#00d9a5;font-weight:700}
.crypto-ex-detail-row .negative{color:#ff7180;font-weight:700}
.crypto-ex-detail-empty{padding:28px 20px;text-align:center;color:#668486;font-size:12px;border-top:1px solid rgba(120,180,190,.08)}
@media (max-width:900px){
  .crypto-ex-detail-heading{padding:15px}
  .crypto-ex-detail-row{padding:12px 15px;column-gap:12px}
}


/* Futures-only readable date/time columns */
.crypto-ex-futures-dashboard .crypto-ex-detail-row {
  grid-template-columns: minmax(130px,1.1fr) minmax(75px,.6fr) minmax(110px,.9fr) minmax(90px,.7fr) minmax(90px,.7fr) minmax(195px,1.35fr) minmax(195px,1.35fr);
  min-width: 1120px;
}
.crypto-ex-futures-dashboard .crypto-ex-futures-date {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-variant-numeric: tabular-nums;
}
:root {
  --ot-bg: #030708;
  --ot-bg-soft: #07100f;
  --ot-panel: #071714;
  --ot-panel-2: #0a1b18;
  --ot-border: rgba(46, 255, 203, .18);
  --ot-green: #00e8ae;
  --ot-green-2: #00ffc2;
  --ot-white: #f4faf8;
  --ot-muted: #7d9892;
  --ot-muted-2: #9eb3ae;
  --ot-yellow: #f4bd25;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ot-bg);
  color: var(--ot-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.ot-home {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 10%, rgba(0, 232, 174, .055), transparent 28%),
    radial-gradient(circle at 10% 40%, rgba(0, 100, 255, .035), transparent 28%),
    var(--ot-bg);
}

/* ================= HEADER ================= */

.ot-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(3,7,8,.84);
  backdrop-filter: blur(20px);
}

.ot-nav {
  width: min(1240px, calc(100% - 72px));
  min-height: 80px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.ot-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.ot-mark {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,232,174,.35);
  box-shadow: 0 0 24px rgba(0,232,174,.12);
  background: #07100f;
}

.ot-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ot-mark-small {
  width: 35px;
  height: 35px;
  border-radius: 9px;
}

.ot-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ot-brand-copy b {
  font-size: 16px;
  letter-spacing: .02em;
}

.ot-brand-copy small {
  margin-top: 5px;
  color: #6c8580;
  font-size: 7px;
  letter-spacing: .19em;
  font-weight: 800;
}

.ot-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.ot-nav-links a,
.ot-login {
  color: #9fb1ad;
  font-size: 12px;
  font-weight: 700;
  transition: .25s ease;
}

.ot-nav-links a:hover,
.ot-login:hover {
  color: var(--ot-green);
}

.ot-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ot-login {
  white-space: nowrap;
}

.ot-nav-cta,
.ot-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  background: var(--ot-green);
  color: #00130e;
  font-weight: 900;
  font-size: 12px;
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(0,232,174,.14);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ot-nav-cta:hover,
.ot-btn-primary:hover {
  transform: translateY(-2px);
  background: var(--ot-green-2);
  box-shadow: 0 18px 55px rgba(0,232,174,.24);
}

.ot-arrow {
  font-size: 15px;
  line-height: 1;
}

.ot-menu {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ot-border);
  background: transparent;
  color: var(--ot-white);
  width: 42px;
  height: 42px;
  border-radius: 9px;
}


/* Mobile authentication actions are shown inside the hamburger menu. */
.ot-mobile-auth {
  display: none;
}

@media (max-width: 800px) {
  .ot-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 10px 8px;
    margin-top: 8px;
    border-top: 1px solid rgba(0,232,174,.18);
  }

  .ot-mobile-signin,
  .ot-mobile-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  .ot-mobile-signin {
    color: #e8f5f1 !important;
    border: 1px solid rgba(0,232,174,.35);
    background: rgba(0,232,174,.06);
  }

  .ot-mobile-signup {
    color: #001b15 !important;
    border: 1px solid #00e8ae;
    background: #00e8ae;
  }

  .ot-mobile-signin:hover,
  .ot-mobile-signup:hover {
    opacity: .88;
  }
}

/* ================= HERO ================= */

.ot-hero {
  position: relative;
  min-height: 720px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  isolation: isolate;
}

.ot-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .42;
  background-image:
    linear-gradient(rgba(0,232,174,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,232,174,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.ot-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ot-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
  animation: otOrbFloat 8s ease-in-out infinite alternate;
}

.ot-orb-one {
  width: 460px;
  height: 460px;
  right: 2%;
  top: 5%;
  background: rgba(0,232,174,.08);
}

.ot-orb-two {
  width: 300px;
  height: 300px;
  left: 20%;
  bottom: -100px;
  background: rgba(0,92,255,.05);
  animation-delay: -3s;
}

.ot-orb-three {
  width: 190px;
  height: 190px;
  right: 35%;
  top: 35%;
  background: rgba(0,255,194,.06);
  animation-delay: -5s;
}

@keyframes otOrbFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(15px,-22px,0) scale(1.08); }
}

.ot-hero-inner {
  width: min(1240px, calc(100% - 72px));
  min-height: 670px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 70px 0 100px;
}

.ot-hero-left {
  position: relative;
  z-index: 2;
}

.ot-slider-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #637b76;
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 900;
  margin-bottom: 48px;
}

.ot-slider-top i {
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.ot-live-dot {
  width: 6px;
  height: 6px;
  background: var(--ot-green);
  border-radius: 50%;
  box-shadow: 0 0 13px var(--ot-green);
  animation: otPulse 1.5s infinite;
}

@keyframes otPulse {
  50% { opacity: .35; transform: scale(.75); }
}

.ot-eyebrow,
.ot-section-label {
  color: var(--ot-green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .19em;
}

.ot-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}

.ot-eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--ot-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--ot-green);
}

.ot-slide-content {
  animation: otSlideIn .65s cubic-bezier(.2,.7,.2,1);
}

@keyframes otSlideIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ot-slide-content h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 6vw, 94px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 900;
}

.ot-slide-content h1 span {
  color: var(--ot-green);
}

.ot-slide-content p {
  max-width: 610px;
  margin: 30px 0 0;
  color: #8da7a1;
  font-size: 15px;
  line-height: 1.75;
}

.ot-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.ot-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 19px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #d9e7e3;
  font-size: 12px;
  font-weight: 800;
  transition: .25s ease;
}

.ot-btn-secondary:hover {
  border-color: rgba(0,232,174,.35);
  color: var(--ot-green);
  background: rgba(0,232,174,.035);
}

.ot-hero-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}

.ot-price-card {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ot-price-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--ot-green);
  border: 1px solid rgba(0,232,174,.2);
  background: rgba(0,232,174,.055);
  font-weight: 900;
}

.ot-price-card strong {
  display: block;
  font-size: 18px;
}

.ot-price-card span {
  display: block;
  margin-top: 3px;
  color: #607a74;
  font-size: 8px;
  letter-spacing: .13em;
  font-weight: 900;
}

.ot-hero-trust {
  color: #627a75;
  font-size: 10px;
}

.ot-hero-trust span {
  color: var(--ot-green);
  margin-right: 5px;
}

/* HERO VISUAL */

.ot-hero-right {
  position: relative;
  height: 540px;
}

.ot-planet {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -30px;
  top: 0;
}

.ot-ring {
  position: absolute;
  border: 1px solid rgba(0,232,174,.16);
  border-radius: 50%;
  inset: 50%;
  transform: translate(-50%,-50%);
  animation: otRing 8s linear infinite;
}

.ot-ring-one {
  width: 230px;
  height: 230px;
}

.ot-ring-two {
  width: 350px;
  height: 350px;
  border-color: rgba(0,232,174,.12);
  animation-direction: reverse;
  animation-duration: 12s;
}

.ot-ring-three {
  width: 485px;
  height: 485px;
  border-color: rgba(56,124,255,.12);
  animation-duration: 18s;
}

@keyframes otRing {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

.ot-planet-core {
  position: absolute;
  width: 230px;
  height: 230px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(0,232,174,.12), transparent 55%),
    #061210;
  border: 1px solid rgba(0,232,174,.28);
  box-shadow:
    0 0 90px rgba(0,232,174,.09),
    inset 0 0 50px rgba(0,232,174,.035);
  z-index: 3;
}

.ot-planet-core strong {
  margin-top: 11px;
  font-size: 21px;
  letter-spacing: .02em;
}

.ot-planet-core small {
  margin-top: 7px;
  color: #66817b;
  font-size: 7px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ot-core-line {
  display: flex;
  gap: 5px;
  margin-top: 13px;
}

.ot-core-line i {
  width: 24px;
  height: 3px;
  border-radius: 5px;
  background: rgba(255,255,255,.12);
}

.ot-core-line i:nth-child(2) {
  width: 34px;
  background: var(--ot-green);
  box-shadow: 0 0 14px rgba(0,232,174,.45);
}

.ot-coin {
  position: absolute;
  z-index: 5;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #332100;
  background: linear-gradient(145deg, #ffd94d, #c88b05);
  box-shadow: 0 15px 50px rgba(244,189,37,.2);
  font-size: 27px;
  font-weight: 900;
  animation: otCoin 4s ease-in-out infinite alternate;
}

.ot-btc {
  top: 78px;
  left: 48px;
}

.ot-eth {
  right: 15px;
  top: 235px;
  animation-delay: -1.2s;
}

.ot-usdt {
  left: 90px;
  bottom: 55px;
  animation-delay: -2.2s;
}

@keyframes otCoin {
  from { transform: translateY(0) rotate(-4deg); }
  to { transform: translateY(-15px) rotate(5deg); }
}

.ot-floating-card {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 235px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(5,17,15,.9);
  border-radius: 13px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(18px);
  animation: otFloat 4.5s ease-in-out infinite alternate;
}

.ot-float-top {
  right: 0;
  top: 48px;
}

.ot-float-bottom {
  left: 5px;
  bottom: 55px;
  animation-delay: -2s;
}

@keyframes otFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.ot-mini-logo,
.ot-exchange-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020a09;
  border-radius: 10px;
}

.ot-mini-logo {
  width: 38px;
  height: 38px;
}

.ot-mini-logo img,
.ot-exchange-logo img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.ot-floating-card b {
  display: block;
  font-size: 11px;
}

.ot-floating-card small {
  display: block;
  color: #607973;
  margin-top: 4px;
  font-size: 7px;
}

.ot-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ot-green);
  box-shadow: 0 0 10px var(--ot-green);
  margin-left: auto;
}

.ot-stat-panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 8;
  padding: 15px 18px;
  min-width: 145px;
  border-left: 2px solid var(--ot-green);
  background: rgba(4,13,12,.75);
  backdrop-filter: blur(15px);
}

.ot-stat-panel span {
  display: block;
  color: var(--ot-green);
  font-size: 7px;
  letter-spacing: .13em;
  font-weight: 900;
}

.ot-stat-panel strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
  line-height: 1;
}

.ot-stat-panel small {
  display: block;
  margin-top: 5px;
  color: #647d77;
  font-size: 7px;
  letter-spacing: .11em;
}

/* SLIDER */

.ot-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 35px;
  width: min(1240px, calc(100% - 72px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ot-slider-dots {
  display: flex;
  gap: 13px;
}

.ot-slider-dots button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #4d6761;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ot-slider-dots button span {
  font-size: 9px;
  font-weight: 900;
}

.ot-slider-dots button i {
  width: 65px;
  height: 2px;
  overflow: hidden;
  display: block;
  background: rgba(255,255,255,.08);
}

.ot-slider-dots button em {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ot-green);
}

.ot-slider-dots button.active {
  color: var(--ot-green);
}

.ot-slider-dots button.active em {
  width: 100%;
  transition: width 6s linear;
}

.ot-slider-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4f6863;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ot-slider-caption b {
  color: #758d87;
  font-size: 7px;
}

.ot-slider-caption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ot-green);
  box-shadow: 0 0 10px rgba(0,232,174,.5);
}

.ot-slider-caption i.paused {
  background: #f4bd25;
  box-shadow: 0 0 10px rgba(244,189,37,.5);
}

/* ================= MARKET ================= */

.ot-market-strip {
  width: min(1240px, calc(100% - 72px));
  min-height: 66px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(8,19,17,.68);
  transform: translateY(-1px);
}

.ot-market-label {
  padding: 0 22px;
  color: var(--ot-green);
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 900;
}

.ot-market-track {
  display: flex;
  flex: 1;
  justify-content: space-around;
  gap: 22px;
  padding-right: 18px;
}

.ot-market-track span {
  color: #617a74;
  font-size: 9px;
  white-space: nowrap;
}

.ot-market-track b {
  color: #c4d2ce;
  margin-right: 5px;
}

/* ================= ACCESS ================= */

.ot-access-section {
  width: min(1240px, calc(100% - 72px));
  margin: 105px auto 0;
}

.ot-access-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,232,174,.18);
  border-radius: 22px;
  padding: 35px 42px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 55px;
  background:
    radial-gradient(circle at 30% 50%, rgba(0,232,174,.08), transparent 38%),
    linear-gradient(110deg, #071613, #081412);
}

.ot-access-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  right: 12%;
  top: -100px;
  background: rgba(0,232,174,.06);
  filter: blur(50px);
}

.ot-access-copy,
.ot-access-price,
.ot-access-card .ot-btn-primary {
  position: relative;
  z-index: 2;
}

.ot-access-copy h2 {
  margin: 12px 0 7px;
  font-size: 38px;
  letter-spacing: -.045em;
}

.ot-access-copy h2 span {
  color: var(--ot-green);
}

.ot-access-copy p {
  margin: 0;
  color: #78918b;
  font-size: 13px;
}

.ot-access-copy p strong {
  color: var(--ot-white);
}

.ot-access-price {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ot-access-price > span {
  color: var(--ot-green);
  font-size: 20px;
  font-weight: 900;
}

.ot-access-price strong {
  font-size: 54px;
  line-height: 1;
  letter-spacing: -.06em;
}

.ot-access-price small {
  margin-left: 8px;
  color: #6d8780;
  font-size: 7px;
  letter-spacing: .13em;
  line-height: 1.45;
  font-weight: 900;
}

/* ================= SECTIONS ================= */

.ot-section {
  width: min(1240px, calc(100% - 72px));
  margin: 145px auto 0;
}

.ot-section-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 50px;
}

.ot-section-heading h2,
.ot-centered-heading h2 {
  margin: 15px 0 0;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .97;
  letter-spacing: -.06em;
}

.ot-section-heading h2 span,
.ot-centered-heading h2 span {
  color: var(--ot-green);
}

.ot-section-heading > p {
  max-width: 420px;
  margin: 0 0 5px auto;
  color: #718a84;
  font-size: 13px;
  line-height: 1.75;
}

.ot-exchange-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 50px;
}

.ot-exchange-card {
  min-height: 305px;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0,232,174,.18);
  background:
    radial-gradient(circle at 80% 10%, rgba(0,232,174,.055), transparent 35%),
    #071613;
  transition: .3s ease;
}

.ot-exchange-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0,232,174,.4);
  box-shadow: 0 25px 80px rgba(0,0,0,.28);
}

.ot-exchange-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ot-exchange-logo {
  width: 62px;
  height: 62px;
}

.ot-exchange-head > span {
  color: var(--ot-green);
  font-size: 7px;
  letter-spacing: .13em;
  font-weight: 900;
}

.ot-exchange-head > span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ot-green);
  box-shadow: 0 0 10px var(--ot-green);
}

.ot-exchange-card h3 {
  margin: 30px 0 10px;
  font-size: 26px;
}

.ot-exchange-card p {
  max-width: 540px;
  color: #718b84;
  font-size: 13px;
  line-height: 1.7;
}

.ot-card-footer {
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ot-card-footer small {
  color: #49645e;
  font-size: 7px;
  letter-spacing: .14em;
  font-weight: 900;
}

.ot-card-footer a {
  color: var(--ot-green);
  font-size: 10px;
  font-weight: 900;
}

/* ================= REFERRAL ================= */

.ot-program-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.ot-program-visual {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
}

.ot-network {
  position: relative;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,232,174,.08), transparent 53%),
    radial-gradient(circle, rgba(0,232,174,.025), transparent 72%);
  border: 1px solid rgba(0,232,174,.13);
}

.ot-network::before,
.ot-network::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(0,232,174,.08);
}

.ot-network::before {
  width: 280px;
  height: 280px;
}

.ot-network::after {
  width: 150px;
  height: 150px;
}

.ot-network-center {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 115px;
  height: 115px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  background: #071512;
  border: 1px solid rgba(0,232,174,.3);
  box-shadow: 0 0 55px rgba(0,232,174,.1);
}

.ot-network-center b {
  color: var(--ot-green);
  font-size: 9px;
  letter-spacing: .15em;
}

.ot-node {
  position: absolute;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ot-green);
  background: #06110f;
  border: 1px solid rgba(0,232,174,.24);
  font-size: 9px;
  font-weight: 900;
  animation: otNodePulse 2.8s ease-in-out infinite;
}

.ot-node.n1 { left: 20px; top: 70px; }
.ot-node.n2 { right: 18px; top: 55px; animation-delay: -.4s; }
.ot-node.n3 { right: -3px; top: 190px; animation-delay: -.8s; }
.ot-node.n4 { right: 70px; bottom: 12px; animation-delay: -1.2s; }
.ot-node.n5 { left: 30px; bottom: 55px; animation-delay: -1.6s; }
.ot-node.n6 { left: -5px; top: 205px; animation-delay: -2s; }

@keyframes otNodePulse {
  50% {
    box-shadow: 0 0 28px rgba(0,232,174,.18);
    transform: scale(1.05);
  }
}

.ot-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,232,174,.4), transparent);
  transform-origin: left center;
  left: 50%;
  top: 50%;
  width: 180px;
  animation: otLinePulse 2s infinite;
}

.ot-line.l1 { transform: rotate(210deg); }
.ot-line.l2 { transform: rotate(315deg); animation-delay: -.3s; }
.ot-line.l3 { transform: rotate(5deg); animation-delay: -.6s; }
.ot-line.l4 { transform: rotate(65deg); animation-delay: -.9s; }
.ot-line.l5 { transform: rotate(140deg); animation-delay: -1.2s; }
.ot-line.l6 { transform: rotate(180deg); animation-delay: -1.5s; }

@keyframes otLinePulse {
  50% { opacity: .3; }
}

.ot-program-copy h2 {
  margin: 15px 0 20px;
  font-size: clamp(45px, 5vw, 70px);
  line-height: .96;
  letter-spacing: -.06em;
}

.ot-program-copy h2 span {
  color: var(--ot-green);
}

.ot-program-copy > p {
  max-width: 590px;
  color: #78928b;
  line-height: 1.75;
  font-size: 14px;
}

.ot-program-points {
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.ot-program-points > div {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.015);
}

.ot-program-points span {
  color: var(--ot-green);
  font-size: 8px;
  font-weight: 900;
}

.ot-program-points b {
  display: block;
  margin-top: 16px;
  font-size: 11px;
}

.ot-program-points small {
  display: block;
  margin-top: 7px;
  color: #617a74;
  font-size: 8px;
  line-height: 1.5;
}

/* ================= PROFIT ================= */

.ot-profit-section {
  position: relative;
  min-height: 670px;
  margin-top: 145px;
  padding: 115px max(36px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  border-top: 1px solid rgba(0,232,174,.08);
  border-bottom: 1px solid rgba(0,232,174,.08);
  background:
    radial-gradient(circle at 50% 50%, rgba(0,232,174,.08), transparent 32%),
    #050b0a;
}

.ot-profit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ot-profit-bg div {
  position: absolute;
  border: 1px solid rgba(0,232,174,.07);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.ot-profit-bg div:nth-child(1) {
  width: 330px;
  height: 330px;
}

.ot-profit-bg div:nth-child(2) {
  width: 580px;
  height: 580px;
}

.ot-profit-bg div:nth-child(3) {
  width: 900px;
  height: 900px;
}

.ot-profit-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.ot-profit-content h2 {
  margin: 18px 0;
  font-size: clamp(58px, 8vw, 105px);
  line-height: .88;
  letter-spacing: -.075em;
}

.ot-profit-content h2 span {
  color: var(--ot-green);
}

.ot-profit-content h2 strong {
  color: #f3f8f6;
}

.ot-profit-content > p {
  max-width: 650px;
  margin: 30px auto;
  color: #809992;
  font-size: 14px;
  line-height: 1.75;
}

.ot-profit-content > p b {
  color: #c9dbd6;
}

.ot-split-bar {
  max-width: 720px;
  margin: 45px auto 0;
  height: 82px;
  display: flex;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.1);
}

.client-share {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(100deg, rgba(0,232,174,.2), rgba(0,232,174,.07));
  border-right: 1px solid rgba(0,232,174,.2);
}

.onntrade-share {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px;
  background: rgba(255,255,255,.035);
}

.ot-split-bar span {
  font-size: 8px;
  letter-spacing: .12em;
  font-weight: 900;
}

.client-share span {
  color: var(--ot-green);
}

.onntrade-share span {
  color: #748d87;
}

.ot-split-bar b {
  font-size: 22px;
}

.ot-profit-note {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #5f7771;
  font-size: 9px;
}

.ot-profit-note span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

/* ================= FEATURES ================= */

.ot-centered-heading {
  text-align: center;
  max-width: 760px;
  margin: auto;
}

.ot-centered-heading p {
  margin: 20px auto 0;
  max-width: 570px;
  color: #718a84;
  font-size: 13px;
  line-height: 1.7;
}

.ot-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-top: 55px;
}

.ot-feature-grid article {
  position: relative;
  min-height: 280px;
  padding: 27px 25px;
  border: 1px solid rgba(0,232,174,.13);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(8,23,20,.85), rgba(5,13,12,.9));
  transition: .3s ease;
}

.ot-feature-grid article:hover {
  transform: translateY(-7px);
  border-color: rgba(0,232,174,.32);
}

.ot-feature-number {
  position: absolute;
  right: 23px;
  top: 23px;
  color: #35514b;
  font-size: 9px;
  font-weight: 900;
}

.ot-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ot-green);
  border: 1px solid rgba(0,232,174,.25);
  background: rgba(0,232,174,.045);
  font-size: 21px;
}

.ot-feature-grid h3 {
  margin: 50px 0 10px;
  font-size: 16px;
}

.ot-feature-grid p {
  margin: 0;
  color: #69827c;
  font-size: 11px;
  line-height: 1.7;
}

/* ================= STEPS ================= */

.ot-step-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
}

.ot-step-line::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: rgba(0,232,174,.2);
}

.ot-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.ot-step > span {
  width: 50px;
  height: 50px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #06120f;
  border: 1px solid rgba(0,232,174,.35);
  color: var(--ot-green);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(0,232,174,.08);
}

.ot-step h3 {
  margin: 28px 0 10px;
  font-size: 14px;
}

.ot-step p {
  margin: 0 auto;
  max-width: 220px;
  color: #68817b;
  font-size: 10px;
  line-height: 1.65;
}

/* ================= COMMUNITY ================= */

.ot-community {
  width: min(1240px, calc(100% - 72px));
  margin: 145px auto 0;
}

.ot-community-inner {
  min-height: 315px;
  padding: 55px 60px;
  border: 1px solid rgba(0,232,174,.22);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background:
    radial-gradient(circle at 70% 20%, rgba(0,232,174,.08), transparent 35%),
    #071613;
}

.ot-community h2 {
  margin: 15px 0 15px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.06em;
}

.ot-community h2 span {
  color: var(--ot-green);
}

.ot-community p {
  max-width: 590px;
  margin: 0;
  color: #75908a;
  font-size: 13px;
  line-height: 1.7;
}

.ot-community-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ot-community-price small {
  display: block;
  color: #648079;
  font-size: 7px;
  letter-spacing: .14em;
  font-weight: 900;
}

.ot-community-price strong {
  display: block;
  margin-top: 5px;
  color: var(--ot-green);
  font-size: 42px;
  line-height: 1;
}

/* ================= FAQ ================= */

.ot-faq-list {
  max-width: 850px;
  margin: 55px auto 0;
  border-top: 1px solid rgba(255,255,255,.09);
}

.ot-faq-item {
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.ot-faq-item button {
  width: 100%;
  padding: 24px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #e7f0ed;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 850;
}

.ot-faq-item button b {
  color: var(--ot-green);
  font-size: 20px;
  font-weight: 400;
}

.ot-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: .3s ease;
}

.ot-faq-answer p {
  overflow: hidden;
  margin: 0;
  color: #708983;
  font-size: 12px;
  line-height: 1.7;
}

.ot-faq-item.open .ot-faq-answer {
  grid-template-rows: 1fr;
}

.ot-faq-item.open .ot-faq-answer p {
  padding: 0 5px 24px;
}

/* ================= FOOTER ================= */

.ot-footer {
  margin-top: 130px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.ot-footer-main {
  width: min(1240px, calc(100% - 72px));
  min-height: 230px;
  margin: auto;
  display: grid;
  grid-template-columns: .8fr 1fr .6fr;
  align-items: center;
  gap: 70px;
}

.ot-footer-main > p {
  color: #627b75;
  max-width: 420px;
  font-size: 11px;
  line-height: 1.8;
}

.ot-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.ot-footer-links a {
  color: #718983;
  font-size: 10px;
  transition: .2s ease;
}

.ot-footer-links a:hover {
  color: var(--ot-green);
}

.ot-footer-bottom {
  width: min(1240px, calc(100% - 72px));
  min-height: 65px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #435b56;
  font-size: 8px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {
  .ot-nav-links {
    gap: 17px;
  }

  .ot-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .ot-hero {
    min-height: auto;
  }

  .ot-hero-right {
    height: 470px;
  }

  .ot-planet {
    right: 50%;
    transform: translateX(50%);
  }

  .ot-hero-left {
    text-align: center;
  }

  .ot-eyebrow,
  .ot-hero-actions,
  .ot-hero-bottom {
    justify-content: center;
  }

  .ot-hero-trust {
    display: none;
  }

  .ot-slider-top {
    justify-content: center;
  }

  .ot-slide-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .ot-section-heading {
    grid-template-columns: 1fr;
  }

  .ot-section-heading > p {
    margin-left: 0;
  }

  .ot-program-grid {
    grid-template-columns: 1fr;
  }

  .ot-program-visual {
    order: 2;
  }

  .ot-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ot-access-card {
    grid-template-columns: 1fr auto;
  }

  .ot-access-card .ot-btn-primary {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .ot-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .ot-nav,
  .ot-hero-inner,
  .ot-slider-controls,
  .ot-market-strip,
  .ot-access-section,
  .ot-section,
  .ot-community,
  .ot-footer-main,
  .ot-footer-bottom {
    width: min(100% - 34px, 1240px);
  }

  .ot-nav-actions {
    display: none;
  }

  .ot-menu {
    display: block;
  }

  .ot-nav-links {
    position: absolute;
    top: 80px;
    left: 17px;
    right: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    border: 1px solid rgba(0,232,174,.15);
    border-radius: 14px;
    background: rgba(3,9,8,.96);
    backdrop-filter: blur(20px);
  }

  .ot-nav-links.ot-nav-open {
    display: flex;
  }

  .ot-nav-links a {
    padding: 12px;
  }

  .ot-hero-inner {
    min-height: 700px;
  }

  .ot-slide-content h1 {
    font-size: clamp(50px, 13vw, 76px);
  }

  .ot-floating-card {
    min-width: 190px;
  }

  .ot-float-top {
    right: -5px;
  }

  .ot-float-bottom {
    left: -5px;
  }

  .ot-market-track {
    overflow: hidden;
    justify-content: flex-start;
    padding-left: 20px;
  }

  .ot-market-strip {
    overflow: hidden;
  }

  .ot-market-track span:nth-child(n+5) {
    display: none;
  }

  .ot-access-card {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
  }

  .ot-access-copy {
    width: 100%;
  }

  .ot-exchange-grid {
    grid-template-columns: 1fr;
  }

  .ot-program-points {
    grid-template-columns: 1fr;
  }

  .ot-step-line {
    grid-template-columns: 1fr 1fr;
    gap: 45px 10px;
  }

  .ot-step-line::before {
    display: none;
  }

  .ot-community-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ot-community-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ot-footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 45px 0;
  }
}

@media (max-width: 560px) {
  .ot-header {
    position: relative;
  }

  .ot-nav {
    min-height: 70px;
  }

  .ot-nav-links {
    top: 70px;
  }

  .ot-hero-inner {
    min-height: 790px;
    padding-top: 38px;
  }

  .ot-slider-top {
    margin-bottom: 32px;
  }

  .ot-slide-content h1 {
    font-size: 51px;
  }

  .ot-slide-content p {
    font-size: 13px;
  }

  .ot-hero-actions {
    flex-direction: column;
  }

  .ot-btn-primary,
  .ot-btn-secondary {
    width: 100%;
  }

  .ot-hero-bottom {
    margin-top: 28px;
  }

  .ot-hero-right {
    height: 360px;
  }

  .ot-planet {
    width: 350px;
    height: 350px;
    right: 50%;
  }

  .ot-ring-one {
    width: 160px;
    height: 160px;
  }

  .ot-ring-two {
    width: 240px;
    height: 240px;
  }

  .ot-ring-three {
    width: 330px;
    height: 330px;
  }

  .ot-planet-core {
    width: 155px;
    height: 155px;
  }

  .ot-planet-core strong {
    font-size: 16px;
  }

  .ot-coin {
    width: 43px;
    height: 43px;
    font-size: 20px;
  }

  .ot-floating-card {
    min-width: 160px;
    padding: 9px;
  }

  .ot-float-top {
    top: 15px;
  }

  .ot-float-bottom {
    bottom: 10px;
  }

  .ot-slider-controls {
    bottom: 22px;
    align-items: flex-end;
  }

  .ot-slider-caption {
    display: none;
  }

  .ot-slider-dots button i {
    width: 35px;
  }

  .ot-market-strip {
    min-height: 60px;
  }

  .ot-market-label {
    padding: 0 12px;
  }

  .ot-access-card {
    padding: 28px;
  }

  .ot-access-copy h2 {
    font-size: 32px;
  }

  .ot-access-price strong {
    font-size: 46px;
  }

  .ot-section,
  .ot-access-section {
    margin-top: 100px;
  }

  .ot-section-heading h2,
  .ot-centered-heading h2 {
    font-size: 45px;
  }

  .ot-feature-grid {
    grid-template-columns: 1fr;
  }

  .ot-program-visual {
    min-height: 380px;
  }

  .ot-network {
    width: 320px;
    height: 320px;
  }

  .ot-network::before {
    width: 225px;
    height: 225px;
  }

  .ot-network::after {
    width: 120px;
    height: 120px;
  }

  .ot-profit-section {
    padding: 90px 17px;
  }

  .ot-profit-content h2 {
    font-size: 62px;
  }

  .ot-split-bar {
    height: 70px;
  }

  .client-share,
  .onntrade-share {
    padding: 0 12px;
  }

  .ot-split-bar b {
    font-size: 17px;
  }

  .ot-split-bar span {
    font-size: 6px;
  }

  .ot-step-line {
    grid-template-columns: 1fr;
  }

  .ot-community-inner {
    padding: 35px 27px;
  }

  .ot-community-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .ot-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
  }
}
/* ============================================================
   ONNTRADE PREMIUM STICKY NAVBAR
   ============================================================ */

.zh-header-wrap{
  position:sticky!important;
  top:0!important;
  z-index:9999!important;
  width:100%!important;
  background:rgba(3,10,12,.78)!important;
  border-bottom:1px solid rgba(0,240,180,.10)!important;
  backdrop-filter:blur(22px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(140%)!important;
  box-shadow:0 12px 45px rgba(0,0,0,.18)!important;
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease!important;
}

.zh-nav{
  position:relative!important;
  min-height:76px!important;
}

.zh-brand{
  position:relative!important;
  z-index:3!important;
}

.zh-brand:hover .zh-mark{
  transform:translateY(-2px) scale(1.03)!important;
}

.zh-mark{
  transition:transform .25s ease, box-shadow .25s ease!important;
}

.zh-nav-links{
  position:relative!important;
  z-index:3!important;
}

.zh-nav-links a{
  position:relative!important;
  transition:
    color .22s ease,
    transform .22s ease!important;
}

.zh-nav-links a::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-8px!important;
  height:2px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#00e5a0,#00ffc8)!important;
  transform:scaleX(0)!important;
  transform-origin:center!important;
  transition:transform .22s ease!important;
}

.zh-nav-links a:hover{
  color:#00efad!important;
  transform:translateY(-1px)!important;
}

.zh-nav-links a:hover::after{
  transform:scaleX(1)!important;
}

.zh-login{
  position:relative!important;
  z-index:3!important;
  transition:
    color .22s ease,
    transform .22s ease!important;
}

.zh-login:hover{
  color:#00efad!important;
  transform:translateY(-1px)!important;
}

.zh-menu{
  position:relative!important;
  z-index:4!important;
}

@media(max-width:800px){
  .zh-header-wrap{
    background:rgba(3,10,12,.90)!important;
    backdrop-filter:blur(24px)!important;
    -webkit-backdrop-filter:blur(24px)!important;
  }

  .zh-nav{
    min-height:68px!important;
  }

  .zh-nav-links{
    box-shadow:
      0 22px 60px rgba(0,0,0,.42),
      inset 0 1px 0 rgba(255,255,255,.03)!important;
  }

  .zh-nav-links a::after{
    display:none!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .zh-header-wrap,
  .zh-nav-links a,
  .zh-brand,
  .zh-mark{
    transition:none!important;
  }
}


/* ================= FREE ACCESS CALCULATORS ================= */

.ot-free-access-price strong {
  color: var(--ot-green);
  font-size: 42px;
  letter-spacing: -.04em;
}

.ot-calculator-section {
  width: min(1240px, calc(100% - 72px));
  margin: 120px auto 0;
}

.ot-calculator-section .ot-centered-heading {
  margin-bottom: 42px;
}

.ot-calculator-section .ot-centered-heading > p {
  color: #819b94;
  font-size: 14px;
}

.ot-calculator-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

.ot-calculator-card,
.ot-income-highlight {
  min-width: 0;
  padding: 32px;
  border: 1px solid rgba(0,232,174,.17);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9,29,27,.96), rgba(5,15,17,.96));
  box-shadow: 0 18px 55px rgba(0,0,0,.16);
}

.ot-calculator-card h3,
.ot-income-highlight h3 {
  margin: 12px 0 22px;
  color: var(--ot-white);
  font-size: 25px;
  letter-spacing: -.035em;
}

.ot-calculator-label {
  display: block;
  margin-bottom: 9px;
  color: #91aaa3;
  font-size: 12px;
}

.ot-calculator-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(0,232,174,.24);
  border-radius: 12px;
  background: rgba(0,0,0,.22);
}

.ot-calculator-input-wrap > span {
  color: var(--ot-green);
  font-size: 20px;
  font-weight: 800;
}

.ot-calculator-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  color: var(--ot-white);
  background: transparent;
  font: inherit;
  font-size: 18px;
}

.ot-calculator-results {
  display: grid;
  gap: 0;
  margin-top: 22px;
}

.ot-calculator-results > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ot-calculator-results span,
.ot-gas-result > span {
  color: #8da59e;
  font-size: 12px;
}

.ot-calculator-results strong {
  color: var(--ot-white);
  font-size: 17px;
  text-align: right;
  white-space: nowrap;
}

.ot-calculator-results .ot-calculator-green {
  color: var(--ot-green);
}

.ot-calculator-footnote {
  margin: 18px 0 0;
  color: #718982;
  font-size: 11px;
  line-height: 1.7;
}

.ot-gas-intro {
  color: #8da59e;
  font-size: 13px;
  line-height: 1.7;
}

.ot-gas-result {
  display: grid;
  gap: 9px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(0,232,174,.2);
  border-radius: 16px;
  background: rgba(0,232,174,.045);
}

.ot-gas-result strong {
  color: var(--ot-green);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.05em;
}

.ot-gas-result small {
  color: #718982;
  font-size: 11px;
}

.ot-income-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.ot-income-highlight {
  position: relative;
  overflow: hidden;
}

.ot-income-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0,232,174,.25);
  border-radius: 13px;
  color: var(--ot-green);
  background: rgba(0,232,174,.07);
  font-size: 23px;
}

.ot-income-highlight h3 {
  margin-bottom: 10px;
}

.ot-income-highlight p {
  margin: 0;
  color: #819b94;
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 800px) {
  .ot-calculator-section {
    width: min(100% - 34px, 1240px);
    margin-top: 90px;
  }

  .ot-calculator-grid,
  .ot-income-highlights {
    grid-template-columns: 1fr;
  }

  .ot-calculator-card,
  .ot-income-highlight {
    padding: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ot-calculator-card,
  .ot-income-highlight {
    scroll-behavior: auto;
    transition: none;
  }
}


/* FOREX MT5 HOMEPAGE UPGRADE */
.ot-forex-broker-card .ot-mini-logo,
.ot-mt5-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #071b17;
  background: linear-gradient(135deg, #00e8ae, #9af5d9);
  font-size: 13px;
  font-weight: 950;
}
.ot-mt5-platform-grid { align-items: stretch; }
.ot-mt5-platform-card { min-height: 250px; }
.ot-mt5-platform-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(0,232,174,.17);
  border-radius: 20px;
  background: radial-gradient(circle at 90% 5%, rgba(0,232,174,.10), transparent 42%), linear-gradient(145deg, rgba(8,32,27,.94), rgba(5,18,17,.98));
}
.ot-mt5-platform-detail > strong {
  margin-top: 14px;
  color: #f2fffb;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -.05em;
}
.ot-mt5-platform-detail > p { color: #8da59e; line-height: 1.7; }
.ot-mt5-pairs, .ot-program-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ot-mt5-pairs span, .ot-program-levels span {
  padding: 8px 10px;
  border: 1px solid rgba(0,232,174,.17);
  border-radius: 9px;
  color: #a8c6bc;
  background: rgba(0,232,174,.045);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}
.ot-income-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.ot-income-highlight {
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid rgba(0,232,174,.16);
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0%, rgba(0,232,174,.08), transparent 42%), linear-gradient(145deg, rgba(8,30,26,.92), rgba(5,18,17,.96));
}
.ot-program-levels span { padding: 7px 8px; font-size: 8px; }
.ot-rank-levels span { color: #d7d4a1; border-color: rgba(215,212,161,.22); background: rgba(215,212,161,.055); }
@media (max-width: 950px) {
  .ot-income-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .ot-income-highlights, .ot-mt5-platform-grid { grid-template-columns: 1fr; }
  .ot-mt5-platform-detail { min-height: 190px; }
}


/* ONNTRADE LIVE FOREX TICKER */
.ot-live-market-strip {
  min-height: 76px;
  align-items: center;
}
.ot-live-market-strip .ot-market-label {
  flex: 0 0 auto;
  white-space: nowrap;
}
.ot-tradingview-ticker {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ot-tradingview-ticker .ot-ticker-loading {
  padding: 15px 12px;
  color: #8da59e;
  font-size: 11px;
}
.ot-tradingview-ticker iframe {
  max-width: 100% !important;
}
@media (max-width: 800px) {
  .ot-live-market-strip {
    display: block;
    padding: 10px 12px;
  }
  .ot-live-market-strip .ot-market-label {
    display: block;
    padding: 4px 8px;
  }
  .ot-tradingview-ticker {
    width: 100%;
    min-height: 52px;
  }
}


/* ONNTRADE FOREX + CRYPTO HOMEPAGE UPDATE */
.ot-crypto-section {
  position: relative;
  overflow: hidden;
}
.ot-crypto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}
.ot-crypto-card {
  position: relative;
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(24,35,52,.9), rgba(10,17,29,.96));
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}
.ot-crypto-card h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: 23px;
}
.ot-crypto-card p {
  color: rgba(225,232,242,.72);
  line-height: 1.75;
}
.ot-crypto-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #8fe5c2;
  font-weight: 700;
  text-decoration: none;
}
.ot-crypto-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #9ce9ca;
  background: rgba(83,214,166,.12);
  font-size: 27px;
  font-weight: 800;
}
.ot-crypto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.ot-crypto-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  color: #dce9f4;
  font-size: 11px;
  letter-spacing: .08em;
}
.ot-crypto-disclaimer {
  margin-top: 22px;
  color: rgba(225,232,242,.58);
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .ot-crypto-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ot-crypto-grid { grid-template-columns: 1fr; }
  .ot-crypto-card { padding: 23px; }
}

/* ONNTRADE_MARKETS4YOU_STYLE_SLIDER_ONLY */
.ot-home {
  min-height: 100vh !important;
  overflow: hidden !important;
  background: #030a0c !important;
}

/* Keep navbar; hide every homepage section below the slider */
.ot-home > :not(.ot-header):not(.ot-hero) {
  display: none !important;
}

/* Premium full-screen banner slider */
.ot-home > .ot-hero {
  position: relative !important;
  width: 100% !important;
  min-height: calc(100svh - 76px) !important;
  height: calc(100svh - 76px) !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  isolation: isolate !important;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(0,225,166,.17), transparent 38%),
    radial-gradient(ellipse at 15% 90%, rgba(0,115,95,.18), transparent 42%),
    linear-gradient(115deg,#030a0c 0%,#071a19 52%,#06110f 100%) !important;
}

.ot-home > .ot-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg,rgba(2,9,10,.12),transparent 65%),
    repeating-linear-gradient(0deg,transparent 0 79px,rgba(0,238,180,.035) 80px),
    repeating-linear-gradient(90deg,transparent 0 79px,rgba(0,238,180,.035) 80px) !important;
  mask-image: linear-gradient(to right,black,transparent 95%) !important;
}

.ot-hero-inner {
  width: min(1440px, calc(100% - 100px)) !important;
  max-width: 1440px !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 55px 0 90px !important;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr) !important;
  align-items: center !important;
  gap: 35px !important;
}

.ot-hero-left {
  text-align: left !important;
  position: relative !important;
  z-index: 3 !important;
}

.ot-slider-top {
  justify-content: flex-start !important;
  margin-bottom: 34px !important;
}

.ot-slide-content h1 {
  font-size: clamp(54px,6.5vw,94px) !important;
  line-height: .99 !important;
  letter-spacing: -.065em !important;
  font-weight: 900 !important;
}

.ot-slide-content p {
  max-width: 570px !important;
  font-size: clamp(14px,1.2vw,18px) !important;
  line-height: 1.8 !important;
  color: #a4bbb4 !important;
}

.ot-hero-actions {
  justify-content: flex-start !important;
  margin-top: 30px !important;
}

.ot-hero-right {
  position: relative !important;
  height: min(650px,72vh) !important;
  min-width: 0 !important;
}

.ot-planet {
  right: 50% !important;
  transform: translateX(50%) !important;
}

.ot-slider-controls {
  width: min(1440px, calc(100% - 100px)) !important;
  left: 50% !important;
  right: auto !important;
  bottom: 25px !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
}

.ot-slider-dots button i {
  transition: width .35s ease, background .35s ease !important;
}

.ot-orb {
  filter: blur(2px) !important;
  opacity: .65 !important;
}

.ot-floating-card {
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 20px 65px rgba(0,0,0,.35) !important;
}

@media(max-width:1050px) {
  .ot-home > .ot-hero {
    height: auto !important;
    min-height: calc(100svh - 76px) !important;
  }
  .ot-hero-inner {
    grid-template-columns: 1fr !important;
    width: min(100% - 48px,900px) !important;
    padding: 55px 0 100px !important;
    gap: 5px !important;
  }
  .ot-hero-left {
    text-align: center !important;
  }
  .ot-slider-top,
  .ot-hero-actions,
  .ot-hero-bottom {
    justify-content: center !important;
  }
  .ot-hero-right {
    height: 390px !important;
  }
  .ot-slider-controls {
    width: calc(100% - 48px) !important;
  }
}

@media(max-width:560px) {
  .ot-home > .ot-hero {
    min-height: calc(100svh - 68px) !important;
  }
  .ot-hero-inner {
    width: calc(100% - 34px) !important;
    padding: 38px 0 85px !important;
  }
  .ot-slide-content h1 {
    font-size: clamp(43px,12vw,60px) !important;
  }
  .ot-hero-right {
    height: 310px !important;
  }
  .ot-slider-controls {
    width: calc(100% - 34px) !important;
    bottom: 16px !important;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ot-home > .ot-hero *,
  .ot-home > .ot-hero *::before,
  .ot-home > .ot-hero *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ONNTRADE CLEAN NAV + NO PAGE SCROLL */
html,
body,
#root {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#root::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

.ot-home {
  width: 100% !important;
  height: 100vh !important;
  height: 100svh !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.ot-header {
  height: 76px !important;
  min-height: 76px !important;
}

.ot-nav {
  min-height: 76px !important;
}

.ot-nav-links,
.ot-menu,
.ot-mobile-auth {
  display: none !important;
}

.ot-nav-actions {
  display: flex !important;
  margin-left: auto !important;
}

.ot-home > .ot-hero {
  height: calc(100vh - 76px) !important;
  height: calc(100svh - 76px) !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

@media(max-width:800px) {
  .ot-header,
  .ot-nav {
    height: 68px !important;
    min-height: 68px !important;
  }

  .ot-home > .ot-hero {
    height: calc(100vh - 68px) !important;
    height: calc(100svh - 68px) !important;
    min-height: 0 !important;
  }

  .ot-nav-actions {
    display: flex !important;
  }

  .ot-login,
  .ot-nav-cta {
    font-size: 11px !important;
  }
}

/* ===== ONNTRADE VIEWPORT FIT + PREMIUM AUTH BUTTONS ===== */

.ot-home {
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden !important;
}

.ot-header {
  height: 76px !important;
  min-height: 76px !important;
  position: relative !important;
  z-index: 20 !important;
}

.ot-nav {
  min-height: 76px !important;
  width: min(1440px, calc(100% - 80px)) !important;
}

/* Premium login and signup buttons */
.ot-nav-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 15px !important;
}

.ot-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 21px !important;
  border: 1px solid rgba(0,238,180,.24) !important;
  border-radius: 12px !important;
  color: #d8f7ee !important;
  background: rgba(0,238,180,.045) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all .25s ease !important;
}

.ot-login:hover {
  color: #00efad !important;
  border-color: #00efad !important;
  background: rgba(0,238,180,.10) !important;
  transform: translateY(-2px) !important;
}

.ot-nav-cta {
  min-height: 48px !important;
  padding: 0 25px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border: 1px solid rgba(0,255,195,.65) !important;
  border-radius: 12px !important;
  color: #00140f !important;
  background: linear-gradient(115deg,#00e7a5,#00f4c2) !important;
  box-shadow: 0 8px 28px rgba(0,232,174,.20) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.ot-nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 35px rgba(0,232,174,.34) !important;
}

/* Fit entire hero inside available viewport */
.ot-home > .ot-hero {
  height: calc(100vh - 76px) !important;
  height: calc(100svh - 76px) !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

.ot-hero-inner {
  height: 100% !important;
  min-height: 0 !important;
  padding: clamp(20px,4vh,48px) 0 75px !important;
  align-items: center !important;
  gap: 24px !important;
}

.ot-slider-top {
  margin-bottom: clamp(14px,2.5vh,28px) !important;
}

.ot-slide-content h1 {
  font-size: clamp(43px,5.7vw,78px) !important;
  line-height: .99 !important;
  letter-spacing: -.065em !important;
}

.ot-slide-content p {
  margin-top: 17px !important;
  font-size: clamp(12px,1.1vw,16px) !important;
  line-height: 1.65 !important;
}

.ot-hero-actions {
  margin-top: clamp(16px,2.5vh,28px) !important;
}

.ot-hero-right {
  height: min(570px,68vh) !important;
  min-height: 0 !important;
  transform: scale(.91) !important;
  transform-origin: center center !important;
}

.ot-planet {
  max-width: 100% !important;
}

.ot-slider-controls {
  bottom: 13px !important;
}

/* Short desktop/laptop screens */
@media (min-width: 1051px) and (max-height: 760px) {
  .ot-hero-inner {
    padding-top: 12px !important;
    padding-bottom: 55px !important;
  }

  .ot-slide-content h1 {
    font-size: clamp(40px,5vw,66px) !important;
  }

  .ot-hero-right {
    height: 58vh !important;
    transform: scale(.82) !important;
  }

  .ot-slider-top {
    margin-bottom: 12px !important;
  }

  .ot-hero-actions {
    margin-top: 14px !important;
  }
}

/* Tablet and mobile */
@media (max-width: 1050px) {
  .ot-header,
  .ot-nav {
    height: 68px !important;
    min-height: 68px !important;
  }

  .ot-nav {
    width: calc(100% - 34px) !important;
  }

  .ot-home > .ot-hero {
    height: calc(100vh - 68px) !important;
    height: calc(100svh - 68px) !important;
  }

  .ot-hero-inner {
    width: calc(100% - 38px) !important;
    padding: 22px 0 65px !important;
    gap: 0 !important;
  }

  .ot-slide-content h1 {
    font-size: clamp(39px,8vw,66px) !important;
  }

  .ot-hero-right {
    height: min(34vh,270px) !important;
    transform: scale(.78) !important;
  }

  .ot-slider-controls {
    bottom: 10px !important;
  }
}

@media (max-width: 560px) {
  .ot-header,
  .ot-nav {
    height: 64px !important;
    min-height: 64px !important;
  }

  .ot-home > .ot-hero {
    height: calc(100vh - 64px) !important;
    height: calc(100svh - 64px) !important;
  }

  .ot-nav {
    width: calc(100% - 24px) !important;
  }

  .ot-brand-copy small {
    font-size: 7px !important;
  }

  .ot-nav-actions {
    gap: 7px !important;
  }

  .ot-login {
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
  }

  .ot-nav-cta {
    min-height: 39px !important;
    padding: 0 12px !important;
    gap: 5px !important;
    font-size: 10px !important;
  }

  .ot-hero-inner {
    width: calc(100% - 30px) !important;
    padding: 20px 0 55px !important;
  }

  .ot-slider-top {
    margin-bottom: 15px !important;
  }

  .ot-slide-content h1 {
    font-size: clamp(36px,10vw,52px) !important;
  }

  .ot-slide-content p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .ot-hero-actions {
    flex-direction: row !important;
    gap: 9px !important;
    margin-top: 15px !important;
  }

  .ot-btn-primary,
  .ot-btn-secondary {
    width: auto !important;
    min-height: 39px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
  }

  .ot-hero-right {
    height: min(29vh,220px) !important;
    transform: scale(.66) !important;
    margin-top: -3px !important;
  }

  .ot-slider-controls {
    width: calc(100% - 30px) !important;
    bottom: 8px !important;
  }
}

/* ===== ONNTRADE_SLIDE_VISUALS_V1 ===== */

.ot-hero-right {
  position: relative !important;
  overflow: visible !important;
}

.ot-slide-banner-image {
  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 22px !important;
  filter: drop-shadow(0 22px 35px rgba(0,0,0,.22)) !important;
  animation: otBannerEnter .8s cubic-bezier(.2,.75,.25,1) both,
             otBannerFloat 6s ease-in-out .8s infinite !important;
  pointer-events: none !important;
}

/* The banner artwork replaces the old generic planet/cards */
.ot-hero-right > .ot-floating-card,
.ot-hero-right > .ot-planet,
.ot-hero-right > .ot-stat-panel {
  display: none !important;
}

@keyframes otBannerEnter {
  from {
    opacity: 0;
    transform: translate3d(35px,12px,0) scale(.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
  }
}

@keyframes otBannerFloat {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.ot-slide-forex .ot-slide-banner-image {
  filter: drop-shadow(0 22px 38px rgba(0,225,170,.12)) !important;
}

.ot-slide-crypto .ot-slide-banner-image {
  filter: drop-shadow(0 22px 38px rgba(150,95,255,.20)) !important;
}

.ot-slide-network .ot-slide-banner-image {
  filter: drop-shadow(0 22px 38px rgba(0,180,110,.20)) !important;
}

@media(max-width:1050px) {
  .ot-slide-banner-image {
    width: 100% !important;
    height: 100% !important;
  }
}

@media(max-width:560px) {
  .ot-slide-banner-image {
    object-fit: contain !important;
    padding: 4px !important;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ot-slide-banner-image {
    animation: none !important;
  }
}

/* ===== ONNTRADE FULL-BLEED IMAGE SLIDER ===== */
.ot-home > .ot-hero {
  position: relative !important;
  width: 100% !important;
  min-height: calc(100svh - 76px) !important;
  height: calc(100svh - 76px) !important;
  max-height: 1000px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  display: flex !important;
  align-items: center !important;
}

.ot-hero-inner {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  padding: 55px 5.5% 95px !important;
  box-sizing: border-box !important;
}

.ot-hero-left {
  position: relative !important;
  z-index: 3 !important;
  width: min(58%, 760px) !important;
  max-width: 760px !important;
}

.ot-hero-right {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.ot-slide-banner-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  animation: otFullBannerReveal 900ms ease both;
}

.ot-hero-right > :not(.ot-slide-banner-image) {
  display: none !important;
}

.ot-home > .ot-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg,
      rgba(0, 12, 10, .94) 0%,
      rgba(0, 17, 13, .82) 34%,
      rgba(0, 17, 13, .36) 57%,
      rgba(0, 12, 10, .04) 100%),
    linear-gradient(0deg,
      rgba(0, 8, 7, .45),
      transparent 28%);
}

.ot-slider-controls {
  position: absolute !important;
  z-index: 5 !important;
  left: 5.5% !important;
  right: 5.5% !important;
  bottom: 24px !important;
}

.ot-slider-caption {
  z-index: 5 !important;
}

@keyframes otFullBannerReveal {
  from { opacity: .55; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== MOBILE FULL IMAGE SLIDER ===== */
@media (max-width: 768px) {
  .ot-home > .ot-hero {
    min-height: calc(100svh - 68px) !important;
    height: auto !important;
    max-height: none !important;
  }

  .ot-hero-inner {
    min-height: calc(100svh - 68px) !important;
    padding: 65px 22px 105px !important;
    align-items: flex-start !important;
  }

  .ot-hero-left {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ot-slide-banner-image {
    object-position: 62% center !important;
  }

  .ot-home > .ot-hero::after {
    background:
      linear-gradient(90deg,
        rgba(0, 10, 9, .91),
        rgba(0, 12, 10, .64)),
      linear-gradient(0deg,
        rgba(0, 8, 7, .65),
        transparent 65%) !important;
  }

  .ot-slider-controls {
    left: 22px !important;
    right: 22px !important;
    bottom: 18px !important;
  }

  .ot-slider-caption {
    display: none !important;
  }

  .ot-slide-content h1 {
    font-size: clamp(34px, 9vw, 52px) !important;
    line-height: 1.08 !important;
  }

  .ot-slide-content p {
    max-width: 100% !important;
  }
}


/* ===== TRUE FULL SCREEN HERO BACKGROUND ===== */
.ot-home > .ot-hero {
  position: relative !important;
  width: 100% !important;
  height: calc(100svh - 76px) !important;
  min-height: 620px !important;
  max-height: none !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.ot-home > .ot-hero > .ot-hero-inner {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.ot-home > .ot-hero .ot-hero-right {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

.ot-home > .ot-hero .ot-slide-banner-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
}

.ot-home > .ot-hero .ot-hero-left {
  position: absolute !important;
  z-index: 3 !important;
  left: 5.5% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: min(55%, 760px) !important;
  max-width: 760px !important;
}

.ot-home > .ot-hero::after {
  z-index: 1 !important;
}

.ot-home > .ot-hero .ot-slider-controls {
  z-index: 5 !important;
}

@media (max-width: 768px) {
  .ot-home > .ot-hero {
    height: calc(100svh - 68px) !important;
    min-height: 620px !important;
  }

  .ot-home > .ot-hero .ot-hero-left {
    left: 22px !important;
    right: 22px !important;
    top: 42% !important;
    transform: translateY(-42%) !important;
    width: auto !important;
    max-width: none !important;
  }

  .ot-home > .ot-hero .ot-slide-banner-image {
    object-position: center center !important;
  }
}



/* FINAL FULLSCREEN HERO IMAGE */
.ot-home > .ot-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.ot-home > .ot-hero > .ot-fullscreen-banner {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
}

.ot-home > .ot-hero > .ot-hero-inner {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ot-home > .ot-hero .ot-hero-left {
  z-index: 3 !important;
}


/* ONNTRADE_MARKETS4YOU_AWARDS */
.ot-awards-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #020504;
  color: #f5f8f6;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ot-awards-heading {
  text-align: center;
  margin: 0 auto 22px;
  padding: 0 20px;
}
.ot-awards-kicker {
  color: #00d9a5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
}
.ot-awards-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 850;
  letter-spacing: -1px;
}
.ot-awards-heading h2 span { color: #00d9a5; }
.ot-awards-viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.ot-awards-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: otAwardsMarquee 105s linear infinite;
}
.ot-awards-viewport:hover .ot-awards-track {
  animation-play-state: paused;
}
.ot-award-item {
  box-sizing: border-box;
  width: 350px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.09);
}
.ot-award-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 245px;
}
.ot-award-year {
  color: #d8bd72;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .6px;
}
.ot-award-copy strong {
  color: #f5f5f5;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}
.ot-award-copy small {
  color: #999f9c;
  font-size: 11px;
  line-height: 1.4;
}
.ot-award-laurel {
  flex: 0 0 auto;
  color: #777d78;
  opacity: .62;
  font-size: 39px;
  transform: rotate(-35deg);
}
.ot-award-laurel-right {
  transform: scaleX(-1) rotate(-35deg);
}
@keyframes otAwardsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .ot-awards-strip { padding: 22px 0 24px; }
  .ot-award-item { width: 285px; min-height: 105px; gap: 7px; padding: 10px 12px; }
  .ot-award-copy { max-width: 205px; }
  .ot-award-copy strong { font-size: 12px; }
  .ot-award-copy small { font-size: 10px; }
  .ot-award-laurel { font-size: 29px; }
}
* {
  box-sizing: border-box;
}

:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  color: #eef4f3;
  background: #07100f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
  width: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 0%, rgba(0, 168, 107, 0.08), transparent 30%),
    #07100f;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  background: #07100f;
}

.sidebar {
  width: 255px;
  min-height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  background: #0a1513;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 20;
}

.brand {
  height: 82px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-mark,
.login-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #06110e;
  font-weight: 900;
  background: #00a86b;
  box-shadow: 0 0 28px rgba(0, 168, 107, 0.25);
}

.brand-name {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 1px;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 9px;
  color: #7f9590;
  letter-spacing: 1.7px;
}

.sidebar-section-title {
  padding: 27px 24px 11px;
  color: #637772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.sidebar-nav {
  padding: 0 12px;
}

.nav-item {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 13px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 9px;
  color: #91a39f;
  background: transparent;
  text-align: left;
  transition: 0.18s ease;
}

.nav-item:hover {
  color: #eef7f4;
  background: rgba(255, 255, 255, 0.035);
}

.nav-item.active {
  color: #eafff7;
  background: rgba(0, 168, 107, 0.12);
  box-shadow: inset 3px 0 #00a86b;
}

.nav-icon {
  width: 21px;
  text-align: center;
  font-size: 17px;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.avatar {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 168, 107, 0.16);
  border: 1px solid rgba(0, 168, 107, 0.32);
  color: #7ff0c1;
  font-weight: 800;
}

.avatar.small {
  width: 34px;
  height: 34px;
}

.user-mini-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.user-mini-info strong {
  color: #eaf1ef;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-mini-info span {
  color: #687b76;
  font-size: 10px;
  margin-top: 3px;
}

.logout-button {
  width: 100%;
  height: 39px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #91a39f;
  background: rgba(255, 255, 255, 0.025);
}

.logout-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.main-area {
  width: calc(100% - 255px);
  margin-left: 255px;
  min-height: 100vh;
}

.topbar {
  min-height: 82px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 16, 15, 0.84);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.3px;
}

.topbar p {
  margin: 5px 0 0;
  color: #71847f;
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #82a099;
  font-size: 11px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a86b;
  box-shadow: 0 0 9px rgba(0, 168, 107, 0.8);
}

.refresh-button {
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #c8d3d0;
  background: #101c19;
  font-size: 11px;
}

.refresh-button:hover:not(:disabled) {
  border-color: rgba(0, 168, 107, 0.4);
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.refresh-button span {
  margin-right: 6px;
}

.page-content {
  padding: 28px 30px 40px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.stat-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0c1816;
  border-radius: 12px;
}

.stat-card {
  padding: 21px;
  min-height: 135px;
}

.stat-label {
  color: #70827e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.stat-value {
  margin-top: 13px;
  color: #f2f7f5;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.stat-meta {
  margin-top: 8px;
  color: #596b66;
  font-size: 10px;
}

.pnl-value .positive,
.positive {
  color: #43d69b;
}

.pnl-value .negative,
.negative {
  color: #f27676;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.overview-grid.lower {
  margin-top: 15px;
}

.panel {
  overflow: hidden;
}

.panel-header {
  min-height: 73px;
  padding: 17px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.panel-header h2 {
  margin: 0;
  font-size: 14px;
}

.panel-header p {
  margin: 5px 0 0;
  color: #647873;
  font-size: 10px;
}

.panel-count {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #7ceabb;
  background: rgba(0, 168, 107, 0.1);
  font-size: 11px;
  font-weight: 800;
}

.account-list {
  padding: 5px 19px 8px;
}

.account-row {
  min-height: 63px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.account-row:last-child {
  border-bottom: 0;
}

.exchange-badge {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #8aebc1;
  background: rgba(0, 168, 107, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.account-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.account-main strong {
  font-size: 11px;
}

.account-main span {
  margin-top: 4px;
  color: #647771;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.status-pill.success {
  color: #5be0a8;
  background: rgba(0, 168, 107, 0.11);
}

.status-pill.neutral {
  color: #9baaa7;
  background: rgba(255, 255, 255, 0.055);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  height: 39px;
  padding: 0 18px;
  color: #536762;
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
  font-size: 8px;
  letter-spacing: 0.9px;
  white-space: nowrap;
}

td {
  height: 48px;
  padding: 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: #b6c4c0;
  font-size: 10px;
  white-space: nowrap;
}

.side-buy {
  color: #4fdca2;
}

.side-sell {
  color: #f07b7b;
}

.empty-state {
  min-height: 180px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #687b76;
}

.empty-state.compact {
  min-height: 150px;
}

.empty-state strong {
  color: #aebbb8;
  font-size: 12px;
}

.empty-state span {
  max-width: 340px;
  margin-top: 7px;
  color: #596b66;
  font-size: 10px;
  line-height: 1.5;
}

.empty-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  border-radius: 9px;
  color: #4edca2;
  background: rgba(0, 168, 107, 0.08);
  font-size: 17px;
}

.api-error {
  min-height: 46px;
  padding: 10px 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(242, 118, 118, 0.2);
  border-radius: 8px;
  background: rgba(242, 118, 118, 0.06);
  color: #d68b8b;
  font-size: 10px;
}

.api-error strong {
  color: #f07b7b;
}

.placeholder-page {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.placeholder-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #5ae0a6;
  background: rgba(0, 168, 107, 0.08);
  font-size: 24px;
}

.placeholder-page h2 {
  margin: 17px 0 7px;
}

.placeholder-page p {
  margin: 0;
  color: #a0afac;
  font-size: 12px;
}

.placeholder-page > span {
  max-width: 390px;
  margin-top: 8px;
  color: #596b66;
  font-size: 10px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 168, 107, 0.11), transparent 31%),
    #07100f;
}

.login-card {
  width: min(420px, 100%);
  padding: 38px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(11, 23, 20, 0.94);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.42);
}

.login-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 25px;
  border-radius: 15px;
  font-size: 21px;
}

.login-brand {
  color: #50dca3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.login-heading h1 {
  margin: 7px 0 5px;
  font-size: 25px;
}

.login-heading p {
  margin: 0 0 28px;
  color: #687b76;
  font-size: 11px;
}

.login-card form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.login-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #8fa19c;
  font-size: 10px;
  font-weight: 700;
}

.login-card input {
  height: 45px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  border-radius: 8px;
  color: #edf4f1;
  background: #081310;
  transition: 0.18s ease;
}

.login-card input:focus {
  border-color: rgba(0, 168, 107, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.08);
}

.login-card input::placeholder {
  color: #485a55;
}

.form-error {
  padding: 10px 11px;
  border: 1px solid rgba(242, 118, 118, 0.18);
  border-radius: 7px;
  color: #e48787;
  background: rgba(242, 118, 118, 0.06);
  font-size: 10px;
}

.login-button {
  height: 46px;
  margin-top: 2px;
  border: 0;
  border-radius: 8px;
  color: #03110c;
  background: #00a86b;
  font-size: 11px;
  font-weight: 850;
  transition: 0.18s ease;
}

.login-button:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 8px 25px rgba(0, 168, 107, 0.18);
}

.login-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.login-security {
  margin-top: 23px;
  display: flex;
  justify-content: center;
  gap: 7px;
  color: #536762;
  font-size: 9px;
}

.login-security span {
  color: #00a86b;
}

.login-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
  background: #00a86b;
}

.glow-one {
  top: -170px;
  left: -100px;
}

.glow-two {
  right: -130px;
  bottom: -180px;
}

.spin {
  display: inline-block;
  animation: spin 0.9s linear infinite;
}

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

@media (max-width: 1100px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .sidebar {
    width: 72px;
  }

  .brand {
    justify-content: center;
    padding: 0;
  }

  .brand > div:not(.brand-mark),
  .sidebar-section-title,
  .nav-item span:not(.nav-icon),
  .user-mini-info,
  .logout-button {
    display: none;
  }

  .sidebar-nav {
    padding: 0 10px;
  }

  .nav-item {
    justify-content: center;
    padding: 0;
  }

  .sidebar-bottom {
    padding: 10px;
  }

  .user-mini {
    justify-content: center;
  }

  .main-area {
    width: calc(100% - 72px);
    margin-left: 72px;
  }

  .topbar {
    padding: 0 18px;
  }

  .live-status {
    display: none;
  }

  .page-content {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .topbar h1 {
    font-size: 18px;
  }

  .topbar p {
    display: none;
  }

  .refresh-button {
    width: 38px;
    padding: 0;
    font-size: 0;
  }

  .refresh-button span {
    margin: 0;
    font-size: 16px;
  }

  .login-card {
    padding: 28px 22px;
  }
}

/* ============================================================
   ONNTRADE CLIENT — FINAL MOBILE NAV OVERRIDE
   Local development only
   ============================================================ */

@media (max-width: 780px) {

  .sidebar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 70px !important;
    min-height: 70px !important;
    padding: 6px 6px !important;
    padding-bottom: calc(6px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    z-index: 9999 !important;
    transform: none !important;
  }

  .sidebar::-webkit-scrollbar {
    display: none !important;
  }

  .brand,
  .sidebar-section-title,
  .sidebar-bottom {
    display: none !important;
  }

  .sidebar-nav {
    width: max-content !important;
    min-width: max-content !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding: 0 !important;
  }

  .nav-item {
    width: 70px !important;
    min-width: 70px !important;
    height: 58px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 5px 4px !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }

  .nav-item span:not(.nav-icon) {
    display: block !important;
    max-width: 64px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  .nav-icon {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .main-area {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding-bottom: 82px !important;
  }

  .page-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 92px !important;
  }

  .topbar {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 520px) {

  .sidebar {
    height: 68px !important;
    min-height: 68px !important;
  }

  .nav-item {
    width: 66px !important;
    min-width: 66px !important;
  }

  .nav-item span:not(.nav-icon) {
    font-size: 7px !important;
  }

  .main-area {
    padding-bottom: 78px !important;
  }

  .page-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 88px !important;
  }
}

/* DASHBOARD ONLY - INDEPENDENT VERTICAL SCROLL */
@media (min-width: 701px) {
  .main-area {
    height: 100vh !important;
    min-height: 0 !important;
    max-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
  }

  .main-area .zx-dashboard {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }
}
/* =========================================================
   ONNTRADE — UNIFIED MOBILE APP UI
   Desktop remains unchanged
   ========================================================= */

@media (max-width: 768px) {

  /* ---------- GLOBAL MOBILE BASE ---------- */

  html,
  body,
  #root {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  body {
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
  }

  button,
  input,
  select,
  textarea {
    max-width: 100%;
  }

  /* ---------- MAIN APP SHELL ---------- */

  .app-shell {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .main,
  .main-area,
  .main-content,
  .content,
  .page-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  /* ---------- DESKTOP SIDEBAR ---------- */

  .sidebar {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sidebar-brand,
  .sidebar-section-title,
  .desktop-client-nav,
  .sidebar-bottom {
    display: none !important;
  }

  /* ---------- MOBILE BOTTOM NAV ---------- */

  .mobile-client-nav {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: 68px !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;

    padding: 6px !important;

    background: rgba(12, 18, 30, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 20px !important;

    box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.30),
      0 2px 8px rgba(0, 0, 0, 0.18) !important;

    z-index: 9999 !important;
  }

  .mobile-nav-item {
    min-width: 0 !important;
    width: 100% !important;
    height: 56px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    border: 0 !important;
    border-radius: 15px !important;
    background: transparent !important;

    color: rgba(255, 255, 255, 0.62) !important;
    padding: 4px 2px !important;
  }

  .mobile-nav-item.active {
    background: rgba(0, 168, 107, 0.16) !important;
    color: #00c98a !important;
  }

  .mobile-nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 24px !important;
    height: 24px !important;

    font-size: 18px !important;
    line-height: 1 !important;
  }

  .mobile-nav-label {
    display: block !important;
    max-width: 100% !important;

    font-size: 10px !important;
    line-height: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* ---------- CONTENT SAFE AREA ---------- */

  .page-content,
  .page,
  .dashboard-page,
  .dashboard-container,
  .client-main,
  .app-main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    padding-bottom: 100px !important;
  }

  /* ---------- COMMON CARDS ---------- */

  .card,
  .dashboard-card,
  .stat-card,
  .panel,
  .section-card {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ---------- TABLES ---------- */

  table {
    max-width: 100% !important;
  }

  .table-wrapper,
  .table-responsive,
  .responsive-table,
  .overflow-x-auto {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* ---------- FORMS ---------- */

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* ---------- MORE MENU ---------- */

  .mobile-more-panel {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;

    max-height: min(70vh, 560px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;

    background: #101827 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 20px !important;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.40) !important;

    z-index: 9998 !important;
  }

  .mobile-more-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mobile-more-item {
    min-width: 0 !important;
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .mobile-client-nav {
    left: 8px !important;
    right: 8px !important;
    height: 64px !important;
  }

  .mobile-nav-item {
    height: 52px !important;
  }

  .mobile-nav-label {
    font-size: 9px !important;
  }

  .page-content,
  .page,
  .dashboard-page,
  .dashboard-container,
  .client-main,
  .app-main {
    padding-bottom: 94px !important;
  }
}

/* =========================================================
   ONNTRADE MOBILE APP — CLEAN EDGE / SCROLLBAR
   ========================================================= */

@media (max-width: 768px) {

  html,
  body,
  #root {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  #root::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .app-shell,
  .main,
  .main-area,
  .main-content,
  .content,
  .page-content {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .app-shell::-webkit-scrollbar,
  .main::-webkit-scrollbar,
  .main-area::-webkit-scrollbar,
  .main-content::-webkit-scrollbar,
  .content::-webkit-scrollbar,
  .page-content::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  html,
  body,
  #root {
    overflow-x: hidden !important;
  }
}

/* =========================================================
   ONNTRADE MOBILE — TOP MENU BUTTON
   ========================================================= */

.mobile-menu-trigger {
  display: none;
}

@media (max-width: 768px) {

  .mobile-menu-trigger {
    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    margin-right: 4px !important;
    padding: 0 !important;

    background: rgba(0, 168, 107, 0.08) !important;
    border: 1px solid rgba(0, 168, 107, 0.25) !important;
    border-radius: 12px !important;

    flex: 0 0 42px !important;
  }

  .mobile-menu-trigger-line {
    display: block !important;
    width: 18px !important;
    height: 2px !important;

    background: #00c98a !important;
    border-radius: 2px !important;
  }

  .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .topbar > div:first-child {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .topbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 768px) {

  .mobile-bottom-menu-icon {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
  }

  .mobile-bottom-menu-icon i {
    display: block !important;
    width: 16px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: currentColor !important;
  }
}

/* =========================================================
   ONNTRADE — MOBILE PROFILE MENU
   ========================================================= */

.top-profile-wrap {
  position: relative;
}

.top-profile-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.top-profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 7px;

  background: #101827;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;

  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  z-index: 10001;
}

.top-profile-menu button {
  width: 100%;
  min-height: 42px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 9px 11px;

  border: 0;
  border-radius: 10px;
  background: transparent;

  color: rgba(255,255,255,.86);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.top-profile-menu button:hover,
.top-profile-menu button:active {
  background: rgba(0,168,107,.12);
  color: #00d18a;
}

.profile-menu-icon {
  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(0,168,107,.24);
  border-radius: 7px;

  color: #00d18a;
  font-size: 10px;
  font-weight: 800;
}

.profile-menu-divider {
  height: 1px;
  margin: 5px 4px;
  background: rgba(255,255,255,.08);
}

.top-profile-menu .profile-menu-logout {
  color: #ff7777;
}

.top-profile-menu .profile-menu-logout .profile-menu-icon {
  color: #ff7777;
  border-color: rgba(255,90,90,.25);
}

@media (max-width: 768px) {

  .top-profile-menu {
    position: fixed !important;

    top: 68px !important;
    right: 12px !important;

    width: min(230px, calc(100vw - 24px)) !important;

    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;

    border-radius: 17px !important;
  }
}

@media (min-width: 769px) {
  .top-profile-menu {
    min-width: 220px;
  }
}

/* =========================================================
   ONNTRADE — FINAL MOBILE PROFILE POLISH
   ========================================================= */

@media (max-width: 768px) {

  /* Profile button */
  .top-profile-button {
    width: 42px !important;
    height: 42px !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 12px !important;
    background: rgba(0, 168, 107, 0.07) !important;
    border: 1px solid rgba(0, 168, 107, 0.22) !important;

    -webkit-tap-highlight-color: transparent !important;
  }

  .top-profile-button:active {
    transform: scale(0.96) !important;
  }

  .top-profile-button .avatar.small {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  /* Profile popup */
  .top-profile-menu {
    top: 66px !important;
    right: 10px !important;

    width: min(252px, calc(100vw - 20px)) !important;
    padding: 8px !important;

    background:
      linear-gradient(
        180deg,
        rgba(18, 28, 44, 0.99),
        rgba(12, 20, 33, 0.99)
      ) !important;

    border: 1px solid rgba(255,255,255,0.11) !important;
    border-radius: 18px !important;

    box-shadow:
      0 24px 60px rgba(0,0,0,0.48),
      0 8px 22px rgba(0,0,0,0.25) !important;

    animation: onntradeProfileOpen 0.16s ease-out !important;
  }

  .top-profile-menu button {
    min-height: 48px !important;

    display: flex !important;
    align-items: center !important;

    padding: 9px 10px !important;
    gap: 11px !important;

    border-radius: 12px !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    -webkit-tap-highlight-color: transparent !important;
  }

  .top-profile-menu button:active {
    transform: scale(0.985) !important;
    background: rgba(0,168,107,0.14) !important;
  }

  .profile-menu-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;

    border-radius: 9px !important;

    font-size: 11px !important;
  }

  .profile-menu-divider {
    margin: 7px 5px !important;
  }

  .top-profile-menu .profile-menu-logout {
    margin-top: 2px !important;
  }

  /* Keep hamburger + avatar visually balanced */
  .mobile-menu-trigger {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  .topbar-actions {
    gap: 6px !important;
  }
}

@keyframes onntradeProfileOpen {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =========================================================
   ONNTRADE — PREMIUM COMPACT MOBILE DASHBOARD
   Dashboard only
   Desktop unchanged
   ========================================================= */

@media (max-width: 768px) {

  /* ---------- DASHBOARD WRAPPER ---------- */

  .zx-dashboard {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .zx-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* ---------- HERO ---------- */

  .zx-hero {
    padding: 16px !important;
    margin-bottom: 12px !important;
    border-radius: 16px !important;
  }

  .zx-kicker {
    font-size: 9px !important;
    letter-spacing: .08em !important;
  }

  .zx-hero h1,
  .zx-hero-title {
    font-size: 21px !important;
    line-height: 1.15 !important;
  }

  .zx-hero-source {
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  /* ---------- SECTION HEAD ---------- */

  .zx-section {
    margin-bottom: 12px !important;
  }

  .zx-section-head,
  .zx-panel-head {
    margin-bottom: 8px !important;
  }

  .zx-section-title {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .zx-section-sub {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .zx-section-tag {
    font-size: 8px !important;
    padding: 4px 7px !important;
  }

  /* ---------- FINANCIAL SNAPSHOT ---------- */

  .zx-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .zx-kpi {
    min-height: 82px !important;
    padding: 11px !important;
    border-radius: 13px !important;
  }

  .zx-kpi-top {
    gap: 6px !important;
    margin-bottom: 5px !important;
  }

  .zx-kpi strong {
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  .zx-kpi span {
    font-size: 9px !important;
  }

  .zx-icon {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
  }

  /* ---------- PROFILE / MAIN PANELS ---------- */

  .zx-main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .zx-panel {
    padding: 13px !important;
    border-radius: 14px !important;
  }

  .zx-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .zx-info-row {
    min-height: 48px !important;
    padding: 8px !important;
    border-radius: 9px !important;
  }

  .zx-info-row span {
    font-size: 8px !important;
  }

  .zx-info-row strong {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  /* ---------- INCOME ---------- */

  .zx-income-list {
    gap: 5px !important;
  }

  .zx-income {
    min-height: 48px !important;
    padding: 8px 9px !important;
    border-radius: 9px !important;
  }

  .zx-income-left {
    gap: 7px !important;
  }

  .zx-income-amount {
    font-size: 12px !important;
  }

  .zx-income-icon {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
  }

  /* ---------- REFERRAL ---------- */

  .zx-referral-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .zx-ref-card {
    min-height: 55px !important;
    padding: 9px !important;
    border-radius: 10px !important;
  }

  .zx-ref-card span {
    font-size: 8px !important;
    line-height: 1.25 !important;
  }

  .zx-ref-card strong {
    font-size: 14px !important;
  }

  .zx-link {
    margin-top: 9px !important;
    padding: 9px !important;
    border-radius: 10px !important;
  }

  .zx-link-label {
    font-size: 8px !important;
  }

  .zx-link-value {
    font-size: 9px !important;
  }

  /* ---------- MT5 ---------- */

  .zx-bottom-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .zx-mt5 {
    padding: 13px !important;
    border-radius: 14px !important;
  }

  .zx-mt5-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .zx-mt5-item {
    min-height: 50px !important;
    padding: 8px !important;
    border-radius: 9px !important;
  }

  .zx-mt5-item span {
    font-size: 8px !important;
  }

  .zx-mt5-item strong {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  /* ---------- RECENT ACTIVITY ---------- */

  .zx-activity-list {
    gap: 5px !important;
  }

  .zx-activity {
    min-height: 48px !important;
    padding: 8px !important;
    border-radius: 9px !important;
  }

  .zx-activity-main {
    min-width: 0 !important;
  }

  .zx-activity-amount {
    font-size: 11px !important;
  }

  .zx-muted {
    font-size: 9px !important;
  }

  /* ---------- BUTTONS ---------- */

  .zx-btn {
    min-height: 36px !important;
    padding: 7px 10px !important;
    border-radius: 9px !important;
    font-size: 10px !important;
  }
}

/* ---------- EXTRA SMALL PHONES ---------- */

@media (max-width: 380px) {

  .zx-wrap {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .zx-kpi {
    min-height: 76px !important;
    padding: 9px !important;
  }

  .zx-kpi strong {
    font-size: 15px !important;
  }

  .zx-info-grid,
  .zx-referral-grid,
  .zx-mt5-grid {
    gap: 6px !important;
  }
}

/* DASHBOARD — REMOVE UNNECESSARY BOTTOM SECTIONS */
.zx-dashboard .zx-bottom-grid {
  display: none !important;
}
@media (max-width: 768px) {
  .mobile-share-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(34, 211, 167, .28) !important;
    border-radius: 50% !important;
    background: rgba(5, 30, 25, .92) !important;
    color: #22d3a7 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
  }

  .mobile-instant-share-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    background: rgba(0, 0, 0, .68) !important;
    backdrop-filter: blur(5px) !important;
  }

  .mobile-instant-share-modal {
    position: relative !important;
    width: min(390px, 100%) !important;
    padding: 22px !important;
    border: 1px solid rgba(34, 211, 167, .22) !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, #081b17, #07110f) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5) !important;
    color: #eaf7f3 !important;
  }

  .mobile-instant-share-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 22px !important;
    cursor: pointer !important;
  }

  .mobile-instant-share-title {
    padding-right: 40px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
  }

  .mobile-instant-share-subtitle {
    margin-top: 4px !important;
    font-size: 11px !important;
    color: #8fa9a2 !important;
  }

  .mobile-instant-share-card {
    margin-top: 14px !important;
    padding: 12px !important;
    border: 1px solid rgba(34, 211, 167, .15) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.035) !important;
  }

  .mobile-instant-share-card span {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 8px !important;
    letter-spacing: .08em !important;
    color: #78958d !important;
  }

  .mobile-instant-share-card strong {
    font-size: 15px !important;
    color: #22d3a7 !important;
  }

  .mobile-instant-share-link {
    overflow-wrap: anywhere !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: #d8ebe6 !important;
  }

  .mobile-instant-share-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 14px !important;
  }

  .mobile-instant-share-actions button {
    min-height: 42px !important;
    border: 1px solid rgba(34, 211, 167, .25) !important;
    border-radius: 10px !important;
    background: rgba(34, 211, 167, .08) !important;
    color: #22d3a7 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }
}

@media (min-width: 769px) {
  .mobile-share-trigger {
    display: none !important;
  }

  .mobile-instant-share-overlay {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .mobile-share-icon {
    position: relative !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
  }

  .mobile-share-icon i {
    position: absolute !important;
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #22d3a7 !important;
  }

  .mobile-share-icon i:nth-child(1) {
    top: 1px !important;
    right: 1px !important;
  }

  .mobile-share-icon i:nth-child(2) {
    bottom: 1px !important;
    right: 1px !important;
  }

  .mobile-share-icon i:nth-child(3) {
    top: 6px !important;
    left: 1px !important;
  }

  .mobile-share-icon::before,
  .mobile-share-icon::after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    width: 10px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #22d3a7 !important;
    transform-origin: left center !important;
  }

  .mobile-share-icon::before {
    top: 7px !important;
    transform: rotate(-29deg) !important;
  }

  .mobile-share-icon::after {
    top: 11px !important;
    transform: rotate(29deg) !important;
  }
}
@media (max-width: 768px) {
  .mobile-instant-share-overlay {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    z-index: 2147483647 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 18px !important;
    box-sizing: border-box !important;

    background: rgba(0, 0, 0, .72) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;

    overflow-y: auto !important;
  }

  .mobile-instant-share-modal {
    position: relative !important;
    flex: 0 0 auto !important;

    width: min(390px, calc(100vw - 36px)) !important;
    max-width: 390px !important;
    max-height: calc(100dvh - 36px) !important;

    margin: auto !important;
    padding: 22px !important;
    box-sizing: border-box !important;

    overflow-y: auto !important;

    border: 1px solid rgba(34, 211, 167, .24) !important;
    border-radius: 20px !important;

    background: linear-gradient(
      145deg,
      #081b17,
      #07110f
    ) !important;

    box-shadow:
      0 30px 90px rgba(0, 0, 0, .65),
      0 0 0 1px rgba(34, 211, 167, .05) !important;
  }

  .mobile-instant-share-title {
    font-size: 23px !important;
    line-height: 1.2 !important;
  }

  .mobile-instant-share-subtitle {
    margin-top: 5px !important;
  }

  .mobile-instant-share-card {
    margin-top: 15px !important;
  }

  .mobile-instant-share-actions {
    margin-top: 16px !important;
  }
}

/* =========================================================
   ONNTRADE MOBILE — MY WALLET ACTION POPUP
   Desktop unchanged
   ========================================================= */

@media (max-width: 768px) {

  /* Compact two-option wallet action area */
  .mw-action-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 12px 0 !important;
  }

  .mw-action-button {
    min-height: 78px !important;
    padding: 12px 13px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    transition: transform .18s ease, border-color .18s ease !important;
  }

  .mw-action-button:active {
    transform: scale(.98) !important;
  }

  .mw-action-main {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
  }

  .mw-action-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 19px !important;
  }

  .mw-action-title {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
  }

  .mw-action-text {
    display: block !important;
    margin-top: 4px !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    opacity: .65 !important;
  }

  .mw-action-arrow {
    font-size: 16px !important;
    flex: 0 0 auto !important;
  }

  /* Action form/panel stays compact on mobile */
  .mw-action-panel {
    width: 100% !important;
    margin-top: 10px !important;
    border-radius: 16px !important;
    padding: 14px !important;
  }

  .mw-action-panel-head {
    gap: 10px !important;
  }

  .mw-action-panel-title {
    font-size: 17px !important;
  }

  .mw-action-panel-text {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .mw-action-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
  }

  .mw-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .mw-form-wide {
    grid-column: auto !important;
  }

  .mw-form-field input,
  .mw-form-field select {
    min-height: 44px !important;
    font-size: 12px !important;
  }

  .mw-deposit-info {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .mw-action-error,
  .mw-action-success {
    font-size: 10px !important;
  }

  @media (max-width: 380px) {
    .mw-action-row {
      gap: 8px !important;
    }

    .mw-action-button {
      min-height: 72px !important;
      padding: 10px !important;
    }

    .mw-action-icon {
      width: 30px !important;
      min-width: 30px !important;
      height: 30px !important;
      font-size: 17px !important;
    }

    .mw-action-title {
      font-size: 12px !important;
    }

    .mw-action-text {
      font-size: 8px !important;
    }

    .mw-action-arrow {
      display: none !important;
    }
  }
}

@media (max-width: 768px) {

  /* =====================================================
     MY WALLET — MOBILE ACTION FORM AS CENTER MODAL
     ===================================================== */

  .mw-action-panel {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: calc(100vw - 28px) !important;
    max-width: 430px !important;
    max-height: calc(100dvh - 40px) !important;

    margin: 0 !important;
    padding: 16px !important;

    z-index: 2147483000 !important;

    overflow-y: auto !important;
    overscroll-behavior: contain !important;

    border-radius: 18px !important;

    background: #091b19 !important;
    border: 1px solid rgba(34, 211, 167, .30) !important;

    box-shadow:
      0 30px 90px rgba(0, 0, 0, .75),
      0 0 0 9999px rgba(0, 0, 0, .68) !important;
  }

  .mw-action-panel::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: -1 !important;
  }

  .mw-action-panel input,
  .mw-action-panel textarea,
  .mw-action-panel select {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mw-action-panel button {
    min-height: 42px !important;
  }

  /* Keep the two action choices compact */
  .mw-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .mw-action-button {
    min-height: 70px !important;
  }

  @media (max-width: 380px) {
    .mw-action-panel {
      width: calc(100vw - 20px) !important;
      max-height: calc(100dvh - 24px) !important;
      padding: 13px !important;
      border-radius: 16px !important;
    }
  }
}
@media (max-width: 768px) {

  /* =====================================================
     MY WALLET — TRANSFER PANEL MOBILE CENTER MODAL
     ===================================================== */

  .mw-panel {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: calc(100vw - 28px) !important;
    max-width: 430px !important;
    max-height: calc(100dvh - 40px) !important;

    margin: 0 !important;
    padding: 16px !important;

    z-index: 2147483000 !important;

    overflow-y: auto !important;
    overscroll-behavior: contain !important;

    border-radius: 18px !important;

    background: #091b19 !important;
    border: 1px solid rgba(34, 211, 167, .30) !important;

    box-shadow:
      0 30px 90px rgba(0, 0, 0, .75),
      0 0 0 9999px rgba(0, 0, 0, .68) !important;
  }

  .mw-panel-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .mw-panel-title {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .mw-panel-text {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .mw-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
  }

  .mw-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .mw-form-grid .mw-field {
    grid-column: 1 / -1 !important;
  }

  .mw-field input,
  .mw-field select {
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  .mw-panel .mw-primary {
    width: 100% !important;
    min-height: 44px !important;
  }

  @media (max-width: 380px) {
    .mw-panel {
      width: calc(100vw - 20px) !important;
      max-height: calc(100dvh - 24px) !important;
      padding: 13px !important;
      border-radius: 16px !important;
    }
  }
}
/* =========================================================
   ONNTRADE — MODERN WALLET LOADING EXPERIENCE
   Mobile + Desktop
   ========================================================= */

.mw-loading {
  min-height: 360px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  color: #8aa49d !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.mw-loading::before {
  content: "" !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(35, 214, 176, .14) !important;
  border-top-color: #20d6ad !important;
  border-right-color: #20d6ad !important;
  animation: onntrade-wallet-spin 1s linear infinite !important;
}

.mw-loading::after {
  content: "ONNTRADE" !important;
  position: absolute !important;
  top: calc(50% + 1px) !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #ecfffa !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 1.4px !important;
  white-space: nowrap !important;
  animation: onntrade-wallet-pulse 1.6s ease-in-out infinite !important;
}

@keyframes onntrade-wallet-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes onntrade-wallet-pulse {
  0%, 100% {
    opacity: .45;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .mw-loading {
    min-height: 330px !important;
    gap: 11px !important;
  }

  .mw-loading::before {
    width: 50px !important;
    height: 50px !important;
  }

  .mw-loading::after {
    font-size: 8px !important;
    letter-spacing: 1.2px !important;
  }

  .mw-loading-text {
    display: block !important;
    margin-top: 2px !important;
    font-size: 10px !important;
    color: #78928b !important;
  }
}

/* ===== MOBILE SCROLL FIX ===== */
@media (max-width: 800px) {
  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: clip !important;
    position: static !important;
  }

  #root,
  .app-shell,
  .main-area,
  .dashboard-page,
  .dashboard-container,
  .page {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: clip !important;
  }
}

/* ===== ONNTRADE FINAL MOBILE PREMIUM HERO V2 ===== */

@media (max-width: 768px) {

  .ot-home > .ot-hero .ot-hero-left {
    text-align: center !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none !important;
    top: 40% !important;
    transform: translateY(-40%) !important;
  }

  .ot-home > .ot-hero .ot-slide-content h1 {
    font-size: clamp(36px, 10.5vw, 54px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 4px 25px rgba(0, 153, 255, .35) !important;
    animation: onnMobileHeading 850ms ease both;
  }

  .ot-home > .ot-hero .ot-slide-content h1 span {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 3px auto 0 !important;
    background: linear-gradient(
      100deg,
      #00e5ff,
      #168bff,
      #00e6b0,
      #00e5ff
    ) !important;
    background-size: 250% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: onnMobileGradient 5s linear infinite !important;
    filter: drop-shadow(0 0 15px rgba(0, 180, 255, .35));
  }

  .ot-home > .ot-hero .ot-slide-content p {
    max-width: 560px !important;
    margin: 17px auto 0 !important;
    font-size: clamp(13px, 3.5vw, 16px) !important;
    line-height: 1.65 !important;
    color: #e4f4ff !important;
    text-align: center !important;
    animation: onnMobileText .9s ease .12s both;
  }

  .ot-home > .ot-hero .ot-hero-actions {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 11px !important;
    margin-top: 22px !important;
  }

  .ot-home > .ot-hero .ot-btn-primary,
  .ot-home > .ot-hero .ot-btn-secondary {
    min-height: 47px !important;
    padding: 0 19px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
  }

  .ot-home > .ot-hero .ot-btn-primary {
    background: linear-gradient(110deg,#00c9ed,#075cff) !important;
    box-shadow: 0 8px 28px rgba(0,145,255,.35) !important;
  }

  .ot-home > .ot-hero .ot-btn-secondary {
    border: 1px solid rgba(100,210,255,.8) !important;
    background: rgba(3,25,48,.68) !important;
    color: #ffffff !important;
  }

  .ot-home > .ot-hero .ot-slider-controls {
    bottom: 15px !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
  }

  .ot-home > .ot-hero .ot-slider-top {
    justify-content: center !important;
    margin-bottom: 17px !important;
  }
}

@keyframes onnMobileHeading {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes onnMobileText {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes onnMobileGradient {
  to { background-position: 250% center; }
}

@media (max-width: 380px) {
  .ot-home > .ot-hero .ot-slide-content h1 {
    font-size: clamp(34px, 10vw, 40px) !important;
  }

  .ot-home > .ot-hero .ot-btn-primary,
  .ot-home > .ot-hero .ot-btn-secondary {
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ot-home > .ot-hero .ot-slide-content h1,
  .ot-home > .ot-hero .ot-slide-content p,
  .ot-home > .ot-hero .ot-slide-content h1 span {
    animation: none !important;
  }
}

/* ===== END MOBILE PREMIUM HERO V2 ===== */


/* ===== ONNTRADE MOBILE HERO PREMIUM V3 ===== */

@media (max-width:768px) {

  .ot-home > .ot-hero .ot-slide-content h1 {
    font-size: clamp(44px,11vw,58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.06em !important;
    font-weight: 950 !important;
    color: #ffffff !important;
    text-shadow: 0 5px 30px rgba(0,160,255,.42) !important;
  }

  .ot-home > .ot-hero .ot-slide-content h1 span {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 950 !important;
    white-space: normal !important;
    background: linear-gradient(
      100deg,#00eaff,#1685ff,#00e6b0
    ) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: onnMobileGradient 4s linear infinite !important;
  }

  .ot-home > .ot-hero .ot-btn-primary,
  .ot-home > .ot-hero .ot-btn-secondary {
    opacity: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 850 !important;
    font-size: 13px !important;
    text-shadow: 0 1px 5px rgba(0,0,0,.25) !important;
    filter: none !important;
  }

  .ot-home > .ot-hero .ot-btn-secondary {
    background: linear-gradient(
      135deg,rgba(5,35,65,.96),rgba(0,80,125,.92)
    ) !important;
    border: 1px solid #39caff !important;
    box-shadow: 0 5px 22px rgba(0,160,255,.20) !important;
  }

  .ot-home > .ot-hero .ot-btn-primary {
    background: linear-gradient(
      110deg,#00c9ed,#075cff
    ) !important;
    border: 1px solid #39eaff !important;
  }

  .ot-home > .ot-hero .ot-slide-content p {
    color: #f0f8ff !important;
    font-size: clamp(14px,3.7vw,16px) !important;
    font-weight: 500 !important;
  }
}

/* ===== END PREMIUM V3 ===== */

/* ===== ONNTRADE PREMIUM HEADER BRAND V4 ===== */

.ot-header .ot-brand {
  gap: 12px !important;
  text-decoration: none !important;
}

.ot-header .ot-mark {
  width: 46px !important;
  height: 46px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(0,160,255,.65) !important;
  box-shadow:
    0 0 12px rgba(0,145,255,.25),
    0 0 25px rgba(0,210,255,.15) !important;
  transition: box-shadow .3s ease, transform .3s ease !important;
}

.ot-header .ot-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.ot-header .ot-brand-copy {
  gap: 5px !important;
  line-height: 1 !important;
}

.ot-header .ot-brand-copy b {
  font-size: 21px !important;
  font-weight: 950 !important;
  letter-spacing: -.045em !important;
  background: linear-gradient(
    100deg,#10264c 5%,#087bfa 52%,#00b9d9 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.ot-header .ot-brand-copy small {
  display: block !important;
  margin-top: 2px !important;
  color: #1684bb !important;
  font-size: 7px !important;
  font-weight: 900 !important;
  letter-spacing: .17em !important;
  white-space: nowrap !important;
}

.ot-header .ot-brand:hover .ot-mark {
  box-shadow:
    0 0 18px rgba(0,145,255,.45),
    0 0 32px rgba(0,210,255,.25) !important;
  transform: translateY(-1px) !important;
}

@media(max-width:560px) {
  .ot-header .ot-brand {
    gap: 9px !important;
  }

  .ot-header .ot-mark {
    width: 40px !important;
    height: 40px !important;
    border-radius: 11px !important;
  }

  .ot-header .ot-brand-copy b {
    font-size: 18px !important;
  }

  .ot-header .ot-brand-copy small {
    font-size: 6px !important;
    letter-spacing: .13em !important;
  }
}

/* ===== END ONNTRADE PREMIUM HEADER BRAND V4 ===== */

/* ===== ONNTRADE PREMIUM HEADER BUTTONS V5 ===== */

.ot-header .ot-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ot-header .ot-login,
.ot-header .ot-nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: -.01em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.ot-header .ot-login {
  color: #0754a8 !important;
  background: linear-gradient(145deg,#ffffff,#eaf5ff) !important;
  border: 1px solid #9bcaff !important;
  box-shadow: 0 4px 15px rgba(0,100,220,.10) !important;
}

.ot-header .ot-nav-cta {
  color: #ffffff !important;
  background: linear-gradient(110deg,#00bfe9 0%,#087bff 55%,#0755e9 100%) !important;
  border: 1px solid #28d8ff !important;
  box-shadow: 0 7px 22px rgba(0,120,255,.27) !important;
}

.ot-header .ot-login:hover,
.ot-header .ot-nav-cta:hover {
  transform: translateY(-2px) !important;
}

.ot-header .ot-login:hover {
  box-shadow: 0 7px 22px rgba(0,100,220,.20) !important;
}

.ot-header .ot-nav-cta:hover {
  box-shadow: 0 9px 28px rgba(0,145,255,.42) !important;
}

.ot-header .ot-login .ot-arrow,
.ot-header .ot-nav-cta .ot-arrow {
  margin-left: 7px !important;
  font-size: 15px !important;
}

@media(max-width:560px) {
  .ot-header .ot-nav-actions {
    gap: 7px !important;
  }

  .ot-header .ot-login,
  .ot-header .ot-nav-cta {
    min-height: 41px !important;
    padding: 0 11px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 850 !important;
  }

  .ot-header .ot-login .ot-arrow,
  .ot-header .ot-nav-cta .ot-arrow {
    margin-left: 4px !important;
    font-size: 12px !important;
  }
}

@media(max-width:380px) {
  .ot-header .ot-nav-actions {
    gap: 5px !important;
  }

  .ot-header .ot-login,
  .ot-header .ot-nav-cta {
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
  }
}

/* ===== END HEADER BUTTONS V5 ===== */

/* ===== ONNTRADE LOGIN PERFECT CENTER V6 ===== */

@media (max-width: 850px) {

  .zfx-auth-page {
    width: 100% !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 16px !important;
  }

  .zfx-auth-shell {
    width: 100% !important;
    max-width: 520px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    flex: 0 0 auto !important;
    border-radius: 24px !important;
  }

  .zfx-auth-showcase {
    display: none !important;
  }

  .zfx-auth-form-panel {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 30px 22px !important;
  }

  .zfx-auth-card {
    width: 100% !important;
    max-width: 460px !important;
    margin: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .zfx-auth-page {
    padding: 12px !important;
  }

  .zfx-auth-shell {
    max-width: 100% !important;
  }

  .zfx-auth-form-panel {
    padding: 26px 18px !important;
  }
}

/* ===== END LOGIN CENTER V6 ===== */

/* ===== ONNTRADE LOGIN TRADING COMMAND CENTER V7 ===== */

@media (min-width: 851px) {

  .zfx-auth-showcase {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: 610px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    background:
      radial-gradient(ellipse at 50% 78%,rgba(0,145,255,.14),transparent 48%),
      radial-gradient(ellipse at 15% 15%,rgba(0,220,220,.12),transparent 40%),
      linear-gradient(145deg,#f9fdff,#eaf5ff 75%,#f5fbff) !important;
  }

  .zfx-auth-showcase::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 7%;
    right: 7%;
    bottom: 32px;
    height: 205px;
    border: 1px solid rgba(28,145,235,.22);
    border-radius: 22px;
    background:
      linear-gradient(rgba(0,130,220,.07) 1px,transparent 1px),
      linear-gradient(90deg,rgba(0,130,220,.07) 1px,transparent 1px),
      repeating-linear-gradient(
        90deg,
        transparent 0 15px,
        rgba(0,170,220,.45) 16px 18px,
        transparent 19px 34px
      ),
      linear-gradient(145deg,rgba(255,255,255,.92),rgba(220,241,255,.76));
    background-size: 100% 34px,34px 100%,100% 100%,100% 100%;
    box-shadow:
      0 18px 45px rgba(0,105,200,.10),
      inset 0 0 35px rgba(0,145,255,.07);
    animation: onnLoginChartFloat 6s ease-in-out infinite;
  }

  .zfx-auth-showcase::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 15%;
    right: 12%;
    bottom: 103px;
    height: 95px;
    background: linear-gradient(
      110deg,
      transparent 0%,
      rgba(0,173,255,.2) 12%,
      #168cff 40%,
      #00cdbb 72%,
      transparent 100%
    );
    clip-path: polygon(
      0 83%,12% 70%,22% 77%,34% 48%,
      45% 59%,57% 26%,69% 42%,
      80% 12%,91% 22%,100% 0%,
      100% 5%,91% 29%,80% 19%,
      69% 49%,57% 33%,45% 66%,
      34% 55%,22% 84%,12% 77%,0 90%
    );
    filter: drop-shadow(0 0 9px rgba(0,145,255,.65));
    animation: onnLoginTrendPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
  }

  .zfx-auth-showcase > * {
    position: relative !important;
    z-index: 2 !important;
  }

  .zfx-auth-showcase-art {
    width: 105px !important;
    height: 105px !important;
    margin-bottom: 20px !important;
    border-radius: 25px !important;
    background: linear-gradient(145deg,#ffffff,#e4f4ff) !important;
    border: 1px solid rgba(0,145,255,.4) !important;
    box-shadow:
      0 12px 35px rgba(0,110,220,.18),
      0 0 35px rgba(0,190,255,.15) !important;
    animation: onnAuthLogoFloat 4s ease-in-out infinite !important;
  }

  .zfx-auth-showcase-brand {
    color: #0754a8 !important;
    background: linear-gradient(90deg,#063c85,#078cff,#00aebd) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 36px !important;
    font-weight: 950 !important;
  }

  .zfx-auth-showcase-copy {
    color: #42617e !important;
    font-size: 14px !important;
    max-width: 390px !important;
    line-height: 1.8 !important;
  }

  .zfx-auth-showcase-pill {
    color: #0877bd !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(0,145,220,.28) !important;
    box-shadow: 0 6px 22px rgba(0,125,220,.10) !important;
  }
}

@keyframes onnLoginChartFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes onnLoginTrendPulse {
  from { opacity: .65; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .zfx-auth-showcase::before,
  .zfx-auth-showcase::after {
    animation: none !important;
  }
}

/* ===== END ONNTRADE LOGIN TRADING COMMAND CENTER V7 ===== */


/* ===== ONNTRADE CRYPTO FOREX TERMINAL BACKGROUND V8 ===== */

@media (min-width:851px) {

  .zfx-auth-showcase {
    background:
      radial-gradient(ellipse at 50% 75%,rgba(0,135,255,.17),transparent 55%),
      linear-gradient(145deg,#07172c,#0b2441 65%,#07182b) !important;
  }

  .zfx-auth-showcase-art {
    background:linear-gradient(145deg,#102b48,#07172d) !important;
    border:1px solid rgba(45,190,255,.55) !important;
    box-shadow:
      0 0 28px rgba(0,145,255,.35),
      inset 0 0 22px rgba(0,180,255,.12) !important;
  }

  .zfx-auth-showcase-brand {
    background:linear-gradient(90deg,#ffffff,#65c9ff,#00e6d0) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
    -webkit-text-fill-color:transparent !important;
  }

  .zfx-auth-showcase-copy {
    color:#d0e5fa !important;
  }

  .zfx-auth-showcase::before {
    content:"ONNTRADE  /  MARKET TERMINAL     BTC/USDT     ETH/USDT     XAU/USD";
    position:absolute !important;
    z-index:0 !important;
    left:5% !important;
    right:5% !important;
    bottom:25px !important;
    height:225px !important;
    box-sizing:border-box !important;
    padding:17px 15px !important;
    overflow:hidden !important;
    white-space:pre-wrap !important;
    color:rgba(177,222,255,.9) !important;
    font-family:monospace !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:1px !important;
    opacity:.58 !important;
    border:1px solid rgba(65,177,255,.75) !important;
    border-radius:15px !important;
    background:
      linear-gradient(90deg,transparent 49%,rgba(45,160,255,.13) 50%,transparent 51%),
      linear-gradient(rgba(45,160,255,.12) 1px,transparent 1px),
      repeating-linear-gradient(90deg,
        transparent 0 15px,
        rgba(0,225,190,.85) 16px 18px,
        transparent 19px 29px),
      linear-gradient(145deg,rgba(9,35,65,.95),rgba(4,17,36,.98)) !important;
    background-size:100% 100%,100% 34px,100% 100%,100% 100% !important;
    box-shadow:
      0 15px 45px rgba(0,0,0,.25),
      inset 0 0 35px rgba(0,135,255,.12) !important;
    animation:onnTerminalFloat 7s ease-in-out infinite !important;
  }

  .zfx-auth-showcase::after {
    content:"";
    position:absolute !important;
    z-index:1 !important;
    left:11% !important;
    right:10% !important;
    bottom:82px !important;
    height:115px !important;
    opacity:.52 !important;
    pointer-events:none !important;
    background:
      repeating-linear-gradient(90deg,
        transparent 0 13px,
        #00d6ae 14px 17px,
        transparent 18px 28px),
      linear-gradient(165deg,
        transparent 0 35%,
        rgba(0,207,255,.95) 36% 37%,
        transparent 38% 100%) !important;
    filter:drop-shadow(0 0 8px #00aaff) !important;
    clip-path:polygon(
      0 75%,8% 55%,16% 69%,24% 37%,
      32% 52%,40% 25%,48% 43%,
      56% 18%,64% 36%,72% 10%,
      80% 29%,88% 5%,100% 18%,
      100% 100%,0 100%
    ) !important;
  }

  .zfx-auth-showcase-pill {
    position:relative !important;
    z-index:3 !important;
    background:rgba(5,35,65,.85) !important;
    color:#60dcff !important;
    border-color:rgba(0,190,255,.55) !important;
    box-shadow:0 0 18px rgba(0,145,255,.18) !important;
  }
}

@keyframes onnTerminalFloat {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-5px); }
}

@media(prefers-reduced-motion:reduce) {
  .zfx-auth-showcase::before {
    animation:none !important;
  }
}

/* ===== END CRYPTO FOREX TERMINAL V8 ===== */


/* ===== ONNTRADE REMOVE OLD LOGIN CHART ===== */

@media (min-width:851px) {
  .zfx-auth-showcase::before,
  .zfx-auth-showcase::after {
    content: none !important;
    display: none !important;
    animation: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  .zfx-auth-showcase {
    background: linear-gradient(
      145deg,#edf8ff,#dceeff
    ) !important;
  }
}

/* ===== END REMOVE OLD LOGIN CHART ===== */

/* ===== ONNTRADE SIGNUP PREMIUM V2 ===== */

.ONNTRADE-signup-page {
  background:
    radial-gradient(circle at 10% 10%,rgba(0,190,255,.09),transparent 35%),
    #f2f8ff !important;
  color:#102544 !important;
  padding:28px !important;
}

.ONNTRADE-signup-card {
  width:min(1280px,100%) !important;
  max-width:1280px !important;
  min-height:740px !important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) !important;
  border:1px solid #d8e8ff !important;
  border-radius:26px !important;
  background:#fff !important;
  box-shadow:0 28px 90px rgba(22,72,140,.13) !important;
}

/* Form on LEFT */
.ONNTRADE-signup-form-panel {
  order:1 !important;
  min-width:0 !important;
  min-height:740px !important;
  padding:48px clamp(26px,4vw,62px) !important;
  background:linear-gradient(160deg,#ffffff,#f5f9ff) !important;
}

.ONNTRADE-signup-card h1 {
  color:#102b50 !important;
  font-size:clamp(32px,3vw,43px) !important;
  font-weight:900 !important;
  letter-spacing:-1.5px !important;
}

.ONNTRADE-signup-subtitle {
  color:#637995 !important;
}

/* Premium input fields */
.ONNTRADE-signup-field label {
  color:#19395f !important;
  font-weight:750 !important;
}

.ONNTRADE-signup-field input,
.ONNTRADE-signup-field select {
  width:100% !important;
  height:54px !important;
  min-height:54px !important;
  border:1px solid #cbdcf2 !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#102b50 !important;
  padding:0 16px !important;
  font-size:14px !important;
  transition:border-color .2s,box-shadow .2s !important;
}

.ONNTRADE-signup-field input:focus,
.ONNTRADE-signup-field select:focus {
  border-color:#1684ed !important;
  box-shadow:0 0 0 4px rgba(22,132,237,.10) !important;
  outline:none !important;
}

.ONNTRADE-signup-consent {
  color:#4d6380 !important;
  line-height:1.7 !important;
}

.ONNTRADE-signup-submit {
  width:100% !important;
  min-height:55px !important;
  border:0 !important;
  border-radius:13px !important;
  background:linear-gradient(105deg,#168af5,#0755c9) !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:850 !important;
  box-shadow:0 10px 25px rgba(15,103,220,.22) !important;
  transition:transform .25s,box-shadow .25s !important;
}

.ONNTRADE-signup-submit:hover {
  transform:translateY(-2px) !important;
  box-shadow:0 14px 30px rgba(15,103,220,.30) !important;
}

/* Trading slider on RIGHT */
.ONNTRADE-signup-showcase {
  order:2 !important;
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  min-height:740px !important;
  padding:55px 35px !important;
  border:0 !important;
  background:
    radial-gradient(ellipse at 50% 45%,rgba(0,210,255,.16),transparent 55%),
    linear-gradient(145deg,#071a34,#0b2850 65%,#06162e) !important;
}

/* Trading dashboard panel */
.ONNTRADE-signup-showcase::before {
  content:"" !important;
  position:absolute !important;
  z-index:-1 !important;
  inset:19% 5% 17% !important;
  border:1px solid rgba(81,190,255,.38) !important;
  border-radius:20px !important;
  background-color:rgba(3,19,42,.62) !important;
  background-image:
    repeating-linear-gradient(0deg,transparent 0 35px,rgba(65,166,235,.12) 36px),
    repeating-linear-gradient(90deg,transparent 0 42px,rgba(65,166,235,.12) 43px),
    repeating-linear-gradient(90deg,transparent 0 64px,rgba(0,210,170,.16) 65px 70px,transparent 71px 91px);
  box-shadow:0 25px 65px rgba(0,0,0,.28),inset 0 0 45px rgba(0,140,255,.08) !important;
  pointer-events:none !important;
}

/* Animated market trend line */
.ONNTRADE-signup-showcase::after {
  content:"" !important;
  position:absolute !important;
  z-index:-1 !important;
  left:12% !important;
  right:10% !important;
  top:48% !important;
  height:17% !important;
  background:linear-gradient(110deg,#05c9b0,#24a5ff,#05d5a4) !important;
  opacity:.85 !important;
  clip-path:polygon(0 76%,12% 63%,23% 72%,36% 37%,49% 48%,62% 17%,73% 31%,86% 4%,100% 12%,100% 16%,86% 10%,73% 37%,62% 23%,49% 54%,36% 43%,23% 78%,12% 69%,0 82%);
  filter:drop-shadow(0 0 9px rgba(0,220,190,.7)) !important;
  animation:onnSignupChartMove 5s ease-in-out infinite alternate !important;
  pointer-events:none !important;
}

@keyframes onnSignupChartMove {
  from { transform:translateY(5px); opacity:.65; }
  to { transform:translateY(-7px); opacity:1; }
}

/* Keep ONNTRADE logo visible */
.ONNTRADE-showcase-art {
  position:relative !important;
  z-index:2 !important;
  width:90px !important;
  height:90px !important;
  margin-bottom:25px !important;
  border:1px solid rgba(75,200,255,.5) !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.10) !important;
  box-shadow:0 12px 35px rgba(0,160,255,.22) !important;
}

.ONNTRADE-showcase-art img {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}

.ONNTRADE-showcase-copy {
  position:relative !important;
  z-index:2 !important;
  max-width:390px !important;
  color:#e1efff !important;
  font-size:17px !important;
  line-height:1.8 !important;
}

.ONNTRADE-showcase-pill {
  position:relative !important;
  z-index:2 !important;
  margin-top:22px !important;
  padding:12px 20px !important;
  border:1px solid rgba(60,200,255,.42) !important;
  border-radius:30px !important;
  background:rgba(0,135,255,.13) !important;
  color:#70dfff !important;
  font-weight:850 !important;
}

/* Responsive layout */
@media(max-width:900px) {
  .ONNTRADE-signup-page {
    padding:16px 10px !important;
  }

  .ONNTRADE-signup-card {
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
  }

  .ONNTRADE-signup-form-panel {
    order:1 !important;
    min-height:0 !important;
    padding:35px 26px !important;
  }

  .ONNTRADE-signup-showcase {
    order:2 !important;
    min-height:340px !important;
    padding:35px 20px !important;
  }
}

@media(max-width:600px) {
  .ONNTRADE-signup-form-panel {
    padding:27px 17px !important;
  }

  .ONNTRADE-signup-showcase {
    min-height:290px !important;
    padding:28px 16px !important;
  }

  .ONNTRADE-showcase-art {
    width:68px !important;
    height:68px !important;
    margin-bottom:14px !important;
  }

  .ONNTRADE-showcase-copy {
    font-size:14px !important;
  }

  .ONNTRADE-signup-card h1 {
    font-size:31px !important;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ONNTRADE-signup-showcase::after {
    animation:none !important;
  }
}

/* ===== END ONNTRADE SIGNUP PREMIUM V2 ===== */

/* ===== ONNTRADE SIGNUP COMPACT INTERACTIVE SLIDER V4 ===== */
.ONNTRADE-signup-page {
  min-height:100vh !important;
  min-height:100dvh !important;
  padding:18px 16px !important;
  box-sizing:border-box !important;
  background:#f4f8ff !important;
}

.ONNTRADE-signup-card {
  width:min(1080px,100%) !important;
  max-width:1080px !important;
  min-height:0 !important;
  grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr) !important;
  border-radius:20px !important;
  overflow:hidden !important;
}

.ONNTRADE-signup-form-panel {
  min-width:0 !important;
  min-height:0 !important;
  padding:28px 26px !important;
}

.ONNTRADE-signup-form-panel h1 {
  font-size:27px !important;
  margin:0 0 5px !important;
}

.ONNTRADE-signup-field input,
.ONNTRADE-signup-field select {
  min-height:45px !important;
  height:45px !important;
}

.ONNTRADE-signup-submit {
  min-height:47px !important;
}

.ONNTRADE-signup-showcase.ONNTRADE-react-slider {
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  padding:42px 30px 24px !important;
  justify-content:center !important;
  background:
    radial-gradient(circle at 50% 38%,rgba(0,160,255,.19),transparent 53%),
    linear-gradient(145deg,#071a34,#0b2850 65%,#06162e) !important;
}

.ONNTRADE-signup-showcase.ONNTRADE-react-slider::before,
.ONNTRADE-signup-showcase.ONNTRADE-react-slider::after {
  content:none !important;
  display:none !important;
  animation:none !important;
}

.ONNTRADE-react-slider .ONNTRADE-showcase-back {
  color:#c6e5ff !important;
}

.ot-slider-content {
  width:100%;
  max-width:440px;
  margin:auto;
  text-align:center;
  animation:otSliderEnter .45s ease both;
}

.ot-slider-eyebrow {
  color:#61d9f1;
  font-size:10px;
  font-weight:850;
  letter-spacing:2px;
  margin-bottom:14px;
}

.ot-slider-icon {
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  margin:0 auto 12px;
  border:1px solid rgba(70,205,255,.45);
  border-radius:16px;
  color:#62e4ee;
  background:rgba(0,155,255,.15);
  font-size:30px;
  font-weight:900;
}

.ot-slider-title {
  color:#fff !important;
  font-size:clamp(25px,3vw,36px) !important;
  font-weight:950 !important;
  margin:0 0 9px !important;
}

.ot-slider-description {
  max-width:370px;
  margin:0 auto 18px !important;
  color:#c3d8ef !important;
  font-size:13px !important;
  line-height:1.65 !important;
}

.ot-market-terminal,.ot-network-panel {
  width:100%;
  box-sizing:border-box;
  padding:15px;
  border:1px solid rgba(87,180,255,.3);
  border-radius:15px;
  background:rgba(3,15,34,.78);
  box-shadow:0 15px 35px rgba(0,0,0,.18);
  text-align:left;
}

.ot-terminal-top,.ot-market-pairs {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.ot-terminal-top {
  color:#d9edff;
  font-size:11px;
  font-weight:850;
}

.ot-market-status {
  color:#52dbb4;
  font-size:9px;
  letter-spacing:1px;
}

.ot-chart-bars {
  height:105px;
  display:flex;
  align-items:flex-end;
  gap:5px;
  padding:12px 3px;
  margin:10px 0;
  border-bottom:1px solid rgba(105,175,230,.2);
  background:repeating-linear-gradient(0deg,transparent 0 29px,rgba(100,170,230,.09) 30px);
}

.ot-chart-bars span {
  flex:1;
  min-width:3px;
  border-radius:3px 3px 0 0;
  background:linear-gradient(#21e2b1,#079d89);
}

.ot-chart-bars span.down {
  background:linear-gradient(#ff7888,#d94d6b);
}

.ot-market-pairs {
  border-top:1px solid rgba(100,170,230,.16);
  padding-top:11px;
}

.ot-market-pairs div {
  display:flex;
  flex-direction:column;
  gap:5px;
}

.ot-market-pairs span {
  color:#86a8c9;
  font-size:9px;
}

.ot-market-pairs strong {
  color:#e5f5ff;
  font-size:11px;
}

.ot-network-panel {
  text-align:center;
  color:#c7e5fa;
  padding:20px 14px;
}

.ot-network-node.main {
  display:inline-block;
  padding:11px 24px;
  border:1px solid #19b9ef;
  border-radius:11px;
  color:#fff;
  background:rgba(0,140,255,.2);
  font-size:13px;
  font-weight:900;
}

.ot-network-lines {
  color:#46d8c2;
  font-size:23px;
  padding:5px;
}

.ot-network-branches {
  display:flex;
  justify-content:space-around;
  gap:6px;
}

.ot-network-branches span {
  flex:1;
  padding:10px 4px;
  border:1px solid rgba(43,199,178,.3);
  border-radius:8px;
  color:#65e0cb;
  background:rgba(0,170,150,.09);
  font-size:9px;
  font-weight:800;
}

.ot-network-panel p {
  margin:14px 0 0;
  color:#a9c5df;
  font-size:10px;
}

.ot-slider-caption {
  margin-top:13px;
  color:#72cfff;
  font-size:9px;
  font-weight:850;
  letter-spacing:1.3px;
  text-align:center;
}

.ot-slider-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  margin-top:20px;
}

.ot-slider-arrow {
  width:32px;
  height:32px;
  border:1px solid rgba(90,190,255,.35);
  border-radius:50%;
  background:rgba(0,130,230,.13);
  color:#fff;
  font-size:22px;
  cursor:pointer;
}

.ot-slider-dots {
  display:flex;
  align-items:center;
  gap:8px;
}

.ot-slider-dots button {
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:10px;
  background:#55738f;
  cursor:pointer;
}

.ot-slider-dots button.active {
  width:23px;
  background:#21c9ee;
}

@keyframes otSliderEnter {
  from {opacity:0;transform:translateY(10px)}
  to {opacity:1;transform:translateY(0)}
}

@media(max-width:900px) {
  .ONNTRADE-signup-page {
    padding:12px !important;
  }
  .ONNTRADE-signup-card {
    display:flex !important;
    flex-direction:column !important;
    width:min(620px,100%) !important;
    margin:auto !important;
  }
  .ONNTRADE-signup-form-panel {
    order:1 !important;
    padding:25px 22px !important;
  }
  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    display:flex !important;
    order:2 !important;
    min-height:340px !important;
    padding:35px 20px 22px !important;
  }
}

@media(max-width:480px) {
  .ONNTRADE-signup-form-panel {
    padding:22px 16px !important;
  }
  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    min-height:320px !important;
    padding:32px 15px 20px !important;
  }
  .ot-chart-bars {
    height:85px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ot-slider-content {animation:none !important}
}
/* ===== END ONNTRADE SIGNUP COMPACT INTERACTIVE SLIDER V4 ===== */

/* ===== ONNTRADE SIGNUP DESKTOP VIEWPORT FIT V5 ===== */
@media (min-width:901px) {
  .ONNTRADE-signup-page {
    box-sizing:border-box !important;
    height:100vh !important;
    height:100dvh !important;
    min-height:0 !important;
    padding:8px 12px !important;
    overflow:hidden !important;
    align-items:center !important;
  }

  .ONNTRADE-signup-card {
    box-sizing:border-box !important;
    width:min(1060px,100%) !important;
    max-width:1060px !important;
    height:calc(100dvh - 16px) !important;
    max-height:640px !important;
    min-height:0 !important;
    grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr) !important;
    overflow:hidden !important;
  }

  .ONNTRADE-signup-form-panel {
    box-sizing:border-box !important;
    min-height:0 !important;
    padding:13px 23px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    overflow:hidden !important;
  }

  .ONNTRADE-signup-form-panel h1 {
    font-size:25px !important;
    line-height:1.15 !important;
    margin:0 0 4px !important;
  }

  .ONNTRADE-signup-form-panel .ONNTRADE-signup-subtitle {
    font-size:11px !important;
    line-height:1.35 !important;
    margin:0 0 12px !important;
  }

  .ONNTRADE-signup-field {
    margin:0 0 8px !important;
    gap:4px !important;
  }

  .ONNTRADE-signup-field label {
    font-size:11px !important;
    line-height:1.2 !important;
    margin:0 !important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select {
    box-sizing:border-box !important;
    height:39px !important;
    min-height:39px !important;
    padding:0 12px !important;
    font-size:12px !important;
    border-radius:9px !important;
  }

  .ONNTRADE-signup-consent {
    font-size:10px !important;
    line-height:1.35 !important;
    margin:3px 0 7px !important;
  }

  .ONNTRADE-signup-submit {
    min-height:41px !important;
    height:41px !important;
    font-size:13px !important;
    border-radius:10px !important;
  }

  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    box-sizing:border-box !important;
    height:100% !important;
    min-height:0 !important;
    padding:24px 24px 15px !important;
    overflow:hidden !important;
  }

  .ot-slider-content {
    max-width:390px !important;
  }

  .ot-slider-icon {
    width:43px !important;
    height:43px !important;
    margin-bottom:8px !important;
    font-size:25px !important;
  }

  .ot-slider-eyebrow {
    margin-bottom:9px !important;
  }

  .ot-slider-title {
    font-size:29px !important;
    margin-bottom:6px !important;
  }

  .ot-slider-description {
    font-size:12px !important;
    line-height:1.45 !important;
    margin-bottom:12px !important;
  }

  .ot-chart-bars {
    height:78px !important;
    margin:7px 0 !important;
    padding:8px 3px !important;
  }

  .ot-market-terminal {
    padding:12px !important;
  }

  .ot-network-panel {
    padding:14px 12px !important;
  }

  .ot-slider-caption {
    margin-top:8px !important;
  }

  .ot-slider-controls {
    margin-top:10px !important;
  }
}

@media (min-width:901px) and (max-height:650px) {
  .ONNTRADE-signup-form-panel {
    padding-top:8px !important;
    padding-bottom:8px !important;
  }

  .ONNTRADE-signup-field {
    margin-bottom:5px !important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select {
    height:35px !important;
    min-height:35px !important;
  }

  .ot-market-terminal {
    padding:9px !important;
  }

  .ot-chart-bars {
    height:60px !important;
  }
}
/* ===== END ONNTRADE SIGNUP DESKTOP VIEWPORT FIT V5 ===== */

/* ===== ONNTRADE SIGNUP EXTRA COMPACT DESKTOP V6 ===== */
@media (min-width:901px) {
  .ONNTRADE-signup-page {
    height:100dvh !important;
    min-height:0 !important;
    padding:5px 10px !important;
    overflow-y:auto !important;
    align-items:center !important;
  }

  .ONNTRADE-signup-card {
    width:min(1000px,100%) !important;
    max-width:1000px !important;
    height:auto !important;
    max-height:calc(100dvh - 10px) !important;
    min-height:0 !important;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr) !important;
    border-radius:16px !important;
  }

  .ONNTRADE-signup-form-panel {
    min-height:0 !important;
    padding:7px 19px !important;
    justify-content:center !important;
    overflow-y:auto !important;
  }

  .ONNTRADE-signup-form-panel h1 {
    font-size:22px !important;
    line-height:1.1 !important;
    margin:0 0 3px !important;
  }

  .ONNTRADE-signup-form-panel .ONNTRADE-signup-subtitle {
    font-size:10px !important;
    line-height:1.25 !important;
    margin:0 0 7px !important;
  }

  .ONNTRADE-signup-badge {
    font-size:9px !important;
    padding:4px 9px !important;
    margin:0 0 5px !important;
  }

  .ONNTRADE-signup-field {
    margin:0 0 4px !important;
    gap:2px !important;
  }

  .ONNTRADE-signup-field label {
    font-size:10px !important;
    line-height:1.15 !important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select {
    height:33px !important;
    min-height:33px !important;
    padding:0 10px !important;
    font-size:11px !important;
    border-radius:8px !important;
  }

  .ONNTRADE-signup-consent {
    font-size:9px !important;
    line-height:1.25 !important;
    margin:2px 0 4px !important;
  }

  .ONNTRADE-signup-submit {
    height:35px !important;
    min-height:35px !important;
    font-size:12px !important;
    border-radius:8px !important;
  }

  .ONNTRADE-signup-login {
    font-size:10px !important;
    margin:5px 0 0 !important;
    line-height:1.2 !important;
  }

  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    min-height:0 !important;
    height:100% !important;
    padding:16px 18px 10px !important;
  }

  .ot-slider-content {
    max-width:350px !important;
  }

  .ot-slider-eyebrow {
    font-size:9px !important;
    margin-bottom:6px !important;
  }

  .ot-slider-icon {
    width:35px !important;
    height:35px !important;
    margin-bottom:6px !important;
    font-size:21px !important;
    border-radius:11px !important;
  }

  .ot-slider-title {
    font-size:24px !important;
    margin:0 0 5px !important;
  }

  .ot-slider-description {
    font-size:10px !important;
    line-height:1.35 !important;
    margin:0 auto 8px !important;
  }

  .ot-market-terminal {
    padding:9px !important;
    border-radius:11px !important;
  }

  .ot-chart-bars {
    height:52px !important;
    margin:5px 0 !important;
    padding:5px 2px !important;
  }

  .ot-market-pairs {
    padding-top:7px !important;
  }

  .ot-market-pairs span {
    font-size:8px !important;
  }

  .ot-market-pairs strong {
    font-size:9px !important;
  }

  .ot-network-panel {
    padding:10px !important;
  }

  .ot-network-branches span {
    padding:7px 3px !important;
    font-size:8px !important;
  }

  .ot-slider-caption {
    font-size:8px !important;
    margin-top:6px !important;
  }

  .ot-slider-controls {
    margin-top:7px !important;
    gap:11px !important;
  }

  .ot-slider-arrow {
    width:27px !important;
    height:27px !important;
    font-size:19px !important;
  }
}

@media (min-width:901px) and (max-height:650px) {
  .ONNTRADE-signup-form-panel {
    padding-top:4px !important;
    padding-bottom:4px !important;
  }

  .ONNTRADE-signup-field {
    margin-bottom:3px !important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select {
    height:30px !important;
    min-height:30px !important;
  }

  .ot-slider-icon {
    display:none !important;
  }
}
/* ===== END ONNTRADE SIGNUP EXTRA COMPACT DESKTOP V6 ===== */

/* ===== ONNTRADE MOBILE SLIDER CARDS ONLY V7 ===== */
@media(max-width:900px) {

  /* Compact slider container */
  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    min-height:0 !important;
    height:auto !important;
    padding:13px 14px 10px !important;
    gap:8px !important;
    overflow:hidden !important;
  }

  /* Hide upper decorative and text content */
  .ONNTRADE-react-slider .ONNTRADE-showcase-back,
  .ONNTRADE-react-slider .ot-slider-eyebrow,
  .ONNTRADE-react-slider .ot-slider-icon,
  .ONNTRADE-react-slider .ot-slider-title,
  .ONNTRADE-react-slider .ot-slider-description,
  .ONNTRADE-react-slider .ot-slider-caption {
    display:none !important;
  }

  .ONNTRADE-react-slider .ot-slider-content {
    width:100% !important;
    max-width:420px !important;
    margin:0 auto !important;
  }

  /* Only dashboard cards remain visible */
  .ONNTRADE-react-slider .ot-market-terminal,
  .ONNTRADE-react-slider .ot-network-panel {
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:10px 12px !important;
    border-radius:12px !important;
  }

  .ONNTRADE-react-slider .ot-chart-bars {
    height:48px !important;
    margin:5px 0 !important;
    padding:4px 2px !important;
  }

  .ONNTRADE-react-slider .ot-market-pairs {
    padding-top:6px !important;
  }

  .ONNTRADE-react-slider .ot-network-node.main {
    padding:7px 18px !important;
    font-size:11px !important;
  }

  .ONNTRADE-react-slider .ot-network-lines {
    font-size:17px !important;
    padding:2px !important;
  }

  .ONNTRADE-react-slider .ot-network-branches span {
    padding:7px 3px !important;
    font-size:8px !important;
  }

  .ONNTRADE-react-slider .ot-network-panel p {
    margin-top:8px !important;
    font-size:9px !important;
  }

  .ONNTRADE-react-slider .ot-slider-controls {
    margin:3px auto 0 !important;
    gap:10px !important;
  }

  .ONNTRADE-react-slider .ot-slider-arrow {
    width:27px !important;
    height:27px !important;
    font-size:18px !important;
  }

  .ONNTRADE-react-slider .ot-slider-dots {
    gap:7px !important;
  }

  /* Compact signup form */
  .ONNTRADE-signup-form-panel {
    padding:17px 17px !important;
  }

  .ONNTRADE-signup-form-panel h1 {
    font-size:24px !important;
    margin-bottom:4px !important;
  }

  .ONNTRADE-signup-field {
    margin-bottom:7px !important;
    gap:3px !important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select {
    height:39px !important;
    min-height:39px !important;
  }

  .ONNTRADE-signup-submit {
    min-height:40px !important;
    height:40px !important;
  }
}
/* ===== END ONNTRADE MOBILE SLIDER CARDS ONLY V7 ===== */

/* ===== ONNTRADE MOBILE SIGNUP ONLY V8 ===== */
@media (max-width:900px) {

  .ONNTRADE-signup-showcase,
  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    display:none !important;
  }

  .ONNTRADE-signup-page {
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:100dvh !important;
    padding:10px !important;
    overflow:visible !important;
  }

  .ONNTRADE-signup-card {
    display:block !important;
    width:100% !important;
    max-width:600px !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    margin:0 auto !important;
    overflow:visible !important;
  }

  .ONNTRADE-signup-form-panel {
    display:flex !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    padding:22px 18px !important;
    overflow:visible !important;
  }
}
/* ===== END ONNTRADE MOBILE SIGNUP ONLY V8 ===== */

/* ===== ONNTRADE MOBILE FORM SINGLE COLUMN V9 ===== */
@media (max-width:900px) {

  .ONNTRADE-signup-showcase,
  .ONNTRADE-signup-showcase.ONNTRADE-react-slider {
    display:none !important;
  }

  .ONNTRADE-signup-page {
    display:block !important;
    width:100% !important;
    min-height:100dvh !important;
    height:auto !important;
    padding:12px !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
  }

  .ONNTRADE-signup-card {
    display:block !important;
    width:100% !important;
    max-width:520px !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    margin:0 auto !important;
    overflow:visible !important;
  }

  .ONNTRADE-signup-form-panel {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    padding:22px 18px !important;
    overflow:visible !important;
    box-sizing:border-box !important;
  }

  .ONNTRADE-signup-form-panel > * {
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .ONNTRADE-signup-form-panel h1 {
    display:block !important;
    width:100% !important;
    font-size:27px !important;
    line-height:1.2 !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    margin:5px 0 6px !important;
  }

  .ONNTRADE-signup-subtitle {
    display:block !important;
    width:100% !important;
    font-size:13px !important;
    line-height:1.5 !important;
    margin:0 0 16px !important;
  }

  .ONNTRADE-signup-badge {
    display:inline-flex !important;
    align-self:flex-start !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 0 10px !important;
  }

  .ONNTRADE-signup-form-panel form {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    gap:0 !important;
    box-sizing:border-box !important;
  }

  .ONNTRADE-signup-form-panel form > *,
  .ONNTRADE-signup-field {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    grid-column:1 / -1 !important;
  }

  .ONNTRADE-signup-field {
    margin:0 0 10px !important;
  }

  .ONNTRADE-signup-field label {
    display:block !important;
    width:100% !important;
    margin-bottom:5px !important;
  }

  .ONNTRADE-signup-field input,
  .ONNTRADE-signup-field select {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:43px !important;
    min-height:43px !important;
    box-sizing:border-box !important;
  }

  .ONNTRADE-signup-submit {
    display:block !important;
    width:100% !important;
    min-height:44px !important;
    margin-top:5px !important;
  }

  .ONNTRADE-signup-login {
    display:block !important;
    width:100% !important;
    text-align:center !important;
    margin-top:12px !important;
  }
}
/* ===== END ONNTRADE MOBILE FORM SINGLE COLUMN V9 ===== */


/* ONNTRADE MOBILE HEADER CLEANUP - SHARE + NOTIFICATIONS PRESERVED */
@media (max-width: 768px) {
  .mobile-menu-trigger,
  .top-profile-wrap {
    display: none !important;
  }
}


/* ONNTRADE PREMIUM GREETING STYLE */
.topbar h1.onn-greeting-title {
  font-family: Inter, "Segoe UI", sans-serif !important;
  font-size: clamp(22px, 2.2vw, 29px) !important;
  font-weight: 850 !important;
  letter-spacing: -1.1px !important;
  line-height: 1.2 !important;
  background: linear-gradient(100deg, #0756c9 0%, #087fe8 48%, #08b9c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 112, 220, .13));
}

@media (max-width: 600px) {
  .topbar h1.onn-greeting-title {
    font-size: 25px !important;
    letter-spacing: -.8px !important;
  }
}

/* ONNTRADE ACCOUNT OVERVIEW - MOBILE COMPACT HORIZONTAL ROWS */
@media (max-width: 700px) {
  .zx-info-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .zx-info-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 9px !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
  }

  .zx-info-row .zx-info-icon {
    display: inline-flex !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
  }

  .zx-info-row .zx-info-label {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 10px !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .zx-info-row strong {
    display: block !important;
    flex: 0 1 auto !important;
    max-width: 48% !important;
    min-width: 0 !important;
    font-size: 10px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
}

/* ONNTRADE FINAL MOBILE ACCOUNT OVERVIEW - ONE LINE */
@media (max-width: 768px) {
  html body #root .zx-info-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  html body #root .zx-info-grid .zx-info-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 7px 10px !important;
    box-sizing: border-box !important;
  }

  html body #root .zx-info-row .zx-info-icon {
    display: inline-flex !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html body #root .zx-info-row .zx-info-label {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  html body #root .zx-info-row > strong {
    display: block !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 55% !important;
    margin-left: auto !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* ===== ONNTRADE FINANCIAL SNAPSHOT UNIFIED BLUE CARDS ===== */
.zx-dashboard .zx-kpi {
  background: #d8eaff !important;
  border: 1px solid #8bbcff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(38, 112, 210, 0.10) !important;
  color: #172b49 !important;
}

.zx-dashboard .zx-kpi strong {
  color: #172b49 !important;
}

.zx-dashboard .zx-kpi span {
  color: #405b7d;
}

/* ===== ONNTRADE ADD FUNDS — PREMIUM WHITE BLUE UI ===== */

.mw-action-panel:has(.mw-auto-deposit-premium) {
  background: #ffffff !important;
  color: #183153 !important;
  border: 1px solid #d7e6f8 !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 70px rgba(15, 45, 85, .20) !important;
  box-sizing: border-box !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-action-panel-head {
  padding-bottom: 14px !important;
  border-bottom: 1px solid #e5edf7 !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-action-panel-title {
  color: #123b70 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-action-panel-text {
  color: #647994 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-action-close {
  background: #edf4ff !important;
  color: #245b9e !important;
  border: 1px solid #d4e4f8 !important;
}

/* Main deposit card */
.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium {
  margin: 14px 0 0 !important;
  padding: 22px !important;
  background: #f5f9ff !important;
  border: 1px solid #d9e8fa !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(30, 90, 160, .07) !important;
  color: #183153 !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium h3 {
  color: #164b86 !important;
  font-size: 19px !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium p {
  color: #647994 !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-amount {
  background: #ffffff !important;
  border: 1px solid #d8e6f7 !important;
  border-radius: 13px !important;
  padding: 16px !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium label,
.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-step-label {
  color: #234e7e !important;
  font-weight: 750 !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium input {
  background: #ffffff !important;
  color: #17385e !important;
  border: 1px solid #cbdcf0 !important;
  border-radius: 11px !important;
  min-height: 48px !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium input:focus {
  border-color: #3985d9 !important;
  box-shadow: 0 0 0 3px rgba(57, 133, 217, .12) !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium > div:has(svg) {
  background: #ffffff !important;
  border: 1px solid #d9e8fa !important;
  box-shadow: 0 5px 18px rgba(30, 90, 160, .09) !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium > div:not(:has(svg)) {
  background: #eaf3ff !important;
  border: 1px solid #cbdff7 !important;
  color: #174879 !important;
  overflow-wrap: anywhere !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium button {
  background: #e8f2ff !important;
  color: #1b5b9e !important;
  border: 1px solid #bdd6f5 !important;
  border-radius: 10px !important;
}

.mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium form button[type="submit"] {
  background: linear-gradient(110deg, #1768bd, #328be0) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 11px !important;
  min-height: 50px !important;
  font-weight: 800 !important;
  box-shadow: 0 7px 16px rgba(35, 111, 190, .20) !important;
}

/* Mobile modal layout */
@media (max-width: 768px) {
  .mw-action-panel:has(.mw-auto-deposit-premium) {
    width: calc(100vw - 24px) !important;
    max-width: 460px !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 18px !important;
    background: #ffffff !important;
  }

  .mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium {
    padding: 15px !important;
    margin-top: 12px !important;
  }

  .mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium h3 {
    font-size: 17px !important;
  }

  .mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium > div:has(svg) {
    max-width: 190px !important;
    box-sizing: border-box !important;
  }

  .mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium form {
    margin-top: 16px !important;
    padding-top: 16px !important;
  }
}

@media (max-width: 380px) {
  .mw-action-panel:has(.mw-auto-deposit-premium) {
    width: calc(100vw - 16px) !important;
    padding: 11px !important;
  }

  .mw-action-panel:has(.mw-auto-deposit-premium) .mw-auto-deposit-premium {
    padding: 12px !important;
  }
}

/* ===== END ADD FUNDS PREMIUM UI ===== */

/* ===== REMOVE OLD DUPLICATE DEPOSIT FORM ===== */
.mw-action-panel:has(.mw-auto-deposit-premium) > form.mw-form-grid {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Keep Transfer Funds form visible */
.mw-action-panel:not(:has(.mw-auto-deposit-premium)) > form.mw-form-grid {
  display: grid !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
/* ===== KEEP AUTOMATIC USDT DEPOSIT FLOW VISIBLE ===== */
.mw-action-panel .mw-auto-deposit-premium {
  display: block !important;
  visibility: visible !important;
}

/* =====================================================
   ONNTRADE PREMIUM WHITE + BLUE CARDS
   Dashboard + My Referral Empire
   CSS only - no API or calculation changes
===================================================== */

/* DASHBOARD: FINANCIAL SNAPSHOT */
.zx-dashboard .zx-kpi {
  background: #ffffff !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 20px rgba(35, 105, 190, .09) !important;
  color: #142b4d !important;
}

.zx-dashboard .zx-kpi strong {
  color: #142b4d !important;
}

.zx-dashboard .zx-kpi span {
  color: #526b8b !important;
}

/* DASHBOARD: ACCOUNT OVERVIEW + TRADE EARNINGS */
.zx-dashboard .zx-panel {
  background: #eaf3ff !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(35, 105, 190, .08) !important;
  color: #142b4d !important;
}

.zx-dashboard .zx-panel-head h2 {
  color: #142b4d !important;
}

.zx-dashboard .zx-info-grid > *,
.zx-dashboard .zx-income {
  background: #ffffff !important;
  border: 1px solid #c8ddfb !important;
  border-radius: 13px !important;
  color: #142b4d !important;
}

.zx-dashboard .zx-income b,
.zx-dashboard .zx-income-amount {
  color: #142b4d !important;
}

.zx-dashboard .zx-income span {
  color: #526b8b !important;
}

/* REFERRAL EMPIRE: UNIQUE PAGE ROOT */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"]) {
  color: #142b4d !important;
}

/* REFERRAL EMPIRE: TOP BANNER */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"]) > div:first-child {
  background: linear-gradient(135deg, #ffffff, #eaf3ff) !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(35, 105, 190, .09) !important;
  color: #142b4d !important;
}

/* REFERRAL EMPIRE: INCOME CARDS */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div[style*="minmax(180px"] > div {
  background: #ffffff !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 20px rgba(35, 105, 190, .08) !important;
  color: #142b4d !important;
}

/* REFERRAL EMPIRE: TEAM OVERVIEW PANEL */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div[style*="padding: 14px"] {
  background: #eaf3ff !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(35, 105, 190, .08) !important;
  color: #142b4d !important;
}

/* REFERRAL EMPIRE: TEAM STAT CARDS */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  [style*="min-height: 88px"] {
  background: #ffffff !important;
  border: 1px solid #b9d6ff !important;
  border-radius: 15px !important;
  box-shadow: 0 7px 18px rgba(35, 105, 190, .08) !important;
  color: #142b4d !important;
}

/* REFERRAL EMPIRE: TEXT COLOURS */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  h1,
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  h2 {
  color: #142b4d !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  p,
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  span {
  color: #42618d !important;
}

/* REFERRAL EMPIRE: POSITIVE ACCENTS */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  button {
  color: #0759c7;
}

@media (max-width: 700px) {
  .zx-dashboard .zx-kpi,
  .zx-dashboard .zx-panel {
    border-radius: 14px !important;
  }

  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"]) {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}

/* END ONNTRADE PREMIUM WHITE BLUE CARDS */

/* REFERRAL CARDS START */
[style*="minmax(180px, 1fr)"][style*="gap: 9px"] > div,
[style*="minmax(145px, 1fr)"][style*="gap: 9px"] > div,
[style*="minmax(145px, 1fr)"][style*="gap: 9px"] > button > div {
  border: 1px solid color-mix(in srgb, var(--rc, #2563eb) 25%, #fff) !important;
  border-top: 4px solid var(--rc, #2563eb) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc, #2563eb) 10%, #fff), #fff 70%) !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--rc, #2563eb) 14%, transparent) !important;
  border-radius: 16px !important;
}

/* REFERRAL V2 START */
html body [style*="minmax(180px, 1fr)"][style*="gap: 9px"] > div,
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > div,
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > button > div {
  border: 1px solid color-mix(in srgb, var(--rc, #2563eb) 30%, #fff) !important;
  border-top: 5px solid var(--rc, #2563eb) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc, #2563eb) 12%, #fff), #fff 75%) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--rc, #2563eb) 16%, transparent) !important;
  border-radius: 16px !important;
}
html body [style*="minmax(180px, 1fr)"][style*="gap: 9px"] > :nth-child(1) { --rc: #2563eb; }
html body [style*="minmax(180px, 1fr)"][style*="gap: 9px"] > :nth-child(2) { --rc: #f97316; }
html body [style*="minmax(180px, 1fr)"][style*="gap: 9px"] > :nth-child(3) { --rc: #8b5cf6; }
html body [style*="minmax(180px, 1fr)"][style*="gap: 9px"] > :nth-child(4) { --rc: #10b981; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(1) { --rc: #2563eb; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(2) { --rc: #10b981; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(3) { --rc: #ef4444; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(4) { --rc: #2563eb; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(5) { --rc: #10b981; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(6) { --rc: #ef4444; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(7) { --rc: #10b981; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(8) { --rc: #f97316; }
html body [style*="minmax(145px, 1fr)"][style*="gap: 9px"] > :nth-child(9) { --rc: #06b6d4; }
/* REFERRAL V2 END */

/* ==========================================
   ONNTRADE REFERRAL EMPIRE PREMIUM CARDS
   REFERRAL PAGE ONLY - SAFE SCOPED UPDATE
   ========================================== */

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"]) {
  color: #142b4d !important;
}

/* Income cards */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div {
  background: linear-gradient(145deg,#ffffff,#f0f6ff) !important;
  border: 1px solid #c5dcff !important;
  border-top: 4px solid #287cf0 !important;
  border-radius: 15px !important;
  color: #142b4d !important;
  box-shadow: 0 6px 20px rgba(35,105,190,.09) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:nth-child(4n+2) {
  border-top-color: #ffad19 !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:nth-child(4n+3) {
  border-top-color: #8b5cf6 !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:nth-child(4n+4) {
  border-top-color: #10b981 !important;
}

/* Team Overview container */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) {
  background: linear-gradient(145deg,#edf5ff,#e5f0ff) !important;
  border: 1px solid #bfd8ff !important;
  border-radius: 18px !important;
}

/* Team Overview individual cards */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) [style*="grid-template-columns"] > div {
  background: linear-gradient(145deg,#ffffff,#f4f8ff) !important;
  border: 1px solid #c6dcff !important;
  border-top: 3px solid #287cf0 !important;
  border-radius: 13px !important;
  color: #142b4d !important;
  box-shadow: 0 5px 15px rgba(35,105,190,.08) !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) [style*="grid-template-columns"] > div:nth-child(4n+2) {
  border-top-color: #ffad19 !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) [style*="grid-template-columns"] > div:nth-child(4n+3) {
  border-top-color: #8b5cf6 !important;
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) [style*="grid-template-columns"] > div:nth-child(4n+4) {
  border-top-color: #10b981 !important;
}

/* Preserve mobile layout */
@media(max-width:768px) {
  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div[style*="minmax(180px"] > div,
  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div:nth-child(3) [style*="grid-template-columns"] > div {
    border-radius: 12px !important;
  }
}

/* END REFERRAL EMPIRE PREMIUM CARDS */

/* ===== ONNTRADE REFERRAL EMPIRE — PREMIUM ANIMATED CARDS ===== */
@keyframes onnReferralCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes onnReferralShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes onnReferralIconFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"]) {
  --onn-ref-blue: #2878ff;
  --onn-ref-purple: #8957ff;
  --onn-ref-orange: #ff9d16;
  --onn-ref-green: #08b987;
}

/* Income cards */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(145deg,#ffffff 0%,#f2f7ff 100%) !important;
  border: 1px solid #c9dcff !important;
  border-radius: 17px !important;
  box-shadow: 0 5px 16px rgba(35,105,210,.09) !important;
  animation: onnReferralCardIn .55s ease both;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,#2878ff,#54b7ff);
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:nth-child(2)::before {
  background: linear-gradient(90deg,#ff9d16,#ffd05a);
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:nth-child(3)::before {
  background: linear-gradient(90deg,#8957ff,#c19aff);
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:nth-child(4)::before {
  background: linear-gradient(90deg,#08b987,#62dfb8);
}

/* Team Overview cards — scoped to Referral Empire only */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) > div[style*="grid-template-columns"] > div {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(145deg,#ffffff 0%,#f1f7ff 100%) !important;
  border: 1px solid #c8dcff !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 15px rgba(35,105,210,.08) !important;
  animation: onnReferralCardIn .6s ease both;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) > div[style*="grid-template-columns"] > div::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,#2878ff,#63b9ff);
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) > div[style*="grid-template-columns"] > div:nth-child(3n+2)::before {
  background: linear-gradient(90deg,#ff9d16,#ffd05a);
}
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) > div[style*="grid-template-columns"] > div:nth-child(3n)::before {
  background: linear-gradient(90deg,#8957ff,#c19aff);
}

/* Hover interaction */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div:hover,
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) > div[style*="grid-template-columns"] > div:hover {
  transform: translateY(-5px) !important;
  border-color: #78aaff !important;
  box-shadow: 0 13px 27px rgba(35,105,210,.17) !important;
}

/* Card typography */
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div[style*="minmax(180px"] > div strong,
div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
> div:nth-child(3) > div[style*="grid-template-columns"] > div strong {
  color: #102d56 !important;
}
@media (max-width: 700px) {
  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div[style*="minmax(180px"] > div,
  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div:nth-child(3) > div[style*="grid-template-columns"] > div {
    border-radius: 14px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div[style*="minmax(180px"] > div,
  div[style*="16px 20px 40px"]:has(> div[style*="linear-gradient(135deg"])
  > div:nth-child(3) > div[style*="grid-template-columns"] > div {
    animation: none !important;
    transition: none !important;
  }
}
/* ===== END REFERRAL EMPIRE CARD UPDATE ===== */

/* ===== ONNTRADE MY WALLET TRANSFER - COMPACT MOBILE POPUP ===== */
@media (max-width: 768px) {
  #root .my-wallet-page .mw-action-panel {
    width: calc(100vw - 24px) !important;
    max-width: 390px !important;
    max-height: min(520px, calc(100dvh - 20px)) !important;
    padding: 12px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border-radius: 15px !important;
  }

  #root .my-wallet-page .mw-action-panel-head {
    gap: 7px !important;
    margin-bottom: 9px !important;
  }

  #root .my-wallet-page .mw-action-panel-title {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  #root .my-wallet-page .mw-action-panel-text {
    display: none !important;
  }

  #root .my-wallet-page .mw-form-grid {
    gap: 8px !important;
  }

  #root .my-wallet-page .mw-form-field {
    gap: 4px !important;
    margin: 0 !important;
  }

  #root .my-wallet-page .mw-form-field input,
  #root .my-wallet-page .mw-form-field select {
    min-height: 39px !important;
    height: 39px !important;
    padding: 8px 11px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  #root .my-wallet-page .mw-deposit-info {
    margin-top: 2px !important;
    padding: 9px 11px !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    border-radius: 11px !important;
  }

  #root .my-wallet-page .mw-form-actions {
    margin-top: 4px !important;
    gap: 7px !important;
  }

  #root .my-wallet-page .mw-form-actions button,
  #root .my-wallet-page .mw-primary-action {
    min-height: 42px !important;
    height: 42px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 380px) {
  #root .my-wallet-page .mw-action-panel {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 10px !important;
  }
}
/* ===== END COMPACT TRANSFER POPUP ===== */

/* ===== ONNTRADE MOBILE NAVIGATION CLICK FIX ===== */
@media (max-width: 700px) {

  .mobile-client-nav {
    position: fixed !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-around !important;
    pointer-events: auto !important;
    isolation: isolate !important;
  }

  .mobile-client-nav .mobile-nav-item {
    position: relative !important;
    z-index: 1 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
  }

  .mobile-client-nav .mobile-nav-item > span {
    pointer-events: none !important;
  }

  .mobile-more-panel {
    z-index: 2147482999 !important;
    pointer-events: auto !important;
  }

  .mobile-more-panel button {
    position: relative !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
}
