/* Booking form: open selects upward (avoids clipping at page bottom) */
.tp-booking__form .nice-select {
  position: relative;
  z-index: 1;
}

.tp-booking__form .nice-select.open {
  z-index: 20;
}

.tp-booking__form .nice-select .list {
  top: auto;
  bottom: calc(100% + 4px);
  margin-top: 0;
  transform-origin: 50% 100%;
  transform: scale(0.75) translateY(21px);
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
}

.tp-booking__form .nice-select.open .list {
  transform: scale(1) translateY(0);
}

/* Extra scroll room below the form */
.tp-booking__area .container {
  padding-bottom: 120px;
}

/* Form feedback messages */
.tp-booking__form-message {
  margin: 0 0 24px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.tp-booking__form-message.is-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.tp-booking__form-message.is-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.tp-booking__form-message.is-loading {
  background: var(--tp-theme-primary-5, #f5f5f5);
  color: var(--tp-common-black, #1e1d2b);
  border: 1px solid #e8e8e8;
}

.tp-booking__form .submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
