:root {
  /* -------------------------------------------------------------------------
     Base palette — each color value once (hex / literal)
     ------------------------------------------------------------------------- */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-body: #1f1f1f;
  --color-neutral-ink: #2b2e31;
  --color-muted: #909090;
  --color-charcoal: #363530;
  --color-passed-step: #707070;
  --color-rust: #81411e;
  --color-brand-teal: #17666f;
  --color-frost: #f7fbfc;
  --color-calendar-accent: #c45f29;
  --color-calendar-surface: #f9f9f9;
  --color-calendar-cell: #fbf6f0;
  --color-calendar-gridline: #d5d4df;
  --color-calendar-selected: #c5beae;
  --color-calendar-disabled: #e6cbcb;
  --color-error: #d22929;
  --background-color: #f5f1ed;

  /* -------------------------------------------------------------------------
     Semantic colors — map UI roles to the palette
     ------------------------------------------------------------------------- */
  --primary-color: var(--color-brand-teal);
  --text-color: var(--color-body);
  --accent-color: var(--color-charcoal);
  --color-pure-black: var(--color-black);
  --neutral-dark: var(--color-neutral-ink);
  --muted-ui: var(--color-muted);
  --progress-step-background: var(--color-charcoal);
  --passed-step-background: var(--color-passed-step);
  --btn-hover-color: var(--color-rust);
  --service-hover-color: var(--background-color);
  --service-hover-border-color: var(--color-rust);
  --calendar-border-color: var(--color-calendar-accent);
  --calendar-background-color: var(--color-calendar-surface);
  --calendar-date-color: var(--color-body);
  --calendar-date-background: var(--color-calendar-cell);
  --calendar-date-border-color: var(--color-calendar-gridline);
  --selected-date-background: var(--color-calendar-selected);
  --disabled-dates-background: var(--color-calendar-disabled);
  --error-text-red: var(--color-error);

  /* Time-slot chips: same background/border hover as accent charcoal */
  --time-select-background: var(--color-white);
  --time-select-text-color: var(--color-black);
  --time-select-text-color-hover: var(--color-white);
  --time-select-background-hover: var(--color-charcoal);
  --time-select-border-color-hover: var(--color-charcoal);

  /* -------------------------------------------------------------------------
     Typography & layout (non-color tokens)
     ------------------------------------------------------------------------- */
  --site-font-family: "Poppins", sans-serif;
  --services-font-size: 16px;
  --services-icons-size: 40px;
  --choice-text-font-size: 18px;
  --calendar-date-font-size: 14px;
  --service-block-height: 72px;
  --submit-btn-padding: 11px 23px;
  --browsing-btn-width: 198px;

  /* -------------------------------------------------------------------------
     Assets
     ------------------------------------------------------------------------- */
  --plus-icon: url(/wp-content/uploads/2026/04/plus-icon.png);
  --minus-icon: url(/wp-content/uploads/2026/04/minus-icon.png);
  --calendar-toggle-icon: url(/wp-content/uploads/2026/04/up-arrow.png);
  --month-change-arrow-right: url(/wp-content/uploads/2026/04/right-arrow.png);
  --check-box: url(/wp-content/uploads/2026/04/check-box.png);
}

/* Loading spinner */
.elementor-editor-active .loading {
  display: none;
}
.loading {
  position: fixed;
  z-index: 9999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.8));
  background: -webkit-radial-gradient(
    rgba(20, 20, 20, 0.8),
    rgba(0, 0, 0, 0.8)
  );
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: "";
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* =========================================================================
   Page resets & base visibility
   ========================================================================= */
