/* ============================================================================
   Creavi Booking Calendar — Admin Styles
   Single-pass, one source of truth per selector.
   ============================================================================ */


/* ===========================================================================
   1. DESIGN TOKENS
   =========================================================================== */

:root {
  --cbs-accent:          #4a46e5;
  --cbs-accent-2:        #818cf8;
  --cbs-accent-3:        #6366f1;
  --cbs-text:            #111827;
  --cbs-muted:           #6b7280;
  --cbs-border:          rgba(0,0,0,.08);
  --cbs-border-2:        rgba(0,0,0,.06);
  --cbs-radius:          12px;
  --cbs-shadow:          0 1px 4px rgba(0,0,0,.05);
  --cbs-ring:            rgba(74,70,229,.14);
  --cbs-ring-2:          rgba(129,140,248,.18);

  /* legacy aliases kept for components that reference them */
  --creavibc-accent:       var(--cbs-accent);
  --creavibc-accent-2:     var(--cbs-accent-2);
  --creavibc-text:         var(--cbs-text);
  --creavibc-muted:        var(--cbs-muted);
  --creavibc-radius:       16px;
  --creavibc-glass:        rgba(255,255,255,.72);
  --creavibc-glass-2:      rgba(255,255,255,.58);
  --creavibc-stroke:       var(--cbs-border);
  --creavibc-stroke-2:     var(--cbs-border-2);
  --creavibc-shadow:       0 18px 55px rgba(0,0,0,.10);
  --creavibc-shadow-soft:  0 10px 30px rgba(0,0,0,.07);
  --creavibc-ring:         rgba(74,70,229,.16);
  --creavibc-ring-2:       var(--cbs-ring-2);
}


/* ===========================================================================
   2. FORM FIELD UTILITIES
   =========================================================================== */

.creavibc-custom-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}
.creavibc-custom-row:hover { transform: none; }

.creavibc-custom-row input[type="text"] {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.creavibc-custom-row select {
  min-width: 100px;
  padding: 5px;
  border-radius: 4px;
}

.creavibc-custom-row .button {
  height: 32px;
  line-height: 1;
  padding: 0 8px;
}

.creavibc-slot-row {
  display: flex;
  gap: 32px;
  margin-bottom: 8px;
  align-items: center;
}
.creavibc-slot-row input[type="time"] { width: 120px; }

.creavibc-default-field-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px 48px;
  margin-bottom: 10px;
}

.creavibc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  margin-bottom: 0 !important;
}

.creavibc-add-row-before,
.creavibc-add-row-after {
  display: block;
  margin: 10px auto;
}

#creavibc_booking_form_fields .creavibc-default-field-row {
  display: grid;
  grid-template-columns: 150px 130px;
  align-items: center;
  column-gap: 28px;
  row-gap: 8px;
  margin-bottom: 12px;
}

#creavibc_booking_form_fields .creavibc-checkbox-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

#creavibc_booking_form_fields .creavibc-custom-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 140px 42px;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

#creavibc_booking_form_fields .creavibc-custom-row:hover {
  transform: none !important;
}

#creavibc_booking_form_fields .creavibc-custom-row input[type="text"],
#creavibc_booking_form_fields .creavibc-custom-row select {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#creavibc_booking_form_fields .creavibc-custom-row label {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#creavibc_booking_form_fields .creavibc-remove-field {
  justify-self: end;
  width: 30px;
  min-width: 30px;
  padding: 0 !important;
}

/* Booking form fields rows */
#creavibc-add-field {
  margin-top: 10px;
  padding: 5px 12px;
  font-size: 14px;
}


/* ===========================================================================
   3. APPEARANCE METABOX  (Google-style layout)
   =========================================================================== */

/* Zero out default .inside padding so sections bleed edge-to-edge */
#creavibc_service_appearance .inside {
  padding: 0 !important;
}

/* Outer wrapper */
.creavibc-appearance-wrap {
  font-size: 13px;
  color: #1f2937;
}

/* ── Section ── */
.creavibc-ap-section {
  padding: 16px 20px 18px;
  border-bottom: 1px solid #f0f1f8;
}
.creavibc-ap-section--last,
.creavibc-ap-section:last-child {
  border-bottom: none;
}

/* Section label (Google "caption" style) */
.creavibc-ap-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(74,70,229,1);
  margin-bottom: 12px;
  line-height: 1;
}

/* ── Row ── */
.creavibc-ap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 18px;
}
.creavibc-ap-row + .creavibc-ap-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #eaecf8;
}

/* ── Individual field ── */
.creavibc-ap-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.creavibc-ap-field label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #5f6368 !important;
  letter-spacing: .02em !important;
  margin: 0 !important;
  white-space: nowrap;
  line-height: 1;
}

/* Color swatch */
.creavibc-ap-field--color {
  min-width: 68px;
  max-width: 88px;
}
.creavibc-ap-field--color input[type="color"] {
  width: 72px !important;
  height: 40px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(0,0,0,.10) !important;
  padding: 3px !important;
  min-height: unset !important;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
  transition: box-shadow .15s ease, border-color .15s ease !important;
}
.creavibc-ap-field--color input[type="color"]:hover {
  border-color: rgba(74,70,229,.35) !important;
  box-shadow: 0 2px 8px rgba(74,70,229,.14) !important;
}
.creavibc-ap-field--color input[type="color"]:focus {
  outline: none !important;
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
}

/* Text field (button label) */
.creavibc-ap-field--text {
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 340px;
}
.creavibc-ap-field--text input[type="text"] {
  width: 100% !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  min-height: unset !important;
  border-radius: 10px !important;
}

.creavibc-ap-theme-row {
  align-items: flex-start;
  gap: 18px 22px;
}

.creavibc-ap-field--theme {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.creavibc-ap-field-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #5f6368 !important;
  letter-spacing: .02em !important;
  line-height: 1;
}

.creavibc-theme-switch {
  display: inline-flex;
  gap: 4px;
  width: auto;
  padding: 3px;
  border: 1px solid rgba(17,24,39,.1);
  border-radius: 12px;
  background: #f6f7fb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.creavibc-theme-switch__option {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 82px;
  min-height: 30px;
  margin: 0 !important;
  padding: 0 12px;
  border-radius: 9px;
  color: #637087 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.creavibc-theme-switch__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.creavibc-theme-switch__option span {
  color: currentColor !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.creavibc-theme-switch__option.is-active,
.creavibc-theme-switch__option:has(input:checked) {
  background: #111827;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(17,24,39,.14);
}

.creavibc-theme-switch__option:first-child.is-active,
.creavibc-theme-switch__option:first-child:has(input:checked) {
  background: #fff;
  color: #1f2937 !important;
  box-shadow: 0 6px 14px rgba(17,24,39,.08);
}

.creavibc-ap-field--theme .description {
  max-width: 360px;
  margin: 7px 0 0 !important;
  color: #687386 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

/* Number field with unit badge */
.creavibc-ap-field--num {
  min-width: 80px;
  max-width: 106px;
}
.creavibc-ap-num-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  border: 1.5px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.92);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  transition: border-color .15s, box-shadow .15s;
}
.creavibc-ap-num-wrap:focus-within {
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
}

.post-type-creavibc_service #title,
.post-type-creavibc_service #title:focus {
  border: 0 !important;
}


/* ===========================================================================
   18. ADMIN METABOX TYPOGRAPHY NORMALIZATION
   =========================================================================== */

:root {
  --cbs-admin-label: #374151;
  --cbs-admin-help:  #4b5563;
}

.post-type-creavibc_service .inside label:not(.creavibc-toggle-option):not(.creavibc-lm-card):not(.creavibc-checkbox-label):not(:has(input[type="checkbox"])):not(:has(input[type="radio"])),
.post-type-creavibc_booking .inside label:not(.creavibc-toggle-option):not(.creavibc-lm-card):not(.creavibc-checkbox-label):not(:has(input[type="checkbox"])):not(:has(input[type="radio"])),
.post-type-creavibc_service .inside label strong,
.post-type-creavibc_booking .inside label strong,
.post-type-creavibc_service .inside p > strong,
.post-type-creavibc_booking .inside p > strong,
.creavibc-ap-field label,
#creavibc_available_days .creavibc-field > label,
#creavibc_location_meeting .creavibc-lm-field label,
#creavibc_service_notifications .inside label,
#creavibc_service_notifications .inside label strong,
#creavibc_google_calendar .creavibc-advanced-details label strong,
#creavibc_outlook_connection .creavibc-advanced-details label strong {
  display: inline-block !important;
  color: var(--cbs-admin-label) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.post-type-creavibc_service .inside .description,
.post-type-creavibc_booking .inside .description,
.post-type-creavibc_service .inside span.description,
.post-type-creavibc_booking .inside span.description,
.post-type-creavibc_service .inside .creavibc-help,
.post-type-creavibc_booking .inside .creavibc-help,
.creavibc-help,
.creavibc-ap-help,
.creavibc-tabs-subtitle,
.creavibc-sc-desc,
.creavibc-timezone-description,
.creavibc-admin-hint,
#creavibc_available_days .creavibc-help,
#creavibc_available_days .creavibc-ap-help,
#creavibc_service_notifications .inside .description,
#creavibc_service_notifications .inside span.description,
.cbs-reminder-toggle-row .cbs-reminder-toggle-text span,
#creavibc_location_meeting .creavibc-lm-help,
#creavibc_location_meeting .creavibc-lm-info,
#creavibc_google_calendar [style*="color:#666"],
#creavibc_google_calendar [style*="color: #666"],
#creavibc_outlook_connection [style*="color:#666"],
#creavibc_outlook_connection [style*="color: #666"],
.creavibc-metrics-optin [style*="color:#646970"] {
  color: var(--cbs-admin-help) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

.post-type-creavibc_service .inside label:has(input[type="radio"]),
.post-type-creavibc_service .inside label:has(input[type="checkbox"]),
.post-type-creavibc_booking .inside label:has(input[type="radio"]),
.post-type-creavibc_booking .inside label:has(input[type="checkbox"]),
.creavibc-checkbox-label,
.cbs-reminder-toggle-row {
  color: var(--cbs-admin-label) !important;
}

.post-type-creavibc_service .inside label:has(input[type="radio"]) strong,
.post-type-creavibc_service .inside label:has(input[type="checkbox"]) strong,
.post-type-creavibc_booking .inside label:has(input[type="radio"]) strong,
.post-type-creavibc_booking .inside label:has(input[type="checkbox"]) strong,
.cbs-reminder-toggle-row .cbs-reminder-toggle-text strong {
  color: var(--cbs-admin-label) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.creavibc-ap-section-label,
#creavibc_available_days .creavibc-panel-title,
.cbs-notif-section-title,
#creavibc_google_calendar .creavibc-advanced-details summary,
#creavibc_outlook_connection .creavibc-advanced-details summary,
#creavibc_location_meeting .creavibc-lm-intro {
  color: var(--cbs-accent) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}


/* ===========================================================================
   23. SELECT CHEVRON TRUE FINAL OVERRIDE
   =========================================================================== */

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select,
#creavibc_reminder_offset_minutes,
#creavibc_admin_reminder_offset_minutes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='4' viewBox='0 0 5 4'%3E%3Cpath d='M.75 1.1L2.5 2.85 4.25 1.1' stroke='%234a46e5' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 26px !important;
}

