/* Consultation Formidable forms only; plugin markup and behaviour stay intact. */
#booking .frm_forms {
  --font: 'Manrope', Arial, sans-serif;
  --font-size: 14px;
  --weight: 700;
  --label-color: #193c50;
  --text-color: #193c50;
  --border-color: #cbdce5;
  --border-color-active: #4e83a3;
  --border-radius: 10px;
  --bg-color: #fff;
  --date-head-bg-color: #edf5f9;
  --date-head-color: #193c50;
  --date-band-color: #f3f8fb;
  margin: 0;
  padding: 30px;
  border: 1px solid #dbe7ee;
  border-radius: 15px;
  background: linear-gradient(145deg, #f7fbfd, #fff 45%);
  color: #193c50;
  font-family: 'Manrope', Arial, sans-serif;
}
#booking .frm_forms form,
#booking .frm_forms fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
#booking .frm_forms .frm_form_field { margin-bottom: 26px; min-width: 0; }
#booking .frm_forms .frm_primary_label {
  color: #193c50 !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.65;
  padding: 0 0 10px !important;
}
#booking .frm_forms .frm_required { color: #d34b54; }
#booking .frm_forms :is(input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=password], input[type=date], select, textarea) {
  min-height: 50px !important;
  padding: 12px 15px !important;
  border: 1px solid #cbdce5;
  border-radius: 10px;
  background-color: #fff;
  color: #193c50;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 16px !important;
  line-height: 1.5;
  box-shadow: 0 2px 4px rgb(25 60 80 / 2%);
  transition: border-color .18s, box-shadow .18s;
}
#booking .frm_forms select:not(.ui-datepicker-month):not(.ui-datepicker-year) {
  min-width: min(230px, 100%);
  padding-right: 38px !important;
}
#booking .frm_forms .frm_form_field textarea { min-height: 150px !important; resize: vertical; }
#booking .frm_forms :is(input, select, textarea):focus-visible {
  outline: 3px solid rgb(78 131 163 / 20%);
  outline-offset: 2px;
  border-color: #4e83a3;
}
#booking .frm_forms .frm_description { margin-top: 8px; color: #667d8b; font-size: 12px; line-height: 1.7; }
#booking .frm_forms .frm_opt_container[role=radiogroup] { display: flex; flex-wrap: wrap; gap: 10px; }
#booking .frm_forms .frm_radio { flex: 1 1 135px; margin: 0; padding: 0; }
#booking .frm_forms .frm_radio label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #cbdce5;
  border-radius: 10px;
  background: #fff;
  color: #465c69 !important;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px !important;
  line-height: 1.5;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
#booking .frm_forms .frm_radio label:hover { background: #f3f8fb; border-color: #8fb3c9; }
#booking .frm_forms .frm_radio label:has(input:checked) {
  background: #edf5f9;
  border-color: #4e83a3;
  color: #193c50 !important;
  box-shadow: inset 0 0 0 1px #4e83a3;
}
#booking .frm_forms :is(input[type=radio], input[type=checkbox]) { accent-color: #4e83a3; flex-shrink: 0; margin: 0; }
#booking .frm_forms input[type=radio] { width: 18px; height: 18px; border-radius: 50%; }

/* Keep the inline calendar's own selection, availability and month navigation. */
#booking .frm_date_inline { width: 100%; max-width: 520px; margin-top: 3px; }
#booking .frm_date_inline .ui-datepicker {
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid #dbe7ee;
  border-radius: 14px;
  background: #fff;
  font-family: 'Manrope', Arial, sans-serif;
  box-shadow: 0 8px 24px rgb(25 60 80 / 5%);
}
#booking .frm_date_inline .ui-datepicker-header {
  min-height: 56px;
  padding: 8px 43px;
  border: 0;
  border-radius: 9px;
  background: #edf5f9 !important;
  color: #193c50 !important;
}
#booking .frm_date_inline .ui-datepicker-title { display: flex; gap: 8px; margin: 0; line-height: 1.5; }
#booking .frm_date_inline .ui-datepicker-title select {
  flex: 1;
  width: 50%;
  min-width: 0;
  min-height: 40px !important;
  height: auto;
  margin: 0;
  padding: 6px 8px !important;
  border: 1px solid #d2e2eb;
  border-radius: 7px;
  background: #fff !important;
  color: #193c50 !important;
  font-size: 14px !important;
  box-shadow: none;
}
#booking .frm_date_inline :is(.ui-datepicker-prev, .ui-datepicker-next) {
  position: absolute !important;
  top: 13px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4e83a3;
  cursor: pointer;
  transform: none !important;
}
#booking .frm_date_inline .ui-datepicker-prev { left: 6px; right: auto; }
#booking .frm_date_inline .ui-datepicker-next { right: 6px; left: auto; }
#booking .frm_date_inline :is(.ui-datepicker-prev, .ui-datepicker-next)::before { content: none !important; }
#booking .frm_date_inline :is(.ui-datepicker-prev, .ui-datepicker-next):hover { background: #dcecf4; }
#booking .frm_date_inline :is(.ui-datepicker-prev, .ui-datepicker-next)::after {
  content: '';
  position: absolute;
  top: 11px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
