/* ─── Booking platform modal ─── */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.booking-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-lg);
  animation: bookingModalIn 0.22s ease;
}

@keyframes bookingModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text);
  transition: background var(--transition);
}

.booking-modal__close:hover {
  background: var(--color-bg-light);
}

.booking-modal__close svg {
  width: 18px;
  height: 18px;
}

.booking-modal__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  padding-right: 28px;
}

.booking-modal__summary {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.45;
}

.booking-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── Platform CTAs ─── */
.booking-platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.booking-platform-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

.booking-platform-btn:active {
  transform: translateY(0);
}

.booking-platform-btn--airbnb {
  background: #FF385C;
  box-shadow: 0 2px 8px rgba(255, 56, 92, 0.25);
}

.booking-platform-btn--airbnb:hover {
  background: #E31C5F;
  box-shadow: 0 4px 16px rgba(255, 56, 92, 0.35);
}

.booking-platform-btn--booking {
  background: #003580;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.25);
}

.booking-platform-btn--booking:hover {
  background: #00224F;
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.35);
}

.booking-platform-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.booking-platform-btn__logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.booking-platform-btn__label {
  line-height: 1;
}

@media (max-width: 480px) {
  .booking-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .booking-modal__panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 28px 20px 24px;
  }
}