.post-type-creavibc_service .inside select.cbs-select-open,
.post-type-creavibc_booking .inside select.cbs-select-open,
.creavibc-select.cbs-select-open,
.creavibc-custom-row select.cbs-select-open,
.creavibc-style-field select.cbs-select-open,
#creavibc_location_meeting select.cbs-select-open,
#creavibc_reminder_offset_minutes.cbs-select-open,
#creavibc_admin_reminder_offset_minutes.cbs-select-open {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='4' viewBox='0 0 5 4'%3E%3Cpath d='M.75 2.9L2.5 1.15 4.25 2.9' stroke='%234a46e5' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* Appointment buffer: match the service settings dropdowns and keep the
   chevron in a dedicated tap area away from the option label. */
body.post-type-creavibc_service #creavibc_slot_buffer_minutes {
  width: min(100%, 280px) !important;
  min-height: 44px !important;
  box-sizing: border-box;
  padding: 10px 44px 10px 16px !important;
  border: 1px solid rgba(17, 24, 39, .12) !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1.25l3.5 3.5 3.5-3.5' stroke='%234a46e5' stroke-width='1.35' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  line-height: 1.4 !important;
}

body.post-type-creavibc_service #creavibc_slot_buffer_minutes:focus {
  border-color: var(--cbs-accent) !important;
  box-shadow: 0 0 0 1px var(--cbs-accent) !important;
  outline: none !important;
}

#creavibc_booking_form_fields input[type="text"],
#creavibc_booking_form_fields input[type="url"],
#creavibc_booking_form_fields select,
#creavibc_booking_form_fields textarea {
  color: #111827 !important;
  font-weight: 400 !important;
}


/* ===========================================================================
   24. BOOKING FORM CONSENT FIELD FINAL OVERRIDES
   =========================================================================== */

#creavibc_booking_form_fields .creavibc-consent-settings {
  max-width: 940px !important;
}

#creavibc_booking_form_fields .creavibc-consent-toggle-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px 28px !important;
  margin: 0 0 14px !important;
}

#creavibc_booking_form_fields .creavibc-consent-toggle-row .creavibc-checkbox-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  min-height: 24px !important;
  color: var(--cbs-admin-label) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

#creavibc_booking_form_fields .creavibc-consent-toggle-row input[type="checkbox"] {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

#creavibc_booking_form_fields .creavibc-consent-input-row {
  display: grid !important;
  grid-template-columns: minmax(320px, 1fr) minmax(240px, 320px) !important;
  gap: 14px 18px !important;
  align-items: end !important;
  margin: 0 !important;
}

#creavibc_booking_form_fields .creavibc-consent-input-row label {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
}

#creavibc_booking_form_fields .creavibc-consent-input-row label > span {
  display: block !important;
  color: var(--cbs-admin-label) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

#creavibc_booking_form_fields .creavibc-consent-input-row input {
  width: 100% !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

#creavibc_booking_form_fields .creavibc-consent-settings .description {
  max-width: 760px !important;
  margin: 10px 0 0 !important;
}

@media (max-width: 900px) {
  #creavibc_booking_form_fields .creavibc-consent-input-row {
    grid-template-columns: 1fr !important;
  }
}

/* Appearance theme switch: keep compact despite broad metabox label overrides. */
#creavibc_service_appearance .creavibc-ap-theme-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 22px !important;
}

#creavibc_service_appearance .creavibc-ap-field--theme {
  flex: 0 0 auto !important;
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
}

#creavibc_service_appearance .creavibc-theme-switch {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3px !important;
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  height: 38px !important;
  padding: 3px !important;
  border: 1px solid #d9dee9 !important;
  border-radius: 12px !important;
  background: #f3f5fa !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

#creavibc_service_appearance .creavibc-theme-switch__option {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #5f6878 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

#creavibc_service_appearance .creavibc-theme-switch__option input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
}

#creavibc_service_appearance .creavibc-theme-switch__option span {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

#creavibc_service_appearance .creavibc-theme-switch__option:has(input:checked) {
  background: #111827 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(17, 24, 39, .16) !important;
}

#creavibc_service_appearance .creavibc-theme-switch__option:first-child:has(input:checked) {
  background: #fff !important;
  color: #1f2937 !important;
}

#creavibc_service_appearance .creavibc-ap-field--theme .description {
  width: 360px !important;
  max-width: 360px !important;
  margin-top: 8px !important;
}

#creavibc_service_appearance .creavibc-ap-field--theme:not(:has(input[value="black"]:checked)) .creavibc-dark-theme-only {
  display: none !important;
}

#creavibc_service_appearance .creavibc-dark-controls-row {
  display: grid !important;
  grid-template-columns: 88px 88px minmax(260px, 420px) !important;
  align-items: start !important;
  gap: 18px !important;
  width: min(760px, 100%) !important;
  margin-top: 12px !important;
}

#creavibc_service_appearance .creavibc-dark-option-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  justify-content: flex-start !important;
  margin-top: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#creavibc_service_appearance .creavibc-dark-frame-field {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 10px !important;
  margin: 0 !important;
  padding-top: 0 !important;
  width: min(360px, 100%) !important;
}

#creavibc_service_appearance .creavibc-dark-frame-field input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  border: 1px solid #b9c4d8 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  accent-color: #4a46e5 !important;
}

#creavibc_service_appearance .creavibc-dark-frame-field span {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  line-height: 1.3 !important;
  min-width: 0 !important;
}

#creavibc_service_appearance .creavibc-dark-frame-field span > strong {
  color: var(--cbs-admin-label) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

#creavibc_service_appearance .creavibc-dark-frame-field em {
  color: #667085 !important;
  font-style: normal !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

@media (max-width: 900px) {
  #creavibc_service_appearance .creavibc-dark-controls-row {
    grid-template-columns: 1fr !important;
  }
}


/* ===========================================================================
   25. BOOKINGS ADMIN UI FINAL OVERRIDES
   Keep this last so the booking dashboard follows the Creavi info-page style.
   =========================================================================== */

body.post-type-creavibc_booking .postbox {
  border: 0 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(48, 67, 105, .07) !important;
  overflow: hidden !important;
}

