/* ==============================
   POPUP.CSS
   ============================== */
.booking-popup {
  position: fixed;
  inset: 0;                      /* top:0; right:0; bottom:0; left:0; */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* класс, который ставим из JS чтобы показать всплывашку */
.booking-popup.is-open {
  display: flex;
}

/* затемнённый фон */
.booking-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* окно попапа */
.booking-popup__content {
  position: relative;
  background: #D6EDFF;
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  padding: 60px 80px;
  box-sizing: border-box;
  z-index: 10;
}

/* крестик */
.booking-popup__close {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.booking-popup__close img {
  width: 40px;
  height: 40px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}


/* заголовок */
.booking-popup__title {
  margin: 0 0 10px;
  color: #0787E3;
  text-align: left;
}

/* подзаголовок */
.booking-popup__subtitle {
  margin: 0 0 20px;
}

/* сама форма */
.booking-popup__form {
  display: flex;
  flex-direction: column;
  max-width: 740px !important;
}
.booking-popup__form_i {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* все поля */
.booking-popup__form_i textarea,
.booking-popup__form_i input {
  width: 100% !important;
  max-width: 100% !important;
  padding: 20px 16px !important;
  margin: 0 !important;
  margin-bottom: 15px !important;
  border: none !important;
  border-radius: 15px !important;
  box-sizing: border-box !important;
  background: #FCFCFC !important;
  outline: none !important;
  height: 60px !important;
}

/* чекбокс и текст */
.booking-popup__consent {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.booking-popup__consent input {
  width: auto;
  height: 60px;
  margin: 0;
  color: #fcfcfc;
  font-size: 10px !important;
}
.booking-popup__consent a {
  color: #000;
  text-decoration: underline;
}

.booking-popup__submit.highlight1 {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
}
.booking-popup__consent.text2 {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}
@media (max-width: 769px) {
  .booking-popup__submit.text2-bold-mob {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .booking-popup__consent.text4-mob {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 400 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
}

/* кнопка «Отправить» */
.booking-popup__submit {
  padding: 15px 308.5px !important;
  max-width: 740px !important;
  height: 60px !important;
  border: none !important;
  border-radius: 999px !important;
  background: #F285BE !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  transition: background .3s !important;
  white-space: nowrap;
}
.booking-popup__submit:hover {
  background: #0787E3 !important;
}

.booking-popup__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;       /* по горизонтали */
  justify-content: center;   /* по вертикали */
  text-align: center;
}
.booking-popup__thanks-img {
  width: 100%;
  max-width: 380px;
}

/* ======== MOBILE ======== */
@media (max-width: 480px) {
  .booking-popup__content {
    padding: 20px !important;
  }
  .booking-popup__submit {
    padding: 14px 88px !important;
  }
}