#booking .frm_date_inline .ui-datepicker-prev::after { left: 12px; transform: rotate(-135deg); }
#booking .frm_date_inline .ui-datepicker-next::after { right: 12px; transform: rotate(45deg); }
#booking .frm_date_inline .ui-icon { background-image: none; opacity: 0; }
#booking .frm_date_inline .ui-datepicker-calendar { width: 100%; margin: 10px 0 0; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
#booking .frm_date_inline .ui-datepicker-calendar th { padding: 8px 0; color: #667d8b; font-size: 11px; font-weight: 700; text-align: center; }
#booking .frm_date_inline .ui-datepicker-calendar td { padding: 0; border: 0; border-radius: 8px; background: transparent !important; text-align: center; }
#booking .frm_date_inline .ui-datepicker-calendar td :is(a, span) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 6px 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #193c50;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
#booking .frm_date_inline .ui-datepicker-calendar td:not(.ui-datepicker-current-day) a:hover {
  border-color: #b8d2e1;
  background: #edf5f9 !important;
  color: #193c50 !important;
}
#booking .frm_date_inline .ui-datepicker-calendar .ui-datepicker-current-day a {
  border-color: #4e83a3;
  background: #4e83a3 !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgb(78 131 163 / 18%);
}
#booking .frm_date_inline .ui-datepicker-calendar .ui-datepicker-today:not(.ui-datepicker-current-day) :is(a, span) { border-color: #d7e5ed; background: #f3f8fb; }
#booking .frm_date_inline .ui-datepicker-calendar .ui-state-disabled { opacity: 1; }
#booking .frm_date_inline .ui-datepicker-calendar .ui-state-disabled span { color: #899eac; font-weight: 400; opacity: 1; }
#booking .frm_date_inline .ui-datepicker-header .ui-state-disabled { opacity: .3; cursor: default; }

#booking .frm_forms .frm_submit { margin: 2px 0 0; padding-top: 22px; border-top: 1px solid #e0eaf0; }
#booking .frm_forms :is(.frm_button_submit, .frm_next_page, .frm_prev_page, input[type=submit]) {
  min-height: 49px;
  min-width: 130px;
  margin: 0 10px 0 0;
  padding: 12px 24px;
  border: 1px solid #4e83a3 !important;
  border-radius: 9px;
  background: #4e83a3 !important;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700 !important;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgb(78 131 163 / 14%);
  transition: background .18s, border-color .18s;
}
#booking .frm_forms form:not(.frm_loading_form):not(.frm_loading_prev) :is(.frm_button_submit, .frm_next_page, .frm_prev_page, input[type=submit]) { color: #fff !important; text-shadow: none; }
#booking .frm_forms :is(.frm_button_submit, .frm_next_page, input[type=submit]):hover { background: #3c6f90 !important; border-color: #3c6f90 !important; }
#booking .frm_forms .frm_prev_page { background: #fff !important; box-shadow: none; }
#booking .frm_forms form:not(.frm_loading_form):not(.frm_loading_prev) .frm_prev_page { color: #4e83a3 !important; }
#booking .frm_forms :is(button, a):focus-visible { outline: 3px solid rgb(78 131 163 / 35%); outline-offset: 3px; }
#booking .frm_forms .frm_error { margin-top: 7px; color: #b33f4b; font-size: 12px; line-height: 1.6; }
#booking .frm_forms .frm_error_style { padding: 16px 18px; border: 1px solid #ecc6cc; border-radius: 10px; background: #fff5f6; color: #943844; font-size: 14px; }

@media (max-width: 600px) {
  #booking .frm_forms { padding: 22px 16px; }
  #booking .frm_forms .frm_form_field { margin-bottom: 23px; }
  #booking .frm_forms .frm_primary_label { font-size: 13px !important; }
  #booking .frm_date_inline .ui-datepicker { padding: 7px; border-radius: 11px; }
  #booking .frm_date_inline .ui-datepicker-header { padding-inline: 32px; }
  #booking .frm_date_inline .ui-datepicker-title { gap: 5px; }
  #booking .frm_date_inline .ui-datepicker-title select { padding-inline: 4px !important; font-size: 13px !important; }
  #booking .frm_date_inline .ui-datepicker-calendar { border-spacing: 1px 3px; }
  #booking .frm_date_inline .ui-datepicker-calendar td :is(a, span) { min-height: 35px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #booking .frm_forms :is(input, select, textarea, button, .frm_radio label) { transition: none; }
}