body.post-type-creavibc_booking .postbox .postbox-header {
  border-bottom: 1px solid #eef1f6 !important;
  background: linear-gradient(135deg, #fbfcff, #f7f9fd) !important;
  border-radius: 22px 22px 0 0 !important;
}

body.post-type-creavibc_booking .postbox-header h2,
body.post-type-creavibc_booking .postbox-header h2.hndle {
  display: flex !important;
  align-items: center !important;
  padding: 16px 18px !important;
  color: #10182f !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

body.post-type-creavibc_booking #creavibc_booking_details .inside {
  padding: 0 !important;
}

body.post-type-creavibc_booking .creavibc-bk-card {
  border: 0 !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: none !important;
}

body.post-type-creavibc_booking .creavibc-bk-head {
  padding: 24px 26px 20px !important;
  border-bottom: 1px solid #eef1f6 !important;
  background:
    radial-gradient(circle at 92% 0, rgba(98, 199, 207, .12), transparent 30%),
    linear-gradient(145deg, #f8f9fd, #fbfcfe) !important;
}

body.post-type-creavibc_booking .creavibc-bk-head:before {
  display: none !important;
}

body.post-type-creavibc_booking .creavibc-bk-title {
  color: #10182f !important;
  font-size: 19px !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
}

body.post-type-creavibc_booking .creavibc-bk-title .dashicons {
  color: #3679db !important;
}

body.post-type-creavibc_booking .creavibc-bk-sub {
  color: #667085 !important;
}

body.post-type-creavibc_booking .creavibc-bk-body {
  padding: 26px !important;
}

body.post-type-creavibc_booking .creavibc-bk-chip,
body.post-type-creavibc_booking .creavibc-bk-note,
body.post-type-creavibc_booking .creavibc-bk-kv-row,
body.post-type-creavibc_booking .creavibc-bk-pill {
  border: 0 !important;
  border-radius: 13px !important;
  background: #f8f9fc !important;
  box-shadow: inset 0 0 0 1px rgba(207, 214, 226, .55) !important;
}

body.post-type-creavibc_booking .creavibc-bk-label,
body.post-type-creavibc_booking .creavibc-bk-kv-row strong {
  color: #637087 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.post-type-creavibc_booking .creavibc-bk-badge {
  border: 0 !important;
  background: #edf5ff !important;
  color: #3679db !important;
}

body.post-type-creavibc_booking .creavibc-bk-badge--green {
  background: #e8f8f1 !important;
  color: #187153 !important;
}

body.post-type-creavibc_booking .creavibc-bk-badge--gray {
  background: #f1f3f6 !important;
  color: #687386 !important;
}


/* ===========================================================================
   24. BOOKINGS ADMIN UI
   =========================================================================== */

body.post-type-creavibc_booking {
  --cbs-bookings-navy: #10182f;
  --cbs-bookings-ink: #18213a;
  --cbs-bookings-muted: #667085;
  --cbs-bookings-line: #e6e9f0;
  --cbs-bookings-blue: #3679db;
  --cbs-bookings-cyan: #62c7cf;
  --cbs-bookings-violet: #7f37aa;
  --cbs-bookings-surface: #f6f7fb;
}

body.post-type-creavibc_booking #wpbody-content {
  color: var(--cbs-bookings-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.post-type-creavibc_booking.edit-php .wrap {
  margin-top: 22px;
}

body.post-type-creavibc_booking.edit-php .wrap > h1.wp-heading-inline {
  color: var(--cbs-bookings-navy);
  font-size: 28px;
  font-weight: 550;
  letter-spacing: 0;
}

body.post-type-creavibc_booking.edit-php .page-title-action {
  min-height: 36px;
  padding: 7px 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #62c7cf 0%, #5b8fe0 100%) !important;
  box-shadow: 0 9px 24px rgba(72, 155, 218, .18);
  color: #fff !important;
  font-weight: 550;
}

.creavibc-bookings-admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 20px 18px 0;
  padding: 28px 34px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 18%, rgba(98, 199, 207, .18), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(183, 68, 132, .1), transparent 25%),
    linear-gradient(135deg, #f8fcfd 0%, #f6f7fc 58%, #faf7fc 100%);
  box-shadow: 0 16px 42px rgba(48, 67, 105, .07);
}

.creavibc-bookings-admin-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cbs-bookings-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.creavibc-bookings-admin-hero h2 {
  margin: 0;
  color: #1b2850;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.creavibc-bookings-admin-hero p {
  max-width: 650px;
  margin: 10px 0 0;
  color: #68748a;
  font-size: 15px;
  line-height: 1.65;
}

.creavibc-bookings-admin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.creavibc-bookings-admin-pill,
.creavibc-bookings-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.creavibc-bookings-admin-pill {
  background: #f0f4fa;
  color: #637087;
}

.creavibc-bookings-admin-link {
  background: rgba(255, 255, 255, .78);
  color: #526078;
  box-shadow: 0 8px 24px rgba(48, 67, 105, .07);
}

.creavibc-bookings-admin-link:hover,
.creavibc-bookings-admin-link:focus {
  background: #fff;
  color: #263a63;
}

body.post-type-creavibc_booking.edit-php .subsubsub {
  margin: 14px 0 12px;
}

body.post-type-creavibc_booking.edit-php .subsubsub a {
  color: #526078;
  font-weight: 500;
  text-decoration: none;
}

body.post-type-creavibc_booking.edit-php .tablenav {
  min-height: 48px;
  margin: 12px 0;
}

body.post-type-creavibc_booking.edit-php .tablenav .actions select,
body.post-type-creavibc_booking.edit-php .tablenav .actions input[type="submit"],
body.post-type-creavibc_booking.edit-php .search-box input[type="search"],
body.post-type-creavibc_booking.edit-php .search-box input[type="submit"] {
  border-radius: 10px !important;
  border: 1px solid rgba(17, 24, 39, .1) !important;
  box-shadow: 0 8px 22px rgba(48, 67, 105, .05);
}

body.post-type-creavibc_booking.edit-php .wp-list-table {
  overflow: hidden;
  border: 0 !important;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(48, 67, 105, .07);
}

body.post-type-creavibc_booking.edit-php .wp-list-table thead th,
body.post-type-creavibc_booking.edit-php .wp-list-table thead td,
body.post-type-creavibc_booking.edit-php .wp-list-table tfoot td,
body.post-type-creavibc_booking.edit-php .wp-list-table tfoot th {
  border-bottom: 0 !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #fbfcff, #f7f9fd);
  color: #637087;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.post-type-creavibc_booking.edit-php .wp-list-table tbody tr {
  transition: background .2s ease;
}

body.post-type-creavibc_booking.edit-php .wp-list-table tbody tr:hover {
  background: #f8fbff;
}

body.post-type-creavibc_booking.edit-php .wp-list-table tbody td,
body.post-type-creavibc_booking.edit-php .wp-list-table tbody th {
  border-color: #eef1f6 !important;
  vertical-align: middle;
}

body.post-type-creavibc_booking.edit-php .wp-list-table .row-title {
  color: var(--cbs-bookings-navy);
  font-weight: 650;
}

.creavibc-admin-table-main,
.creavibc-admin-table-sub {
  display: block;
}

.creavibc-admin-table-main {
  color: var(--cbs-bookings-navy);
  font-weight: 650;
}

.creavibc-admin-table-sub {
  margin-top: 3px;
  color: var(--cbs-bookings-muted);
  font-size: 12px;
  text-decoration: none;
}

.creavibc-admin-table-chip,
.creavibc-admin-table-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.creavibc-admin-table-chip {
  background: #edf5ff;
  color: var(--cbs-bookings-blue);
}

.creavibc-admin-table-chip:hover {
  background: #e1efff;
  color: #2568c7;
}

.creavibc-admin-table-status {
  background: #f1f3f6;
  color: #687386;
}

.creavibc-admin-table-status--online {
  background: #e8f8f1;
  color: #187153;
}

.creavibc-admin-table-muted {
  color: #98a2b3;
  font-size: 12px;
}

body.post-type-creavibc_booking.post-php #poststuff,
body.post-type-creavibc_booking.post-new-php #poststuff {
  margin-top: 18px;
}

body.post-type-creavibc_booking.post-php #titlediv #title,
body.post-type-creavibc_booking.post-new-php #titlediv #title {
  border-radius: 14px !important;
  border: 1px solid rgba(17, 24, 39, .1) !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 10px 24px rgba(48, 67, 105, .05);
  color: var(--cbs-bookings-navy);
  font-size: 20px !important;
}

body.post-type-creavibc_booking .postbox {
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 42px rgba(48, 67, 105, .07) !important;
}

body.post-type-creavibc_booking .postbox .postbox-header {
  border-bottom: 1px solid #eef1f6 !important;
  background: linear-gradient(135deg, #fbfcff, #f7f9fd) !important;
  border-radius: 22px 22px 0 0 !important;
}

body.post-type-creavibc_booking .postbox-header h2,
body.post-type-creavibc_booking .postbox-header h2.hndle {
  display: flex !important;
  align-items: center !important;
  padding: 16px 18px !important;
  color: var(--cbs-bookings-navy) !important;
  font-size: 16px !important;
  font-weight: 650 !important;
}

body.post-type-creavibc_booking #creavibc_booking_details .inside {
  padding: 0 !important;
}

body.post-type-creavibc_booking .creavibc-bk-card {
  border: 0 !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: none !important;
}

body.post-type-creavibc_booking .creavibc-bk-head {
  padding: 24px 26px 20px !important;
  border-bottom: 1px solid #eef1f6 !important;
  background:
    radial-gradient(circle at 92% 0, rgba(98, 199, 207, .12), transparent 30%),
    linear-gradient(145deg, #f8f9fd, #fbfcfe) !important;
}

body.post-type-creavibc_booking .creavibc-bk-head:before {
  display: none !important;
}

body.post-type-creavibc_booking .creavibc-bk-title {
  color: var(--cbs-bookings-navy) !important;
  font-size: 19px !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
}

body.post-type-creavibc_booking .creavibc-bk-title .dashicons {
  color: var(--cbs-bookings-blue) !important;
}

body.post-type-creavibc_booking .creavibc-bk-sub {
  color: var(--cbs-bookings-muted) !important;
}

body.post-type-creavibc_booking .creavibc-bk-body {
  padding: 26px !important;
}

body.post-type-creavibc_booking .creavibc-bk-chip,
body.post-type-creavibc_booking .creavibc-bk-note,
body.post-type-creavibc_booking .creavibc-bk-kv-row,
body.post-type-creavibc_booking .creavibc-bk-pill {
  border: 0 !important;
  border-radius: 13px !important;
  background: #f8f9fc !important;
  box-shadow: inset 0 0 0 1px rgba(207, 214, 226, .55);
}

body.post-type-creavibc_booking .creavibc-bk-label,
body.post-type-creavibc_booking .creavibc-bk-kv-row strong {
  color: #637087 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.post-type-creavibc_booking .creavibc-bk-badge {
  border: 0 !important;
  background: #edf5ff !important;
  color: var(--cbs-bookings-blue) !important;
}

body.post-type-creavibc_booking .creavibc-bk-badge--green {
  background: #e8f8f1 !important;
  color: #187153 !important;
}

body.post-type-creavibc_booking .creavibc-bk-badge--gray {
  background: #f1f3f6 !important;
  color: #687386 !important;
}

@media (max-width: 960px) {
  .creavibc-bookings-admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .creavibc-bookings-admin-hero__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 782px) {
  .creavibc-bookings-admin-hero {
    margin-right: 10px;
    padding: 24px;
    border-radius: 20px;
  }

  .creavibc-bookings-admin-hero h2 {
    font-size: 28px;
  }
}

/* Static small triangle for every admin select. No open-state movement. */
html body.post-type-creavibc_service .inside select,
html body.post-type-creavibc_booking .inside select,
html body .creavibc-select,
html body .creavibc-custom-row select,
html body .creavibc-style-field select,
html body #creavibc_location_meeting select,
html body #creavibc_reminder_offset_minutes,
html body #creavibc_admin_reminder_offset_minutes,
html body #creavibc-admin-tz-select,
html body.post-type-creavibc_service .inside select:focus,
html body.post-type-creavibc_booking .inside select:focus,
html body .creavibc-select:focus,
html body .creavibc-custom-row select:focus,
html body .creavibc-style-field select:focus,
html body #creavibc_location_meeting select:focus,
html body #creavibc_reminder_offset_minutes:focus,
html body #creavibc_admin_reminder_offset_minutes:focus,
html body #creavibc-admin-tz-select:focus,
html body.post-type-creavibc_service .inside select.cbs-select-open,
html body.post-type-creavibc_booking .inside select.cbs-select-open,
html body .creavibc-select.cbs-select-open,
html body .creavibc-custom-row select.cbs-select-open,
html body .creavibc-style-field select.cbs-select-open,
html body #creavibc_location_meeting select.cbs-select-open,
html body #creavibc_reminder_offset_minutes.cbs-select-open,
html body #creavibc_admin_reminder_offset_minutes.cbs-select-open,
html body #creavibc-admin-tz-select.cbs-select-open {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5h9L6 6.5z' fill='%234a46e5'/%3E%3C/svg%3E") !important;
  background-position: right 14px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px 8px !important;
  padding-right: 24px !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}


/* ===========================================================================
   26. SELECT CHEVRON LAST RULE
   =========================================================================== */

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select,
#creavibc_reminder_offset_minutes,
#creavibc_admin_reminder_offset_minutes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' viewBox='0 0 4 3'%3E%3Cpath d='M.6 .75L2 2.15 3.4 .75' stroke='%234a46e5' stroke-width='.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 24px !important;
}

.post-type-creavibc_service .inside select.cbs-select-open,
.post-type-creavibc_booking .inside select.cbs-select-open,
.creavibc-select.cbs-select-open,
.creavibc-custom-row select.cbs-select-open,
.creavibc-style-field select.cbs-select-open,
#creavibc_location_meeting select.cbs-select-open,
#creavibc_reminder_offset_minutes.cbs-select-open,
#creavibc_admin_reminder_offset_minutes.cbs-select-open {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' viewBox='0 0 4 3'%3E%3Cpath d='M.6 2.25L2 .85l1.4 1.4' stroke='%234a46e5' stroke-width='.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* ===========================================================================
   25. SELECT CHEVRON THIN FINAL OVERRIDE
   =========================================================================== */

