/* ===== Halo Trader Auth Split (v2) ===== */
body {
  background: radial-gradient(
      900px 560px at 20% 25%,
      rgba(34, 197, 94, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, #05070b, #070a10) !important;
}
.ht-auth {
  width: 100vw !important;
  min-height: 100vh !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;

  --g: #38f27b;
  --g2: #1bda61;

  --left: #05070b;
  --right: #05070b;

  --text: rgba(229, 231, 235, 0.92);
  --muted: rgba(148, 163, 184, 0.74);
  --line: rgba(255, 255, 255, 0.1);

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.ht-auth h1,
.ht-auth h2 {
  font-family: "Inter", sans-serif !important;
  color: #fff !important;
}
.ht-auth,
.ht-auth * {
  box-sizing: border-box !important;
}
.ht-auth svg {
  display: block;
}
.ht-auth label,
.ht-auth p,
.ht-auth h1 {
  margin: 0 !important;
}

.ht-auth__shell {
  min-height: 100vh !important;
  display: flex !important;
  align-items: stretch !important;
}

/* LEFT */
.ht-auth__left {
  width: 50% !important;
  min-height: 100vh !important;
  background: radial-gradient(
      900px 560px at 20% 25%,
      rgba(34, 197, 94, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, #05070b, #070a10) !important;
  padding: 34px 64px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}
.ht-auth__left:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
      700px 420px at 14% 60%,
      rgba(34, 197, 94, 0.07),
      transparent 58%
    ),
    radial-gradient(
      520px 360px at 70% 25%,
      rgba(34, 197, 94, 0.06),
      transparent 62%
    );
  opacity: 0.9;
  pointer-events: none;
}
.ht-auth__left > * {
  position: relative;
  z-index: 1;
}

.ht-auth__top,
.ht-auth__mid,
.ht-auth__bottom {
  width: min(560px, 100%) !important;
}

/* brand */
.ht-auth__top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}
.ht-auth__logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ht-auth__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.ht-auth__brandSmall {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(229, 231, 235, 0.86);
  font-size: 13px;
}

/* mid */
.ht-auth__mid {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 14px !important;
}

/* tabs clean */
.ht-tabs {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-end;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.ht-tab {
  all: unset;
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(229, 231, 235, 0.58);
  padding: 6px 0;
}
.ht-tab.is-active {
  color: rgba(229, 231, 235, 0.92);
}
.ht-tabs__indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, var(--g2), var(--g));
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
  border-radius: 999px;
  transform: translateX(0);
  transition: transform 0.25s ease, width 0.25s ease;
}

/* head swap */
.ht-head {
  display: none;
}
.ht-auth[data-ht-mode="login"] .ht-head[data-ht-head="login"] {
  display: block;
}
.ht-auth[data-ht-mode="register"] .ht-head[data-ht-head="register"] {
  display: block;
}

.ht-head h1 {
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}
.ht-head p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* alerts */
.ht-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: rgba(229, 231, 235, 0.92);
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
}

/* forms */
.ht-form {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.ht-auth[data-ht-mode="login"] .ht-form[data-ht-form="login"] {
  display: flex;
}
.ht-auth[data-ht-mode="register"] .ht-form[data-ht-form="register"] {
  display: flex;
}

.ht-field span {
  display: block;
  color: rgba(229, 231, 235, 0.62);
  font-size: 12px;
}

.ht-input {
  height: 48px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0 12px;
}
.ht-input:focus-within {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.ht-ic {
  width: 18px;
  height: 18px;
  color: rgba(34, 197, 94, 0.85);
  opacity: 0.9;
  flex: 0 0 auto;
}

.ht-input input {
  all: unset;
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  color: rgba(229, 231, 235, 0.92);
  font-size: 13.5px;
}
.ht-input input::placeholder {
  color: rgba(148, 163, 184, 0.68);
}

/* eye simple (no icon box) */
.ht-eye {
  all: unset !important;
  width: 36px !important;
  height: 36px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.8 !important;
}
.ht-eye:hover {
  opacity: 1;
}
.ht-eye__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(229, 231, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.ht-eye.is-on .ht-eye__dot {
  background: rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
}

/* row */
.ht-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}
.ht-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(229, 231, 235, 0.62);
  font-size: 12.5px;
}
.ht-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--g);
  margin: 0;
}

