* {
  box-sizing: border-box;
}

.home__col-form {
  padding: 20px;
  color: white;
  display: none;
  margin-bottom: 150px;
}

.main-form {
  padding: 15px;
  border: 2px solid #02bf64;
  background-color: #333;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 100%;
  max-width: 600px;
}

.main-form input {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid white;
  width: 100%;
  background-color: rgb(176 175 183 / 20%);
  color: white;
}

.main-form p {
  margin: 0;
}

.main-form input::placeholder {
  /* color: #02bf64; */
  opacity: 0.95;
}

.input-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.main-form .input-wrapper input {
  border-radius: 10px;
  font-size: 18px;
}

/* Стили для модального окна */
.modal {
  display: none;
  /* По умолчанию скрыто */
  position: fixed;
  z-index: 111;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  /* Полупрозрачный фон */
}

.modal-content {
  background: black;
  margin: 15% auto;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
  font-size: 110%;
  display: grid;
  place-items: center;
  max-width: 500px;
  min-height: 400px;
  height: 65%;
  position: relative;
  color: whitesmoke;
}

/* Закрыть кнопка */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 25px;
  top: 25px;
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

/* preloader */
.preloader {
  display: grid;
  place-items: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  overflow: visible;
  background-color: black;
  border: 1px solid #02bf64;
  opacity: 1;
  transition: opacity 2s linear;
  border-radius: 10px;
}

.preloader-visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 2s linear;
}

.preloader-hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

.form_message.error.inactive {
  display: none;
}

.form_message.error.active {
  display: block;
  color: #0a0a0a;
}

form {
  position: relative;
  border-radius: 10px;
}

#errorText {
  display: grid;
  gap: 10px;
  font-size: 18px;
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
  color: #02bf64;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.error-border {
  border: dashed 2px #ce0909 !important;
}

p.error-msg {
  margin: 0;
  color: red;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.iti__country-list {
  font-size: 14px;
}

.iti__flag-container {
  font-size: 16px;
}

.main-form .submit-button {
  display: block;
  line-height: 1.2;
  height: auto;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  min-height: 50px;
  width: 100%;
  background: #02bf64;
  font-weight: 500;
  font-size: 20px;
  border-color: white;
  border-width: 2px;
  box-shadow: none;
  margin-top: 20px;
}

.iti__block {
  scale: 1.55;
}

.unavailable {
  padding-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 25px;
  max-width: fit-content;
  margin: 0 auto;
}

.unavailable-container {
  margin-top: 25px;
  width: 100%;
  display: grid;
  place-items: center;
  align-items: center;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid red;
  background-color: #ff00003d;
}

.unavailable-container p {
  font-size: 12px;
}