body.post-type-creavibc_service .inside select,
body.post-type-creavibc_booking .inside select,
body .creavibc-select,
body .creavibc-custom-row select,
body .creavibc-style-field select,
body #creavibc_location_meeting select,
body #creavibc_reminder_offset_minutes,
body #creavibc_admin_reminder_offset_minutes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' viewBox='0 0 4 3'%3E%3Cpath d='M.6 .75L2 2.15 3.4 .75' stroke='%234a46e5' stroke-width='.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 24px !important;
}

body.post-type-creavibc_service .inside select.cbs-select-open,
body.post-type-creavibc_booking .inside select.cbs-select-open,
body .creavibc-select.cbs-select-open,
body .creavibc-custom-row select.cbs-select-open,
body .creavibc-style-field select.cbs-select-open,
body #creavibc_location_meeting select.cbs-select-open,
body #creavibc_reminder_offset_minutes.cbs-select-open,
body #creavibc_admin_reminder_offset_minutes.cbs-select-open {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' viewBox='0 0 4 3'%3E%3Cpath d='M.6 2.25L2 .85l1.4 1.4' stroke='%234a46e5' stroke-width='.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select,
#creavibc_reminder_offset_minutes,
#creavibc_admin_reminder_offset_minutes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' viewBox='0 0 4 3'%3E%3Cpath d='M.6 .75L2 2.15 3.4 .75' stroke='%234a46e5' stroke-width='.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 24px !important;
}

.post-type-creavibc_service .inside select.cbs-select-open,
.post-type-creavibc_booking .inside select.cbs-select-open,
.creavibc-select.cbs-select-open,
.creavibc-custom-row select.cbs-select-open,
.creavibc-style-field select.cbs-select-open,
#creavibc_location_meeting select.cbs-select-open,
#creavibc_reminder_offset_minutes.cbs-select-open,
#creavibc_admin_reminder_offset_minutes.cbs-select-open {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='3' viewBox='0 0 4 3'%3E%3Cpath d='M.6 2.25L2 .85l1.4 1.4' stroke='%234a46e5' stroke-width='.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* ===========================================================================
   22. SELECT CHEVRON FINAL OVERRIDE
   =========================================================================== */

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='5' viewBox='0 0 7 5'%3E%3Cpath d='M1 1.25l2.5 2.5 2.5-2.5' stroke='%234a46e5' stroke-width='1.15' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 13px center !important;
  padding-right: 28px !important;
}

.post-type-creavibc_service .inside select:focus,
.post-type-creavibc_booking .inside select:focus,
.creavibc-select:focus,
.creavibc-custom-row select:focus,
.creavibc-style-field select:focus,
#creavibc_location_meeting select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='5' viewBox='0 0 7 5'%3E%3Cpath d='M1 3.75l2.5-2.5 2.5 2.5' stroke='%234a46e5' stroke-width='1.15' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* ===========================================================================
   24. SELECT CHEVRON ABSOLUTE FINAL OVERRIDE
   =========================================================================== */

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select,
#creavibc_reminder_offset_minutes,
#creavibc_admin_reminder_offset_minutes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='4' viewBox='0 0 5 4'%3E%3Cpath d='M.75 1.1L2.5 2.85 4.25 1.1' stroke='%234a46e5' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 26px !important;
}

.post-type-creavibc_service .inside select.cbs-select-open,
.post-type-creavibc_booking .inside select.cbs-select-open,
.creavibc-select.cbs-select-open,
.creavibc-custom-row select.cbs-select-open,
.creavibc-style-field select.cbs-select-open,
#creavibc_location_meeting select.cbs-select-open,
#creavibc_reminder_offset_minutes.cbs-select-open,
#creavibc_admin_reminder_offset_minutes.cbs-select-open {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='4' viewBox='0 0 5 4'%3E%3Cpath d='M.75 2.9L2.5 1.15 4.25 2.9' stroke='%234a46e5' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* ===========================================================================
   20. BOOKING FORM FIELDS ALIGNMENT
   =========================================================================== */

#creavibc_booking_form_fields .creavibc-default-field-row {
  display: grid !important;
  grid-template-columns: 150px 130px !important;
  align-items: center !important;
  column-gap: 28px !important;
  row-gap: 8px !important;
  margin-bottom: 12px !important;
}

#creavibc_booking_form_fields .creavibc-checkbox-label,
#creavibc_booking_form_fields .creavibc-custom-row label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

#creavibc_booking_form_fields .creavibc-custom-row {
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) 220px 140px 42px !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 12px !important;
  transform: none !important;
}

#creavibc_booking_form_fields .creavibc-custom-row:hover {
  transform: none !important;
}

#creavibc_booking_form_fields .creavibc-custom-row input[type="text"],
#creavibc_booking_form_fields .creavibc-custom-row select {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#creavibc_booking_form_fields .creavibc-remove-field {
  justify-self: end !important;
  width: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
}


/* ===========================================================================
   21. SELECT CHEVRON POLISH
   =========================================================================== */

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1.25l3.5 3.5 3.5-3.5' stroke='%234a46e5' stroke-width='1.35' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 30px !important;
}

.creavibc-ap-num-wrap input[type="number"] {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 8px 6px 8px 10px !important;
  min-height: unset !important;
  width: 52px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  flex: 1;
  -moz-appearance: textfield;
}
.creavibc-ap-num-wrap input[type="number"]::-webkit-inner-spin-button,
.creavibc-ap-num-wrap input[type="number"]::-webkit-outer-spin-button {
  opacity: 0;
}
.creavibc-ap-unit {
  display: flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(74,70,229,.45);
  padding: 0 9px 0 2px;
  pointer-events: none;
  user-select: none;
  letter-spacing: .04em;
}

/* Legacy classes kept for any other callers */
.creavibc-style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.creavibc-style-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 500;
}
.creavibc-style-field input[type="color"],
.creavibc-style-field input[type="number"],
.creavibc-style-field input[type="text"] {
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
  box-sizing: border-box;
}
.creavibc-subsection {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}


/* ===========================================================================
   4. TABS + TOGGLE UI
   =========================================================================== */

.creavibc-tabs { margin-top: 6px; }

.creavibc-tabs-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
}

.creavibc-tabs-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.creavibc-tabs-subtitle {
  font-size: 13px;
  color: var(--cbs-muted);
}

/* Tab nav pill */
.creavibc-tab-nav {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px;
  border: 1px solid #e5e7eb;
}

.creavibc-tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #374151;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  transition: all .15s ease;
}
.creavibc-tab .creavibc-tab-hint {
  font-weight: 600;
  font-size: 11px;
  color: var(--cbs-muted);
}
.creavibc-tab.is-active {
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)) padding-box,
    linear-gradient(135deg, rgba(74,70,229,.75), rgba(129,140,248,.65), rgba(17,24,39,.08)) border-box !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  color: #111827;
}
.creavibc-tab.is-active .creavibc-tab-hint { color: #374151; }

/* Panels */
.creavibc-tab-panels { margin-top: 12px; }
.creavibc-tab-panel { display: none; }
.creavibc-tab-panel.is-active { display: block; }

.creavibc-panel-card {
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.creavibc-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

/* Toggle option cards */
.creavibc-toggle-options {
  display: flex;
  gap: 34px;
  margin-top: 8px;
}
.creavibc-toggle-option {
  flex: 1;
  border: 1px solid rgba(17,24,39,.10) !important;
  border-radius: 16px !important;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  background: rgba(255,255,255,.70) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: all .2s ease;
}
.creavibc-toggle-option input { display: none; }
.creavibc-toggle-option svg {
  display: block;
  margin: 0 auto 6px;
  height: 24px;
  width: 24px;
  fill: var(--cbs-accent) !important;
}
.creavibc-toggle-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
}
.creavibc-toggle-option.active {
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)) padding-box,
    linear-gradient(135deg, rgba(74,70,229,.75), rgba(129,140,248,.65), rgba(17,24,39,.08)) border-box !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

/* ── 4b. AVAILABLE DAYS — Google-style overrides ── */

/* Min-time notice block reuses ap-section but without the border/padding of appearance */
#creavibc_available_days .creavibc-ap-section--days-notice {
  padding: 0 0 16px !important;
  border-bottom: none !important;
}

/* Unit select next to number input */
#creavibc_available_days .creavibc-ap-field--unit-select {
  min-width: 110px;
  max-width: 150px;
}
#creavibc_available_days .creavibc-ap-field--unit-select select {
  width: 100% !important;
  max-width: 100% !important;
  padding: 8px 34px 8px 12px !important;
  min-height: 36px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
  line-height: 1.3 !important;
}

/* Wider number box for the notice value */
#creavibc_available_days .creavibc-ap-field--wider .creavibc-ap-num-wrap {
  min-width: 80px;
}
#creavibc_available_days .creavibc-ap-field--wider .creavibc-ap-num-wrap input[type="number"] {
  width: 60px !important;
}

/* Help text below the row */
#creavibc_available_days .creavibc-ap-help {
  font-size: 12px;
  color: var(--creavibc-muted);
  margin: 6px 0 0;
}

/* Tabs-head: light indigo surface */
#creavibc_available_days .creavibc-tabs-head {
  background: #f6f7ff !important;
  border: 1px solid #eaecf8 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  gap: 12px !important;
}
#creavibc_available_days .creavibc-tabs-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 1px !important;
}
#creavibc_available_days .creavibc-tabs-subtitle {
  font-size: 12px !important;
}

/* Panel card: flat light surface */
#creavibc_available_days .creavibc-panel-card {
  background: #fafbff !important;
  border: 1px solid #eaecf8 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
}

/* Panel title → Google caption style */
#creavibc_available_days .creavibc-panel-title {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  color: rgba(74,70,229,.48) !important;
  margin-bottom: 12px !important;
}

/* Field: spacing */
#creavibc_available_days .creavibc-field { margin-bottom: 14px; }
#creavibc_available_days .creavibc-field:last-child { margin-bottom: 0; }

/* Field labels: Google-style small */
#creavibc_available_days .creavibc-field > label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(74,70,229,1) !important;
  letter-spacing: .02em !important;
  margin: 0 0 3px !important;
  line-height: 1;
}

/* Inputs full-width inside panel */
#creavibc_available_days .creavibc-field input[type="text"],
#creavibc_available_days .creavibc-field select {
  width: 100% !important;
  max-width: 400px !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  min-height: unset !important;
  border-radius: 10px !important;
}
#creavibc_available_days .creavibc-field select {
  padding-right: 36px !important;
}