.ht-link {
  color: rgba(34, 197, 94, 0.95);
  font-weight: 900;
  font-size: 12.5px;
  text-decoration: none;
}
.ht-link:hover {
  text-decoration: underline;
}

/* buttons */
.ht-btn {
  all: unset;
  height: 48px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, var(--g2), var(--g));
  color: #04110a;
  font-weight: 950;
  font-size: 13.5px;

  box-shadow: 0 18px 46px rgba(34, 197, 94, 0.18);
  margin-top: 6px;
}
.ht-btn:hover {
  filter: brightness(1.03);
}
.ht-btn:active {
  transform: translateY(1px);
}

.ht-btnGhost {
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 231, 235, 0.9);
  font-weight: 900;
  font-size: 13px;
}
.ht-btnGhost:hover {
  border-color: rgba(34, 197, 94, 0.22);
  box-shadow: 0 18px 46px rgba(34, 197, 94, 0.1);
}
.ht-g {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 950;
}

/* divider */
.ht-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}
.ht-or span {
  height: 1px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.1);
}
.ht-or em {
  font-style: normal;
  font-size: 12px;
  color: rgba(229, 231, 235, 0.52);
}

/* switch */
.ht-switch {
  text-align: center;
  color: rgba(229, 231, 235, 0.58);
  font-size: 12.5px;
  margin-top: 4px;
}
.ht-switch__link {
  color: rgba(34, 197, 94, 0.95);
  font-weight: 900;
  text-decoration: none;
}
.ht-switch__link:hover {
  text-decoration: underline;
}

/* bottom note */
.ht-auth__bottom p {
  color: rgba(229, 231, 235, 0.52);
  font-size: 12px;
  line-height: 1.6;
}

/* SPLIT visual separator */
.ht-auth__split {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(34, 197, 94, 0.22),
    rgba(255, 255, 255, 0.12),
    rgba(34, 197, 94, 0.22),
    transparent
  );
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.22);
  position: relative;
}

/* RIGHT */
.ht-auth__right {
  width: 50%;
  min-height: 100vh;
  background: radial-gradient(
      900px 560px at 70% 40%,
      rgba(34, 197, 94, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #05070b, #060a10);
  position: relative;
  overflow: hidden;
}

.ht-market {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ht-market__grid {
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    780px 440px at 60% 40%,
    rgba(34, 197, 94, 0.14),
    transparent 60%
  );
  pointer-events: none;
}
.ht-market__grid:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.1;
}
.ht-market__grid:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    820px 520px at 80% 20%,
    rgba(34, 197, 94, 0.1),
    transparent 60%
  );
  filter: blur(18px);
  opacity: 0.9;
}

/* Candles (bars) */
.ht-candles {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  height: 36%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  opacity: 0.75;
  pointer-events: none;
}
.ht-candles .c {
  width: 10px;
  height: var(--h);
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(34, 197, 94, 0.95),
    rgba(34, 197, 94, 0.18)
  );
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.18);
  transform-origin: bottom;
  animation: htCandle 2.8s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes htCandle {
  0%,
  100% {
    transform: scaleY(0.88);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1.05);
    opacity: 0.95;
  }
}