.gform_validation_errors,
.appointment-details,
.branch-address summary::-webkit-details-marker,
.form-submitted .opening-hours,
.form-submitted .hide-on-submission,
.success-message br,
.elementor-location-header,
.continue-browsing,
.gf_progressbar_wrapper, 
.separator .gsection_title,
.visually-hidden,
.visually-hidden label,
.visually-hidden .ginput_container,
.appt-details-section,
.appointment-details br,
.appointment-details .choice .choice-wrapper,
.page-title > p:empty,
.branch-name .wpsl-contact-details,
.branch-name .opening-hours,
.wpsl-location-address br,
.time-selection.second-option,
.branch-name .map,
.selected-service .ginput_container,
.branch-address .map {
  display: none;
}
.time-selection .gfield_error.visually-hidden.date-selection,
.gfield_error.visually-hidden.date-selection label,
.hide-legend legend,
.gfield_required .gfield_required_text,
.time-selection .toggle,
.time-selection.active .date-time.visually-hidden {
  display: none !important;
}
.gform_wrapper.gravity-theme .gfield_error legend {
  color: var(--text-color) !important;
}
.gfield_checkbox {
  position: relative;
}
.gform_wrapper.gravity-theme .gform_fields {
  gap: 0 !important;
}

/* Appointment form (Gravity theme, buttons, details) */
.appointment-form p {
  margin-bottom: 0;
}
.appointment-form .gform_wrapper.gravity-theme .button{
  font-size: 14px;
  line-height: 1.4em !important;
  font-weight: 500;
  text-transform: uppercase;
  padding: var(--submit-btn-padding);
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--color-white);
  cursor: pointer;
}
.appointment-form .gform_wrapper.gravity-theme .button:hover,
.appointment-form .gform_wrapper.gravity-theme .gform_next_button.button:hover {
  background: var(--btn-hover-color);
  border-color: var(--btn-hover-color);
}

.cross-btn .elementor-button-text {
  width: 14px;
}
.cross-btn svg{
    height: auto !important;
    width: auto !important;
}
.appointment-details .type {
    display: flex;
    margin-bottom: 8px;
}
    .appointment-details.active .choice .choice-wrapper:nth-of-type(2) {
    display: block !important;
}
    .ui-datepicker-calendar td a:hover {
    background-color: var(--selected-date-background) !important;
    color:var(--text-color) !important;
}
/* Progress bar */
    .progress-bar ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.5em;
  list-style: none;
  gap: 8px;
}
.progress-bar ul li {
  color: var(--neutral-dark);
  font-weight: 400;
  text-align: center;
  transition: all 1s ease-in-out;
  flex-grow: 1;
}

.progress-bar ul li.active:after {
  background-color: var(--color-white);
}
.progress-bar ul li.passed:not(.progress-bar ul li.passed.active):after {
  background-color: var(--muted-ui);
}
.progress-bar ul li span {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  font-size: 14px;
  background: var(--color-white);
  border: 1px solid #909090;
  border-radius: 50px;
  vertical-align: middle;
  margin-right: 3px;
}
.progress-bar ul li span i {
  position: absolute;
  left: 6px;
  font-size: 10px;
  color: var(--muted-ui);
}
.progress-bar ul li.active {
  color: var(--progress-step-background);
  font-weight: 500;
}
    .form-submitted .show-on-submission h3 {
    display: block !important;
        margin-bottom:20px;
}
    .show-on-submission h3{
        display:none;
    }

.progress-bar ul li.active span {
  border-color: var(--progress-step-background);
  background: var(--progress-step-background) !important;
}
.progress-bar ul li.passed span,
.progress-bar ul li.active span i {
  color: var(--color-white);
  font-weight: 700;
}
.progress-bar ul li.passed span {
  background: var(--passed-step-background);
  border-color: var(--passed-step-background);
}
.progress-bar
  ul
  li.passed
  span
  i:not(.progress-bar ul li.passed.active span i) {
  color: var(--color-white);
}
    div#gform_2_validation_container {
    display: none;
}
    