/* Help text */
#creavibc_available_days .creavibc-help {
  font-size: 12px !important;
  margin: 3px 0 6px !important;
}


/* ── 4c. LOCATION & MEETING — styles consolidated in Section 15 ── */

   5. POSTBOXES — base card + interactions
      All plugin boxes on service/booking screens share one clean rule.
   =========================================================================== */

/* ── Base card ── */
.postbox {
  border-radius: 8px !important;
  border: none !important;
  box-shadow: none !important;
}

.postbox,
.post-type-creavibc_service .postbox,
.post-type-creavibc_booking .postbox,
#postimagediv.postbox,
#submitdiv.postbox {
  position: relative;
  min-width: 255px;
  background: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  overflow: visible !important;   /* lets accent bar + chip rows escape the box */
}

/* Children above any pseudo layers */
.post-type-creavibc_service .postbox > *,
.post-type-creavibc_booking .postbox > * {
  position: relative;
  z-index: 1;
}

/* ── No accent bar ── */
.post-type-creavibc_service .postbox::before,
.post-type-creavibc_booking .postbox::before {
  display: none !important;
}

/* Kill any glass ::after layers (legacy) */
.post-type-creavibc_service .postbox::after,
.post-type-creavibc_booking .postbox::after {
  display: none !important;
}

/* ── Postbox header ── */
.post-type-creavibc_service .postbox .postbox-header,
.post-type-creavibc_booking .postbox .postbox-header,
#postimagediv .postbox-header,
#submitdiv .postbox-header {
  background: transparent !important;
  border-bottom: 1px solid var(--cbs-border-2) !important;
  border-radius: 0 !important;
}

/* Kill old accent hairline (replaced by icon badge) */
.post-type-creavibc_service .postbox .postbox-header::before,
.post-type-creavibc_booking .postbox .postbox-header::before {
  display: none !important;
}

/* Header h2: flex so badge aligns with title */
.post-type-creavibc_service .postbox-header h2,
.post-type-creavibc_service .postbox-header h2.hndle,
#postimagediv .postbox-header h2,
#postimagediv .postbox-header h2.hndle,
#submitdiv .postbox-header h2,
#submitdiv .postbox-header h2.hndle {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 10px 12px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  color: var(--cbs-text) !important;
}

/* Strip WP indent from the text span */
.post-type-creavibc_service .postbox-header h2 > span:not(.cbs-icon-badge),
.post-type-creavibc_service .postbox-header h2.hndle > span:not(.cbs-icon-badge) {
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto;
  line-height: 1.3;
}

/* Inside padding */
.post-type-creavibc_service .postbox .inside,
.post-type-creavibc_booking .postbox .inside {
  padding: 16px !important;
}

/* ── Hover: soft indigo aura (no movement) ── */
.post-type-creavibc_service .postbox:hover {
  border-color: rgba(74,70,229,.28) !important;
  box-shadow: var(--cbs-shadow) !important;
}

/* ── Focus-within: no extra ring on click ── */
.post-type-creavibc_service .postbox:focus-within {
  border-color: var(--cbs-border) !important;
  box-shadow: var(--cbs-shadow) !important;
}

/* ── Tour focus: double-ring ripple (no movement) ── */
.creavibc-tour-focus {
  position: relative;
  z-index: 2;
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
}

/* ── Separator HRs inside metaboxes ── */
.post-type-creavibc_service .postbox .inside hr,
.post-type-creavibc_booking .postbox .inside hr,
.creavibc-panel-card hr,
details hr {
  border: none;
  height: 1px;
  margin: 20px 0;
  background: linear-gradient(
    90deg,
    rgba(74,70,229,0),
    rgba(74,70,229,.35),
    rgba(129,140,248,.45),
    rgba(74,70,229,.35),
    rgba(74,70,229,0)
  );
  opacity: .9;
}
.creavibc-panel-card hr {
  margin: 18px 0;
  background: linear-gradient(90deg, rgba(17,24,39,0), rgba(17,24,39,.18), rgba(17,24,39,0));
}
@media (min-resolution: 2dppx) {
  .post-type-creavibc_service .postbox .inside hr { box-shadow: 0 0 6px rgba(129,140,248,.25); }
}


/* ===========================================================================
   6. INPUT / SELECT / TEXTAREA — "Apple-ish" fields
      One rule covers all the named fields. Specificity handled by scope.
   =========================================================================== */

/* Base: apple glass feel */
.creavibc-input,
.creavibc-select,
.creavibc-style-field input[type="color"],
.creavibc-style-field input[type="number"],
.creavibc-style-field input[type="text"],
.creavibc-custom-row input[type="text"],
.creavibc-custom-row select,
#creavibc_email_admin_template,
#creavibc_email_user_template,
#creavibc_email_reminder_template,
#creavibc_event_desc_tpl,
#creavibc_event_title_tpl,
#creavibc_meeting_location,
#creavibc_button_text,
#creavibc_thankyou_text,
#creavibc_gcal_admin_email,
#creavibc_email_reminder_subject,
#creavibc_reminder_offset_minutes,
#creavibc_admin_email_reminder_subject,
#creavibc_admin_reminder_offset_minutes,
#creavibc_location_meeting input[type="text"],
#creavibc_location_meeting input[type="url"] {
  border-radius: 14px !important;
  border: 1px solid rgba(17,24,39,.10) !important;
  background-color: rgba(255,255,255,.78) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px rgba(0,0,0,.05);
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Sizing */
.creavibc-input,
.creavibc-select {
  width: 50%;
  max-width: 520px;
}

/* Select: custom dropdown triangle (remove native arrow) */
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select,
#creavibc_reminder_offset_minutes,
#creavibc_admin_reminder_offset_minutes,
#creavibc-admin-tz-select,
.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1.25l3.5 3.5 3.5-3.5' stroke='%234a46e5' stroke-width='1.35' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 32px !important;
  cursor: pointer;
}

/* Focus: thin accent line */
.creavibc-input:focus,
.creavibc-select:focus,
.creavibc-style-field input:focus,
.creavibc-custom-row input[type="text"]:focus,
.creavibc-custom-row select:focus,
#creavibc_email_admin_template:focus,
#creavibc_email_user_template:focus,
#creavibc_email_reminder_template:focus,
#creavibc_event_desc_tpl:focus,
#creavibc_event_title_tpl:focus,
#creavibc_meeting_location:focus,
#creavibc_button_text:focus,
#creavibc_thankyou_text:focus,
#creavibc_gcal_admin_email:focus,
#creavibc_email_reminder_subject:focus,
#creavibc_reminder_offset_minutes:focus,
#creavibc_admin_email_reminder_subject:focus,
#creavibc_admin_reminder_offset_minutes:focus {
  outline: none !important;
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
}

/* Padding: comfortable inner space */
.creavibc-input,
.creavibc-select,
.creavibc-style-field input[type="number"],
.creavibc-style-field input[type="text"],
.creavibc-custom-row input[type="text"],
.creavibc-custom-row select,
input[type="text"],
input[type="email"],
input[type="number"],
select {
  padding: 12px 14px !important;
  line-height: 1.4 !important;
  min-height: 42px;
}

textarea,
#creavibc_email_admin_template,
#creavibc_email_user_template,
#creavibc_email_reminder_template,
#creavibc_event_desc_tpl {
  padding: 14px 16px !important;
  line-height: 1.55;
  min-height: 110px;
}

/* Color picker */
input[type="color"],
.creavibc-style-field input[type="color"] {
  padding: 0 !important;
  height: 40px;
  min-height: 40px;
  border-radius: 10px !important;
  overflow: hidden;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 10px; }

/* Inline rows: no double-spacing */
.creavibc-custom-row input[type="text"],
.creavibc-custom-row select { margin: 0; }

/* Labels */
.creavibc-field label,
.creavibc-style-field label,
.creavibc-default-field-row label,
.creavibc-custom-row label,
label[for] {
  display: inline-block;
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 1.1em !important;
}

.post-type-creavibc_service .inside label:has(input[type="radio"]),
.post-type-creavibc_service .inside label:has(input[type="checkbox"]),
.post-type-creavibc_booking .inside label:has(input[type="radio"]),
.post-type-creavibc_booking .inside label:has(input[type="checkbox"]) {
  margin: 0 34px 28px 0 !important;
  line-height: 1.45 !important;
}

/* Help / description text */
.creavibc-help,
.creavibc-tabs-subtitle,
.description {
  color: #4b5563 !important;
  font-size: 13px;
}

/* Focus-visible: thin accent line */
:focus-visible {
  outline: 1px solid var(--cbs-accent);
  outline-offset: 2px;
}

/* Buttons */
#creavibc-add-field,
.creavibc-remove-field,
#creavibc-admin-tz-edit {
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transition: transform .08s ease, box-shadow .15s ease;
}
#creavibc-add-field:hover,
.creavibc-remove-field:hover,
#creavibc-admin-tz-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}


/* ===========================================================================
   7. SERVICE TITLE / DESCRIPTION BOX (special Basics boxes)
   =========================================================================== */

#creavibc_service_title_box.postbox,
#creavibc_service_desc_box.postbox {
  background: #fff !important;
  border: 1px solid var(--cbs-border) !important;
  box-shadow: var(--cbs-shadow) !important;
  border-radius: var(--cbs-radius) !important;
  overflow: visible !important;
  margin-bottom: 18px;
}
#creavibc_service_title_box.postbox::before,
#creavibc_service_title_box.postbox::after,
#creavibc_service_desc_box.postbox::before,
#creavibc_service_desc_box.postbox::after {
  display: none !important;
}
#creavibc_service_title_box .postbox-header,
#creavibc_service_desc_box .postbox-header {
  background: transparent !important;
  border-bottom: 1px solid var(--cbs-border-2) !important;
  padding: 10px 12px !important;
}
#creavibc_service_title_box .postbox-header::before,
#creavibc_service_desc_box .postbox-header::before {
  display: none !important;
}
#creavibc_service_title_box .inside,
#creavibc_service_desc_box .inside {
  padding: 16px !important;
}

/* Title input */
.post-type-creavibc_service #title {
  border-radius: 14px !important;
  border: 0 !important;
  background-color: rgba(255,255,255,.78) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px rgba(0,0,0,.05);
  padding: 12px 14px !important;
  font-size: 18px !important;
}
.post-type-creavibc_service #title:focus {
  outline: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* WP editor inside service */
