/* Custom fixes to ensure pixel-perfect match with original design */

/* Use CSS variables for all styling - let original design CSS work */

/* PhoneInput (react-international-phone custom) - align with form-control design */
.phone-input-custom {
  border: 1px solid #dee2e6 !important;
}
.phone-input-custom:focus-within {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.phone-input-custom button[aria-haspopup="listbox"]:hover {
  background-color: #f8f9fa !important;
}

/* Header fixes */
header.header-top .navbar .navbar-brand .logo {
  width: 200px;
  height: auto;
}

/* Booking form section - minimal overrides */
.center-form-section {
  border-radius: 12px !important;
  padding: 0.5rem;
}

/* Form fields styling */
.collapse-fields-font {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Ensure date picker inputs match destination font size */
.exact-dates .collapse-fields-font,
.exact-dates input.form-control,
.exact-dates .react-datepicker__input-container input {
  font-size: 1.5rem !important;
  font-weight: bold !important;
}

.label-height label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* Navigation tabs - minimal overrides */
.all-category-tabs .nav-link svg {
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Icon sizes */
.iconSize-15 {
  width: 15px;
  height: 15px;
}

.iconSize-20 {
  width: 20px;
  height: 20px;
}

.iconSize-25 {
  width: 25px;
  height: 25px;
}

/* Search button */
.btn-ai-search {
  background: linear-gradient(to right, #ffced3, #fef1f2);
  border: 1px solid #f8f9fa;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.btn-ai-search svg {
  margin-right: 0.25rem;
}

/* Destination cards overlays */
.overlay-card {
  border-radius: 8px !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.overlay-card:hover {
  transform: translateY(-5px);
}

.overlay-card .card-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem !important;
}

.green-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(46, 125, 50, 0.85) 0%, rgba(46, 125, 50, 0.4) 50%, transparent 100%);
}

.orange-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(230, 81, 0, 0.85) 0%, rgba(230, 81, 0, 0.4) 50%, transparent 100%);
}

.skyblue-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(3, 169, 244, 0.85) 0%, rgba(3, 169, 244, 0.4) 50%, transparent 100%);
}

.blue-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(25, 118, 210, 0.85) 0%, rgba(25, 118, 210, 0.4) 50%, transparent 100%);
}

.yellow-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(251, 192, 45, 0.85) 0%, rgba(251, 192, 45, 0.4) 50%, transparent 100%);
}

.pink-overlay .card-img-overlay {
  background: linear-gradient(to top, rgba(244, 93, 107, 0.85) 0%, rgba(244, 93, 107, 0.4) 50%, transparent 100%);
}

.left-overlay .card-img-overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 2rem !important;
}

