:root {
  --ltc-ink: #0b2230;
  --ltc-deep: #0b2e3a;
  --ltc-deeper: #071d28;
  --ltc-teal: #148c82;
  --ltc-teal-light: #55c9b9;
  --ltc-gold: #f4bd55;
  --ltc-paper: #f7faf9;
  --ltc-muted: #617681;
  --ltc-line: #d8e5e5;
}

html, body { min-height: 100%; }
body { background: var(--ltc-paper) !important; color: var(--ltc-ink) !important; }
.login { min-height: 100vh; background: var(--ltc-paper) !important; }

.login_left_combo_parent {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 14% 15%, rgba(85,201,185,.19), transparent 27%),
    radial-gradient(circle at 87% 82%, rgba(244,189,85,.13), transparent 28%),
    linear-gradient(145deg, var(--ltc-deeper), var(--ltc-deep)) !important;
  border-right: 1px solid rgba(255,255,255,.08) !important;
}
.login_left_combo_parent > svg,
.login_left_combo_parent .login_left_combo { display: none !important; }
.login_left_combo_parent > img {
  position: absolute !important;
  inset: 50% auto auto 50% !important;
  width: min(72%, 420px) !important;
  height: auto !important;
  object-fit: contain !important;
  transform: translate(-50%, -50%) !important;
}
.ks-login-brand-logo,
.ks-register-brand-logo {
  width: min(100%, 420px) !important;
  max-height: 104px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.ks-login-kicker,
.ks-register-kicker { color: #b9ddd9 !important; }
.ks-login-kicker::before,
.ks-register-kicker::before,
.ks-login-trading-line span,
.ks-register-trading-line span { background: linear-gradient(90deg, var(--ltc-gold), var(--ltc-teal-light)) !important; }
.ks-login-brand-title span,
.ks-register-brand-title span,
.social_toggle,
.remember-row a,
.signup__ a { color: var(--ltc-teal-light) !important; }
.ks-login-trader-slide:nth-child(n) strong,
.ks-register-trader-slide:nth-child(n) strong { color: var(--ltc-gold) !important; }

.col-md-6,
body:not(.light-mode) .col-md-6 { background: var(--ltc-paper) !important; color: var(--ltc-ink) !important; }
.login_innre .title,
.login_innre label,
.login_innre p,
.login_innre span { color: var(--ltc-ink) !important; }
.login_innre .desc { color: var(--ltc-muted) !important; }
.wow_form_fields input {
  background: #ffffff !important;
  color: var(--ltc-ink) !important;
  border: 1px solid #b9cecf !important;
}
.wow_form_fields input:focus {
  border-color: var(--ltc-teal) !important;
  outline: 3px solid rgba(20,140,130,.14) !important;
}
.btn-main,
.login__ .btn-main {
  background: linear-gradient(135deg, #0c756f, #15998c) !important;
  border-color: #0c756f !important;
  color: #ffffff !important;
}
.btn-outline-secondary,
a.btn-outline-secondary {
  background: #ffffff !important;
  border-color: #9bb5b6 !important;
  color: var(--ltc-ink) !important;
}
.social_primary { color: var(--ltc-ink) !important; border-color: #b9cecf !important; background: #fff !important; }
.footer, .welcome-footer { color: var(--ltc-muted) !important; }
.footer a, .welcome-footer a { color: #0d756f !important; }

.ltc-auth-note {
  margin: 0 0 24px;
  padding: 15px 17px;
  border: 1px solid #cce1df;
  border-left: 4px solid var(--ltc-gold);
  border-radius: 12px;
  background: #edf7f5;
  color: #405d64 !important;
  line-height: 1.55;
}

.wo_terms_page .setting-well {
  max-width: 1040px;
  margin: 0 auto 48px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--ltc-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7,29,40,.08);
  color: #273f4a;
  font-size: 16px;
  line-height: 1.72;
}
.wo_terms_page h2 { margin: 1.6em 0 .4em; color: var(--ltc-deep); font-size: 24px; }
.wo_terms_page h3 { color: var(--ltc-deep); font-size: 18px; }
.wo_terms_page ul { padding-left: 22px; }
.wow_main_float_head.contactus {
  background: linear-gradient(135deg, var(--ltc-deeper), #0e5660) !important;
}

@media (prefers-color-scheme: dark) {
  body:not(.light-mode), body:not(.light-mode) .login { background: #07191f !important; color: #ecf7f5 !important; }
  body:not(.light-mode) .col-md-6 { background: #0c222a !important; }
  body:not(.light-mode) .login_innre .title,
  body:not(.light-mode) .login_innre label,
  body:not(.light-mode) .login_innre p,
  body:not(.light-mode) .login_innre span { color: #ecf7f5 !important; }
  body:not(.light-mode) .login_innre .desc { color: #aac0c3 !important; }
  body:not(.light-mode) .wow_form_fields input { background: #07191f !important; color: #fff !important; border-color: #35545a !important; }
  body:not(.light-mode) .btn-outline-secondary,
  body:not(.light-mode) a.btn-outline-secondary { background: #102c34 !important; color: #fff !important; border-color: #47666c !important; }
  body:not(.light-mode) .social_primary { background: #102c34 !important; color: #fff !important; border-color: #47666c !important; }
  body:not(.light-mode) .ltc-auth-note { background: #0e3034; border-color: #28545a; color: #d4e8e5 !important; }
  body:not(.light-mode) .wo_terms_page .setting-well { background: #0c222a; border-color: #29464d; color: #d5e5e4; }
  body:not(.light-mode) .wo_terms_page h2,
  body:not(.light-mode) .wo_terms_page h3 { color: #f2c76f; }
}

@media (max-width: 991px) {
  body:not(.in-iframe) .login_left_combo_parent { min-height: 176px !important; max-height: 220px !important; }
  body:not(.in-iframe) .login_left_combo_parent > img { width: min(72%, 360px) !important; }
  .login_innre { padding: 34px 24px !important; }
}


/* LTC Star supplied logo and King Signals-aligned Google control */
.ks-login-brand-logo{width:min(250px,72vw)!important;height:auto!important;max-height:86px!important;object-fit:contain!important}
.social_primary{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body:not(.light-mode) .social_primary{background:transparent!important;border-color:transparent!important}


/* LTC Star: keep the primary Google control aligned with the King Signals auth layout. */
.social_primary {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:not(.light-mode) .social_primary {
  background: transparent !important;
  border-color: transparent !important;
}
