.email-input-wrap,
.phone-input-wrap,
.input__code-verify-wrap,
.phone-input-error-wrap {
  position: relative;
}

.form__wrap {
  border: 1px solid #fe4fef;
}

.email-input-wrap input {
  padding-left: 40px;
}

.error-email-message,
.error-phone-message,
.error-code-message {
  position: absolute;
  z-index: 10;
  top: 0;
  transform: translateY(-46%);
  left: 10px;
  font-size: 12px;
  padding: 2px 6px;
  border-left: 1px solid #393630;
  border-right: 1px solid #393630;
  background-color: #020202;
  border-radius: 10px;
  color: red;

  opacity: 0;
  pointer-events: none;
}

.mobile-code-error {
  margin-top: 10px;
  font-size: 12px;
  color: red;
  text-align: center;
}

.check-bocks-error {
  position: absolute;
  z-index: 10;
  top: 0;
  transform: translateY(-60%);
  right: 10px;
  font-size: 12px;
  padding: 1px 6px;
  background-color: #020202;
  border-bottom: 1px solid #393630;
  border-radius: 10px;
  color: red;

  opacity: 0;
  pointer-events: none;
}

.input-wrap {
  position: relative;
}

#promocode-input {
  padding-left: 40px;
}

.input-icon,
.dropdown-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: auto;
}

.dropdown__head {
  position: relative;
  padding-left: 40px;
}

.register-country {
  margin-bottom: 0;
}

.dropdown__list li span {
  font-size: 20px;
  color: rgba(242, 243, 245, 0.5);
}

.dropdown__list .dropdown-icon {
  height: 46%;
}

.code-verify-icon.input-icon {
  height: 40%;
}

.register-country .dropdown__head {
  padding: 14px 28px 14px 17px;
}

.register-drop-currency li {
  padding-left: 12px !important;
}

.register-drop-currency .dropdown__head {
  cursor: pointer;
}

.register-drop-currency img:last-child,
.dropdown__head img:last-child {
  width: 10px;
  height: 10px;
}

.dropdown-icon {
  pointer-events: none;
}

.mobile-modal-sms {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.modal-active {
  display: flex;
}

.mobile-modal-sms .inner-modal {
  margin-top: 80px;
  margin-inline: 16px;
  padding: 50px 16px 35px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: #000000;
  border-radius: 16px;
  text-transform: uppercase;
  position: relative;
}

.close-mobile-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.inner-modal {
  border: 1px solid #fe4fef;
}

.mobile-modal-sms .inner-modal h3 {
  color: #e1e1e1;
  font-size: 20px;
  font-weight: 500;
  max-width: 350px;
  text-align: center;
}

.mobile-modal-sms .inner-modal p {
  color: #e1e1e1;
  text-align: center;
  margin-bottom: 12px;
}

.mobile-modal-sms .inner-modal .resend-button {
  margin-bottom: 0;
  font-size: 14px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 500;
}

.mobile-modal-sms .inner-modal .form__button-submit {
  color: #000;
  font-weight: 600;
}

.input-wrapper {
  display: flex;
  gap: 8px;
  max-width: 100%;
}

.code-input {
  width: 40px;
  height: 50px;
  background-color: #1a1a1a;
  border-radius: 8px;
  text-align: center;
  outline: none;
  caret-color: transparent;
  font-size: 20px;
}

.code-input.error-state {
  border: 1px solid #d21502;
  color: #d21502;
}

.container-inputs {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.mobile-sms-error {
  margin-top: 40px;
}

.resend-button {
  text-transform: uppercase;
  text-decoration: underline;
  color: #000000;
  font-size: 14px;
}

.desktop-timer {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #3fd62b;
  border-radius: 0 8px 8px 0;
  align-items: center;
  justify-content: center;
  width: 120px;
}

.desktop-timer p {
  color: #000000;
}

@media (max-height: 750px) and (min-width: 769px) {
  .animate-text-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .animate-text-wrap svg text {
    font-size: 36px;
  }

  .text1 img {
    width: 73%;
    margin: 0 auto;
  }

  .text1 .title-text.ru {
    font-size: 22px;
  }
}

@media (max-height: 630px) and (min-width: 769px) {
  .form__wrap {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 1024px) {
  .form__wrap {
    border: none;
  }

  .error-email-message {
    font-size: 10px;
  }

  .dropdown__list li span {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  .send-sms-wrap {
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 530px) {
  .form__wrap {
    padding-block: 16px;
  }

  .form__block {
    position: static;
    margin-top: -10px;
  }

  .form__title {
    margin-bottom: 12px;
  }

  .container-inputs {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .send-sms-wrap,
  .phone__input-wrap {
    margin-bottom: 0;
  }

  .input-wrap .input,
  .dropdown__head {
    border-radius: 8px;
    width: 100%;
    align-items: center;
  }

  .dropdown__head {
    min-width: 160px;
  }

  .input-wrap,
  .register-drop-bonus {
    margin-top: 12px;
    /* width: 50%; */
  }

  .register-drop-bonus,
  .container-inputs {
    display: flex;
    gap: 0;
    flex-direction: column;
    width: 100%;
  }

  .email-input-wrap {
    width: 100%;
  }

  .register-drop-currency {
    margin-top: -8px;
  }

  .dropdown__list li {
    height: var(--mobile-height);
  }

  .dropdown__list li span {
    font-size: 12px;
  }

  .register-drop-currency img:last-child,
  .dropdown__head img:last-child {
    width: 24px;
  }
}