#beachcomber_booking-toggle-widget {
  display: none;
}
#beachcomber_booking-toggle-widget:checked + div {
  top: calc(100vh - 55px);
  overflow: hidden;
}
#beachcomber_booking-toggle-widget + div > label {
  transform: rotate(45deg);
}
#beachcomber_booking-toggle-widget:checked + div > label {
  transform: rotate(90deg);
}

#beachcomber_booking-floating-widget {
  background-color: #fff;
  position: fixed;
  top: calc(100vh - 380px);
  right: 20px;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 50;
  transition: all 0.3s ease;
}
#beachcomber_booking-floating-widget > label {
  font-weight: bold;
  font-size: larger;
  position: absolute;
  top: 20px;
  right: 20px;
}
#beachcomber_booking-floating-widget > h3 {
  display: inline;
  margin-bottom: 10px;
}
#beachcomber_booking-floating-widget input[type="submit"] {
  margin-top: 10px;
}

#beachcomber_booking-searchWidget {
  display: grid;
  padding-top: 10px;
}

#beachcomber_booking-searchForm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#beachcomber_booking-searchForm div {
  padding: 20px;
}

#beachcomber_booking-searchForm div select {
  padding: 5px;
}
#beachcomber_booking-searchWidget div label,
#beachcomber_booking-searchForm div label,
#beachcomber_booking-searchForm div legend {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
#beachcomber_booking-searchForm div .radio-inline {
  display: inline;
  font-weight: normal;
  margin-right: 10px;
}

#hotel-data {
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.bcp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bcp-rooms {
  display: flex;
  gap: 25px;
}

.loading-spinner {
  display: none;
  margin: 15px;
}

.section,
.carousel,
.hotel-information {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.hotel-information {
  margin-bottom: 20px;
  grid-column: span 2;
}

.section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #444;
}

.section ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.section li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.section li strong {
  color: #222;
}
/* Existing CSS */
/* Carousel container */
.carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
}

/* Slides container */
ul.slides {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Hide radio buttons */
ul.slides input {
  display: none;
}

/* Slide container */
.slide-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

/* Slide image */
.slide-image {
  width: 100%;
  height: 100%;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure images cover the slide */
}

/* Show the active slide */
input:checked + .slide-container {
  opacity: 1;
}

/* Carousel controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 9px;
  right: 9px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.carousel-controls label {
  cursor: pointer;
  font-size: 45px;
  color: #fff;
  /* opacity: 0.5; */
  transition: opacity 0.2s;
}

.carousel-controls label:hover {
  opacity: 1;
}

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  box-shadow: 0px 0px 5px 0px rgba(100, 100, 100, 0.75);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(100, 100, 100, 0.75);
  -moz-box-shadow: 0px 0px 5px 0px rgba(100, 100, 100, 0.75);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Highlight the active dot */
input:checked ~ .carousel-dots .carousel-dot:nth-child(n + 1) {
  background-color: rgba(255, 255, 255, 1);
}

.bcp-rooms {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #f9f9f9;
  margin-top: 15px;
}

#numInfants {
  padding: 0px !important;
}

.room-info,
.room-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  padding: 10px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
}

.room-info img {
  max-width: 100%;
  height: auto;
}

.room-images p {
  margin: 5px;
}

.flight-info {
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #f9f9f9;
  margin-top: 15px;
}

.flight-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.flight-details {
  margin-bottom: 20px;
}

.flight-details h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.flight-details h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #555;
}

.flight-details table {
  width: 100%;
  border-collapse: collapse;
}

.flight-details th,
.flight-details td {
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
}

.flight-details th {
  background-color: #f1f1f1;
  font-weight: bold;
}

.flight-details td {
  background-color: #fff;
}

.inclusions-section {
  margin-top: 15px;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #f9f9f9;
}

.inclusions-section p {
  margin: 5px;
}

.flex-table {
  display: flex;
  flex: 1 1 48%;
  flex-wrap: wrap;
  margin: 1%;
  border: 1px solid white;
  padding: 10px;
}
.flex-row {
  display: flex;
  width: 100%;
}
.flex-col {
  flex: 1;
  text-align: left;
}

.error-container {
  color: red;
  margin-top: 0px;
  font-size: 0.8em;
  padding: 0px !important;
}

.submit-section {
  padding: 0px !important;
}

.submit-section {
  /* grid-column: 1;
  align-self: start; */
  position: relative;
}

#holiday_specials_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.holiday-special-item {
  flex: 1 1 25%;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.text-price {
  text-align: left;
}
.hotel-info span,
.text-x-small {
  font-size: x-small;
}

.pk-room-image {
  /* max-width: 300px; */
}

.message {
  color: red;
  font-size: 0.7em;
  margin-top: 10px;
  /* display: none; */
  white-space: normal;
  max-width: 300px;
  line-height: 1.4;
}

.errorMessages {
  font-size: 0.8em;
  color: red;
  display: none;
  margin: 0px;
}

.packages {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 10px;
  width: 100%;
}

.packages p {
  margin-bottom: 0px;
}

#importantNotes {
  font-weight: bold;
}

/* Position Submit and Error Container */
#apiErrorContainer {
  grid-column: 1 / span 4;
  text-align: left;
}

.accSpecial1 {
  text-align: left;
  font-weight: bold;
  color: red;
}