.post-type-creavibc_service #postdivrich {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.post-type-creavibc_service #content_ifr { height: 140px !important; }
.post-type-creavibc_service #content     { min-height: 140px !important; }
.post-type-creavibc_service #titlediv    { margin: 0 !important; }
.post-type-creavibc_service #titlewrap   { margin: 0 !important; }


/* ===========================================================================
   8. PAGE TYPOGRAPHY & SPACING
   =========================================================================== */

/* "Edit Service" heading */
.post-type-creavibc_service .wrap > h1.wp-heading-inline {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1e1e1e !important;
  letter-spacing: -.02em;
}

/* "Add New Service" button */
.post-type-creavibc_service .page-title-action {
  display: inline-flex !important;
  align-items: center !important;
  height: 30px !important;
  padding: 0 14px !important;
  margin-left: 8px !important;
  border-radius: 999px !important;
  border: 1.5px solid rgba(74,70,229,.45) !important;
  background: transparent !important;
  color: var(--cbs-accent) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background .15s, border-color .15s !important;
  box-shadow: none !important;
}
.post-type-creavibc_service .page-title-action::before {
  content: '+';
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  margin-right: 5px;
  opacity: .85;
}
.post-type-creavibc_service .page-title-action:hover {
  background: rgba(74,70,229,.07) !important;
  border-color: var(--cbs-accent) !important;
  color: var(--cbs-accent) !important;
}

/* Gap between heading and first metabox */
.post-type-creavibc_service .wp-header-end { margin-bottom: 18px !important; }

/* Hide section label dividers (kept in HTML for progressive enhancement) */
.cbs-section-label { display: none !important; }


/* ===========================================================================
   9. TOUR BAR + STEP TABS
   =========================================================================== */

/* ── Bar ── */
#creavibc-tour-bar.creavibc-tour-bar {
  position: fixed !important;
  top: 32px !important;
  left: var(--cbs-admin-left, 160px) !important;
  right: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(0,0,0,.07) !important;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
  z-index: 9990 !important;
}
body.folded #creavibc-tour-bar.creavibc-tour-bar { left: 36px !important; }

/* ── Wrap / rail ── */
.creavibc-tour-wrap {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}
.creavibc-tour-rail {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.creavibc-tour-rail-inner {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

/* ── Steps row ── */
.creavibc-tour-steps {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  gap: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.creavibc-tour-steps::-webkit-scrollbar { display: none !important; }

/* ── Each step as a tab ── */
.creavibc-tour-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  flex: 1 1 0 !important;
  min-width: 56px !important;
  padding: 7px 8px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  color: rgba(0,0,0,.58) !important;
  white-space: nowrap !important;
  grid-template-rows: unset !important;
  transition: color .15s, border-color .15s, background .15s !important;
}
.creavibc-tour-step:hover {
  color: rgba(0,0,0,.82) !important;
  background: rgba(0,0,0,.03) !important;
  border-bottom-color: rgba(0,0,0,.15) !important;
}
.creavibc-tour-step.is-active {
  color: var(--cbs-accent) !important;
  border-bottom-color: var(--cbs-accent) !important;
  background: transparent !important;
}
.creavibc-tour-step.is-done { color: rgba(0,0,0,.35) !important; }

/* ── Step icons ── */
.creavibc-tour-step .creavibc-tour-dot { display: none !important; }

.cbs-tour-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: opacity .2s;
}
.cbs-tour-icon svg {
  width: 13px;
  height: 13px;
  opacity: .9;
  display: block;
}
.creavibc-tour-step .cbs-tour-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  margin: 0 !important;
}
.creavibc-tour-step .cbs-tour-icon svg {
  width: 13px !important;
  height: 13px !important;
  opacity: .9 !important;
}
.creavibc-tour-step.is-active .cbs-tour-icon svg { opacity: 1 !important; }
.creavibc-tour-step.is-done   .cbs-tour-icon     { opacity: .45 !important; }

/* ── Step label ── */
.creavibc-tour-step .creavibc-tour-label {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: .01em !important;
  color: inherit !important;
}
.creavibc-tour-step .creavibc-tour-sub { display: none !important; }

/* ── Hide legacy progress track + scroll arrows + publish tab ── */
.creavibc-tour-line,
.creavibc-tour-line-fill { display: none !important; }
.creavibc-tour-nav       { display: none !important; }
.creavibc-tour-publish   { display: none !important; }
#cbs-section-nav         { display: none !important; }

/* ── Narrow screens ── */
@media (max-width: 1200px) {
  .creavibc-tour-step {
    padding: 6px 5px !important;
    min-width: 48px !important;
  }
  .creavibc-tour-step .creavibc-tour-label { font-size: 10px !important; }
}
@media (max-width: 900px) {
  .creavibc-tour-step {
    padding: 5px 4px !important;
    min-width: 42px !important;
    flex: 0 0 auto !important;
  }
}


/* ===========================================================================
   10. ICON BADGES  (postbox headers + tour steps)
   =========================================================================== */

.cbs-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  margin-right: 10px !important;
  flex-shrink: 0;
  vertical-align: middle;
}
.cbs-icon-badge svg {
  width: 20px !important;
  height: 20px !important;
}


/* ===========================================================================
   11. TIME SLOT GRID
   =========================================================================== */

#creavibc-slot-grid-container {
  max-height: 600px;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid #e4e7f0;
  border-radius: 14px;
  padding: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(74,70,229,.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(74,70,229,.2) transparent;
}
#creavibc-slot-grid-container::-webkit-scrollbar { width: 5px; }
#creavibc-slot-grid-container::-webkit-scrollbar-thumb {
  background: rgba(74,70,229,.18);
  border-radius: 99px;
}

.creavibc-grid-wrapper {
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}

.creavibc-grid-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.creavibc-grid-table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

/* ── All cells: hairline indigo-tinted grid lines ── */
.creavibc-grid-table td,
.creavibc-grid-table th {
  border-right: 1px solid #eaecf8;
  border-bottom: 1px solid #eaecf8;
  padding: 0;
  text-align: center;
  width: 80px;
  min-width: 60px;
}
.creavibc-grid-table td:first-child,
.creavibc-grid-table th:first-child {
  border-left: none;
}

/* ── Header row ── */
.creavibc-grid-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f6f7ff !important;
  border-bottom: 2px solid #dde0f5 !important;
  box-shadow: 0 1px 0 #dde0f5;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: rgba(74,70,229,.65) !important;
  padding: 9px 6px !important;
  cursor: default;
  white-space: nowrap;
}

/* ── Sticky time column ── */
.creavibc-grid-table td:first-child,
.creavibc-grid-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #f6f7ff !important;
  border-right: 2px solid #dde0f5 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: rgba(74,70,229,.5) !important;
  letter-spacing: .03em !important;
  text-align: right;
  padding: 0 10px 0 8px !important;
  white-space: nowrap;
  cursor: default;
  min-width: 52px;
  width: 52px;
}

/* ── Selectable cells ── */
.creavibc-grid-table td.creavibc-cell {
  height: 28px;
  background: #fff !important;
  cursor: pointer !important;
  transition: background .1s, box-shadow .1s !important;
  position: relative;
}

/* Hover — soft indigo wash */
.creavibc-grid-table td.creavibc-cell:hover {
  background: rgba(74,70,229,.08) !important;
  box-shadow: inset 0 0 0 1px rgba(74,70,229,.22) !important;
}

/* Selected — solid indigo, white text */
.creavibc-grid-table td.creavibc-cell.selected,
.creavibc-cell.selected {
  background: #4a46e5 !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15) !important;
}
.creavibc-grid-table td.creavibc-cell.selected:hover {
  background: #3d39d4 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15) !important;
}

/* ── Hour divider — stronger horizontal line ── */
.creavibc-grid-table tr.creavibc-hour-divider td {
  border-top: 2px solid #dde0f5 !important;
}


/* ===========================================================================
   12. NOTIFICATIONS BOX
   =========================================================================== */

/* Overflow: let chip rows scroll outside the box */
#creavibc_service_notifications.postbox { overflow: visible !important; }
#creavibc_service_notifications .postbox-header {
  border-radius: 12px 12px 0 0 !important;
  overflow: hidden !important;
}
#creavibc_service_notifications .inside {
  padding: 16px 16px 20px !important;
  border-radius: 0 0 12px 12px !important;
  overflow: visible !important;
  font-size: 13px;
  line-height: 1.6;
}

#creavibc_service_notifications .inside > p { margin: 0 0 10px !important; }

/* Labels + strong */
#creavibc_service_notifications .inside label,
#creavibc_service_notifications .inside strong {
  display: block;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1e1e1e !important;
  margin-bottom: 1px !important;
  margin-top: 0 !important;
  letter-spacing: .01em !important;
  line-height: 1.3 !important;
}

/* Description text */
#creavibc_service_notifications .inside .description,
#creavibc_service_notifications .inside span.description {
  font-size: 12px !important;
  color: #4b5563 !important;
  display: block;
  margin-top: 4px !important;
  line-height: 1.55 !important;
}

/* Inputs / selects */
#creavibc_service_notifications .inside input[type="text"],
#creavibc_service_notifications .inside input[type="email"],
#creavibc_service_notifications .inside select {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(0,0,0,.16) !important;
  border-radius: 6px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  color: #1e1e1e !important;
  background-color: #fff !important;  /* background-color only — preserves background-image */
  box-shadow: none !important;
  transition: border-color .15s !important;
  min-height: unset !important;
}

/* Restore chevron arrow for selects (padding/background shorthand above would erase it) */
#creavibc_service_notifications .inside select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5h9L6 6.5z' fill='%234a46e5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
  padding-right: 24px !important;
  cursor: pointer !important;
}

/* Reminder offset selects: auto-width, don't stretch full row */
/* Double-ID specificity (2,0,0) beats (1,1,1) from the notifications block above */
#creavibc_service_notifications #creavibc_reminder_offset_minutes,
#creavibc_service_notifications #creavibc_admin_reminder_offset_minutes {
  width: auto !important;
  min-width: 176px !important;
  max-width: 220px !important;
  background-position: right 16px center !important;
  padding-right: 42px !important;
}
#creavibc_service_notifications .inside input[type="text"]:focus,
#creavibc_service_notifications .inside input[type="email"]:focus,
#creavibc_service_notifications .inside select:focus {
  border-color: var(--cbs-accent) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Monospace textareas */
