/* 
.guesty-departure-day {
  color: rgba(57,57,57,0.1);
  border-radius: 0px;
  background-color: #6ccd8a;
} */
 
.guesty-arrival-day, .guesty-departure-day, .flatpickr-disabled  {
  /* background-color: #6ccd8bdf; */
  color: rgba(57,57,57,0.3);
  border-radius: 0px;
}

.flatpickr-day {
  border-radius: 0;
}

.flatpickr-day.guesty-arrival-day {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.startRange, .endRange {
  border-radius: 0 !important;
}

.flatpickr-day.guesty-arrival-day::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 83%, 0.5);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.flatpickr-day.guesty-departure-day {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.flatpickr-day.guesty-departure-day::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 83%, 0.5);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 2;
}




.guesty-widget-box {
  flex: 1 1 35%;
  max-width: 35%;
  height: fit-content;
  position: sticky;
  top: 120px;
  background: #fff;
}

@media (max-width: 1000px) {
  .guesty-widget-box {
    max-width: 100%;
  }
}


.guesty-booking-widget {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.guesty-booking-widget p {
  font-weight: 500;
  margin-bottom: 0;
}

.guesty-search-form__item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  border-radius: 0;
}
.guesty-search-form__item-dates {
  width: 100%
}

#guesty-date-range {
  border: 1px solid #e0e0e0 !important;
  border-radius: 0;
}
.guesty-input {
  width: 100%;
  padding: 10px 12px 10px 36px !important;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.guesty-input:focus {
  outline: none;
  border-color: #000;
  background-color: #fff;
}

.guesty-label {
  position: absolute;
  top: 50%;
  left: 35px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
  pointer-events: none;
}

.guesty-search-form__button {
  width: 100%;
  background-color: #111;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  text-align: center;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  margin-top: 15px;
}

.guesty-search-form__button:hover {
  background-color: #000;
}

.guesty-booking__summary {
  margin-top: 16px;
  display: none;
  text-align: right;
  font-size: 14px;
}

.guesty-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  pointer-events: none;
}


.guests-stepper, .units-stepper {
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.guests-stepper i, .units-stepper i {
  /* cursor: pointer; */
  font-size: 20px;
  color: #333;
}

.guesty-guest-increase, .guesty-unit-increase, .guesty-guest-decrease, .guesty-unit-decrease {
  cursor: pointer;
}
.guests-stepper-increase, .units-stepper-increase, .guest-stepper-decrease, .units-stepper-decrease {
  cursor: pointer;
}
.guesty-unit-increase.inactive, .guesty-guest-decrease.inactive, .guesty-unit-decrease.inactive, .guesty-guest-increase.inactive {
  cursor: auto !important;

}

.guests-stepper input, .units-stepper input {
  width: 30px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 10px 0 10px 0  !important;
  
}
.guesty-guests-wrapper, .guesty-units-wrapper {
  border: 1px solid #e0e0e0;;
  border-radius: 0;
  flex-shrink: 0;
}
.guesty-search-form__items-halfs { 
  display: flex;
  gap: 10px;
}
.guesty-search-form__items-halfs .guesty-search-form__item {
  flex: 1 1 48%;
  display: flex;
  justify-content: center;
}
.guesty-search-form__items {
  flex-direction: column;
  display: flex;
  gap: 10px;
}

.guests-stepper i.inactive:before, .units-stepper i.inactive:before, 
.units-stepper i.inactive:before, .units-stepper i.inactive:before {
  opacity: 0.4;
  cursor: auto !important;
  pointer-events: none;
}


.guesty-error-message {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 5px;
  animation: fadeIn 0.3s ease;
}

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

#guesty-loader i,
#guesty-summary-loader i {
  margin-left: 5px;
  font-size: 0.9em;
  color: #888;
}

.guesty-total {
  font-weight: bold;
}

.guesty-search-form__button.loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
} 

#guesty-calendar-loader {
  position: absolute;
  right: 10px;
}

.guesty-calendar-loading {
  cursor: wait !important;
}


.guesty-search-form__button--disabled  {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.guesty-input__guests::-webkit-outer-spin-button,
.guesty-input__guests::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.guesty-input__guests {
  -moz-appearance: textfield; /* Firefox */
}
