.form__item {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 380px;
  width: 100%;
  padding: 20px;
  gap: 20px;
  border-radius: 20px;
  background: rgba(0, 52, 165, 0.8);
  backdrop-filter: blur(20px);
}

.preloader {
  display: none;
  background: white;
  position: absolute;
  top: 0%;
  bottom: 0;
  left: 0%;
  right: 0;
  z-index: 400;
  background-image: url(../images/preloader.gif);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  opacity: 0.5;
  border-radius: 8px;
}

.form__title {
  color: #fff;

  text-align: center;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.0175rem;
  margin: 0;
}

.form__content {
  display: flex;
  flex-direction: column;
}

.form__input-wrapper {
  display: flex;
  position: relative;
}

.form__input {
  transition: all 0.3s ease-in-out;
  width: 100%;

  background: rgba(13, 13, 13, 0.1);
  padding: 27px 15px 5px;
  color: #fff;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.045rem;
  outline: none !important;
  margin: 0 !important;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /*height: 56px;*/
}

.form__input[type="tel"] {
  padding-block: 16px;
}

.form__input-wrapper:first-child .form__input {
  border-radius: 10px 10px 0 0;
}

.form__input-wrapper:last-child .form__input {
  border-radius: 0 0 10px 10px;
  /*border-bottom: none;*/
}

.form__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form__input.valid {
  background: rgba(82, 145, 77, 0.2);
}

.form__input.error {
  background: rgba(143, 62, 62, 0.2);
}

.form__label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  color: #fff;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.045rem;
  opacity: 0.35;
  transition: 0.3s ease;
  pointer-events: none;
}

.form__input-wrapper.active .form__label {
  top: 9px;
  transform: none;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.035rem;
}

label.error {
  display: flex;
  transform-style: preserve-3d;
  position: absolute;
  z-index: 2;
  top: calc(100% + 4px);
  left: 0;
  min-width: 90%;
  border-radius: 8px;
  background: #ff2314;
  color: #ffffff;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 1.05rem */
  padding: 7px 13px 7px 12px;
}

label.error::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  background: #ff2314;
  border-radius: 2px;
  transform: rotate(45deg);
  top: -8px;
  left: 11px;
}

.intl-tel-input.allow-dropdown .flag-container,
.intl-tel-input.separate-dial-code .flag-container {
  padding: 0 !important;
}

.intl-tel-input .selected-flag {
  outline: none;
  border: none;
  padding: 0 10px !important;
}

input[type="tel"] {
  /*padding-left: 130px !important;*/
}

.intl-tel-input.separate-dial-code .selected-dial-code {
  /* color: #fff; */
}

.intl-tel-input .selected-flag .iti-arrow {
  border-top: 4px solid #fff;
}

.intl-tel-input .selected-flag .iti-arrow.up {
  border-bottom: 4px solid #fff;
}

.form__submit {
  width: 100%;
}

.form__footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-svg {
  margin-bottom: 0 !important;
}

.checkbox-svg label.checked-svg {
  /*margin-top: -10px!important;*/
  width: 20px !important;
  height: 20px !important;
}

.checked-svg svg {
  background: #fff !important;
  border-radius: 2px !important;
  border: 1.5px solid #fff !important;
  width: 20px !important;
  height: 20px !important;
}

input[id*="cbx"]:checked + .checked-svg svg {
  stroke: #000 !important;
}

.privacy-checkbox p {
  /*padding-left: 9px !important;*/
  color: #fff;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.03rem;
}

.intl-tel-input .selected-flag {
  position: relative;
  background-color: #eee;
}

.privacy-checkbox a {
  color: #d23311;
  text-decoration: none;
}

.form__protect {
  display: flex;
  align-items: start;
  column-gap: 9px;
}

.form__protect h3 {
  margin: 0;
}

.form__protect-icon {
  width: 16px;
  height: 12px;
  flex-shrink: 0;
}

.form__protect-title {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
}

.form__protect-description {
  color: #fff;
  font-size: 6px;
  font-weight: 400;
  line-height: normal;
}

.selected-flag {
  background-color: transparent !important;
}

.selected-flag::after {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  height: 21px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ebebeb;
  right: 0;
}

.country-name {
  color: #000;
}

@media (max-width: 1200px) {
  .form__title {
    text-align: center;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.06rem;
    text-transform: uppercase;
  }
}

@media (max-width: 700px) {
  .form__item {
    padding: 20px;
    width: 340px;
    gap: 20px;
  }

  label.error {
    font-size: 0.75rem;
  }
}
