.kohinoor-login-page {
  min-height: 100vh !important;
  padding: 24px 16px 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 4%, rgba(255, 178, 0, 0.96), transparent 27%),
    radial-gradient(circle at 22% 20%, rgba(255, 60, 0, 0.78), transparent 28%),
    linear-gradient(145deg, #740000 0%, #b71300 38%, #f04a00 68%, #ff8b00 100%) !important;
  color: #fff !important;
  font-family: "Poppins", "Manrope", sans-serif !important;
}

.kohinoor-login-page::before,
.kohinoor-login-page::after {
  display: none !important;
}

.login-market-bg,
.login-market-bg * {
  pointer-events: none;
}

.login-market-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 161, 0, 0.18), transparent 28%),
    linear-gradient(100deg, rgba(69, 0, 0, 0.5), transparent 44%, rgba(255, 211, 0, 0.22));
}

.login-market-bg::before,
.login-market-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.login-market-bg::before {
  inset: 10% auto auto -24%;
  width: 115vw;
  height: 115vw;
  border: 2px solid rgba(255, 194, 0, 0.16);
  box-shadow:
    0 0 0 36px rgba(255, 130, 0, 0.04),
    inset 0 0 46px rgba(255, 184, 0, 0.08);
  transform: rotate(-17deg);
}

.login-market-bg::after {
  right: -24%;
  bottom: -32%;
  width: 112vw;
  height: 112vw;
  border: 3px solid rgba(255, 178, 0, 0.24);
  box-shadow:
    0 0 28px rgba(255, 178, 0, 0.22),
    inset 0 0 48px rgba(255, 78, 0, 0.16);
}

