/*
 * booking.page bridge
 * Geometry and component styling come from the exact Maxcare page 1061 and
 * supplied theme cascade. This file contains only authorized DSC asset/color
 * substitutions plus the minimum states required by the real Laravel flow.
 */

[data-maxcare-booking-page] {
  --dsc-booking-primary: var(--primary-color);
  --dsc-booking-link: var(--link-color);
  --dsc-booking-pale: #e9f6f5;
}

.elementor-1061 .elementor-element.elementor-element-e3848bd:not(.elementor-motion-effects-element-type-background),
.elementor-1061 .elementor-element.elementor-element-e3848bd > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: var(--dsc-booking-overview-background-image, url("../../media/client/hero/main-banner-2048.webp"));
}

.elementor-1061 .elementor-element.elementor-element-e3848bd::before,
.elementor-1061 .elementor-element.elementor-element-e3848bd > .elementor-background-video-container::before,
.elementor-1061 .elementor-element.elementor-element-e3848bd > .e-con-inner > .elementor-background-video-container::before,
.elementor-1061 .elementor-element.elementor-element-e3848bd > .elementor-background-slideshow::before,
.elementor-1061 .elementor-element.elementor-element-e3848bd > .e-con-inner > .elementor-background-slideshow::before,
.elementor-1061 .elementor-element.elementor-element-e3848bd > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--dsc-booking-primary) 80%, transparent) 44.08%, rgba(255, 255, 255, 0) 130.75%);
}

.elementor-1061 .elementor-element.elementor-element-194fd58 .pxl-section-bg-parallax {
  background-image: var(--dsc-appointment-background-image, url("../../media/dsc/home/the-reasons-to-choose-dsc.png"));
}

.elementor-1061 .elementor-element.elementor-element-1d609b6:not(.elementor-motion-effects-element-type-background),
.elementor-1061 .elementor-element.elementor-element-1d609b6 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--dsc-booking-pale);
}

.elementor-1061 [hidden] {
  display: none !important;
}

.elementor-1061 .screen-reader-only,
.elementor-1061 .booking-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.elementor-1061 .booking-form-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.elementor-1061 .booking-form-step .pxl-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.elementor-1061 .booking-form-step .pxl-select {
  position: relative;
}

.elementor-1061 .booking-form-step .pxl-select-higthlight[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
}

.elementor-1061 .booking-form-step [aria-invalid="true"],
.elementor-1061 .booking-form-step .pxl-select-higthlight[aria-invalid="true"] {
  border-color: #b42318 !important;
}

.elementor-1061 .booking-form-step textarea {
  height: 122px;
}

.elementor-1061 .booking-form-status {
  min-height: 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.elementor-1061 .booking-form-status:not(:empty) {
  margin: 0 0 15px;
}

.elementor-1061 .wpcf7-not-valid-tip {
  margin: 6px 4px 0 !important;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
}

.elementor-1061 .booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 2px 0 24px;
  color: #03045e;
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.elementor-1061 .booking-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0 !important;
  accent-color: var(--dsc-booking-primary);
}

.elementor-1061 .booking-form-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 61px;
}

.elementor-1061 .booking-form-actions .booking-back {
  position: absolute;
  left: 0;
  padding: 0;
  border: 0;
  color: var(--dsc-booking-link);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 55px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.elementor-1061 .booking-form-actions .booking-back:hover,
.elementor-1061 .booking-form-actions .booking-back:focus-visible {
  color: var(--dsc-booking-primary);
}

.elementor-1061 .booking-form-step :focus-visible,
.elementor-1061 .booking-consent input:focus-visible,
.elementor-1061 .booking-form-actions .booking-back:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--dsc-booking-primary) 42%, transparent);
  outline-offset: 3px;
}

.elementor-1061 .booking-unavailable {
  padding: 24px;
  border: 1px solid #a6dae5;
  border-radius: 13px;
  color: var(--dsc-booking-link);
  background: #fff;
  text-align: center;
}

.elementor-1061 .wpcf7-form.invalid .wpcf7-response-output {
  margin: 20px 0 0;
  border-color: #b42318;
  border-radius: 10px;
  color: #7a271a;
  background: #fef3f2;
  font-size: 13px;
}

.xdsoft_datetimepicker {
  z-index: 100000;
}

.maxcare-booking-success .elementor-1061 .elementor-element.elementor-element-194fd58 {
  padding-bottom: 70px;
}

.maxcare-booking-success .elementor-1061 .elementor-element.elementor-element-1d609b6 {
  align-items: center;
  text-align: center;
}

.booking-success-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dsc-booking-primary);
}

.booking-success-reference {
  margin: 0 0 20px;
  color: var(--dsc-booking-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.booking-success-summary {
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid #a6dae5;
  text-align: left;
}

.booking-success-summary > div {
  display: grid;
  grid-template-columns: minmax(120px, .65fr) minmax(0, 1.35fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #a6dae5;
}

.booking-success-summary dt {
  color: #686877;
  font-size: 13px;
  font-weight: 500;
}

.booking-success-summary dd {
  margin: 0;
  color: var(--dsc-booking-link);
  font-size: 14px;
  font-weight: 600;
}

.booking-success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

[data-maxcare-booking-page] .pxl-select .pxl-select-options.booking-first-option-selectable li:first-child {
  display: block;
}

.booking-success-actions > p {
  max-width: 510px;
  margin: 0;
  color: #686877;
  font-size: 13px;
  line-height: 1.65;
}

.booking-success-home {
  color: var(--dsc-booking-link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.booking-success-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.local-account-claim-tools {
  width: min(680px, calc(100% - 30px));
  margin: 0 auto 60px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 160, 157, 0.24);
  border-radius: 10px;
  background: #effafa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--dsc-booking-link);
}

.local-account-claim-tools strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.local-account-claim-tools p {
  margin: 0;
  color: #686877;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .local-account-claim-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .elementor-1061 .booking-form-actions {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .elementor-1061 .booking-form-actions .booking-back {
    position: static;
    line-height: 40px;
  }

  .elementor-1061 .booking-form-actions .ct-button,
  .elementor-1061 .booking-form-actions .ct-button p,
  .elementor-1061 .booking-form-actions .btn {
    width: 100%;
  }

  .booking-success-summary > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-maxcare-booking-page] *,
  [data-maxcare-booking-page] *::before,
  [data-maxcare-booking-page] *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