#creavibc_service_notifications .inside textarea {
  width: 100% !important;
  max-width: 100% !important;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: #1e1e1e !important;
  background: #f8f8fb !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 6px !important;
  padding: 9px 11px !important;
  resize: vertical !important;
  box-shadow: none !important;
  transition: border-color .15s !important;
  min-height: unset;
}
#creavibc_service_notifications .inside textarea:focus {
  border-color: var(--cbs-accent) !important;
  outline: none !important;
  box-shadow: none !important;
  background: #fff !important;
}

/* Hide legacy HR + subsection headings */
#creavibc_service_notifications .inside hr,
#creavibc_service_notifications .inside h4.creavibc-subsection {
  display: none !important;
}

/* ── Section cards ── */
.cbs-notif-section {
  background: rgba(74,70,229,.025) !important;
  border: 1px solid rgba(0,0,0,.07);
  border-left: 3px solid rgba(74,70,229,.3);
  border-radius: 8px;
  padding: 12px 14px 10px !important;
  margin: 0 0 10px !important;
  overflow: visible !important;
}
.cbs-notif-section.cbs-notif-admin         { border-left-color: rgba(74,70,229,.55) !important; }
.cbs-notif-section.cbs-notif-user          { border-left-color: rgba(74,70,229,.38) !important; }
.cbs-notif-section.cbs-notif-reminder      { border-left-color: rgba(74,70,229,.22) !important; }
.cbs-notif-section.cbs-notif-reminder-user { border-left-color: rgba(74,70,229,.32) !important; }
.cbs-notif-section.cbs-notif-reminder-admin{ border-left-color: rgba(74,70,229,.18) !important; }

.cbs-notif-section > p,
.cbs-notif-section .inside > p { margin: 0 0 10px !important; }

.cbs-notif-section-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: var(--cbs-accent) !important;
  margin: 0 0 12px !important;
  display: block !important;
}
.cbs-notif-admin          .cbs-notif-section-title,
.cbs-notif-user           .cbs-notif-section-title,
.cbs-notif-reminder       .cbs-notif-section-title,
.cbs-notif-reminder-user  .cbs-notif-section-title,
.cbs-notif-reminder-admin .cbs-notif-section-title {
  color: var(--cbs-accent) !important;
}

/* ── Reminder toggle ── */
.cbs-reminder-fields { transition: opacity .2s !important; }
.cbs-reminder-fields.cbs-disabled { opacity: .4 !important; pointer-events: none !important; }

.cbs-reminder-toggle-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
.cbs-reminder-toggle-row input[type="checkbox"] {
  margin-top: 2px !important;
  flex-shrink: 0 !important;
  accent-color: var(--cbs-accent) !important;
}
.cbs-reminder-toggle-row .cbs-reminder-toggle-text strong {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1e1e1e !important;
  margin-bottom: 1px !important;
}
.cbs-reminder-toggle-row .cbs-reminder-toggle-text span {
  font-size: 12px !important;
  color: #4b5563 !important;
  line-height: 1.5 !important;
}


/* ===========================================================================
   13. TAG CHIPS + GROUPS
   =========================================================================== */

/* Global chip style */
.creavibc-tag-chip {
  display: inline-flex !important;
  align-items: center !important;
  height: 17px !important;
  padding: 0 7px !important;
  font-size: 10px !important;
  line-height: 17px !important;
  font-weight: 500 !important;
  font-family: 'SFMono-Regular', Consolas, monospace !important;
  color: var(--cbs-accent) !important;
  background: rgba(74,70,229,.07) !important;
  border: 1px solid rgba(74,70,229,.2) !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background .15s, border-color .15s !important;
}
.creavibc-tag-chip:hover {
  background: var(--cbs-accent) !important;
  border-color: var(--cbs-accent) !important;
  color: #fff !important;
}
.creavibc-tag-chip:focus { outline-color: var(--cbs-accent) !important; }

/* Chip row container */
.creavibc-tag-chip-row.cbs-grouped {
  margin-top: 5px !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scrollbar-width: none !important;
  padding-bottom: 1px !important;
}
.creavibc-tag-chip-row.cbs-grouped::-webkit-scrollbar { display: none; }

/* Inside section cards: wrap instead of scroll */
.cbs-notif-section .creavibc-tag-chip-row.cbs-grouped,
.creavibc-advanced-details .creavibc-tag-chip-row.cbs-grouped {
  overflow: visible !important;
}

/* Group layout: inline row */
.cbs-tag-groups {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 2px 0 !important;
  margin: 4px 0 8px !important;
  min-width: max-content !important;
}

/* Wrapping inside cards */
.cbs-notif-section .cbs-tag-groups,
.creavibc-advanced-details .cbs-tag-groups {
  flex-wrap: wrap !important;
  min-width: 0 !important;
  gap: 4px 0 !important;
  row-gap: 5px !important;
  margin-bottom: 22px !important;
}

.cbs-tag-group {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
}
.cbs-notif-section .cbs-tag-group,
.creavibc-advanced-details .cbs-tag-group { flex-shrink: 1 !important; }

/* Divider between groups */
.cbs-tag-group + .cbs-tag-group::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(0,0,0,.12);
  margin: 0 7px;
  align-self: center;
  flex-shrink: 0;
}

.cbs-tag-group-label {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: #6b7280 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  padding: 0 3px 0 0 !important;
  line-height: 1 !important;
}

.cbs-tag-group-chips {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  gap: 3px !important;
}
.cbs-notif-section .cbs-tag-group-chips,
.creavibc-advanced-details .cbs-tag-group-chips { flex-wrap: wrap !important; }


/* ===========================================================================
   14. GOOGLE CALENDAR + OUTLOOK — event detail sections
   =========================================================================== */

#creavibc_google_calendar .creavibc-advanced-details,
#creavibc_outlook_connection .creavibc-advanced-details {
  background: rgba(74,70,229,.025);
  border: 1px solid rgba(0,0,0,.08);
  border-left: 3px solid rgba(74,70,229,.3);
  border-radius: 8px;
  padding: 14px 14px 8px;
  margin-top: 4px;
}

#creavibc_google_calendar .creavibc-advanced-details summary,
#creavibc_outlook_connection .creavibc-advanced-details summary {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: rgba(74,70,229,.75) !important;
  cursor: pointer !important;
  list-style: none !important;
  margin-bottom: 12px;
}
#creavibc_google_calendar .creavibc-advanced-details summary::-webkit-details-marker,
#creavibc_outlook_connection .creavibc-advanced-details summary::-webkit-details-marker { display: none; }

#creavibc_google_calendar hr,
#creavibc_outlook_connection hr { display: none !important; }

/* Labels inside event details */
#creavibc_google_calendar .creavibc-advanced-details label strong,
#creavibc_outlook_connection .creavibc-advanced-details label strong {
  display: block;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1e1e1e !important;
  margin-bottom: 5px !important;
  letter-spacing: .01em !important;
}

#creavibc_google_calendar .creavibc-advanced-details p,
#creavibc_outlook_connection .creavibc-advanced-details p { margin: 0 0 10px !important; }

/* Inputs */
#creavibc_google_calendar .creavibc-advanced-details input[type="text"],
#creavibc_outlook_connection .creavibc-advanced-details input[type="text"] {
  width: 100% !important;
  border: 1px solid rgba(0,0,0,.16) !important;
  border-radius: 6px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  transition: border-color .15s !important;
  background: #fff !important;
  box-shadow: none !important;
  min-height: unset;
}
#creavibc_google_calendar .creavibc-advanced-details input[type="text"]:focus,
#creavibc_outlook_connection .creavibc-advanced-details input[type="text"]:focus {
  border-color: var(--cbs-accent) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Monospace textareas */
#creavibc_google_calendar .creavibc-advanced-details textarea,
#creavibc_outlook_connection .creavibc-advanced-details textarea {
  width: 100% !important;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  background: #f8f8fb !important;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  resize: vertical !important;
  transition: border-color .15s !important;
  box-shadow: none !important;
  min-height: unset;
}
#creavibc_google_calendar .creavibc-advanced-details textarea:focus,
#creavibc_outlook_connection .creavibc-advanced-details textarea:focus {
  border-color: var(--cbs-accent) !important;
  outline: none !important;
  box-shadow: none !important;
  background: #fff !important;
}

/* Hide inline code hints (replaced by chips) */
#creavibc_google_calendar .creavibc-advanced-details span.description,
#creavibc_outlook_connection .creavibc-advanced-details span.description { display: none !important; }


/* ===========================================================================

/* ===========================================================================
   15. LOCATION & MEETING METABOX
   =========================================================================== */

/* ── Grid ── */
#creavibc_location_meeting .creavibc-lm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ── Intro label ── */
#creavibc_location_meeting .creavibc-lm-intro {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  color: rgba(74,70,229,.40) !important;
  margin: 0 !important;
}

/* ── Type-selection cards: In-person / Online ── */
#creavibc_location_meeting .creavibc-lm-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

#creavibc_location_meeting .creavibc-lm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1.5px solid rgba(17,24,39,.10);
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

#creavibc_location_meeting .creavibc-lm-card:hover {
  border-color: rgba(74,70,229,.30) !important;
  background: rgba(74,70,229,.025) !important;
}

#creavibc_location_meeting .creavibc-lm-card.is-active {
  border-color: rgba(74,70,229,.52) !important;
  background: rgba(74,70,229,.05) !important;
  box-shadow: none !important;
}

/* Hide the native radio — card click handles it */
#creavibc_location_meeting .creavibc-lm-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Card icon (dashicon) */
#creavibc_location_meeting .creavibc-lm-card-icon {
  font-size: 17px !important;
  width: 17px !important;
  height: 17px !important;
  color: #c5c5d8;
  margin-bottom: 5px;
  transition: color .18s;
}

#creavibc_location_meeting .creavibc-lm-card.is-active .creavibc-lm-card-icon {
  color: var(--cbs-accent);
}

/* Card title */
#creavibc_location_meeting .creavibc-lm-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: -.01em;
  line-height: 1.25;
  transition: color .18s;
}

#creavibc_location_meeting .creavibc-lm-card.is-active strong {
  color: var(--cbs-accent);
}

/* Card subtitle */
#creavibc_location_meeting .creavibc-lm-card-sub {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
  line-height: 1.3;
  transition: color .18s;
}

#creavibc_location_meeting .creavibc-lm-card.is-active .creavibc-lm-card-sub {
  color: rgba(74,70,229,.55);
}

/* Selection dot — top-right corner */
#creavibc_location_meeting .creavibc-lm-card::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(17,24,39,.18);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#creavibc_location_meeting .creavibc-lm-card.is-active::after {
  background: var(--cbs-accent);
  border-color: var(--cbs-accent);
  box-shadow: none;
}

