#le-widget-search-root {
  overflow: hidden;
  padding: 12px;
}

#le-widget-search-root input:focus,
#le-widget-search-root input:hover,
#le-widget-search-root textarea:hover,
#le-widget-search-root textarea:focus,
#le-widget-search-root select:hover,
#le-widget-search-root select:focus {
  outline: none;
  border: 1px solid #363a45;
}

#le-widget-search-root * {
  box-sizing: border-box;
  color: #363a45;
  font-family: Helvetica, Arial, sans-serif;
}

.le-widget-header-1 {
  font-size: 20px;
  font-weight: 550;
  line-height: 28px;
  letter-spacing: -0.5px;
}

.le-widget-header-2 {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.5px;
}

#le-widget-general-search {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 20px 20px 20px;
  width: 100%;
  margin: auto;
}

#le-widget-typeahead-box * + * {
  margin-top: 8px;
}

.le-widget-dropdown-item-name + div {
  text-transform: capitalize;
  color: #7e8188 !important;
  font-size: 13px;
}

.le-widget-dropdown-item {
  padding: 12px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 24px auto;
  gap: 12px;
  align-items: center;
}

.le-widget-input-box {
  border: 1px solid #dfdfe1;
  background: #fff;
  padding: 4px 16px;
  align-items: center;
  cursor: pointer;
}

.le-widget-input-box *:first-child {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
}

.le-widget-input-box *:last-child {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #4a4e58 !important;
}

#le-widget-date-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

#le-widget-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.le-widget-fadein {
  position: relative;
  opacity: 1;
  transition:
    opacity 0.5s,
    left 0.5s;
  left: 0;
}

.le-widget-fadeout {
  opacity: 0;
  left: -100px;
  transition:
    opacity 0.5s ease-out,
    left 0.5s ease-out;
  display: none !important;
}

#le-widget-search-input {
  padding: 12px 36px 12px 12px;
  width: 100%;
  line-height: 22px;
  border-radius: 2px;
  border: 1px solid #dfdfe1;
  transition: border-color 0.3s ease;
  font-size: 14px;
}

#le-widget-search-input::placeholder {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%; /* Take up the entire width of the input field */
}

#le-widget-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#le-widget-location-search {
  display: grid;
  grid-template-rows: 1fr 1fr 3fr;
  padding: 12px 20px 0 20px;
}

#le-widget-search-icon {
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
}

#le-widget-search-results {
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: 2px;
  margin-top: 28px;
}

#le-widget-search-results.htmx-request {
  display: none;
}

#le-widget-search-results::-webkit-scrollbar,
#le-widget-calendar-datepicker::-webkit-scrollbar {
  width: 1px !important;
}

#le-widget-search-results::-webkit-scrollbar-thumb,
#le-widget-calendar-datepicker::-webkit-scrollbar-thumb {
  background-color: gray;
  /* Scroll bar thumb color */
  border-radius: 99px;
  /* Rounded corners for the thumb */
}

#le-widget-search-results::-webkit-scrollbar-track,
#le-widget-calendar-datepicker::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

#le-widget-search-results::-webkit-scrollbar-thumb:vertical,
#le-widget-calendar-datepicker::-webkit-scrollbar-thumb:vertical {
  min-height: 20px;
  /* Set the minimum height for the vertical scroll bar */
}

.le-widget-tab {
  background: #fff;
  max-height: 335px;
  border: 1px solid #dfdfe1;
  border-top: 8px solid #363a45;
  width: 100%;
  margin: auto;
}

#search-modal-overlay {
  position: fixed;
  background: rgba(0, 0, 0, 0.4);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.destination-id-placeholder {
  display: none;
}

.le-widget-header-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

#le-widget-calendar-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#le-widget-calendar-reset {
  font-size: 14px;
  border-bottom: 1px solid #363a45;
  cursor: pointer;
}

#le-widget-search-button {
  display: inline-block;
  cursor: pointer;
  padding: 12px;
  border-radius: 2px;
  background: #363a45;
  text-decoration-line: none;
  min-width: 80px;
  display: flex;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  width: 112px;
}

#le-widget-logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#le-widget-left-arrow {
  cursor: pointer;
}

#le-widget-calendar-main {
  display: grid;
  grid-template-rows: auto auto 43px 1fr;
  justify-items: center;
  padding: 16px 24px;
}

#le-widget-calendar-header {
  display: flex;
  width: 100%;
  margin-top: 24px;
  justify-content: space-between;
  align-items: center;
}

#le-widget-calendar-days-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

#le-widget-calendar-date-picker-wrapper {
  display: block;
  grid-template-rows: 43px 1fr;
  justify-items: center;
}

#le-widget-calendar-days {
  grid-template-rows: 43px;
}

#le-widget-calendar-days,
#le-widget-calendar-datepicker {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

#le-widget-calendar-datepicker {
  grid-template-rows: repeat(5, 43px);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: 2px;
}

.le-widget-week-days {
  color: rgb(126, 129, 136) !important;
  font-size: 12px !important;
}

.le-widget-week-days,
#le-widget-calendar-datepicker * {
  display: flex;
  justify-content: center;
  align-items: center;
}

.le-widget-inactive-dates {
  cursor: not-allowed;
  color: rgb(239, 239, 240) !important;
}

.le-widget-active-dates {
  cursor: pointer;
  color: #00f1bd;
}

.le-widget-between-selected-date {
  cursor: pointer;
  background: #e6fef9;
}

.le-widget-active-dates:hover,
.le-widget-active-dates:focus {
  background: #e6fef9;
}

.le-widget-selected-date {
  cursor: pointer;
  background: rgb(0, 241, 189);
  color: rgb(54, 58, 69);
}

#le-widget-calendar-month-header {
  font-weight: 600;
}

.le-widget-popular-place-text {
  color: #7e8188 !important;
  font-size: 13px;
  font-weight: 500;
}

@keyframes ball-cycle {
  0% {
    transform: translateX(-225%) translateY(-50%) scale(0);
  }

  25% {
    transform: translateX(-225%) translateY(-50%) scale(1);
  }

  50% {
    transform: translateX(0) translateY(-50%) scale(1);
  }

  75% {
    transform: translateX(225%) translateY(-50%) scale(1);
  }

  100% {
    transform: translateX(225%) translateY(-50%) scale(0);
  }
}

.le-widget-animation-ball {
  position: absolute;
  border-radius: 9999px;
  background-color: #363a45;
  top: 50%;
  animation: ball-cycle 3.1s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  height: 24px;
  width: 24px;
}

.le-widget-animation-ball-one {
  animation-delay: -1s;
}

.le-widget-animation-ball-two {
  animation-delay: -2s;
}

.le-widget-animation-ball-three {
  animation-delay: -3s;
}

#le-widget-animation-balls {
  display: none;
}

#le-widget-animation-balls.htmx-request {
  position: relative;
  display: inline-block;
}

#le-widget-animation-balls-wrapper {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .le-widget-tab {
    max-height: 280px;
    max-width: 575px;
  }

  #le-widget-calendar-header {
    margin-top: 32px;
  }

  .le-widget-header-1 {
    font-size: 24px;
  }

  .le-widget-header-2 {
    font-size: 20px;
  }
}
