.form__input {
  width: 100%;
  padding: 15px 10px;
  margin: 10px 0;
  border: 1px solid #a3a3a3 !important;
  border-radius: 5px;
  outline: none !important;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}
.form__input:focus {
  border: 1px solid #004cff;
  border-radius: 5px;
}

.iti {
  width: 100%;
  margin: 10px 0;
}

.form__btn {
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease 0.2s;
  width: 100% !important;
  padding: 15px;
  height: auto;
  cursor: pointer;
  background-color: #1e87f0;
  max-width: 100%;
  text-align: center;
}
.form__btn:hover {
  background-color: #10197f;
}
.form__btn:disabled {
  cursor: unset;
  opacity: 0.5;
}
.form__input-valid {
  font-size: 15px;
  margin: 0px 0px 10px 10px;
  color: rgb(255, 0, 0);
  letter-spacing: 0.1em;
}

#valid-msg {
  color: rgb(0, 131, 0);
}

.hide {
  display: none;
}

#phone.false,
input.false {

  background-position: 99% 50% !important;
  background-size: 21px !important;
  background-repeat: no-repeat;
  border: 1px solid #cf0000;
  -webkit-transition: unset;
  transition: unset;
  background-color: #ffe3e3 !important;
}
.checkbox-wrap.false {
  color: red !important;
}
input.valid {

  background-position: 99% 50% !important;
  background-size: 22px !important;
  background-repeat: no-repeat;
  border: 1px solid #23b100;
  background-color: #eaffe5 !important;
}
form input.false,
form input.false:focus,
form input.valid,
form input.valid:focus {
  color: #444;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
}

/* Стилі для прелоадера */

.form_preloader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.form_preloader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid #3498db;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