/* Chart */
.ht-chart {
  position: absolute;
  left: -6%;
  right: -6%;
  top: 14%;
  height: 55%;
  opacity: 0.95;
  pointer-events: none;
}
.ht-chart svg {
  width: 100%;
  height: 100%;
}
.ht-chart__line {
  fill: none;
  stroke: rgba(34, 197, 94, 0.95);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.38))
    drop-shadow(0 0 34px rgba(34, 197, 94, 0.18));
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: htDraw 2.6s ease-out forwards,
    htWave 3.4s ease-in-out infinite 2.6s;
}
.ht-chart__area {
  opacity: 0.95;
  filter: blur(0.2px);
}
@keyframes htDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes htWave {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.78;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Right centered content (no box) */
.ht-rightCenter {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 18px;
}
.ht-rightCenter__logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(34, 197, 94, 0.18));
}
.ht-rightCenter__title {
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(229, 231, 235, 0.92);
}
.ht-rightCenter__sub {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.78);
}

/* ticker */
.ht-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 32px;
  overflow: hidden;
  opacity: 0.85;
  pointer-events: none;
}
.ht-ticker__track {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  will-change: transform;
  animation: htTicker 18s linear infinite;
  padding-left: 20px;
}
.ht-ticker__track span {
  color: rgba(229, 231, 235, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.ht-ticker__track i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
  opacity: 0.7;
}
@keyframes htTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive: stack */
@media (max-width: 980px) {
  .ht-auth__shell {
    flex-direction: column;
  }
  .ht-auth__left,
  .ht-auth__right {
    width: 100% !important;
  }
  .ht-auth__split {
    width: 100%;
    height: 1px;
  }
  .ht-auth__split {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(34, 197, 94, 0.22),
      rgba(255, 255, 255, 0.1),
      rgba(34, 197, 94, 0.22),
      transparent
    );
  }
  .ht-auth__left {
    padding: 26px 18px 18px !important;
    min-height: auto !important;
  }
  .ht-auth__right {
    min-height: 52vh;
  }
  .ht-head h1 {
    font-size: 26px;
  }
}

/* =========================================================
   HOTFIX OVERRIDE (theme/template kadang override input/button)
   taruh PALING BAWAH ht-auth.css
   ========================================================= */

/* hilangkan separator putih, cukup beda tone kiri vs kanan */
.ht-auth__split {
  display: none !important;
}

