body {
  font-family: "Montserrat";
}
.header__avatar img {
  width: 75px;
  height: 46px;
}
.main-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
}

.submit-button {
  border-radius: 21px;
  -moz-border-radius: 21px;
  -ms-border-radius: 21px;
  -o-border-radius: 21px;
  border-radius: 21px;
  text-align: center;
  text-transform: none;
  background-color: #171a17;
  color: #fff;
  transition: all 0.3s ease-out;
  border: none;
  font-size: 24px;
  font-weight: 700;
  padding: 15px;
  width: 100%;
  outline: 0;
  cursor: pointer;
  border: 1px solid #171a17;
}

.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: 12px 16px;
  border-radius: 12px;
  border: 1px solid grey;
  font-family: "Montserrat", sans-serif;
  width: 100%;
}

.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: 25px auto;
  background: #fff;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 20px;
}

.chat-content-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 20px;
}

.text b {
  color: #0db14b;
}

.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
  color: #171a17;
}
.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);
  }
}

/* Стили для модального окна */
.modal {
  display: none; /* По умолчанию скрыто */
  position: fixed;
  place-items: center;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный фон */
}

.modal-content {
  background-color: white;
  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;
  font-family: "Montserrat";
  max-width: 500px;
  min-height: 400px;
  max-height: 65%;
  position: relative;
}

/* Закрыть кнопка */
.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: 99;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: white;
  opacity: 1;
  transition: opacity 2s linear;
  border-radius: 20px;
}

.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: 12px;
  font-style: italic;
  font-family: "Montserrat";
}
