/**
 * Booking auth popup — Figma login form 1350:24514.
 */
.booking-auth-modal-pane.is-hidden {
  display: none !important;
}

/* Modal shell */
.booking-auth-modal-bs .modal-dialog {
  width: 480px;
  max-width: calc(100vw - 32px);
  margin: auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-auth-modal-bs.is-register .modal-dialog {
  width: 625px;
}

.booking-auth-modal-bs .modal-content {
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(29, 42, 92, 0.18);
  background: #fff;
}

.booking-auth-modal-bs__close {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #f8ba16;
  cursor: pointer;
  opacity: 1;
}

.booking-auth-modal-bs.is-register .booking-auth-modal-bs__close {
  top: 16px;
  right: 16px;
  background: transparent;
}

.booking-auth-modal-bs__close:hover,
.booking-auth-modal-bs__close:focus {
  opacity: 0.92;
  outline: none;
}

.booking-auth-modal-bs__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.booking-auth-modal-bs__body {
  padding: 0;
  max-height: calc(100vh - 60px);
  overflow: auto;
}

form.cassiopeia-product-booking-auth-modal {
  margin: 0;
}

/* Login panel — Figma Filter 1350:24514 */
#cassiopeia-product-booking-auth-login-form,
.booking-auth-modal--login {
  width: 100%;
}

.booking-auth-modal--login .booking-auth-modal__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
}

.booking-auth-modal--login .booking-auth-modal__head {
  position: relative;
  padding-right: 32px;
}

.booking-auth-modal--login .booking-auth-modal__head-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-auth-modal--login .booking-auth-modal__title {
  margin: 0;
  color: #1d2a5c;
  font-family: "SemiBold", sans-serif;
  font-size: 24px;
  line-height: 32px;
  text-transform: none;
}