/* Progress line */
.progress-line {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-line  .elementor-widget-html {
    left: 0;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-line span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--progress-step-background);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Overview: map & branch */
.elementor-widget-google_maps{
    overflow: visible !important;
}
.map p {
  margin-bottom: 0;
}
.appointment-details h3 {
  font-size: 18px;
  line-height: 1.5em;
  color: var(--color-pure-black);
  font-weight: 500;
  margin: 4px 0px 8px 0px;
}
.branch-address .wpsl-locations-details > span > strong{
     display: block;
    font-size: 18px;
  line-height: 1.5em;
  color: var(--color-pure-black);
  font-weight: 500;
  margin: 0px 0px 8px 0px;
}

.emergency_section a{
font-size: 16px;
font-weight: 500;
line-height: 1.5em;
margin: 8px 0 0 0 !important;    
display: block; 
}

.branch-address summary {
  list-style: none;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  text-transform: none !important;
  user-select: none;
}
.branch-address summary::after {
  content: "";
  font-weight: 300;
  position: absolute;
  top: 0;
  left: 122px;
  width: 24px;
  height: 24px;
  background: var(--plus-icon) no-repeat right center / 24px;
}
.branch-address details[open] summary::after {
  background: var(--minus-icon) no-repeat right center / 24px;
}
.wpsl-opening-hours {
  margin-top: 20px;
}
.wpsl-opening-hours tr td {
  background: transparent !important;
  padding-bottom: 10px;
  font-size: 14px !important;
}
/* Form success (submission complete) */
.form-submitted .elementor-location-header {
  display: block;
  border-bottom: 1px solid #CCCCCC;
}
.form-submitted .main-form-overview-wrapper {
  margin-bottom: 0 !important;
}
.form-submitted .main-form-overview-wrapper .e-con-inner {
  flex-direction: column;
  max-width: 550px !important;
  background-color: var(--color-white);
}
.form-submitted .main-form-overview-wrapper .elementor-element.e-con-full {
  width: 100%;
}
.form-submitted .main-form-overview-wrapper .elementor-element.overview-col {
  padding: 32px 24px;
}
.form-submitted .main-form-overview-wrapper .elementor-element {
  border-bottom: 0;
}
.form-submitted .appointment-details .elementor-widget-container {
  border: none;
}
body.form-submitted .branch-address, body.form-submitted .appointment-details{
  padding-bottom: 0 !important;
}
.success-message h1 {
  font-size: 34px;
  line-height: 1.5em;
  color: var(--text-color);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  text-transform: none;
}
.success-message h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  text-align: center;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.success-message p, .success-message {
  font-size: 16px;
  line-height: 1.5em;
  color: #3d3d3d;
  text-align: center;
  max-width: 468px;
  margin: 0 auto 32px;
  padding: 16px 0;
}
.success-message a {
    text-transform: lowercase;
    color: #3D3D3D;
}
.success-message a:hover {
  color: var(--btn-hover-color) !important;
}
.continue-browsing a {
  display: block;
  max-width: var(--browsing-btn-width);
  width: var(--browsing-btn-width);
  margin: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.form-submitted .continue-browsing {
  display: block;
}

/* Form generic (Gravity Forms, datepicker) */
.ui-datepicker td.ui-datepicker-unselectable.ui-state-disabled:not(.ui-datepicker-other-month) {
    background: var(--disabled-dates-background) !important;
}

img.gform_ajax_spinner {
  margin-left: 7px;
}
.gform_wrapper.gravity-theme .gform_fields {
  display: flex !important;
  flex-direction: column !important;
}
.appointment-form .gform_wrapper.gravity-theme .gfield_validation_message {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--error-text-red);
}
.time-selection.active .gfield_error.visually-hidden.date-selection {
  display: block !important;
  margin-left: 8px;
  margin-bottom: 5px;
}
.visually-hidden.gfield_error {
  display: block;
}
.gform_wrapper.gravity-theme .gfield_label {
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}
/* Appointment overview (read-only summary) */
.branch-address a{
font-size: 16px;
font-weight: 400;
line-height: 160%;
margin: 12px 0px !important; 
display: inline-block; 
}
.branch-address a:hover{
color: var(--btn-hover-color) !important; 
}
.appointment-details .label {
  display: inline-block;
  min-width: 90px;
  font-weight: 500;
  font-size: 14px !important;
}
 .appointment-details #form-name-first .name-text {
  display: inline-block;
  min-width: 86px;
  font-weight: 500;
} 
.appointment-details .choice .choice-wrapper .date {
  padding-right: 10px;
}
.appointment-details span.val,
.appointment-details .name-values,
.appointment-details #other-val,
.appointment-details #other-val .name-text {
  font-weight: 400;
  word-wrap: break-word;
  font-size: 14px !important;
}

