/* temporary file to collect items which are shared in both FFF and HW themes*/

.weather-icons {
  align-items: center;
}

#weather-icons-container {
  position: relative;
  left: -5em;
  display: none;
}

.banner-day-temp {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.banner-day-temp .weather-day {
  font-size: inherit;
}

#search-mode-radio label {
  color: var(--colourText);
  font-weight: bold;
}

#left-sidebar {
  position: relative;
  left: -1px;
  top: -5px;
}

#flight-form label {
  color: var(--colourText);
}

.card {
  background-color: var(--cardSecondary);
}

.sidebar-header {
  border-style: none;
}
.accom.form-group label {
  color: var(--formText);
}
.output-range {
  left: -2%;
  color: var(--formText);
}

#left-sidebar-content {
  background-color: var(--sidebarPrimary);
  color: var(--formText);
}

.sort-btn,
.sort-btn:hover,
.sort-btn:active,
.sort-btn.active {
  background-color: transparent;
  color: var(--svgPrimary);
  border-bottom-color: var(--svgPrimary);
}

.destination-duration {
  color: var(--svgText);
}

.sort-btn span {
  color: var(--svgText);
}

.price {
  color: var(--svgText);
}

.destination-title {
  color: var(--svgText);
}

#table-container.show {
  width: 100%;
  padding: 0;
  margin: 0;
}

.modal-content {
  top: 10vh;
  height: 75vh;
  width: 75vw;
}

.card.card-large {
  display: flex;
  flex-direction: column;
  overflow-y: visible;
  height: inherit;
}

.modal-sidebar button {
  width: 20%;
  height: 42px;
}

.card-large {
  position: relative; /* so .modal-sidebar is positioned against the card */
}

.weekend-option button {
  padding: 8px 12px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.modal-offer-title {
  position: absolute;
  top: -10px;
  background-color: var(--colourSidebar);
  color: white;
  padding: 4px 8px;
  font-size: 1.2em;
  border-radius: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.travel-warnings-slide a {
  padding: 5px;
}

#fff-icon {
  margin-left: 10px;
  height: 42px;
  margin-right: 5px;
  transform: scale(0.8);
}

/* Fullscreen background image */
#bg-image-dreams {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url("/images/dreams.png"); */
  background-size: cover;
  background-position: center;
  z-index: -1; /* Place the background behind other content */
  opacity: 0;
  transition: opacity 1s ease; /* Smooth opacity transition */

  background-color: var(--backgroundSecondary);
}

.clickable {
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: end;
}

#cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  z-index: 1000;
}

/* Fade-in animation for the text */
#website-name {
  opacity: 0;
  animation:
    fadeIn 1s forwards,
    fadeOut 1s 1s forwards; /* Fade in and fade out */
  white-space: nowrap;
  font-size: 10vw;
  max-width: 100%;
  overflow: hidden;
  /* background-color: var(--colourA); */
}

#page-banner {
  display: none;
  color: white;
  padding: 0px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding-right: 25px;
  width: auto;
  height: 50px;
}

#page-banner.show {
  display: block;
  opacity: 1;
  animation: fadeIn 1s ease forwards;
  padding-bottom: 0px;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: left;
  line-height: 1.6;
  height: 50px;
  overflow-y: clip;
}

.travel-warnings-slide {
  display: flex;
  flex-direction: column;
  background-color: var(--sidebarPrimary);
  align-items: center;
  font-size: 1.2em;
  font-weight: inherit;
  justify-content: space-around;
  padding: 7px;
}
.modal {
  top: calc(50% - 30px);
  height: calc(100vh - 50px);
}
@media only screen and (max-width: 800px) {
  #center {
    width: calc(100% - (max(20vw, 400px) + max(20vw, 400px)));
  }
  #page-banner .show {
    padding-bottom: 0px;
  }

  #weather-icons-container {
    left: 0px;
    display: flex;
  }

  .modal {
    top: calc(50% - 30px);
    height: calc(100vh - 50px);
  }
  .modal-content {
    top: 15vh;
    height: 60vh;
    width: 90%;
  }
  /* For taller screens (like Samsung A54) */
  @media (min-height: 650px) {
    .modal-content {
      top: auto;
      height: 75vh;
    }
  }
}

/* For very tall screens, you could go even higher */
@media (min-height: 900px) {
  .modal-content {
    top: auto;
    height: 80vh;
  }
}
