.main-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
}

.submit-button {
  border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  border-radius: 12px;
  text-align: center;
  text-transform: none;
  background-color: #2b3990;
  color: #fff;
  transition: all 0.3s ease-out;
  border: none;
  font-size: 20px;
  font-weight: 700;
  padding: 15px;
  width: 100%;
  outline: 0;
  cursor: pointer;
  border: 1px solid #2b3990;
}

.main__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin: 20px 0 40px 0;
  text-align: center;
  font-size: 42px;
  color: black;
}

.form__title {
  font-size: 24px;
  color: #000000;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  padding-bottom: 20px;
}

.form-button {
  font-family: "Montserrat", sans-serif;
}

.main-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2b3990;
  background-color: transparent;
  color: black;
  width: 100%;
  font-size: 16px;
}

.main-form input::placeholder {
  font-family: "Montserrat", sans-serif;
  color: rgba(156, 163, 175, 0.769);
  font-weight: 400;
}

.input_wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iti__selected-dial-code {
  font-family: "Montserrat", sans-serif;
}

.main-form {
  max-width: 570px;
  margin: 0px auto;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 12px;
}

.chat-content-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 20px;
  width: 100%;
}

.text b {
  color: #2b3990;
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
  color: #2b3990;
}

.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-background {
  display: none;
  /* По умолчанию скрыто */
  position: fixed;
  place-items: center;
  z-index: 333;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  /* Полупрозрачный фон */
  backdrop-filter: blur(4px) grayscale(0.5);
  place-items: center;
}

.error-content {
  background-color: #333;
  margin: 15% auto;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #2b3990;
  width: 80%;
  text-align: center;
  font-size: 110%;
  display: grid;
  place-items: center;
  max-width: 500px;
  min-height: 400px;
  max-height: 65%;
  position: relative;
  color: white
}

.error-content-title {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
}

.error-content-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
}

/* Закрыть кнопка */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 25px;
  top: 25px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* preloader */
.preloader {
  display: grid !important;
  place-items: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 111;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: white;
  opacity: 1;
  transition: opacity 2s linear;
  border-radius: 12px;
}

.preloader-visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 2s linear;
}

.preloader-hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

.error-border {
  border: dashed 1px #ce0909 !important;
}

p.error-msg {
  margin: 0;
  color: #ce0909;
  padding: 5px 0 0;
  font-size: 14px;
}

.success-wrapper {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  color: #2b3990;
  z-index: 222;
  padding: 0px 15px;
}



.success-wrapper h1 {
  margin-bottom: 25px;
  font-size: 34px;
  font-weight: 700;
  z-index: 2;
  position: relative;
}

.success-wrapper img {
  display: block;
  width: 75px;
  height: 75px;
  filter: drop-shadow(2px 4px 6px black);
  margin: 20px auto 30px;
  z-index: 2;
  position: relative;
}

.success-wrapper p {
  z-index: 2;
  position: relative;
  font-size: 18px;
  margin-top: 25px;
}

.success-wrapper p span {
  color: #4cd965;
}

.success-buttons {
  display: flex;
  justify-content: space-between;
}

.img-decline {
  transform: rotate(135deg);
  filter: drop-shadow(2px -4px 6px black) !important;
}

.img-accept {
  animation: pulse 3300ms ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.hidden-container {
  display: grid;
  place-items: center;
  background-color: white;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 228;
}

.all-hidden,
.all-hidden div,
.all-hidden div:after {
  box-sizing: border-box;
  color: blue;
  background-color: white;
}
.all-hidden {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.all-hidden div {
  animation: all-hidden 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.all-hidden 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;
}
.all-hidden div:nth-child(1) {
  animation-delay: -0.036s;
}
.all-hidden div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.all-hidden div:nth-child(2) {
  animation-delay: -0.072s;
}
.all-hidden div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.all-hidden div:nth-child(3) {
  animation-delay: -0.108s;
}
.all-hidden div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.all-hidden div:nth-child(4) {
  animation-delay: -0.144s;
}
.all-hidden div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.all-hidden div:nth-child(5) {
  animation-delay: -0.18s;
}
.all-hidden div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.all-hidden div:nth-child(6) {
  animation-delay: -0.216s;
}
.all-hidden div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.all-hidden div:nth-child(7) {
  animation-delay: -0.252s;
}
.all-hidden div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.all-hidden div:nth-child(8) {
  animation-delay: -0.288s;
}
.all-hidden div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes all-hidden {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}