/* ── Panel container (In-person & Online) ── */
#creavibc_location_meeting .creavibc-lm-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fafbff !important;
  border: 1px solid rgba(74,70,229,.13) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden;
}

/* Panel inner padding wrapper — keeps content off the edge */
#creavibc_location_meeting .creavibc-lm-panel > * {
  padding-left: 18px;
  padding-right: 18px;
}

#creavibc_location_meeting .creavibc-lm-panel > *:first-child { padding-top: 18px; }
#creavibc_location_meeting .creavibc-lm-panel > *:last-child  { padding-bottom: 18px; }

/* ── "Online option" row — acts as a section header with a bottom rule ── */
#creavibc_location_meeting .creavibc-lm-row {
  background: rgba(74,70,229,.03);
  border-bottom: 1px solid rgba(74,70,229,.10);
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

/* ── Individual field ── */
#creavibc_location_meeting .creavibc-lm-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0 !important;
  padding-top: 14px;
  padding-bottom: 14px;
}

#creavibc_location_meeting .creavibc-lm-field + .creavibc-lm-field {
  border-top: 1px solid rgba(74,70,229,.07);
  margin-top: 0;
}

#creavibc_location_meeting .creavibc-lm-field:last-child {
  padding-bottom: 18px;
}

/* ── Field labels ── */
#creavibc_location_meeting .creavibc-lm-field label {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #4a4670 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* ── Inputs ── */
#creavibc_location_meeting input[type="text"],
#creavibc_location_meeting input[type="url"] {
  width: 100% !important;
  max-width: 420px !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  min-height: unset !important;
  border-radius: 10px !important;
}

#creavibc_location_meeting select {
  width: 100% !important;
  max-width: 300px !important;
  font-size: 13px !important;
  padding: 9px 36px 9px 12px !important;
  min-height: unset !important;
  border-radius: 10px !important;
}

#creavibc_location_meeting textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 76px !important;
  font-size: 13px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
}

/* ── Help text ── */
#creavibc_location_meeting .creavibc-lm-help {
  font-size: 12px !important;
  color: #4b5563 !important;
  background: #f8fafc !important;
  border-left: 3px solid #7c3aed !important;
  padding: 6px 8px !important;
  border-radius: 6px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ── Info block (Osecu note) ── */
#creavibc_location_meeting .creavibc-lm-info {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 !important;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.5;
  margin-top: 6px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#creavibc_location_meeting .creavibc-lm-info .dashicons {
  font-size: 14px !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  margin-top: 1px;
  color: #c5c5d8;
}

#creavibc_location_meeting .creavibc-lm-info a {
  color: #9ca3af !important;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#creavibc_location_meeting .creavibc-lm-info a:hover {
  color: var(--cbs-accent) !important;
}

/* ===========================================================================
   16. SHORTCODE METABOX
   =========================================================================== */

.creavibc-shortcode-box {
  padding: 2px 0 4px;
}

/* Title */
.creavibc-sc-title {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--cbs-text) !important;
  margin: 0 0 4px !important;
}

/* Description */
.creavibc-sc-desc {
  font-size: 12.5px !important;
  color: #4b5563 !important;
  margin: 0 0 10px !important;
}

/* Row: input + button side by side */
.creavibc-sc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 540px;
}

/* Code input */
.creavibc-sc-input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace !important;
  font-size: 12px !important;
  color: #3730a3 !important;
  background: rgba(74,70,229,.05) !important;
  border: 1px solid rgba(74,70,229,.18) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  height: auto !important;
  min-height: unset !important;
  box-shadow: none !important;
  cursor: text;
  transition: border-color .15s, box-shadow .15s;
}

.creavibc-sc-input:focus {
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
  outline: none !important;
  background: #fff !important;
}

/* Copy button */
.creavibc-sc-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--cbs-accent) !important;
  background: rgba(74,70,229,.07) !important;
  border: 1px solid rgba(74,70,229,.22) !important;
  border-radius: 8px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
  box-shadow: none !important;
  line-height: 1 !important;
  min-height: unset !important;
}

.creavibc-sc-copy:hover {
  background: rgba(74,70,229,.13) !important;
  border-color: rgba(74,70,229,.38) !important;
  color: var(--cbs-accent) !important;
}

.creavibc-sc-copy:focus {
  outline: 1px solid var(--cbs-accent) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* Default label visible, done label hidden */
.creavibc-sc-copy-default { display: inline; }
.creavibc-sc-copy-done    { display: none; }

/* When copied: swap labels, turn green */
.creavibc-sc-copy.is-done {
  color: #16a34a !important;
  background: rgba(22,163,74,.08) !important;
  border-color: rgba(22,163,74,.28) !important;
}

.creavibc-sc-copy.is-done .creavibc-sc-copy-default { display: none; }
.creavibc-sc-copy.is-done .creavibc-sc-copy-done    { display: inline; }


/* ===========================================================================
   17. INPUT FOCUS NORMALIZATION
   =========================================================================== */

.post-type-creavibc_service .inside input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):focus,
.post-type-creavibc_service .inside select:focus,
.post-type-creavibc_service .inside textarea:focus,
.post-type-creavibc_booking .inside input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):focus,
.post-type-creavibc_booking .inside select:focus,
.post-type-creavibc_booking .inside textarea:focus,
.post-type-creavibc_service #title:focus,
.creavibc-input:focus,
.creavibc-select:focus,
.creavibc-sc-input:focus {
  outline: none !important;
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
}

.creavibc-ap-num-wrap:focus-within {
  border-color: var(--cbs-accent) !important;
  box-shadow: none !important;
}

.post-type-creavibc_service #title,
.post-type-creavibc_service #title:focus {
  border: 0 !important;
}


/* ===========================================================================
   19. ADMIN METABOX TYPOGRAPHY FINAL OVERRIDES
   =========================================================================== */

:root {
  --cbs-admin-label: #374151;
  --cbs-admin-help:  #4b5563;
}

.post-type-creavibc_service .inside label:not(.creavibc-toggle-option):not(.creavibc-lm-card):not(.creavibc-checkbox-label):not(:has(input[type="checkbox"])):not(:has(input[type="radio"])),
.post-type-creavibc_booking .inside label:not(.creavibc-toggle-option):not(.creavibc-lm-card):not(.creavibc-checkbox-label):not(:has(input[type="checkbox"])):not(:has(input[type="radio"])),
.post-type-creavibc_service .inside label strong,
.post-type-creavibc_booking .inside label strong,
.post-type-creavibc_service .inside p > strong,
.post-type-creavibc_booking .inside p > strong,
.creavibc-ap-field label,
#creavibc_available_days .creavibc-field > label,
#creavibc_location_meeting .creavibc-lm-field label,
#creavibc_service_notifications .inside label,
#creavibc_service_notifications .inside label strong,
#creavibc_google_calendar .creavibc-advanced-details label strong,
#creavibc_outlook_connection .creavibc-advanced-details label strong {
  display: inline-block !important;
  color: var(--cbs-admin-label) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.post-type-creavibc_service .inside .description,
.post-type-creavibc_booking .inside .description,
.post-type-creavibc_service .inside span.description,
.post-type-creavibc_booking .inside span.description,
.post-type-creavibc_service .inside .creavibc-help,
.post-type-creavibc_booking .inside .creavibc-help,
.creavibc-help,
.creavibc-ap-help,
.creavibc-tabs-subtitle,
.creavibc-sc-desc,
.creavibc-timezone-description,
.creavibc-admin-hint,
#creavibc_available_days .creavibc-help,
#creavibc_available_days .creavibc-ap-help,
#creavibc_service_notifications .inside .description,
#creavibc_service_notifications .inside span.description,
.cbs-reminder-toggle-row .cbs-reminder-toggle-text span,
#creavibc_location_meeting .creavibc-lm-help,
#creavibc_location_meeting .creavibc-lm-info,
#creavibc_google_calendar [style*="color:#666"],
#creavibc_google_calendar [style*="color: #666"],
#creavibc_outlook_connection [style*="color:#666"],
#creavibc_outlook_connection [style*="color: #666"],
.creavibc-metrics-optin [style*="color:#646970"] {
  color: var(--cbs-admin-help) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

.post-type-creavibc_service .inside label:has(input[type="radio"]),
.post-type-creavibc_service .inside label:has(input[type="checkbox"]),
.post-type-creavibc_booking .inside label:has(input[type="radio"]),
.post-type-creavibc_booking .inside label:has(input[type="checkbox"]),
.creavibc-checkbox-label,
.cbs-reminder-toggle-row {
  color: var(--cbs-admin-label) !important;
}

.post-type-creavibc_service .inside label:has(input[type="radio"]) strong,
.post-type-creavibc_service .inside label:has(input[type="checkbox"]) strong,
.post-type-creavibc_booking .inside label:has(input[type="radio"]) strong,
.post-type-creavibc_booking .inside label:has(input[type="checkbox"]) strong,
.cbs-reminder-toggle-row .cbs-reminder-toggle-text strong {
  color: var(--cbs-admin-label) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.creavibc-ap-section-label,
#creavibc_available_days .creavibc-panel-title,
.cbs-notif-section-title,
#creavibc_google_calendar .creavibc-advanced-details summary,
#creavibc_outlook_connection .creavibc-advanced-details summary,
#creavibc_location_meeting .creavibc-lm-intro {
  color: var(--cbs-accent) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}


/* ===========================================================================
   23. SELECT CHEVRON TRUE FINAL OVERRIDE
   =========================================================================== */

.post-type-creavibc_service .inside select,
.post-type-creavibc_booking .inside select,
.creavibc-select,
.creavibc-custom-row select,
.creavibc-style-field select,
#creavibc_location_meeting select,
#creavibc_reminder_offset_minutes,
#creavibc_admin_reminder_offset_minutes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='4' viewBox='0 0 5 4'%3E%3Cpath d='M.75 1.1L2.5 2.85 4.25 1.1' stroke='%234a46e5' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 26px !important;
}

.post-type-creavibc_service .inside select.cbs-select-open,
.post-type-creavibc_booking .inside select.cbs-select-open,
.creavibc-select.cbs-select-open,
.creavibc-custom-row select.cbs-select-open,
.creavibc-style-field select.cbs-select-open,
#creavibc_location_meeting select.cbs-select-open,
#creavibc_reminder_offset_minutes.cbs-select-open,
#creavibc_admin_reminder_offset_minutes.cbs-select-open {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='4' viewBox='0 0 5 4'%3E%3Cpath d='M.75 2.9L2.5 1.15 4.25 2.9' stroke='%234a46e5' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