.quickNav a {
  border-left: 1px solid #ccc;
  padding-left: 3px;
}
.quickNav a:first-child {
  border-left: none;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b4a064;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .toggle-slider {
  background-color: #00263d;
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px #00263d;
}

input:checked + .toggle-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.toggle-slider.round {
  border-radius: 34px;
}

.toggle-slider.round:before {
  border-radius: 50%;
}
.flight-options,
.honeymoon-toggle,
.wedding-toggle,
.wedding-date-input {
  padding: 0px !important;
}

legend {
  margin: 0;
  font-size: 1rem;
}

.navigation {
  padding: 10px;
}

.navigation a {
  text-decoration: none;
  color: #00263d;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.navigation a:hover,
.navigation a:focus {
  margin: 3px;
  background-color: #00263d;
  color: #b4a064;
  padding: 0.5rem 1rem;
}

/* Active link styling */
.navigation a.active {
  background-color: #00263d;
  color: #b4a064;
}

/* Modal Overlay */
.bcb-modal {
  z-index: 100;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

/* Modal Content */
.bcb-modal-content {
  margin: auto;
  background-color: #fff;
  position: relative;
  padding: 20px;
  outline: none;
  width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

/* Close Button */
.bcb-modal-button.bcb-display-topright {
  position: absolute;
  top: 7px;
  right: 15px;
  font-size: 35px;
  color: #555;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.bcb-modal-button.bcb-display-topright:hover {
  color: #ff4c4c;
}

/* Modal Content Area */
#bcb-modalContent {
  font-family: Arial, sans-serif;
  color: #333;
}

#bcb-modalContent h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #444;
}

/* Flight container for side-by-side layout */
.flight-container {
  display: flex;
  gap: 20px;
}

/* Departing and returning flights sections */
.departing-flights,
.returning-flights {
  flex: 1;
}

/* Flight details */
.flight {
  margin-bottom: 20px;
}

.flight h4 {
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: 0px;
  font-weight: bold;
}

.flight table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  background: none;
}

.flight th,
.flight td {
  width: 50%;
  padding: 2px;
  text-align: start;
  border: none;
  background-color: none;
}

.flight th {
  font-weight: bold;
}

.room-packages {
  margin-top: 0px;
  padding-left: 35px;
}

.btn {
  margin-top: 10px;
}

.flight-section {
  grid-column: span 2;
}

.info-box {
  display: none;
  font-size: 13px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 5px !important;
  background-color: #c2d4e6;
  border: 1px solid #00263d;
}

.info-icon {
  padding: 0px 5px;
  font-size: 18px;
  color: #c2d4e6;
  background-color: #00263d;
  border-radius: 26%;
}

.view-more {
  margin-top: 15px;
}

.view-more-btn {
  padding-top: 10px;
  background-color: #00263d;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none !important;
}

.view-more-btn:hover {
  background-color: #b4a064;
}

.beachcomber-booking-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

button[type="submit"] {
  transition: all 0.3s ease;
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: #cccccc;
}

.skeleton-container {
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-in;
  }

  .skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
  }

  .skeleton-line.title {
    height: 24px;
    width: 60%;
  }

  .skeleton-line.subtitle {
    width: 40%;
  }

  .skeleton-line.short {
    width: 30%;
  }

  .skeleton-list, .skeleton-section, .skeleton-packages {
    margin-bottom: 1.5rem;
  }

  .skeleton-gallery {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .skeleton-image {
    width: 100px;
    height: 60px;
    background: #e0e0e0;
    animation: shimmer 1.2s infinite;
    border-radius: 4px;
  }

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

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }



/* Responsive Styles */

/* Tablet view: 2 columns */
@media (max-width: 992px) {
  #beachcomber_booking-searchForm {
    grid-template-columns: repeat(2, 1fr);
  }

  .bcp-container,
  .bcp-rooms,
  .flight-info-container {
    display: flex;
    flex-direction: column;
  }
}

/* Mobile view: 1 column */
@media (max-width: 576px) {
  #beachcomber_booking-searchForm {
    grid-template-columns: 1fr;
  }
  .bcp-container,
  .flight-info-container {
    display: flex;
    flex-direction: column;
  }

  .flight-container {
    flex-direction: column;
  }

  .flex-table {
    flex: 1 1 50%;
  }

  .bcb-modal {
    padding-top: 35px;
  }

  .bcb-modal-content {
    width: 380px;
    padding: 18px;
  }

  #bcb-modalContent h2 {
    font-size: 1.5rem;
  }
}

#dateDeparture,
#dateReturn {
  width: 150px;
  height: 38px;
}

#departureCity,
#flightCabin,
#flightAdvanced {
  width: 150px;
}

@media (max-width: 1024px) {
  .holiday-special-item {
    flex: 1 1 33%;
  }
}

@media only screen and (min-width: 992px) {
  #submitForm {
    position: absolute;
    bottom: 80px;
    left: 20px;
  }
}

@media (max-width: 768px) {
  .holiday-special-item {
    flex: 1 1 50%;
  }

  .submit-section {
    grid-column: 1;
    order: 999;
  }
}

@media (max-width: 480px) {
  .holiday-special-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 992px) {
  #apiErrorContainer,
  #submitForm {
    grid-column: 1 / span 2;
  }
}

@media (max-width: 576px) {
  #apiErrorContainer,
  #submitForm {
    grid-column: 1 / span 1;
  }
}
