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

#beachcomber_booking-floating-widget {
  background-color: #fff;
  position: fixed;
  top: calc(100vh - 55px);
  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;
  overflow: hidden;
}
#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;
}

/* Loader styling for the Email Quote submit button */
button.submitQuoteButtonLoader.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

button.submitQuoteButtonLoader.loading::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: submitQuoteButtonSpin 0.6s linear infinite;
}

@keyframes submitQuoteButtonSpin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.searchButton-loading {
  position: relative;
}

.SearchButton-loading::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.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,
.rooms-specialOffer {
  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;
}

/* #filters {
  display: none;
}

#filters.show {
  display: block;
} */

.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;
}

/* Quote button */
/* Style for the success message span */
button .success-message {
  display: none; /* Start hidden */
  color: #28a745; /* Success green */
  font-size: 14px;
  line-height: 1.4;
  padding: 0;
  background: none;
  border: none;
  font-weight: normal;
  text-align: left;
}

/* Error state */
button .success-message.error {
  color: #dc3545; /* Error red */
}

/* When message is shown, remove all button styling from the parent button */
button.showing-message {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left;
  padding: 0;
  cursor: default;
}

/* Remove hover/active states when showing message */
button.showing-message:hover,
button.showing-message:active,
button.showing-message:focus {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.btn-success {
  border: none;
}
/* 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;
}

.beachcomber-filter-section {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  width: 50%;
}

.beachcomber-dropdown {
  padding: 6px 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  color: #333;
  min-width: 140px;
  appearance: none;
}

.beachcomber-reset-button {
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.beachcomber-reset-button:hover {
  background-color: #e0e0e0;
}

/* holiday specials skeleton loader */

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.holiday-skeleton-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.holiday-skeleton-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 300px;
  flex: 0 0 auto;
}

.holiday-skeleton-box,
.holiday-skeleton-image {
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
}

.holiday-skeleton-image {
  height: 160px;
  margin-bottom: 12px;
}

.holiday-skeleton-box {
  height: 16px;
  margin-bottom: 10px;
}

.w70 {
  width: 70%;
}
.w50 {
  width: 50%;
}
.w30 {
  width: 30%;
}

@media (max-width: 768px) {
  .holiday-skeleton-card {
    width: 100%;
  }
}

/* special page skeleton loader */
.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;
  }
}

/* booking results skeleton loader */

.booking-results-skeleton-loader {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 30px auto;
  background-color: #f8fafc;
  border-radius: 12px;
}

.booking-skeleton-header,
.booking-skeleton-text,
.booking-skeleton-image {
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
  border-radius: 8px;
}

.booking-skeleton-header {
  width: 40%;
  height: 24px;
}

.booking-skeleton-text {
  width: 100%;
  height: 16px;
}

.booking-skeleton-text.short {
  width: 60%;
}

.booking-skeleton-image {
  width: 100%;
  height: 240px;
  border-radius: 12px;
}

/* ✨ Shimmer Effect */
.booking-skeleton-header::after,
.booking-skeleton-text::after,
.booking-skeleton-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-150px);
  }
  100% {
    transform: translateX(100%);
  }
}

/* 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;
  }

  #beachcomber_booking-floating-widget {
    top: calc(100vh - 55px);
    overflow: hidden;
    right: 0px;
  }

  #beachcomber_booking-toggle-widget:checked + div {
    top: calc(100vh - 367px);
    right: 0px;
  }

  .beachcomber-filter-section {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: auto;
    flex-wrap: wrap;
  }

  #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;
  }
}
