.wrap-center-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: wrap column;
  text-align: center;
  height: 100vh;
}

.modal-window {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%) scale(0.9);
  width: 520px;
  max-width: 95%;
  min-height: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  border-radius: 4px;
  transition: all 0.18s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.modal-window.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}
.modal-window__title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  height: 100%;
  min-height: inherit;
}
.modal-window__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hidden {
  display: none;
}

.phone-eror-mess {
  display: block;
  line-height: 2em;
  background-color: red;
  text-align: center;
  color: #fff;
}

.form-input-main {
  margin-bottom: 10px;
  width: 100%;
}

.form-input-main input,
.form-input-main select {
  font-family: "Inter", sans-serif;
  height: 42px;
  width: 100%;
  padding-left: 10px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 5px;
  font-weight: 400;
  font-size: 18px;
  color: #000;
}

.form-input-main select {
  margin: 0;
  width: 100%;
}

.form-input-main input::placeholder,
.form-input-main select::placeholder {
  color: #000;
}

.form-header-text,
.form-footer-text {
  font-size: 20px;
  text-align: center;
}

.form-header-text {
  margin-bottom: 20px;
}

.form-footer-text {
  margin-top: 20px;
}

.form-input-main label[for="nationality"] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.form-input-main label[for="policy"] {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-input-main label[for="age"] {
  font-size: 14px;
  gap: 10px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.form-input-main input[name="policy"] {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
}

.submit_btn {
  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: #171a17;
  color: #fff;
  transition: opacity 0.2s ease-out;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  height: 53px;
  width: 304px;
  color: #ffffff;
  border: none;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type="tel"],
.iti--allow-dropdown input[type="text"],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="tel"],
.iti--separate-dial-code input[type="text"] {
  width: 100%;
}

.user--name.show,
.user--email.show,
.user--phone.show {
  display: block;
  margin-left: auto;
  margin: 20px 40px;
  max-width: 400px;
  margin-left: auto;
  background-color: #e5e5e5;
  padding: 20px;
  border-radius: 20px 0px 20px 20px;
  filter: drop-shadow(2px 3px 1px rgba(0, 0, 0, 0.2));
}

.button--user {
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #171a17;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-left: auto;
  border: none;
}

@media screen and (max-width: 600px) {
  .chat {
    margin: 15px;
  }
  .user--name.show,
  .user--email.show,
  .user--phone.show {
    max-width: 100%;
    margin: 10px auto;
  }
  .chat-content-list {
    margin: 0;
  }
}
.slots-alert {
  max-width: 500px;
  margin: 20px auto 45px;
  padding: 20px;
  /* background: linear-gradient(135deg, #e1f8eb, #d0f4e4); */
  background: linear-gradient(135deg, #ffffff, #e8e8e8);;
  border-radius: 18px;
  /* border: 3px solid #25d366; */
  border: 3px solid #454545;
  font-family: system-ui, sans-serif;
  /* color: #075e54; */
  color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  animation: pulse-border 2s infinite;
}

.main-text {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}

.slot-counter {
  display: inline-block;
  background: linear-gradient(to right, #757575, #030303);
  /* background: linear-gradient(to right, #25d366, green); */
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 9999px;
  text-align: center;
  margin: 0 auto 16px;
  animation: bounce 1.5s infinite ease-in-out;
  box-shadow: 0 0 12px rgba(18, 140, 126, 0.4);
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 220px;
}

.slot-number {
  font-size: 22px;
  margin-left: 6px;
}

.note-text {
  font-size: 13px;
  /* color: green; */
  color: #707070;
  text-align: center;
  line-height: 1.4;
}

/* Анимация пульсирующей рамки */
/* @keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
} */
@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 77, 77, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(77, 77, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 77, 77, 0.4);
  }
}

/* Bounce-анимация для плашки */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .main-text {
    font-size: 14px;
  }

  .slot-counter {
    font-size: 16px;
    padding: 8px 16px;
  }

  .slot-number {
    font-size: 20px;
  }

  .note-text {
    font-size: 12px;
  }
}
.imp-accent {
  /* color: #e56161; */
  color: #ff0000;
}
.cta-block {
  max-width: 500px;
  margin: 30px auto;
  padding: 24px 20px;
  background: linear-gradient(135deg, #e1f8eb, #d0f4e4);
  border: 2px solid #25d366;
  border-radius: 16px;
  text-align: center;
  font-family: system-ui, sans-serif;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cta-text {
  font-size: 16px;
  color: #1c9047;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 40px;
  font-weight: 800;
}

.cta-button {
  background: linear-gradient(to right, #25d366, #128c7e);
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(18, 140, 126, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(18, 140, 126, 0.4);
}

@media (max-width: 480px) {
  .cta-text {
    font-size: 14px;
    margin-top: 20px;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}
