/* Trigger styles (host page) */
.clickfox-booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  background: #f97316;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 4px 14px -4px rgba(249, 115, 22, 0.55);
  transition: background 0.15s ease;
  text-decoration: none;
}

.clickfox-booking-btn:hover {
  background: #ea580c;
  color: #ffffff;
}

.clickfox-booking-link {
  color: #f97316;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.clickfox-booking-link:hover {
  color: #ea580c;
}

.clickfox-booking-inline {
  width: 100%;
  min-height: 650px;
}

.clickfox-booking-inline iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #fafaf9;
}

/* Popup overlay (injected by booking.js) */
.clickfox-booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(24, 24, 27, 0.55);
  backdrop-filter: blur(2px);
}

.clickfox-booking-panel {
  position: relative;
  width: 100%;
  max-width: 920px;
  height: min(90vh, 820px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  outline: none;
}

.clickfox-booking-panel--dark {
  background: #18181b;
}

.clickfox-booking-panel iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fafaf9;
}

.clickfox-booking-panel--dark iframe {
  background: #09090b;
}

.clickfox-booking-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #3f3f46;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clickfox-booking-close:hover {
  background: #ffffff;
  color: #18181b;
}

.clickfox-booking-panel--dark .clickfox-booking-close {
  background: rgba(39, 39, 42, 0.95);
  color: #e4e4e7;
}

.clickfox-booking-panel--dark .clickfox-booking-close:hover {
  background: #27272a;
  color: #fafafa;
}

@media (max-width: 640px) {
  .clickfox-booking-overlay {
    padding: 0;
  }

  .clickfox-booking-panel {
    position: fixed;
    inset: 0;
    max-width: none;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
}
