:root {
  --glass-bg: rgba(22, 27, 34, 0.85);
  --glass-border: rgba(48, 54, 61, 0.6);
  --accent-1: #10b981;
  --accent-2: #06b6d4;
  --accent-3: #06b6d4;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --text-primary: #e6edf3;
  --glow-green: rgba(16, 185, 129, 0.4);
}

html,
body {
  height: 100%;
  background: #0d1117 !important;
  background-color: #0d1117 !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #0d1117 !important;
  background-color: #0d1117 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary, #e6edf3);
}

/* Responsive layout helpers */
.layout-shell {
  min-height: 100vh;
}

.left-panel,
.form-panel {
  width: 100%;
}

.form-panel {
  background:
    url('../image/trade-bg.jpg') center center / cover no-repeat;
}

@media (max-width:1023px) {
  .left-panel {
    padding: 3.5rem 2rem 2.75rem;
    min-height: 320px;
  }

  .form-panel {
    padding: 3rem 1.75rem;
  }
}

@media (max-width:639px) {
  .left-panel {
    padding: 3rem 1.5rem 2.5rem;
  }

  .form-panel {
    padding: 2.5rem 1.25rem 3rem;
  }

  .glass-card {
    margin: 0 auto;
    width: 100%;
  }

  .earning-img {
    max-width: 80%;
  }
}

@media (max-width:479px) {
  .form-panel {
    padding: 2.25rem 1.15rem 2.75rem;
  }

  .glass-card {
    padding: 1.75rem 1.25rem;
  }

  .grid.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

@media (min-width:1024px) {
  .layout-shell {
    flex-direction: row;
  }

  .left-panel {
    width: 50%;
    min-height: 100vh;
  }

  .form-panel {
    width: 50%;
    min-height: 100vh;
    padding: 4.5rem 3.5rem;
  }
}

/* Left panel accent */
.bg-blue-side {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.92), rgba(6, 182, 212, 0.88)),
    radial-gradient(1000px 420px at 20% 20%, rgba(255, 255, 255, 0.08), rgba(7, 11, 22, 0) 40%);
  box-shadow: inset 0 -80px 120px rgba(2, 6, 23, 0.45);
  position: relative;
  overflow: hidden;
  padding-top: 4.5rem;
  /* make room for the top-left logo */
}

/* Decorative market motif */
.bg-blue-side::before {
  content: "";
  position: absolute;
  inset: auto -20% 10% -20%;
  height: 140px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, rgba(7, 11, 22, 0) 1px 24px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.25), rgba(124, 58, 237, 0.25));
  filter: blur(8px) opacity(.55);
  transform: translateY(0);
}

.bg-blue-side::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(20, 241, 149, 0.32), rgba(7, 11, 22, 0) 70%);
  filter: blur(18px);
  border-radius: 50%;
}

/* Top-left logo inside left panel */
.left-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 56px;
  width: auto;
  z-index: 20;
  border-radius: 0.5rem;
  padding: 4px;
  background: rgba(13, 17, 23, 0.9) !important;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
}

/* Glass card */
.glass-card {
  background: rgba(22, 27, 34, 0.85) !important;
  border: 1px solid rgba(48, 54, 61, 0.6) !important;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  transition: transform .28s cubic-bezier(.2, .9, .2, 1), box-shadow .28s ease, background .28s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 520px;
  /* ensures footer can be pushed to bottom */
  animation: cardIn .5s ease both;
}

.glass-card h2 {
  color: #e6edf3 !important;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.65);
}

/* Inputs / Buttons */
.input-field {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(13, 17, 23, 0.9) !important;
  background-color: #0d1117 !important;
  color: #e6eef8 !important;
  border: 1px solid rgba(48, 54, 61, 0.6) !important;
  outline: none;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}

.input-field::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}

.input-field::-moz-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}

.input-field:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.input-field:focus {
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.12);
  border-color: rgba(124, 58, 237, 0.9);
  transform: translateY(-1px);
}

.password-wrapper {
  position: relative;
}

.password-wrapper .input-field {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.password-toggle:hover {
  background: rgba(124, 58, 237, 0.28);
  border-color: rgba(124, 58, 237, 0.45);
  color: #fff;
}

.password-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.password-toggle .icon-off {
  display: none;
}

.password-toggle.is-visible .icon-on {
  display: none;
}

.password-toggle.is-visible .icon-off {
  display: block;
}

.btn-primary {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.12);
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.02);
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.12);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: 0.8rem;
  background: rgba(13, 17, 23, 0.8) !important;
  background-color: #0d1117 !important;
  color: #e6eef8 !important;
  border: 1px solid rgba(48, 54, 61, 0.6) !important;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
}

.social-btn:active {
  transform: translateY(-1px) scale(.995);
}

/* subtle card entrance */
@keyframes cardIn {
  from {
    transform: translateY(8px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

/* slightly larger card on larger screens */
@media(min-width: 1200px) {
  .glass-card {
    max-width: 420px;
  }
}

/* Utility tweaks */
.muted {
  color: rgba(230, 238, 248, 0.6);
}

.brand-title {
  text-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

@media (max-width: 767px) {
  .bg-blue-side {
    padding: 3.5rem 1.5rem;
  }

  .glass-card {
    margin: 0 1rem;
    width: calc(100% - 2rem);
  }
}

/* Earning image larger and responsive */
.earning-img {
  max-height: 420px;
  width: auto;
  border-radius: 0.9rem;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: saturate(120%);
}

@media (max-width: 767px) {
  .left-logo {
    top: 0.8rem;
    left: 0.8rem;
    height: 48px;
  }

  .earning-img {
    max-height: 260px;
    margin-top: 2.25rem;
  }
}

/* Footer styling (bottom area) */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.25rem 1.5rem;
  color: rgba(230, 238, 248, 0.68);
  background: rgba(7, 11, 22, 0.95) !important;
  background-color: #070b16 !important;
  border-radius: 0.5rem;
}

.bottom-footer__text {
  font-size: 0.95rem;
  color: rgba(230, 238, 248, 0.7) !important;
}

.bottom-footer__text a {
  color: rgba(200, 220, 240, 0.9) !important;
}

.bottom-footer__right {
  text-align: right;
}

.bottom-footer__right-link {
  color: rgba(130, 200, 220, 0.95);
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.bottom-footer__right-link:hover {
  text-decoration: underline;
}

@media (max-width:767px) {
  .bottom-footer__right {
    text-align: left;
    margin-top: 0.5rem;
  }

  .bottom-footer__right-link {
    display: inline-block;
    margin-left: 0.5rem;
  }
}

/* Push footer to bottom of .glass-card */
.glass-card .site-footer {
  margin-top: auto;
}

@media (max-width: 767px) {
  .glass-card {
    min-height: 0;
  }

  .glass-card .site-footer {
    margin-top: 1rem;
  }
}

.inline-style-07fbba5bda {
  background-image: url('../image/trading-bg.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
}

.inline-style-e60a90d752 {
  width: 90px;
}

.inline-style-c05df22d63 {
  justify-content: flex-start;
  padding-left: 1rem;
}

.inline-style-0b87e9e0af {
  font-weight: 600;
}

.inline-style-632009407c {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inline-style-60d5c8a77f {
  flex: 1 1 200px;
}

.inline-style-0c8a27e103 {
  font-size: 10px;
}

.inline-style-abddbb0fdb {
  color: rgba(200, 220, 240, 0.9);
  text-decoration: none;
}

.inline-style-5c1d5228af {
  flex: 1 1 200px;
  text-align: right;
}

.inline-style-4355508a69 {
  font-size: 10px;
}