.appointment-details .name-values{
      margin-bottom: 8px;
}
.choice .choice-wrapper:first-child{
    margin-bottom: 8px;
}

/* Branch selection */
.page-title h1,
.page-title h2 {
  font-size: 24px;
  line-height: 1.2em;
  color: var(--text-color);
  margin-bottom: 9px;
  font-weight: 500;
  text-transform: none;
}

.page-title > p {
  color: var(--neutral-dark);
  margin-bottom: 32px;
}

.wpsl-location-address, .wpsl-locations-details {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  margin-bottom: 0 !important;
    
}

/* Purpose of visit (service types) */
.services-selection {
  margin-bottom: 16px !important;
}
.appointment-types-list {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.appointment-types-list li {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    padding: 16px 16px 16px 72px;
    flex: 1;
    width: 100%;
    min-height: var(--service-block-height);
    cursor: pointer;
}
.appointment-types-list li:hover,
.appointment-types-list li.active {
  background: var(--service-hover-color);
  border-color: var(--service-hover-border-color);
}
.appointment-types-list li img {
    position: absolute;
    left: 15px;
    top: 17px;
    width: var(--services-icons-size);
}
.appointment-types-list li .service-name {
  font-size: var(--services-font-size);
  line-height: 1.5em;
  font-weight: 500;
  color: var(--color-pure-black);
}
.other-exam-type {
  display: none;
}
.other-exam-type input {
  height: 46px;
  padding: 12.5px 14px !important;
}
/* Date & time selection */
.time-selection {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 22px 24px 30px;
  margin-bottom: 21px;
  user-select: none !important;
}
.time-selection.active {
  border: 2px solid var(--calendar-border-color);
  background: var(--calendar-background-color);
}
.time-selection.active .toggle {
  display: block !important;
  border: none;
}

.time-selection .date-field-title button,
.time-selection .date-field-title {
  position: relative;
  font-size: var(--choice-text-font-size);
  line-height: 1.5em;
  font-weight: 500;
  color: var(--color-pure-black);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  margin-bottom: 0px;
}
.time-selection .date-field-title p {
  position: relative;
}
.time-selection .date-field-title p::after {
  transform: rotate(180deg);
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background: var(--calendar-toggle-icon) no-repeat center
    right / 18px;
  width: 18px;
  height: 18px;
}
.time-selection.active .date-field-title p::after {
  transform: rotate(0deg);
}
.time-selection .hasDatepicker {
  margin-top: 13px;
  margin-left: 6px;
  margin-bottom: 5px;
}
.time-selection .hasDatepicker .ui-datepicker {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0;
}
.time-selection .hasDatepicker .ui-datepicker .ui-datepicker-header {
  background: transparent;
  border: none;
  border-radius: 0;
}

.ui-datepicker-calendar {
    margin-bottom: 0 !important;
}
.ui-datepicker .ui-datepicker-title {
    font-size: 16px;
    line-height: 24px !important;
    font-weight: 500;
    padding: 4px 0;
    font-family: var(--site-font-family);
    color: var(--color-pure-black) !important;
}
.ui-datepicker-header > a {
    top: 7px !important;
} 
.ui-datepicker-prev > span,
.ui-datepicker-next > span {
    background: var(--month-change-arrow-right) no-repeat center center / 14px !important;
}
.ui-datepicker .ui-datepicker-prev > span {
    transform: rotate(180deg);
}
.ui-datepicker td {
    padding: 0 !important;
}
.ui-datepicker-calendar thead > tr {
    border-bottom: 1px solid #ccc;
}
.ui-datepicker-calendar thead > tr th {
    font-weight: 600;
    font-size: 14px;
    padding: 7px !important;
    font-family: var(--site-font-family) !important;
    color: var(--color-pure-black) !important;
}
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled{
    opacity: 1 !important;
}

.ui-datepicker td span,
.ui-datepicker td a,
.ui-datepicker-current-day.ui-datepicker-today .ui-state-default,
.ui-state-default {
  background: var(--calendar-date-background) !important;
  border-bottom: 0 !important;
  border-right: 0 !important;
  border: 1px solid var(--calendar-date-border-color) !important;
  text-align: center;
  min-height: 51px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: var(--calendar-date-font-size);
  line-height: 1.5em;
  font-weight: 400 !important;
  color: var(--calendar-date-color) !important;
  font-family: var(--site-font-family);
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-state-default:hover, .ui-state-default.ui-state-highlight:hover {
  background-color: var(--selected-date-background) !important;
  color: var(--text-color) !important;
  font-weight: 500 !important;
}
.ui-datepicker-clicked.ui-datepicker-current-day.ui-datepicker-today
  a.ui-state-default,
html .ui-datepicker-current-day a {
  background-color: var(--selected-date-background) !important;
  color: var(--text-color) !important;
  font-weight: 500 !important;
}
.ui-datepicker-today a.ui-state-default.ui-state-active,
.ui-datepicker-current-day a.ui-state-default.ui-state-active {
  border: 2px solid var(--selected-date-background);
  background-color: var(--selected-date-background);
}

.ui-datepicker-today a.ui-state-default.ui-state-highlight {
  border: 2px solid var(--selected-date-background) !important;
}

td.ui-datepicker-unselectable.ui-state-disabled .ui-state-default {
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}
td.ui-datepicker-unselectable.ui-state-disabled .ui-state-default::before {
    content: '';
    position: absolute;
    background: #CCCCCC;
    width: 1px;
    height: 240%;
    transform: rotate3d(0, 4, 6, 75deg);
}
.ui-datepicker td {
    padding: 0 !important;
    width: 40px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1 !important;
}
.preffered-time {
  margin-left: 7px !important;
  margin-top: 24px !important;
  padding: 0;
}
.preffered-time .gfield_label {
  font-size: 16px !important;
  line-height: 1.5em;
  color: var(--color-pure-black);
}
.preffered-time .gfield_radio {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px 15px;
  justify-content: start;
}
.preffered-time .gchoice {
  flex: 0 0 23.8%;
  border-radius: 4px;
  text-align: center;
  position: relative;
}
.second-pref .gfield_checkbox input {
    border: 1px solid #ccc;
}
.preffered-time .gchoice input {
  position: absolute;
}
.preffered-time .gchoice label {
  position: relative;
  width: 100%;
  background: var(--time-select-background);
  max-width: 100% !important;
  padding: 7px 19px;
  border-radius: 4px;
  color: var(--time-select-text-color) !important;
  font-size: 14px !important;
  line-height: 26px;
  font-weight: 500 !important;
  border: 1px solid #CCC;
}
.preffered-time .gchoice input:checked + label,
.preffered-time .gchoice label:hover,
.preffered-time .gchoice label:focus {
  color: var(--time-select-text-color-hover) !important;
  background: var(--time-select-background-hover);
  border-color: var(--time-select-border-color-hover);
  cursor: pointer;
}
.preffered-time .gfield-choice-input{
    display: none !important;
}
.time-selection .date-time.visually-hidden,
.time-selection .date-time.visually-hidden .ginput_container {
  display: block !important;
}
.time-selection .date-time.visually-hidden .ginput_container input {
  border: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
}
.second-pref {
  border: none;
  padding-left: 35px;
  padding-bottom: 23px !important;
}
.second-pref .gfield-choice-input {
  width: 22px;
  height: 23px;
  position: absolute;
  left: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 !important;
}

.second-pref .gfield-choice-input:checked::after {
  content: "";
  position: absolute;
  height: 23px;
  width: 22px;
  background: var(--color-white) var(--check-box) no-repeat center
    center / 24px;
  left: -1px;
  top: -1px;
}
.second-pref label {
  padding-left: 35px;
  font-size: 16px !important;
  line-height: 1.5em !important;
  font-weight: 400 !important;
  color: #212121 !important;
}
.time-selection.second-option.active,
.visually-hidden.selcted-date-time.active,
.visually-hidden.selcted-date-time.active .ginput_container {
  display: block;
  margin-top: 24px;
}
.visually-hidden.selcted-date-time.active .ginput_container input {
  border: none;
  font-size: 16px;
  height: auto;
  color: var(--text-color);
  padding: 0;
  pointer-events:none;
}
/* Personal info */
.personal-info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 17px 20px;
  margin-top: 25px;
  margin-bottom: 24px;
}
.personal-info-wrapper .gfield {
  width: calc(50% - 10px);
}
.gform_wrapper.gravity-theme .personal-info-wrapper .gfield .gfield_label,
.gform_wrapper.gravity-theme .last-page-fields .gfield_label {
  font-size: 14px;
  line-height: 1.5em;
  margin-bottom: 4px !important;
  font-weight: 400 !important;
  color: var(--text-color);
}
.personal-info-wrapper .gfield input,
.personal-info-wrapper .gfield textarea,
.personal-info-wrapper .gfield select {
  border: 1px solid var(--muted-ui);
  border-radius: 4px;
  height: 52px;
  font-size: 16px !important;
}
.personal-info-wrapper .gfield input:focus,
.personal-info-wrapper .gfield textarea:focus {
  border-color: var(--accent-color);
}
.gform_wrapper input:focus::placeholder,
.gform_wrapper textarea:focus::placeholder {
    opacity: 0.8 !important;
}
.appointment-form .charleft{
  display: none;
}
.already-customer .gfield_radio {
  display: flex;
  gap: 27px;
  margin-top: 3px;
  margin-bottom: 9px;
}
.already-customer .gfield-choice-input::before {
  content: "";
  background: var(--color-white);
  width: 24px;
  height: 24px;
  z-index: 9999;
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--muted-ui);
}
    