.world-map {
  position: absolute;
  top: 7%;
  width: 33vw;
  height: 28vw;
  max-width: 440px;
  max-height: 320px;
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255, 206, 60, 0.78) 1.7px, transparent 2.1px);
  background-size: 11px 11px;
  mask-image:
    radial-gradient(ellipse at 22% 36%, #000 0 17%, transparent 18%),
    radial-gradient(ellipse at 44% 25%, #000 0 20%, transparent 21%),
    radial-gradient(ellipse at 62% 48%, #000 0 18%, transparent 19%),
    radial-gradient(ellipse at 30% 70%, #000 0 16%, transparent 17%),
    radial-gradient(ellipse at 74% 74%, #000 0 14%, transparent 15%);
  -webkit-mask-image:
    radial-gradient(ellipse at 22% 36%, #000 0 17%, transparent 18%),
    radial-gradient(ellipse at 44% 25%, #000 0 20%, transparent 21%),
    radial-gradient(ellipse at 62% 48%, #000 0 18%, transparent 19%),
    radial-gradient(ellipse at 30% 70%, #000 0 16%, transparent 17%),
    radial-gradient(ellipse at 74% 74%, #000 0 14%, transparent 15%);
}

.world-map-left {
  left: 3%;
}

.world-map-right {
  right: 5%;
  transform: scaleX(1.08);
}

.market-candles {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  opacity: 0.54;
}

.candles-left {
  left: 2%;
  top: 20%;
}

.candles-right {
  right: 3%;
  bottom: 28%;
}

.market-candles span {
  position: relative;
  width: 17px;
  height: var(--h);
  margin-top: var(--y);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffb900, #ff3d00);
  box-shadow: 0 0 18px rgba(255, 109, 0, 0.35);
}

.market-candles span::before,
.market-candles span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 38px;
  transform: translateX(-50%);
  background: rgba(255, 158, 0, 0.64);
}

.market-candles span::before {
  bottom: 100%;
}

.market-candles span::after {
  top: 100%;
}

.login-orbit {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 179, 0, 0.22);
  box-shadow: 0 0 22px rgba(255, 179, 0, 0.2);
}

.orbit-one {
  width: 76vw;
  height: 76vw;
  left: 13%;
  bottom: -38vw;
}

.orbit-two {
  width: 110vw;
  height: 110vw;
  left: -4%;
  bottom: -56vw;
  border-color: rgba(255, 225, 75, 0.16);
}

.kohinoor-login-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.brand-panel {
  width: min(100%, 480px);
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 16px 20px rgba(65, 0, 0, 0.45));
}

.brand-logo {
  width: min(88vw, 430px);
  height: auto;
  display: block;
  border-radius: 30px;
  object-fit: contain;
  border: 2px solid rgba(255, 177, 0, 0.34);
  box-shadow:
    0 18px 34px rgba(72, 0, 0, 0.34),
    0 0 0 6px rgba(255, 108, 0, 0.08);
}

.login-card {
  width: min(100%, 520px);
  border-radius: 34px;
  padding: 3px;
  background:
    linear-gradient(145deg, rgba(255, 100, 0, 0.98), rgba(255, 150, 0, 0.88) 18%, rgba(255, 71, 0, 0.66) 48%, rgba(255, 99, 0, 0.96));
  box-shadow:
    0 30px 70px rgba(64, 0, 0, 0.46),
    0 0 36px rgba(255, 102, 0, 0.22);
}

.login-card-inner {
  position: relative;
  padding: 30px 30px 28px;
  border-radius: 31px;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 100%, rgba(255, 100, 0, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(64, 3, 0, 0.96), rgba(33, 4, 0, 0.98) 58%, rgba(53, 7, 0, 0.97));
  border: 1px solid rgba(255, 189, 120, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 34px rgba(0, 0, 0, 0.2);
}

.login-title {
  margin-bottom: 8px;
  color: #fff !important;
  text-align: center;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.login-subtitle {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78) !important;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
}

.kohinoor-login-page .alert {
  margin: -6px 0 14px;
  padding: 11px 14px;
  border-radius: 14px;
  color: #ffe6da !important;
  background: rgba(255, 60, 0, 0.16);
  border: 1px solid rgba(255, 140, 0, 0.22);
  text-align: center;
}

.kohinoor-login-page .quick-account-select {
  min-height: 54px !important;
  margin: 0 0 16px !important;
  padding: 0 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 136, 0, 0.36) !important;
  background: rgba(29, 4, 0, 0.72) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.kohinoor-login-page .quick-account-select option {
  background: #300700 !important;
  color: #fff !important;
}

.kohinoor-login-page .login-field {
  min-height: 64px !important;
  margin-bottom: 15px !important;
  padding: 0 18px !important;
  gap: 16px !important;
  border-radius: 17px !important;
  border: 1px solid rgba(255, 150, 80, 0.36) !important;
  background: rgba(38, 5, 0, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(22, 0, 0, 0.2) !important;
}

.kohinoor-login-page .login-field:focus-within {
  border-color: rgba(255, 154, 0, 0.74) !important;
  box-shadow:
    0 0 0 3px rgba(255, 111, 0, 0.16),
    0 12px 24px rgba(22, 0, 0, 0.2) !important;
}

.kohinoor-login-page .login-field i {
  width: 28px;
  flex: 0 0 28px;
  color: #ff8500 !important;
  font-size: 22px;
  text-align: center;
}

.kohinoor-login-page .login-field input {
  min-width: 0;
  height: 100%;
  padding: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
  background: transparent !important;
}

.kohinoor-login-page .login-field input::placeholder {
  color: rgba(255, 255, 255, 0.72) !important;
}

.password-toggle {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
}

.password-toggle i {
  color: inherit !important;
  font-size: 20px !important;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.remember-option input {
  position: absolute;
  opacity: 0;
}

.remember-option span {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #ff7b00;
  background: rgba(255, 120, 0, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.remember-option input:checked + span {
  background:
    linear-gradient(135deg, #ffb000, #ff2300);
  box-shadow: 0 0 0 3px rgba(255, 117, 0, 0.14);
}

.forgot-link,
.kohinoor-login-page .signup a {
  color: #ff8b00 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.kohinoor-login-page .login-btn {
  min-height: 64px !important;
  margin: 0 !important;
  border-radius: 17px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  background: linear-gradient(100deg, #ffb000 0%, #ff7a00 32%, #ff3e00 62%, #ff0505 100%) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow:
    0 18px 30px rgba(255, 70, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

.kohinoor-login-page .login-btn i,
.kohinoor-login-page .login-btn span {
  color: #fff !important;
}

.kohinoor-login-page .login-btn i {
  font-size: 22px;
}

.kohinoor-login-page .login-btn.btn-loading i {
  visibility: hidden;
}

.kohinoor-login-page .login-btn.btn-loading::after {
  border-color: rgba(255, 255, 255, 0.94) !important;
  border-top-color: transparent !important;
}

.login-divider {
  margin: 28px 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.kohinoor-login-page .signup {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: center;
  font-size: 15px !important;
}

.kohinoor-login-page .signup a {
  margin-left: 10px;
  font-size: 16px;
}

.support-link {
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px;
  text-decoration: none !important;
}

.support-link i {
  color: #ff8b00;
  font-size: 23px;
}

.kohinoor-signup-page .signup-card {
  width: min(100%, 540px);
}

.signup-field-note {
  margin: -7px 4px 14px 62px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.signup-alert:empty {
  display: none;
}

.signup-secure-note {
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.signup-secure-note i {
  color: #ff8b00;
}

.kohinoor-signup-page .signup-btn {
  margin-top: 4px !important;
}

@media (max-height: 780px) and (min-width: 721px) {
  .kohinoor-login-page {
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 18px !important;
    padding-bottom: 24px !important;
  }

  .kohinoor-login-shell {
    gap: 14px;
  }

  .brand-logo {
    width: min(44vw, 280px);
  }

  .login-card {
    width: min(100%, 500px);
  }

  .login-card-inner {
    padding: 18px 28px 18px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-subtitle {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .kohinoor-login-page .quick-account-select {
    min-height: 44px !important;
    margin-bottom: 10px !important;
  }

  .kohinoor-login-page .login-field {
    min-height: 48px !important;
    margin-bottom: 10px !important;
  }

  .login-options {
    margin: 0 0 12px;
  }

  .kohinoor-login-page .login-btn {
    min-height: 52px !important;
  }

  .login-divider {
    margin: 16px 0 12px;
  }

  .support-link {
    margin-top: 14px;
    padding-top: 12px;
  }

  .kohinoor-signup-page .brand-logo {
    width: min(38vw, 230px);
  }

  .kohinoor-signup-page .signup-card {
    width: min(100%, 500px);
  }

  .kohinoor-signup-page .login-title {
    font-size: 23px;
  }

  .kohinoor-signup-page .login-subtitle {
    margin-bottom: 12px;
  }

  .kohinoor-signup-page .login-field {
    min-height: 46px !important;
    margin-bottom: 9px !important;
  }

  .kohinoor-signup-page .signup-field-note {
    margin-top: -5px;
    margin-bottom: 9px;
  }

  .kohinoor-signup-page .signup-secure-note {
    margin-top: 10px;
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .kohinoor-login-page {
    padding: 20px 14px 32px !important;
  }

  .kohinoor-login-shell {
    gap: 14px;
  }

  .brand-logo {
    width: min(78vw, 300px);
  }

  .brand-panel {
    margin-top: 10px;
  }

  .login-card {
    border-radius: 30px;
  }

  .login-card-inner {
    padding: 26px 18px 24px;
    border-radius: 27px;
  }

  .world-map {
    width: 58vw;
    height: 48vw;
    opacity: 0.15;
  }

  .world-map-right {
    display: none;
  }

  .candles-left {
    left: -8%;
    top: 17%;
  }

  .candles-right {
    right: -8%;
    bottom: 20%;
  }

  .signup-field-note {
    margin-left: 54px;
  }
}

@media (max-width: 420px) {
  .login-title {
    font-size: 23px;
  }

  .login-subtitle {
    font-size: 14px;
  }

  .kohinoor-login-page .login-field,
  .kohinoor-login-page .login-btn {
    min-height: 58px !important;
  }

  .login-options {
    align-items: center;
    flex-direction: row;
    margin-bottom: 22px;
    font-size: 13px;
  }

  .forgot-link {
    white-space: nowrap;
  }

  .kohinoor-login-page .signup {
    font-size: 14px !important;
  }

  .support-link {
    font-size: 14px;
  }

  .signup-field-note {
    margin-left: 0;
    text-align: center;
  }

  .signup-secure-note {
    font-size: 13px;
  }

  .kohinoor-signup-page .login-card-inner {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .kohinoor-signup-page .login-subtitle {
    margin-bottom: 18px;
  }

  .kohinoor-signup-page .login-field {
    margin-bottom: 12px !important;
  }

  .kohinoor-signup-page .signup-field-note {
    margin-bottom: 12px;
  }

  .kohinoor-signup-page .signup-secure-note {
    margin-top: 12px;
  }

  .kohinoor-signup-page .login-divider {
    margin: 18px 0 14px;
  }

  .kohinoor-signup-page .support-link {
    margin-top: 16px;
    padding-top: 12px;
  }
}