/* Exclusive Offers card text */
.left-overlay .card-img-overlay p,
.left-overlay .card-img-overlay h3 {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.left-overlay .card-img-overlay .subHeading {
  color: #ffffff !important;
  font-size: 1.75rem !important;
  line-height: 1.3;
  margin-bottom: 1rem !important;
}

.left-overlay .card-img-overlay button {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Destination card text styling - enhance visibility without changing colors */
.overlay-card .card-img-overlay h3 {
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.6),
    2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
}

/* Let original color classes work, just add strong shadows for visibility */
.overlay-card .card-img-overlay .color-text-first-same,
.overlay-card .card-img-overlay .color-text-second {
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 20px rgba(255, 255, 255, 0.7),
    2px 2px 10px rgba(0, 0, 0, 0.6);
}

/* Travel agents section */
.pointBlock {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pointImg {
  flex-shrink: 0;
}

.textWhite {
  color: #ffffff;
}

.textWhite p {
  color: #ffffff !important;
}

/* Minimal button overrides - let original CSS variables work */
.btn-Rounded {
  border-radius: 50px !important;
}

/* Footer styling to match original design */
footer {
  background: url(../img/footer-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(47, 98, 113, 0.95);
  z-index: 1;
}

.footer-sec,
.copyright {
  position: relative;
  z-index: 2;
}

.footer-useful-links .footer-heading {
  color: var(--color-second) !important;
  font-family: var(--font-family-sub-heading);
  font-weight: 600;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: 10px;
}

.footer-useful-links li {
  margin-bottom: 15px;
}

.footer-useful-links li a,
footer a {
  color: #fff !important;
  text-decoration: none;
}

.footer-useful-links li a:hover,
footer a:hover {
  color: #fff !important;
  opacity: 0.7;
}

.social-icons li {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.webContent.textWhite p,
footer p {
  color: #fff !important;
}

footer .copyright-text {
  color: #fff !important;
}

/* Responsive spacing */
.webNewContent {
  max-width: 1200px;
  margin: 0 auto;
}

.webNewContent1 {
  max-width: 1140px;
  margin: 0 auto;
}

.webContent {
  max-width: 1200px;
  margin: 0 auto;
}

/* Remove typography overrides - let original CSS variables work */
.fw-600 {
  font-weight: 600 !important;
}

/* Card styling */
.card {
  border: none;
}

.trip-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.trip-card:hover {
  transform: translateY(-3px);
}

.trip-card .card-img-overlay {
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
}

.trip-card .card-img-overlay .subHeading {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

.trip-card img.top-trip-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Ensure images display correctly */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for Next.js Image component */
span[data-wrapper="true"] {
  display: block !important;
}


/* ============================================
   REACT DATEPICKER STYLING
   ============================================ */
.react-datepicker-wrapper {
  width: 100%;
}

.react-datepicker__input-container {
  width: 100%;
}

.react-datepicker__input-container input {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  color: var(--color-gray-2) !important;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-family-content);
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

#hotel-search-form .react-datepicker__input-container input,
#booking-update-form .react-datepicker__input-container input {
  color: #000 !important;
  font-weight: bold;
  font-size: 20px !important;
}

.react-datepicker__input-container input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.react-datepicker {
  font-family: var(--font-family-content);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.react-datepicker__header {
  background-color: var(--color-first-same);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding-top: 12px;
}

.react-datepicker__current-month,
.react-datepicker__day-name {
  color: white;
}

.react-datepicker__day--selected,
.react-datepicker__day--keyboard-selected {
  background-color: var(--color-second)!important;
  color: white;
}

.react-datepicker__day:hover {
  background-color: var(--color-second-light);
}

.react-datepicker__day--disabled {
  color: #ccc;
  cursor: not-allowed;
}

.react-datepicker__triangle {
  display: none;
}

.react-datepicker-popper {
  z-index: 9999 !important;
}

/* ============================================
   ADDITIONAL DATEPICKER IMPROVEMENTS
   ============================================ */

/* Make date inputs clickable */
.collapse-fields {
  cursor: pointer;
  position: relative;
}

.exact-dates {
  position: relative;
  width: 100%;
}

/* Ensure calendar appears above everything */
.react-datepicker-popper {
  z-index: 10000 !important;
}

.react-datepicker__tab-loop {
  position: absolute;
  z-index: 10000;
}

/* Better calendar styling */
.react-datepicker__month-container {
  background: white;
}

.react-datepicker__navigation {
  top: 10px;
}

.react-datepicker__navigation--previous {
  left: 10px;
}

.react-datepicker__navigation--next {
  right: 10px;
}

.react-datepicker__day--outside-month {
  color: #ccc;
}

.react-datepicker__day--today {
  font-weight: bold;
  background-color: #f0f0f0;
}

/* Input field should show pointer cursor */
.react-datepicker__input-container input {
  cursor: pointer !important;
}

/* Smooth transition for calendar */
.react-datepicker {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure proper spacing */
.react-datepicker__day {
  margin: 0.2rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 50%;
}

/* Better hover state */
.react-datepicker__day:hover:not(.react-datepicker__day--disabled) {
  background-color: var(--color-first-same);
  color: white;
  cursor: pointer;
}

/* ============================================
   MAKE DATE FIELDS FULLY CLICKABLE
   ============================================ */

/* Make entire date field area clickable like Rooms & Guests */
.exact-dates .collapse-fields {
  cursor: pointer !important;
  user-select: none;
  transition: background-color 0.2s ease;
}

.exact-dates .collapse-fields:hover {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
}

.exact-dates .collapse-fields:active {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Prevent input from capturing clicks - let parent handle it */
.react-datepicker__input-container input {
  pointer-events: none !important;
  user-select: none;
}

/* Re-enable pointer events when calendar is open */
.react-datepicker__input-container input:focus {
  pointer-events: auto !important;
}

/* Visual feedback that entire area is clickable */
.collapse-fields.cursor-pointer {
  border-radius: 4px;
  transition: all 0.2s ease;
}

.collapse-fields.cursor-pointer:hover {
  /* background-color: rgba(47, 98, 113, 0.05); */
}

/* Consistent styling with Rooms & Guests */
.startDate .collapse-fields,
.endDate .collapse-fields {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-modal{
  position: fixed !important;
  height: 100%;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 9999 !important;
  inset: 0 !important;
}

/* Skeleton Loader Animation */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/**
 * The skeleton block used by every loading skeleton in the app.
 *
 * This class was already in use in six components (FlightsList,
 * FlightFilterSidebar, RoundTripSearchClient, MultiCitySearchClient and both
 * DynamicFilterSidebars) but was defined nowhere, so those "skeletons" rendered
 * as flat static rectangles. It reuses the keyframes and the greys of .skeleton
 * above so the app has one shimmer rather than two subtly different ones.
 *
 * background-image rather than the `background` shorthand: those six callers
 * set an inline background-color, and the shorthand would reset that longhand
 * to transparent, leaving the inline value to win the fight it started.
 */
.skeleton-box {
  background-image: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

/* A sweeping shimmer is exactly the kind of looping motion this setting is
   meant to stop. Flat tone so the boxes still read as pending. */
@media (prefers-reduced-motion: reduce) {
  .skeleton,
  .skeleton-box {
    animation: none;
    background-image: none;
    background-color: #e9ecef;
  }
}

/* Make LocationSearchInput label bold - override search result page font-weight: 500 */
/* Match the input value color (form-control default color) */
.search-result-page .booking-form-section .collapse-fields label.d-block.fw-bold {
  font-weight: 500 !important;
}

/* Decrease input value font size slightly */
.search-result-page .booking-form-section .collapse-fields .collapse-fields-font {
font-size: 20px !important;
font-weight: bold !important;
}

.form-check-input:focus {
  border-color: #dee2e6 !important;
  outline: 0;
}

/* ============================================================
   FLIGHT BOOKING / MANAGE BOOKING STYLES
   ============================================ */
/* .review-flight-card-header { background: var(--color-first-same); border-radius: 8px 8px 0 0; }
.review-flight-card-header h3 { color: #fff; }
.review-flight-card-header svg { stroke: var(--color-second); }
   Scoped exclusively under .flight-manage-page
   Added to all flight booking pages:
     /flight-booking
     /flight-booking/cancel
     /flight-booking/cancel/reason
     /view-refund-details
     /view-refund-status
   DO NOT remove the .flight-manage-page prefix —
   these class names (.path-dot, .plane, .passenger-price-summary etc.)
   are shared across the codebase and WILL conflict with SRP / other pages.
   ============================================================ */

/* Card header — teal background with white title */
/* .flight-manage-page .review-flight-card-header { background: var(--color-first-same); border-radius: 8px 8px 0 0; }
.flight-manage-page .review-flight-card-header h3 { color: #fff; }
.flight-manage-page .review-flight-card-header svg { stroke: var(--color-second); } */

/*
   Flight path (route visualisation) styles are intentionally NOT overridden here.
   The original definitions live in cardnew.css (already loaded via layout.tsx):
     .flight-path  → height: 30px
     .path-line    → dashed border-top, full width
     .path-dot     → 8px orange #ff9800 circle
     .dot-start    → border only (bg-white Bootstrap class on the span makes it hollow)
     .dot1         → left: 44%
     .dot2         → left: 50%
     .dot-end      → right: 0, background: #afafaf
     .plane        → right: 0, vertically centred
   Do NOT add overrides here — they will conflict with SRP which uses the same classes.
*/

/* Layover divider line between flight segments */
.flight-manage-page .flight-switch-line { border-top: 1px dashed #d1d5dc; margin: 0; }
.flight-manage-page .flight-switch-line small { position: relative; top: -10px; background: #fff; }

/* Responsive width utilities for flight route columns */
.flight-manage-page .w-s-50 { width: 50%; }
.flight-manage-page .w-s-100 { width: 100%; }
@media (max-width: 767px) {
  .flight-manage-page .w-s-50 { width: 50%; }
  .flight-manage-page .w-s-100 { width: 100%; }
}

/* Payment / price summary list rows */
/* .flight-manage-page .passenger-price-summary { list-style: none; border-bottom: 1px solid #f0f0f0; }
.flight-manage-page .passenger-price-summary li { padding: 4px 0; }
.flight-manage-page .passenger-price-summary-total { border-top: 2px solid #e0e0e0; border-bottom: none !important; } */

/* ============================================================
   FLIGHT HOME PAGE STYLES
   Scoped exclusively under .flight-home-page
   Applied only to: /flights page (app/(public)/flights/page.tsx)
   DO NOT remove the .flight-home-page prefix —
   classes like .popular-detail, .recent-flight, .card-blue,
   .card-pink, .card-icon, .destination-date are used by the
   UI team in SRP and other pages — removing scope WILL conflict.
   ============================================================ */

/* Popular flights carousel section */
.flight-home-page .flight-offer .swiper-pagination-bullet-active { background-color: var(--color-second) !important; }
.flight-home-page .flight-offer .swiper-slide { box-shadow: none; }
.flight-home-page .flight-offer .nav-tabs .nav-link { color: var(--color-first); }
.flight-home-page .flight-offer .nav-tabs .nav-link.active { background-color: var(--color-second) !important; color: var(--color-white-same) !important; border-radius: var(--bs-border-radius) !important; }
.flight-home-page .flight-offer .swiper-nav { float: right; }
.flight-home-page .flight-offer .swiper-wrapper { padding-top: 0; }
.flight-home-page .flight-offer .nav-tabs { margin-bottom: -30px; z-index: 3; position: relative; width: 80%; }
.flight-home-page .flight-offer img:hover { opacity: 0.9; }

/* Popular flight destination image card */
.flight-home-page .flight-destination { position: relative; }
.flight-home-page .flight-destination img { border-radius: 6px; width: 100%; }
.flight-home-page .popular-detail {
  position: absolute; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgb(27 71 84 / 99%), rgba(0,0,0,0.1));
  padding: 6px 10px 5px 11px; width: 100%; border-radius: 0 0 6px 6px;
}
.flight-home-page .destination-date { color: var(--color-white-same) !important; }

/* Explore By Country carousel */
.flight-home-page .explore-countrys { position: relative; overflow: hidden; }
.flight-home-page .explore-countrys img { border-radius: 6px; height: 160px; object-fit: cover; width: 100%; }
.flight-home-page .country-detail {
  background: linear-gradient(180deg, rgba(0,0,0,0.0001) -4.82%, #000000 87.02%);
  position: absolute; bottom: 0; left: 0; width: 100%; border-radius: 0 0 6px 6px;
}
.flight-home-page .country-flag { right: 7px; top: 5px; }

/* Recent search cards */
.flight-home-page .recent-flight { min-height: 110px; }
.flight-home-page .recent-search .swiper-nav { right: 5px; top: 5px; }

/* Feature cards (Search / Secure / Flexible) */
.flight-home-page .card-blue { background: #F1FCFF; border: 1px solid #DEF3F9 !important; }
.flight-home-page .card-pink { background: #fffafa; border: 1px solid #FBF2F2 !important; }
.flight-home-page .card-icon { width: 80px; height: 80px; object-fit: contain; object-position: center; }

/* FAQ accordion */
.flight-home-page .faq .accordion-button:not(.collapsed) { background: #f7f7f7 !important; color: #000000 !important; outline: none; }

/* Height utility — only needed on flight home */
.flight-home-page .h30 { height: 30px; }

/* Mobile cover image */
@media screen and (max-width: 767px) {
  .flight-home-page .mobile-cover { object-fit: cover; width: 100%; }
}

/* Cabin class select in flight booking form */
.flight-home-page .select-Flight-mode { color: var(--color-white-same); font-size: 0.9rem; cursor: pointer; outline: none; }
.flight-home-page .select-Flight-mode option { color: #333; background: #fff; }

/* Flight booking form — white text + large font for date picker inputs */

.exact-dates .react-datepicker__input-container input.flight-dates.collapse-fields-font {
  font-size: 1.2rem !important;
}
 
/* Flight booking form — white text + large font for date/city inputs.
   Scoped to .flight-home-page .booking-tab-section so the hotel
   booking form (same .booking-tab-section class) is NOT affected. */
.flight-home-page .booking-tab-section .collapse-fields-font,
.flight-home-page .booking-tab-section .react-datepicker__input-container input {
  color: #fff !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
}
.flight-home-page .booking-tab-section .react-datepicker__input-container input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
}
.flight-home-page .booking-tab-section input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.location-blocks .leaving-location-block,
.location-blocks .going-location-block,
.swap-location-button {
  width: 100% !important;
}

@media (min-width: 768px) {
  .location-blocks .leaving-location-block,
  .location-blocks .going-location-block {
    flex: 1 1 0;
  }
    .swap-location-button {
      width: auto !important;
    }
}

/* Was a fixed 250px box regardless of how many legs there were or how wide
   the row actually was — on a 2-leg round trip or a 3-leg multi-city that
   left most of the row empty. Each tab now grows to share the row evenly
   (MMT's own multi-city/round-trip leg strip does the same), down to a
   180px floor so a route/date label never gets so cramped it wraps badly;
   below that floor extra legs wrap to a second line via the container's own
   flex-wrap instead of squeezing further or forcing horizontal scroll.

   Border model: no "connected strip" between tabs — every previous version
   of that (shared/owned seams, :first-child/:last-child corner rules,
   overlap+z-index tricks) was built assuming exactly two tabs, and silently
   broke the moment a 3rd (multi-city) leg made one tab neither the first nor
   the last — it simply got no border-radius rule at all. Per the MMT
   reference: one plain outer border wraps the whole strip (this never
   depends on tab count either), individual tabs have no border of their own
   until active. */
.top-flight-legs-tabs {
  gap: 8px !important;
  background-color: var(--color-white);
  border: 1px solid var(--color-grey) !important;
  border-radius: 12px !important;
}

.top-flight-legs-tabs .nav-link.w-250 {
  width: auto !important;
  min-width: 180px !important;
  flex: 1 1 0 !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background-color: transparent;
}

.top-flight-legs-tabs .nav-link.w-250.active {
  background-color: #e9fbff !important;
  border-color: var(--color-first) !important;
}

.top-flight-legs-tabs .nav-link.active span {
  color: var(--color-black) !important;
}

.flight-card:has(input[type="radio"]:checked) {
  border-color: var(--color-second) !important;
}

/* ============================================================
   MOBILE HOME BOOKING FORM LAYOUT  (< 576px / xs breakpoint)
   Restructures the hero booking form on small screens to match
   the card-style layout: Destination full-width → CheckIn|CheckOut
   side-by-side → Rooms|Adults|Kids inline → FIND ROOMS button.
   ============================================================ */
@media (max-width: 575px) {

  /* Remove bottom margin from inner field wrappers on mobile */
  .booking-tab-section .center-form-section .row > * > div.w-100 {
    margin-bottom: 0 !important;
  }

  /* ── Destination (1st col): full-width, no right border, bottom divider ── */
  .booking-tab-section .center-form-section .row > *:nth-child(1) {
    width: 100% !important;
    flex: 0 0 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  /* ── Check-In (2nd col): 50%, keep right border as divider, bottom divider ── */
  .booking-tab-section .center-form-section .row > *:nth-child(2) {
    width: 50% !important;
    flex: 0 0 50% !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  /* ── Check-Out (3rd col): 50%, no right border, bottom divider ── */
  .booking-tab-section .center-form-section .row > *:nth-child(3) {
    width: 50% !important;
    flex: 0 0 50% !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  /* ── Rooms & Guests (4th col): full-width, no right border ── */
  .booking-tab-section .center-form-section .row > *:nth-child(4) {
    width: 100% !important;
    flex: 0 0 100% !important;
    border-right: 0 !important;
  }

  /* ── Price Range (5th col): hidden on mobile ── */
  .booking-tab-section .center-form-section .row > *:nth-child(5) {
    display: none !important;
  }

  /* ── Rooms/Adults/Kids mobile inline grid ── */
  .mobile-rooms-guests-grid {
    width: 100%;
  }

  .mobile-rooms-guests-grid .mobile-guest-item {
    padding: 6px 4px;
    cursor: pointer;
  }

  .mobile-guest-label {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    margin-bottom: 2px;
    cursor: pointer;
  }

  .mobile-guest-value {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
  }

  /* ── Mobile FIND ROOMS button: full-width, flush at card bottom ── */
  .mobile-search-btn-container .submit-button-style {
    position: static !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .mobile-search-btn-container .submit-button-style .row {
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-search-btn-container .submit-button-style .col-12 {
    padding: 0 !important;
    height: auto !important;
  }

  .mobile-search-btn-container .submit-button-style button.btn-Rounded {
    position: static !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    border-radius: 0 0 12px 12px !important;
    padding: 15px 20px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
  }
}

/* ── Divider between Check-in and Check-out fields ── */
.checkin-date-divider {
  border-right: 2px solid #BAC3C6 !important;
}

/* ── Search Hotels button — disabled state ── */
.buttons.btnColor-second:disabled {
  opacity: 0.75 !important;
  background-color: #c94455 !important;
}


/* SEO breadcrumbs — ancestor links use brand color from :root (--color-first) */
.leisure-breadcrumb {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.leisure-breadcrumb::-webkit-scrollbar {
  display: none;
}

.leisure-breadcrumb .leisure-breadcrumb__list {
  flex-wrap: nowrap;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.35;
  margin-bottom: 0;
  white-space: nowrap;
}

.leisure-breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  max-width: 14rem;
}

.leisure-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  flex-shrink: 0;
}

.leisure-breadcrumb .leisure-breadcrumb__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leisure-breadcrumb .leisure-breadcrumb__link {
  color: var(--color-first, #2f6271);
  text-decoration: none;
  display: block;
  max-width: 100%;
}

.leisure-breadcrumb .leisure-breadcrumb__link:hover {
  color: var(--color-first, #2f6271);
  text-decoration: underline;
}

.leisure-breadcrumb .breadcrumb-item.active {
  color: #6c757d;
  font-weight: 500;
  max-width: min(16rem, 55vw);
}

@media (max-width: 767.98px) {
  .leisure-breadcrumb-bar {
    padding-top: 0.5rem !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .leisure-breadcrumb .leisure-breadcrumb__list {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .leisure-breadcrumb .breadcrumb-item {
    max-width: 7.5rem;
  }

  .leisure-breadcrumb .breadcrumb-item:first-child {
    max-width: 3.25rem;
  }

  .leisure-breadcrumb .breadcrumb-item.active {
    max-width: min(10rem, 48vw);
    font-weight: 600;
  }

  .leisure-breadcrumb .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.35rem;
  }

  .leisure-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.35rem;
    font-size: 0.7rem;
  }
}

/* HTML sitemap page */
.leisure-sitemap-page {
  background: linear-gradient(180deg, #f8fafb 0%, #fff 280px);
}

.leisure-sitemap-page__hero {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.leisure-sitemap-page__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-first, #2f6271);
  margin-bottom: 0.75rem;
}

.leisure-sitemap-page__title {
  margin-bottom: 0.75rem;
}

.leisure-sitemap-page__accent {
  width: 4rem;
  height: 3px;
  margin: 0 auto 1.25rem;
  background: var(--color-second, #f45d6b);
  border-radius: 2px;
}

.leisure-sitemap-page__intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-content, #666);
}

.leisure-sitemap-page__xml-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  background: #fff;
  border: 1px solid rgba(47, 98, 113, 0.12);
  border-left: 4px solid var(--color-first, #2f6271);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(47, 98, 113, 0.08);
}

.leisure-sitemap-page__xml-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  color: var(--color-first, #2f6271);
  background: rgba(47, 98, 113, 0.08);
  border-radius: 10px;
}

.leisure-sitemap-page__xml-body {
  flex: 1 1 12rem;
  min-width: 0;
}

.leisure-sitemap-page__xml-title {
  font-family: var(--font-family-sub-heading, "Barlow Condensed", sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.leisure-sitemap-page__xml-body p {
  font-size: 0.9375rem;
  color: var(--color-content, #666);
  line-height: 1.5;
}

.leisure-sitemap-page__xml-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: var(--color-first, #2f6271);
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.leisure-sitemap-page__xml-link:hover {
  color: #fff;
  background: #255563;
  transform: translateY(-1px);
}

.leisure-sitemap-page__card {
  padding: 1.35rem 1.35rem 1.15rem;
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.leisure-sitemap-page__card:hover {
  border-color: rgba(47, 98, 113, 0.2);
  box-shadow: 0 8px 24px rgba(47, 98, 113, 0.1);
}

.leisure-sitemap-page__card-title {
  font-family: var(--font-family-sub-heading, "Barlow Condensed", sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-first, #2f6271);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid rgba(47, 98, 113, 0.12);
}

.leisure-sitemap-page__item + .leisure-sitemap-page__item {
  border-top: 1px solid #f0f2f4;
}

.leisure-sitemap-page__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.leisure-sitemap-page__link:hover {
  color: var(--color-first, #2f6271);
  padding-left: 0.5rem;
}

.leisure-sitemap-page__link-icon {
  flex-shrink: 0;
  color: #adb5bd;
  transition: color 0.15s ease, transform 0.15s ease;
}

.leisure-sitemap-page__link:hover .leisure-sitemap-page__link-icon {
  color: var(--color-first, #2f6271);
  transform: translateX(2px);
}

@media (max-width: 767.98px) {
  .leisure-sitemap-page__xml-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .leisure-sitemap-page__xml-link {
    width: 100%;
    justify-content: center;
  }
}

/*
 * .color-text-gray (--color-gray-2, #bab6ba) is too washed out to read on
 * white at body-copy sizes — same contrast gap already documented and
 * worked around locally for the traveler panel's hint text
 * (leisure-new-style.css's .traveler-row-hint). This is the same fix
 * (Bootstrap's standard muted grey, #6c757d, ~4.6:1 on white vs ~1.9:1 for
 * color-gray-2) as a reusable class, for the flight itinerary's segment
 * detail text (airport names, carrier/flight number, layover line) reported
 * as hard to read when Flight Details is expanded.
 */
.color-text-muted {
  color: #6c757d !important;
}

/* Chat assistant replies (formatChatMarkdown output). The default UL/OL
   margin needed trimming so a list doesn't sit further right than the
   paragraph text above it, and .chat-md-heading (a <span>, not a real
   heading tag — see utils/sanitize.ts's allowlist) needed something to
   visually read as a section label instead of a same-weight run of bold
   text. The `ul li { list-style: none }` rule elsewhere in this stylesheet
   set (leisure-new-style.css:98, unscoped, site-wide) was silently
   stripping every bullet marker from chat's own lists — items rendered as
   indented text with no visible bullet at all. `.chat-md-content ul li`
   below has one more class than that selector's `ul li`, so it wins the
   cascade regardless of file load order. */
.chat-md-content ul,
.chat-md-content ol {
  margin: 4px 0;
  padding-left: 1.25rem;
}

.chat-md-content ul li {
  list-style: disc;
}

.chat-md-content li {
  margin-bottom: 2px;
}

.chat-md-heading {
  display: inline-block;
  font-weight: 700;
  margin-top: 4px;
}
