.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;
}

/* стили для меню языков */
.lang-switcher {
  position: relative;
  width: max-content;
  z-index: 99;
}

.lang-switcher__button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 30px 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  cursor: pointer;
  font: 600 14px/20px sans-serif;
}

.lang-switcher__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  opacity: 0.7;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.lang-switcher.is-open .lang-switcher__button::after {
  transform: rotate(225deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.96);
  transform-origin: top right;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}

.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  font: 500 14px/20px sans-serif;
}

.lang-switcher__item:hover,
.lang-switcher__item.is-active {
  background: #f0f3ff;
}

.lang-switcher .flag-icon {
  width: 20px;
  height: 15px;
  flex: 0 0 auto;
  background-size: cover;
  border-radius: 2px;
}
/* стили для меню языков */

/* стили для tab конткты */

.geo-tabs__radio {
  display: none;
}

.geo-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.geo-tabs__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 230px;
  padding: 10px;
  border: 1px solid rgba(88, 70, 140, 0.35);
  border-radius: 30px;
  color: #58468c;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: 0.2s ease;
}

.geo-tabs__tab .flag-icon {
  width: 28px;
  height: 20px;
  border-radius: 2px;
}

.geo-tabs__tab:hover,
.geo-tabs__tab.is-active {
  background-color: #ff8a73;
  color: #fff;
  transform: translateY(-1px);
}

.geo-tabs__panel {
  display: none;
  gap: 60px;
}

.geo-tabs__map {
  overflow: hidden;
  border-radius: 12px;
}

.geo-tabs__map iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

.geo-tabs__contacts {
  margin: 0;
  padding: 35px 0 0;
  color: #111;
}

.geo-tabs__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.geo-tabs__row:last-child {
  border-bottom: 0;
}

.geo-tabs__row dt {
  font-weight: 800;
  font-size: 18px;
}

.geo-tabs__row dd {
  margin: 0;
  color: #555;
  font-size: 16px;
}

.geo-tabs__row a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.geo-tabs__row a:hover {
  color: #ff8a73;
}

#geo-uk:checked ~ .geo-tabs__nav label[for="geo-uk"],
#geo-ie:checked ~ .geo-tabs__nav label[for="geo-ie"],
#geo-ca:checked ~ .geo-tabs__nav label[for="geo-ca"] {
  background: #ff8a73;
  border-color: #ff8a73;
  color: #fff;
}

#geo-uk:checked ~ .geo-tabs__panel--uk,
#geo-ie:checked ~ .geo-tabs__panel--ie,
#geo-ca:checked ~ .geo-tabs__panel--ca {
  display: grid;
}

@media (min-width: 880px) {
  #geo-uk:checked ~ .geo-tabs__panel--uk,
  #geo-ie:checked ~ .geo-tabs__panel--ie,
  #geo-ca:checked ~ .geo-tabs__panel--ca {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

@media (max-width: 879px) {
  .geo-tabs__tab {
    width: 100%;
    max-width: 320px;
  }

  .geo-tabs__panel {
    gap: 24px;
  }

  .geo-tabs__map iframe {
    height: 360px;
  }

  .geo-tabs__contacts {
    padding-top: 0;
  }

  .geo-tabs__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .geo-tabs__row dd {
    font-size: 18px;
  }
}
/* стили для tab конткты */
