.sdk-privacy-btn,
.sdk-terms-btn {
  display: inline;
  font-weight: 600;
}

.iti {
  font-size: 15px;
  font-weight: 500;
}

form .iti .iti__selected-dial-code,
.iti--separate-dial-code .iti__selected-dial-code {
  padding-left: 0;
  margin-left: 0;
}

input[type="checkbox"] {
  height: auto;
  width: unset;
  min-width: unset;
}

.iti__selected-dial-code {
  color: #58468c;
}

.sdk-login-button {
  display: block;
  min-width: 100%;
  margin-top: 20px;
  padding-block: 16px;
  height: 48px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: #ff61eb;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

/* Header logo + platform name (responsive) */
.header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: none; /* override fixed max-width from base styles */
}

.header .logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
}

.header .logo__text {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  color: #58468c;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .header .logo img {
    height: 36px;
    max-width: 240px;
  }
  .header .logo__text {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .header .logo {
    gap: 8px;
  }
  .header .logo__text {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .header .logo__text {
    display: none;
  }
}

/* Footer logo + platform name (responsive) */
.footer .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer .logo img {
  display: block;
  height: 30px;
  width: auto;
}

.footer .logo__text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .footer .logo {
    justify-content: flex-start;
  }
  .footer .logo__text {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .footer .logo__text {
    display: none;
  }
}

.trading-warning {
  position: fixed;
  bottom: 10px;
  left: 10px;
  max-width: 800px;
  border-radius: 15px;
  width: 100%;
  background: rgba(15, 15, 15, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 9999;
  padding: 16px;
  font-family: sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.trading-warning__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.trading-warning__short {
  font-size: 14px;
}

.trading-warning__expanded {
  display: none;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.trading-warning__expanded p {
  margin-bottom: 5px;
  margin-top: 0;
}

.trading-warning__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trading-warning__left {
  max-width: 600px;
}

.trading-warning__btn {
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.trading-warning__right {
  display: flex;
  gap: 20px;
}

.trading-warning--outline {
  background: none;
  color: white;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.trading-warning__btn--confirm {
  background: #4caf50;
  border: none;
  color: white;
}

.trading-warning__close {
  cursor: pointer;
  font-size: 16px;
  margin: 0 0 0 auto;
  user-select: none;
}

.footer__info {
}
.footer__text {
  margin: 10px 0;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup_title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.popup-content {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  text-align: center;
}

.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.popup-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

@media (max-width: 1024px) {
  .trading-warning {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 992px) {
  .trading-warning {
    max-width: 700px;
  }

  .trading-warning__left {
    max-width: 525px;
  }
}

@media (max-width: 767px) {
  .trading-warning {
    max-width: 360px;
  }

  .trading-warning__container {
    flex-direction: column;
  }

  .trading-warning__close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
  }

  .trading-warning__btn {
    padding: 2px 15px;
  }
  .trading-warning__expanded {
    font-size: 10px;
  }
  .policy {
    padding-block: 10px;
  }
}

input[name="phone"] {
  padding-left: 90px !important;
}