/* beda tone kiri/kanan lebih halus */
.ht-auth__left {
  background: radial-gradient(
      900px 560px at 20% 25%,
      rgba(34, 197, 94, 0.08),
      transparent 62%
    ),
    linear-gradient(180deg, #05070b, #070a10) !important;
}
.ht-auth__right {
  background: radial-gradient(
      900px 560px at 65% 38%,
      rgba(34, 197, 94, 0.16),
      transparent 62%
    ),
    linear-gradient(180deg, #05070b, #060b10) !important;
}

/* ---- FORCE RESET untuk button/input bawaan theme ---- */
.ht-auth button,
.ht-auth input,
.ht-auth a {
  font-family: inherit !important;
}

/* tabs jangan ikut style theme (misal jadi pink) */
.ht-auth .ht-tab {
  all: unset !important;
  cursor: pointer !important;
  display: inline-block !important;
  padding: 6px 0 !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  letter-spacing: 0.01em !important;
  color: rgba(229, 231, 235, 0.6) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ht-auth .ht-tab.is-active {
  color: rgba(229, 231, 235, 0.92) !important;
}
.ht-auth .ht-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.ht-auth .ht-tabs__indicator {
  background: linear-gradient(90deg, var(--g2), var(--g)) !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.45) !important;
}

/* input wrapper dan input benar-benar ikut kita */
.ht-auth .ht-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}
.ht-auth .ht-input input {
  all: unset !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(229, 231, 235, 0.92) !important;
  font-size: 13.5px !important;
  height: 48px !important;
  width: 100% !important;
}
.ht-auth .ht-input input::placeholder {
  color: rgba(148, 163, 184, 0.68) !important;
}

/* tombol utama (Masuk/Buat Akun) jangan kena style theme */
.ht-auth .ht-btn {
  all: unset !important;
  height: 48px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 16px !important;
  cursor: pointer !important;

  background: linear-gradient(135deg, var(--g2), var(--g)) !important;
  color: #04110a !important;
  font-weight: 950 !important;
  font-size: 13.5px !important;

  border: 0 !important;
  box-shadow: 0 18px 46px rgba(34, 197, 94, 0.18) !important;
  text-decoration: none !important;
}
.ht-auth .ht-btn:hover {
  filter: brightness(1.03) !important;
}
.ht-auth .ht-btn:active {
  transform: translateY(1px) !important;
}

/* tombol google */
.ht-auth .ht-btnGhost {
  all: unset !important;
  height: 48px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  border-radius: 16px !important;
  cursor: pointer !important;

  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(229, 231, 235, 0.9) !important;
  font-weight: 900 !important;
  font-size: 13px !important;

  box-shadow: none !important;
  text-decoration: none !important;
}

/* =========================================================
   RIGHT SIDE: logo lebih besar + bar chart mirip referensi
   ========================================================= */

.ht-rightCenter {
  z-index: 4 !important;
}
.ht-rightCenter__logo {
  width: 110px !important;
  height: 110px !important;
  filter: drop-shadow(0 22px 60px rgba(34, 197, 94, 0.22)) !important;
}
.ht-rightCenter__title {
  font-size: 20px !important;
  letter-spacing: -0.02em !important;
}
.ht-rightCenter__sub {
  font-size: 13.5px !important;
  opacity: 0.9 !important;
}

/* bar chart: lebih rapat, rounded, glow halus */
.ht-candles {
  position: absolute !important;
  left: 12% !important;
  right: 12% !important;
  bottom: 16% !important;
  height: 42% !important;

  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 12px !important;

  opacity: 0.85 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.ht-candles .c {
  width: 14px !important;
  height: var(--h) !important;
  border-radius: 999px !important;

  background: linear-gradient(
    180deg,
    rgba(34, 197, 94, 0.95),
    rgba(34, 197, 94, 0.35)
  ) !important;

  box-shadow: 0 0 18px rgba(34, 197, 94, 0.2), 0 0 38px rgba(34, 197, 94, 0.1) !important;

  transform-origin: bottom !important;
  animation: htBarPulse 3.2s ease-in-out infinite !important;
  animation-delay: var(--d) !important;
}

@keyframes htBarPulse {
  0%,
  100% {
    transform: scaleY(0.9);
    opacity: 0.55;
    filter: blur(0px);
  }
  50% {
    transform: scaleY(1.05);
    opacity: 0.95;
    filter: blur(0.05px);
  }
}

/* chart line sedikit lebih “trade” dan rapih */
.ht-chart {
  top: 10% !important;
  height: 58% !important;
  opacity: 0.95 !important;
  z-index: 1 !important;
}
.ht-chart__line {
  stroke-width: 4.5 !important;
  filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.4))
    drop-shadow(0 0 44px rgba(34, 197, 94, 0.18)) !important;
}

/* ticker lebih kecil biar fokus ke visual */
.ht-ticker {
  opacity: 0.75 !important;
}
/* ===== Password toggle eye icons ===== */
.ht-auth .ht-eye {
  all: unset !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border-radius: 12px !important;
  opacity: 0.85 !important;
}
.ht-auth .ht-eye:hover {
  opacity: 1 !important;
}

.ht-auth .ht-eye__icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}
.ht-auth .ht-eye-ic {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

/* default: show "eye open", hide "eye off" */
.ht-auth .ht-eye-off {
  display: none !important;
}

/* ketika password sedang terlihat (JS kasih class is-on), swap icon */
.ht-auth .ht-eye.is-on .ht-eye-open {
  display: none !important;
}
.ht-auth .ht-eye.is-on .ht-eye-off {
  display: block !important;
}
/* disable google button kalau href="#" */
.ht-auth a.ht-btnGhost[href="#"]{
  pointer-events:none !important;
  opacity:.55 !important;
  cursor:not-allowed !important;
}