/* JCPIT theme extension only; service settings and other themes stay portable. */
.creavibc-booking-wrapper,
body.creavibc-standalone-booking {
  --jcpit-booking-paper: #f4f2ed;
  --jcpit-booking-ink: #1c1c20;
  --jcpit-booking-muted: #515158;
  --jcpit-booking-line: #d7d5ce;
  --creavibc-primary: #f26522 !important;
  font-family: Inter, "Inter Fallback", system-ui, sans-serif;
  color: var(--jcpit-booking-ink);
  line-height: 1.5;
  color-scheme: light;
}
body.creavibc-standalone-booking {
  margin: 0;
  background: var(--jcpit-booking-paper);
}
.creavibc-standalone-main {
  position: relative;
  isolation: isolate;
  width: min(1184px, calc(100% - 48px));
  padding: 24px 0 64px;
}
.creavibc-standalone-main::before {
  content: "";
  position: absolute;
  inset: 0 calc((min(1184px, 100vw - 48px) - 100vw) / 2) auto;
  height: 400px;
  background: var(--jcpit-booking-dots) center top / cover no-repeat;
  pointer-events: none;
  z-index: -1;
}
.creavibc-standalone-bar {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #111113;
  box-sizing: border-box;
}
.creavibc-standalone-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  color: #f4f2ed;
  letter-spacing: normal;
  text-decoration: none;
}
.creavibc-standalone-brand .logo-mark { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.creavibc-standalone-brand .logo-accent { color: #f26522; }
.creavibc-standalone-brand .logo-divider { width: 3px; align-self: stretch; margin: 4px 0; background: #f26522; opacity: .7; border-radius: 2px; }
.creavibc-standalone-brand .logo-right { display: flex; flex-direction: column; justify-content: center; }
.creavibc-standalone-brand .logo-support { font-size: .875rem; font-weight: 600; letter-spacing: .12em; line-height: 1; }
.creavibc-standalone-brand .logo-tagline { margin-top: 5px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; white-space: nowrap; color: #c4c4c6; }
.creavibc-standalone-brand .logo-tagline-bold { font-weight: 800; }
.creavibc-standalone-heading { margin: 40px 0 32px; }
.creavibc-standalone-heading h1 { max-width: 20ch; font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: #111113; text-wrap: balance; }
.creavibc-standalone-heading p { max-width: 65ch; margin-top: 16px; font-size: 1.0625rem; color: #343439; }

/* White task surfaces deliberately exclude the decorative dot field. The extra
   wrapper specificity also handles services saved with the portable black theme. */
.creavibc-booking-wrapper .creavibc-popup,
.creavibc-booking-wrapper .creavibc-popup.creavibc-theme-line-frame {
  --creavibc-primary: #f26522 !important;
  --creavibc-theme-bg: #fff;
  --creavibc-theme-line: #d7d5ce;
  background: #fff !important;
  color: #1c1c20 !important;
  max-width: 1040px;
  border: 1px solid #d7d5ce !important;
  border-radius: 12px;
  box-shadow: none !important;
  transition: none;
}
.creavibc-inline-wrapper .creavibc-popup { max-width: none; }
.creavibc-booking-wrapper .creavibc-popup :is(.creavibc-popup-content,.creavibc-left,.creavibc-right,.creavibc-step,.creavibc-calendar-wrap,.creavibc-time-wrap,.creavibc-summary,.creavibc-thankyou,.creavibc-thankyou-wrap,.flatpickr-calendar,.flatpickr-months,.flatpickr-month,.flatpickr-innerContainer,.flatpickr-rContainer,.flatpickr-days,.dayContainer) { background: #fff !important; color: #1c1c20 !important; }
.creavibc-booking-wrapper .creavibc-popup :is(h2,h3,h4,p,span,label,strong,div) { color: #1c1c20 !important; }
.creavibc-booking-wrapper .creavibc-popup-content { padding: 32px; gap: 40px; }
.creavibc-booking-wrapper :is(.creavibc-left,.creavibc-right) { min-width: 0; }
.creavibc-booking-wrapper .creavibc-left { flex: 1 1 38%; }
.creavibc-booking-wrapper .creavibc-right { flex: 1 1 56%; }
.creavibc-booking-wrapper .creavibc-left h3 { margin: 0 0 16px; font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.creavibc-booking-wrapper .creavibc-left p { margin: 0 0 16px; max-width: 65ch; }
.creavibc-booking-wrapper .creavibc-popup-footer { padding: 24px 32px; gap: 16px; border-top: 1px solid #d7d5ce; box-shadow: none; background: #f4f2ed !important; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-summary { margin: 0; white-space: normal; background: transparent !important; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-summary span { background: transparent !important; }
.creavibc-booking-wrapper .creavibc-footer-buttons { gap: 12px; }
.creavibc-booking-wrapper .creavibc-popup :is(button,input,textarea,select) { font: inherit; box-sizing: border-box; }
.creavibc-booking-wrapper .creavibc-popup-footer button { min-height: 44px; padding: 10px 24px; border-radius: 8px; font-weight: 600; background: #f26522 !important; border: 1px solid #f26522 !important; color: #111113 !important; opacity: 1; }
.creavibc-booking-wrapper .creavibc-popup-footer button:hover { background: #e85b18 !important; color: #111113 !important; opacity: 1; }
.creavibc-booking-wrapper .creavibc-popup-footer .creavibc-back { background: #fff !important; border-color: #85858b !important; }
.creavibc-booking-wrapper .creavibc-popup-footer .creavibc-back:hover { background: #e9e7e1 !important; }
.creavibc-booking-wrapper .creavibc-popup button:disabled { background: #e6e4df !important; border-color: #d7d5ce !important; color: #64646b !important; opacity: 1; }
.creavibc-booking-wrapper .creavibc-popup :is(input:not([type="checkbox"]),textarea,select):not(.cur-year):not(.flatpickr-monthDropdown-months) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #85858b !important; border-radius: 6px; background: #fff !important; color: #1c1c20 !important; box-shadow: none; caret-color: #1c1c20; }
.creavibc-booking-wrapper .creavibc-popup :is(input,textarea)::placeholder { color: #626269 !important; opacity: 1; }
.creavibc-booking-wrapper .creavibc-step-2 label { margin-bottom: 16px; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-consent-field { gap: 12px; line-height: 1.5; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-consent-field input { flex-shrink: 0; accent-color: #1c1c20; }
.creavibc-booking-wrapper .creavibc-popup :is(.creavibc-consent-field a,.creavibc-meeting-link,.creavibc-linkpill-text) { color: #943509 !important; text-decoration: underline; text-underline-offset: 3px; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-required { color: #b42318 !important; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-error-msg { color: #b42318 !important; font-size: .875rem; }
.creavibc-booking-wrapper .creavibc-popup :is(input:not([type="checkbox"]),textarea,select).creavibc-field-error:not(.cur-year):not(.flatpickr-monthDropdown-months),
.creavibc-booking-wrapper .creavibc-popup input[type="checkbox"].creavibc-field-error { border-color: #b42318 !important; background: #fff5f4 !important; }
.creavibc-booking-wrapper :focus-visible,
.creavibc-booking-wrapper .creavibc-popup :is(input,textarea,select):focus,
.creavibc-standalone-brand:focus-visible { outline: 2px solid #943509; outline-offset: 3px; box-shadow: none; }
.creavibc-standalone-brand:focus-visible { outline-color: #f26522; }
.creavibc-booking-wrapper ::selection { color: #111113; background: #ffd4bd; }
.creavibc-booking-wrapper .creavibc-popup { scrollbar-color: #aaa9a3 #f4f2ed; scrollbar-width: thin; }
.creavibc-booking-wrapper .flatpickr-calendar.inline { width: 100%; max-width: 100%; top: 0; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-calendar { box-shadow: none; border: 0; }
.creavibc-booking-wrapper .creavibc-popup :is(.flatpickr-current-month,.flatpickr-monthDropdown-months,.flatpickr-weekday,.flatpickr-day,.flatpickr-prev-month,.flatpickr-next-month),
.creavibc-booking-wrapper .creavibc-popup .flatpickr-current-month input.cur-year { color: #1c1c20 !important; fill: #1c1c20 !important; background: #fff !important; }
.creavibc-booking-wrapper .creavibc-popup :is(.flatpickr-prev-month svg,.flatpickr-next-month svg) { fill: #1c1c20 !important; }
/* Vendor CSS arrives lazily: reserve the full arrow hit area in the month row. */
.creavibc-booking-wrapper .creavibc-popup .flatpickr-months { position: relative; min-height: 44px; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-month { height: 44px; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-current-month { height: 44px; display: flex; align-items: center; justify-content: center; }
.creavibc-booking-wrapper .creavibc-popup :is(.flatpickr-prev-month,.flatpickr-next-month) { box-sizing: border-box; width: 44px; height: 44px; padding: 0; top: 0; background: transparent !important; }
.creavibc-booking-wrapper .creavibc-popup :is(.flatpickr-prev-month,.flatpickr-next-month):not(.flatpickr-disabled) { display: flex; align-items: center; justify-content: center; }
.creavibc-booking-wrapper .creavibc-popup :is(.flatpickr-innerContainer,.flatpickr-rContainer,.flatpickr-weekdaycontainer) { width: 100%; min-width: 0; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-days,
.creavibc-booking-wrapper .creavibc-popup .dayContainer { width: 100%; min-width: 0; max-width: none; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-day { max-width: none; height: 40px; line-height: 40px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-day:not(.flatpickr-disabled,.selected):hover { background: #f4f2ed !important; border-color: #aaa9a3 !important; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-day.flatpickr-disabled { color: #85858b !important; opacity: 1; }
.creavibc-booking-wrapper .creavibc-popup .flatpickr-day.selected { color: #111113 !important; background: #f26522 !important; border-color: #f26522 !important; }
.creavibc-booking-wrapper .creavibc-popup button.creavibc-slot-btn { flex: 1 0 110px; margin: 0; min-height: 44px; padding: 8px 12px; border-radius: 6px; opacity: 1; transform: none; }
.creavibc-booking-wrapper .creavibc-popup button.creavibc-slot-btn:not(:disabled) { border: 1px solid #85858b !important; background: #fff !important; color: #1c1c20 !important; }
.creavibc-booking-wrapper .creavibc-time-slots { gap: 8px; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-slot-btn:is(.selected,:hover):not(:disabled) { background: #f26522 !important; border-color: #f26522 !important; color: #111113 !important; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-timezone-icon g { stroke: #1c1c20 !important; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-tooltip { border: 1px solid #d7d5ce !important; background: #fff !important; }
.creavibc-booking-wrapper .creavibc-popup .creavibc-thankyou-title { color: #1c1c20 !important; }
.creavibc-booking-wrapper .creavibc-popup :is(.creavibc-meeting-box,.creavibc-linkpill) { background: #f4f2ed !important; border: 0 !important; box-shadow: none; }
.creavibc-booking-wrapper .creavibc-close { width: 44px; height: 44px; top: 8px; right: 8px; color: #1c1c20 !important; }
.creavibc-booking-wrapper .creavibc-close:hover { transform: none; background: #f4f2ed; }
.creavibc-popup-overlay.creavibc-booking-wrapper { padding: 16px; box-sizing: border-box; }
.creavibc-popup-overlay.creavibc-booking-wrapper .creavibc-popup { height: auto; max-width: 1280px; max-height: calc(100dvh - 32px); }
.creavibc-popup-overlay .creavibc-popup-content { padding-top: 56px; }
/* Natural height first. Native overflow remains available on short/small screens. */
.creavibc-popup-overlay .creavibc-popup-content { min-height: 0; scrollbar-color: #aaa9a3 #f4f2ed; scrollbar-width: auto; }
.creavibc-popup-overlay .creavibc-popup-footer { flex-shrink: 0; }
@media (min-width: 960px) {
  .creavibc-popup-overlay .creavibc-popup-content { padding: 56px 24px 24px; gap: 24px; }
  .creavibc-popup-overlay .creavibc-left { flex: 1 1 24%; }
  .creavibc-popup-overlay .creavibc-right { flex: 1 1 76%; }
  .creavibc-popup-overlay .creavibc-left img { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 0 20px; }
  /* JS sets inline block/none on step changes; never override its hidden step. */
  .creavibc-popup-overlay .creavibc-step-1:not([style*="display: none"]):not([style*="display:none"]) { display: grid !important; grid-template-columns: minmax(288px, 1fr) minmax(264px, 1fr); gap: 24px; align-items: start; }
  .creavibc-popup-overlay .creavibc-time-wrap { margin-top: 0; }
  .creavibc-popup-overlay .creavibc-time-slots:not(.is-loading) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creavibc-popup-overlay .creavibc-popup button.creavibc-slot-btn { min-width: 0; padding-inline: 4px; }
  .creavibc-popup-overlay .creavibc-step-2:has(> label):not([style*="display: none"]):not([style*="display:none"]) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .creavibc-popup-overlay .creavibc-step-2 > label { min-width: 0; margin: 0; }
  .creavibc-popup-overlay .creavibc-step-2 > :is(.creavibc-form-heading,.creavibc-consent-field,label:has(textarea)) { grid-column: 1 / -1; }
  .creavibc-popup-overlay .creavibc-form-heading { margin: 0; }
  .creavibc-popup-overlay .creavibc-popup-footer { padding: 20px 24px; }
}

@media (max-width: 768px) {
  .creavibc-standalone-main { width: calc(100% - 32px); padding: 16px 0 40px; }
  .creavibc-standalone-main::before { inset-inline: -16px; height: 320px; }
  .creavibc-standalone-bar { min-height: 68px; padding: 12px 16px; }
  .creavibc-standalone-brand .logo-mark { font-size: 2rem; }
  .creavibc-standalone-heading { margin: 28px 0 24px; }
  .creavibc-standalone-heading h1 { font-size: clamp(2.4rem, 8vw, 3rem); }
  .creavibc-booking-wrapper .creavibc-popup-content { padding: 24px; gap: 24px; }
  .creavibc-booking-wrapper :is(.creavibc-left,.creavibc-right) { flex: none; width: 100%; }
  .creavibc-booking-wrapper .creavibc-popup-footer { padding: 20px 24px; }
  .creavibc-booking-wrapper .creavibc-summary { justify-content: flex-start; gap: 8px; margin: 0; }
  .creavibc-booking-wrapper .creavibc-footer-buttons { flex-wrap: nowrap; }
  .creavibc-booking-wrapper .creavibc-footer-buttons button { min-width: 0; flex: 1; padding-inline: 12px; }
  .creavibc-popup-overlay .creavibc-popup-content { padding-top: 56px; }
}
@media (max-width: 360px) {
  .creavibc-booking-wrapper .creavibc-popup-content { padding-inline: 16px; }
  .creavibc-booking-wrapper .creavibc-popup-footer { padding-inline: 16px; }
  .creavibc-booking-wrapper .creavibc-popup .flatpickr-day { height: 36px; line-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .creavibc-booking-wrapper *, .creavibc-booking-wrapper *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .creavibc-standalone-main::before { display: none; }
  .creavibc-booking-wrapper .creavibc-popup :is(button,input,textarea):focus-visible { outline-color: Highlight; }
}
