/* ============================================================
   JAS Premium - Booking light mode
   ------------------------------------------------------------
   The booking experience is intentionally light on desktop and
   mobile. Samsung Internet can apply a browser-level Force Dark
   transformation; this page opts out and keeps its authored palette.
   ============================================================ */

html.booking-light-page {
  color-scheme: light !important;
  background: #f5f8f9 !important;
  forced-color-adjust: none !important;
}

html.booking-light-page body.booking-modern-page,
html.booking-light-page body.booking-modern-page .page,
html.booking-light-page body.booking-modern-page .booking-app,
html.booking-light-page body.booking-modern-page .booking-shell {
  color-scheme: light !important;
  background-color: #f5f8f9 !important;
  color: #000 !important;
  forced-color-adjust: none !important;
  -webkit-color-adjust: exact !important;
  color-adjust: exact !important;
}

/* Do not let Samsung's forced-dark pass recolour the actual booking UI. */
html.booking-light-page body.booking-modern-page *,
html.booking-light-page body.booking-modern-page *::before,
html.booking-light-page body.booking-modern-page *::after {
  forced-color-adjust: none !important;
}

/* Core light surfaces */
html.booking-light-page .booking-category,
html.booking-light-page .booking-service-card,
html.booking-light-page .booking-review-card,
html.booking-light-page .booking-summary-pill,
html.booking-light-page .booking-form,
html.booking-light-page .booking-success {
  background-color: #fff !important;
  color: #241b1d !important;
  color-scheme: light !important;
  forced-color-adjust: none !important;
  -webkit-color-adjust: exact !important;
  color-adjust: exact !important;
}

html.booking-light-page .booking-service-card.is-selected {
  background-color: #faf4e9 !important;
}

/* Keep text colors authored by booking-modern.css. */
html.booking-light-page .booking-heading,
html.booking-light-page .booking-heading h1,
html.booking-light-page .booking-heading p,
html.booking-light-page .booking-category h2,
html.booking-light-page .booking-service-card,
html.booking-light-page .booking-service-card strong,
html.booking-light-page .booking-service-card small,
html.booking-light-page .booking-eyebrow,
html.booking-light-page .booking-step-label {
  color: #241b1d !important;
  -webkit-text-fill-color: #241b1d !important;
  forced-color-adjust: none !important;
}

/* The burgundy controls should stay burgundy rather than being remapped. */
html.booking-light-page .booking-primary,
html.booking-light-page .booking-progress span.is-active,
html.booking-light-page .service-check {
  forced-color-adjust: none !important;
  color-scheme: light !important;
  -webkit-color-adjust: exact !important;
  color-adjust: exact !important;
}

/* Samsung/Android dark preference must still resolve to the light palette. */
@media (prefers-color-scheme: dark) {
  html.booking-light-page,
  html.booking-light-page body.booking-modern-page,
  html.booking-light-page body.booking-modern-page .page,
  html.booking-light-page body.booking-modern-page .booking-app,
  html.booking-light-page .booking-category,
  html.booking-light-page .booking-service-card {
    color-scheme: light !important;
    forced-color-adjust: none !important;
  }

  html.booking-light-page body.booking-modern-page,
  html.booking-light-page body.booking-modern-page .page,
  html.booking-light-page body.booking-modern-page .booking-app {
    background-color: #f5f8f9 !important;
    color: #000 !important;
  }

  html.booking-light-page .booking-category,
  html.booking-light-page .booking-service-card {
    background-color: #fff !important;
    color: #241b1d !important;
  }
}

/* The Date & Time mockup uses warm ivory, including browser dark preference. */
html.booking-light-page body.booking-modern-page.booking-choosing-date,
html.booking-light-page body.booking-modern-page.booking-choosing-date .page,
html.booking-light-page body.booking-modern-page.booking-choosing-date .booking-app { background-color: #fbf8f4 !important; }

html.booking-light-page body.booking-modern-page.booking-reviewing,
html.booking-light-page body.booking-modern-page.booking-reviewing .page,
html.booking-light-page body.booking-modern-page.booking-reviewing .booking-app { background-color: #fbf8f4 !important; }
html.booking-light-page body.booking-modern-page.booking-reviewing .booking-shell { background-color: transparent !important; }

html.booking-light-page body.booking-modern-page.booking-entering-details,
html.booking-light-page body.booking-modern-page.booking-entering-details .page,
html.booking-light-page body.booking-modern-page.booking-entering-details .booking-app { background-color: #fbf8f4 !important; }
html.booking-light-page body.booking-modern-page.booking-entering-details .booking-shell { background-color: transparent !important; }