.already-customer .gfield-choice-input:checked::before {
  border: 7px solid var(--btn-hover-color);
}
.already-customer .gfield_radio label {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color);
}
.already-customer .gfield_radio .gfield-choice-input {
  width: 24px;
  height: 24px;
  margin-left: 0;
  margin-right: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 !important;
  border: 0 !important;
}
.info-textarea {
  margin-top: 24px;
}
.info-textarea textarea {
  height: 114px !important;
  border-radius: 4px;
  padding-top: 9px;
  margin-bottom: 10px;
}
/* Form footer (prev/next buttons) */
.gform-page-footer {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.appointment-form .gform_wrapper.gravity-theme .gform_previous_button {
  background: var(--color-white);
  color: #1F1F1F !important;
  border: 1px solid var(--neutral-dark);
}
.appointment-form .gform_wrapper.gravity-theme .gform_previous_button:hover{
  background-color: #F6F6F6 !important;
}

/* Messages & post-submit layout tweaks */
.form-submitted .branch-address .elementor-widget-container,
.form-submitted .appointment-details .elementor-widget-container {
  border-bottom: 0 !important;
}

.fixed_appt_btn_section{
  display:none !important;
}

/* =========================================================================
   Responsive breakpoints
   ========================================================================= */

@media screen and (max-width: 1366px) {
  .progress-bar ul {
    justify-content: center;
  }
}
@media screen and (max-width: 1100px) {
  .form-header .progress-container {
    order: 3;
  }
}
@media(max-width:1024px){
    .progress-bar ul li{
        max-width: 241px;
    }   
}
@media screen and (min-width: 769px) {
  .time-selection .hasDatepicker {
    max-width: 429px;
  }
}
@media screen and (max-width: 768px) {
  .elementor-location-footer {
    display: none;
  }
    .appointment-types-list li .service-name{
        font-size: var(--services-font-size);
    }
  .progress-bar ul {
    flex-wrap: wrap;
    gap: 32px;
  }
  .progress-bar ul li {
    min-width: auto;
  }
  .appointment-form form {
    max-width: 100%;
  }
  .page-title > p {
    margin-bottom: 16px;
  }
  .page-title h1,
  .page-title h2,
  .page-title h3 {
    font-size: 18px;
  }
  .preffered-time {
    margin: 0 !important;
    margin-top: 16px !important;
    padding: 0;
  }
  .personal-info-wrapper {
    gap: 17px 20px;
  }
  .personal-info-wrapper .gfield {
    width: 100%;
  }
  .time-selection {
    padding: 16px 16px 24px;
  }
  .preffered-time .gchoice label {
    padding: 10px;
  }
  .time-selection .hasDatepicker {
    margin-left: 0;
  }
  .preffered-time .gfield_radio {
    flex-wrap: wrap;
  }

  /* Mobile: success / overview */
  .success-message {
    text-align: left;
  }
  .success-message h1 {
    font-size: 24px;
    line-height: 1.2em;
    text-align: left;
  }
  .form-submitted .form_section {
    padding-left: 0;
    padding-right: 0;
  }
  .form-submitted
    .main-form-overview-wrapper
    .elementor-container
    > .elementor-column.overview-col
    > div {
    margin-top: 0 !important;
  }
  .second-pref .gfield-choice-input {
    width: 20px;
    height: 20px;
    top: 3px !important;
  }
  .fixed-overview-col.closed-on-mob:not(.form-submitted .fixed-overview-col.closed-on-mob) { 
    display: none; 
  }

  .fixed-overview-col:not(.form-submitted .fixed-overview-col) {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        margin-top: 0;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.fixed-overview-open{
        overflow-y: hidden;
    }

  .fixed-overview-col .branch-address,
  .fixed-overview-col .appointment-details,
  .fixed-overview-col .branch-timing,
  .fixed-overview-col .appt-details-section,
  .fixed-overview-col .appt-details,
  .fixed-overview-col .emergency_section {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .gform_previous_button {
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
  }

  .back_btn {
    visibility: hidden;
  }

  .gform-page-footer {
    position: fixed;
    bottom: 0;
    left: 0px;
    right: 0px;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding: 10px 16px !important;
    background: var(--color-white);
    flex-direction: column-reverse;
    box-shadow: 0px -4px 8px 0px rgba(0, 0, 0, 0.08);
    z-index: 9999 !important;
  }

  .gform-page-footer .gform-theme-button {
    margin-bottom: 0 !important;
  }

  .gform-page-footer .gform_button,
  .gform-page-footer .gform_next_button {
    margin-left: 0 !important;
  }

  .form-submitted .main-form-overview-wrapper .e-con-inner {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
  }
 .preffered-time .gchoice {
    flex: none;
    flex-grow: 1;
  }
      .preffered-time .gfield_radio {
    gap: 8px 15px;
}
body.form-submitted .branch-address,
body.form-submitted .appointment-details {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
body.form-submitted .main-form-overview-wrapper .elementor-element.overview-col{
  padding: 32px 16px !important;
}
.success-message p, .success-message{
  margin-bottom: 0px !important;
}
}

@media (max-width: 480px) {
  .gform-page-footer .gform_button,
  .gform-page-footer .gform_next_button {
    width: 100% !important;
  }
}