.booking-auth-modal--login .booking-auth-modal__subtitle {
  margin: 0;
  color: #94a3b8;
  font-family: "Regular", sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.booking-auth-login-form__fields-wrap,
.booking-auth-login-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.booking-auth-modal--login .auth-field--booking {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.booking-auth-modal--login .auth-field__label {
  margin: 0;
  color: #555d6e;
  font-family: "Medium", sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.booking-auth-modal--login .auth-field__label .is-required {
  color: #da100b;
  font-family: "SemiBold", sans-serif;
}

.booking-auth-modal--login .auth-field__control--with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  background: #f5f6f8;
  box-sizing: border-box;
}

.booking-auth-modal--login .auth-field__control--with-icon:focus-within {
  border-color: #1d2a5c;
  background: #fff;
}

.booking-auth-modal--login .auth-field__leading-icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.booking-auth-modal--login .auth-field__control--with-icon .form-text,
.booking-auth-modal--login .auth-field__control--with-icon .form-password {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0c0c0c;
  font-family: "Regular", sans-serif !important;
  font-size: 16px;
  line-height: 24px;
  outline: none;
}

.booking-auth-modal--login .auth-field__control--with-icon input::placeholder {
  color: #98a7bb;
}

.booking-auth-modal--login .auth-field__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.booking-auth-modal--login .auth-field__toggle-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.booking-auth-modal--login .auth-field__toggle-icon--hide {
  display: none;
}

.booking-auth-modal--login .auth-field__toggle.is-password-visible .auth-field__toggle-icon--show {
  display: none;
}

.booking-auth-modal--login .auth-field__toggle.is-password-visible .auth-field__toggle-icon--hide {
  display: block;
}

/* Remember + forgot */
.booking-auth-modal--login .booking-auth-modal__extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.booking-auth-modal--login .booking-auth-modal__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.booking-auth-modal--login .booking-auth-modal__remember input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-auth-modal--login .booking-auth-modal__remember-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.booking-auth-modal--login .booking-auth-modal__remember-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.booking-auth-modal--login .booking-auth-modal__checkbox-on {
  display: none;
}

.booking-auth-modal--login input:checked + .booking-auth-modal__remember-icon .booking-auth-modal__checkbox-off {
  display: none;
}

.booking-auth-modal--login input:checked + .booking-auth-modal__remember-icon .booking-auth-modal__checkbox-on {
  display: block;
}

.booking-auth-modal--login .booking-auth-modal__remember-text {
  color: #121212;
  font-family: "Inter-Regular", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.booking-auth-modal--login .booking-auth-modal__forgot {
  color: #f8ba16;
  font-family: "Inter-SemiBold", sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.booking-auth-modal--login .booking-auth-modal__forgot:hover,
.booking-auth-modal--login .booking-auth-modal__forgot:focus {
  color: #f8ba16;
  text-decoration: none;
  opacity: 0.9;
}

/* Submit */
.booking-auth-modal--login .booking-auth-modal__actions,
.booking-auth-modal--login .booking-auth-modal__actions .form-actions {
  margin: 0;
  padding: 0;
}

.booking-auth-modal--login .booking-auth-login-form__submit,
.booking-auth-modal--login .booking-auth-modal__actions .form-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 16px 24px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f8ba16 !important;
  box-shadow: 0 8px 10px rgba(245, 166, 35, 0.4) !important;
  color: #1d2a5c !important;
  font-family: "Medium", sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  text-transform: uppercase !important;
  cursor: pointer;
}

.booking-auth-modal--login .booking-auth-login-form__submit:hover,
.booking-auth-modal--login .booking-auth-login-form__submit:focus,
.booking-auth-modal--login .booking-auth-modal__actions .form-submit:hover,
.booking-auth-modal--login .booking-auth-modal__actions .form-submit:focus {
  background: #f6c24d !important;
  outline: none;
}

/* Social login */
.booking-auth-modal--login .booking-auth-modal__social {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.booking-auth-modal--login .booking-auth-modal__or {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.6;
}

.booking-auth-modal--login .booking-auth-modal__or-line {
  flex: 1 1 0;
  height: 1px;
  background: #e7ebf2;
}

.booking-auth-modal--login .booking-auth-modal__or-text {
  flex-shrink: 0;
  color: #85b0de;
  font-family: "Inter-Medium", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.booking-auth-modal--login .booking-auth-modal__social-buttons {
  display: flex;
  gap: 16px;
  width: 100%;
}

.booking-auth-modal--login .booking-auth-modal__social-btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 48px;
  padding: 16px;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  background: #fff;
  color: #1d2a5c;
  font-family: "Medium", sans-serif;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.booking-auth-modal--login .booking-auth-modal__social-btn img {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.booking-auth-modal--login .booking-auth-modal__social-btn:hover,
.booking-auth-modal--login .booking-auth-modal__social-btn:focus {
  border-color: #d8dee8;
  outline: none;
}

/* Footer */
.booking-auth-modal--login .booking-auth-modal__footer {
  margin: 0;
  color: #0c0c0c;
  font-family: "Regular", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.booking-auth-modal--login .booking-auth-modal__switch-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8ba16;
  font-family: "Medium", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  cursor: pointer;
}

.booking-auth-modal--login .booking-auth-modal__switch-link:hover,
.booking-auth-modal--login .booking-auth-modal__switch-link:focus {
  color: #f6c24d;
  outline: none;
}

/* Errors */
.booking-auth-modal .booking-auth-modal__messages {
  margin: 0;
}

.booking-auth-modal__error-list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
}

.booking-auth-modal .form-item.error .auth-field__label {
  color: #cf1322;
}

.booking-auth-modal .form-item.error .auth-field__control--with-icon {
  border-color: #cf1322;
  background: #fff;
}

.booking-auth-modal .form-item .messages,
.booking-auth-modal .form-item .messages.error {
  display: block;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #cf1322;
  font-size: 13px;
  line-height: 20px;
}

/* Register panel — Figma 1350:23348 */
#cassiopeia-product-booking-auth-register-form,
.booking-auth-modal--register {
  width: 100%;
}

.booking-auth-modal--register .booking-auth-modal__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
}

.booking-auth-modal--register .booking-auth-modal__head {
  position: relative;
  padding-right: 32px;
}

.booking-auth-modal--register .booking-auth-modal__head-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-auth-modal--register .booking-auth-modal__title {
  margin: 0;
  color: #1d2a5c;
  font-family: "SemiBold", sans-serif;
  font-size: 24px;
  line-height: 32px;
  text-transform: none;
}

.booking-auth-modal--register .booking-auth-modal__subtitle {
  margin: 0;
  color: #94a3b8;
  font-family: "Regular", sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.booking-auth-register-form__fields-wrap,
.booking-auth-register-form__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.booking-auth-modal--register .auth-field--booking {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.booking-auth-modal--register .auth-field__label {
  margin: 0;
  color: #555d6e;
  font-family: "Medium", sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.booking-auth-modal--register .auth-field__label .is-required {
  color: #da100b;
  font-family: "SemiBold", sans-serif;
}

.booking-auth-modal--register .auth-field__control--with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  background: #f5f6f8;
  box-sizing: border-box;
}

.booking-auth-modal--register .auth-field__control--with-icon:focus-within {
  border-color: #1d2a5c;
  background: #fff;
}

.booking-auth-modal--register .auth-field__leading-icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.booking-auth-modal--register .auth-field__control--with-icon .form-text,
.booking-auth-modal--register .auth-field__control--with-icon .form-password {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0c0c0c;
  font-family: "Regular", sans-serif !important;
  font-size: 16px;
  line-height: 24px;
  outline: none;
}

.booking-auth-modal--register .auth-field__control--with-icon input::placeholder {
  color: #98a7bb;
}

.booking-auth-modal--register .auth-field__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.booking-auth-modal--register .auth-field__toggle-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.booking-auth-modal--register .auth-field__toggle-icon--hide {
  display: none;
}

.booking-auth-modal--register .auth-field__toggle.is-password-visible .auth-field__toggle-icon--show {
  display: none;
}

.booking-auth-modal--register .auth-field__toggle.is-password-visible .auth-field__toggle-icon--hide {
  display: block;
}

/* Terms checkbox */
.booking-auth-modal--register .booking-auth-modal__terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.booking-auth-modal--register .booking-auth-modal__terms input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-auth-modal--register .booking-auth-modal__terms-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.booking-auth-modal--register .booking-auth-modal__terms-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.booking-auth-modal--register .booking-auth-modal__checkbox-on {
  display: none;
}

.booking-auth-modal--register input:checked + .booking-auth-modal__terms-icon .booking-auth-modal__checkbox-off {
  display: none;
}

.booking-auth-modal--register input:checked + .booking-auth-modal__terms-icon .booking-auth-modal__checkbox-on {
  display: block;
}

.booking-auth-modal--register .booking-auth-modal__terms-text {
  color: #0c0c0c;
  font-family: "Regular", sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.booking-auth-modal--register .booking-auth-modal__terms-link {
  color: #0652b0;
  font-family: "Medium", sans-serif;
  text-decoration: underline;
}

.booking-auth-modal--register .booking-auth-modal__terms-link:hover,
.booking-auth-modal--register .booking-auth-modal__terms-link:focus {
  color: #0652b0;
  opacity: 0.9;
}

/* Submit */
.booking-auth-modal--register .booking-auth-modal__actions,
.booking-auth-modal--register .booking-auth-modal__actions .form-actions {
  margin: 0;
  padding: 0;
}

.booking-auth-modal--register .booking-auth-register-form__submit,
.booking-auth-modal--register .booking-auth-modal__actions .form-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 16px 24px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f8ba16 !important;
  box-shadow: 0 8px 10px rgba(245, 166, 35, 0.4) !important;
  color: #1d2a5c !important;
  font-family: "Medium", sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  text-transform: uppercase !important;
  cursor: pointer;
}

.booking-auth-modal--register .booking-auth-register-form__submit:hover,
.booking-auth-modal--register .booking-auth-register-form__submit:focus,
.booking-auth-modal--register .booking-auth-modal__actions .form-submit:hover,
.booking-auth-modal--register .booking-auth-modal__actions .form-submit:focus {
  background: #f6c24d !important;
  outline: none;
}

/* Social signup */
.booking-auth-modal--register .booking-auth-modal__social ,
.auth-page--booking-modal #user-login > div,
.auth-page--booking-modal form.auth-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.booking-auth-modal--register .booking-auth-modal__or {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.6;
}

.booking-auth-modal--register .booking-auth-modal__or-line {
  flex: 1 1 0;
  height: 1px;
  background: #e7ebf2;
}

.booking-auth-modal--register .booking-auth-modal__or-text {
  flex-shrink: 0;
  color: #85b0de;
  font-family: "Inter-Medium", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.booking-auth-modal--register .booking-auth-modal__social-buttons {
  display: flex;
  gap: 16px;
  width: 100%;
}

.booking-auth-modal--register .booking-auth-modal__social-btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 48px;
  padding: 16px;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  background: #fff;
  color: #1d2a5c;
  font-family: "Medium", sans-serif;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.booking-auth-modal--register .booking-auth-modal__social-btn--facebook {
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.2);
}

.booking-auth-modal--register .booking-auth-modal__social-btn img {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.booking-auth-modal--register .booking-auth-modal__social-btn:hover,
.booking-auth-modal--register .booking-auth-modal__social-btn:focus {
  border-color: #d8dee8;
  outline: none;
}

.booking-auth-modal--register .booking-auth-modal__social-btn--facebook:hover,
.booking-auth-modal--register .booking-auth-modal__social-btn--facebook:focus {
  border-color: rgba(24, 119, 242, 0.35);
}

/* Footer */
.booking-auth-modal--register .booking-auth-modal__footer {
  margin: 0;
  color: #0c0c0c;
  font-family: "Regular", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.booking-auth-modal--register .booking-auth-modal__switch-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8ba16;
  font-family: "Medium", sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  cursor: pointer;
}

.booking-auth-modal--register .booking-auth-modal__switch-link:hover,
.booking-auth-modal--register .booking-auth-modal__switch-link:focus {
  color: #f6c24d;
  outline: none;
}

@media (max-width: 767px) {
  .booking-auth-modal-bs .modal-dialog,
  .booking-auth-modal-bs.is-register .modal-dialog {
    width: calc(100vw - 32px);
  }

  .booking-auth-modal-bs__close {
    top: 20px;
    right: 20px;
  }

  .booking-auth-modal--login .booking-auth-modal__panel {
    padding: 24px 20px;
    gap: 20px;
  }

  .booking-auth-modal--login .booking-auth-modal__social-buttons {
    flex-direction: column;
  }

  .booking-auth-modal--register .booking-auth-modal__panel {
    padding: 24px 20px;
    gap: 20px;
  }

  .booking-auth-modal--register .booking-auth-modal__social-buttons {
    flex-direction: column;
  }
}
