/* Search Form Styles */
#searchForm {
  background: rgb(255, 255, 255) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 25px !important;
  transition: all 0.3s ease !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  position: relative;
  z-index: 10;
}
#searchForm:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}
#searchForm .search-button {
  width: 100%;
  height: 42px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#searchForm .search-button i {
  margin-right: 8px;
  font-size: 14px;
}
#searchForm .search-button:hover {
  background: #43A047;
  transform: translateY(-1px);
}
#searchForm .search-button:active {
  transform: translateY(1px);
}
#searchForm .clear-dates-link-wrapper {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  left: auto !important;
  z-index: 20 !important;
  width: auto !important;
  height: auto !important;
}
#searchForm .clear-dates-link {
  color: #007bff;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
#searchForm .clear-dates-link i {
  font-weight: bold;
}
#searchForm .clear-dates-link:hover {
  color: #0056b3;
}
#searchForm .clear-dates-link:active {
  color: #004085;
}

.search-form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.search-form-header i {
  font-size: 20px;
  margin-bottom: 8px;
  color: #666;
}
.search-form-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.5px;
}

.date-inputs-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.date-input-group {
  flex: 1;
}
.date-input-group label {
  display: block;
  margin-bottom: 1px;
  color: #1d1d1d;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.date-input-group .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.date-input-group .input-wrapper i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  pointer-events: none;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.date-input-group .form-control {
  height: 42px;
  width: 100%;
  padding: 8px 40px 8px 12px; /* Increased right padding to make room for the icon */
  font-size: 14px;
  font-weight: 800;
  border: 1px solid #d4d3d3;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.date-input-group .form-control::placeholder {
  color: #555; /* Darker placeholder text (was likely using browser default light gray) */
  opacity: 1; /* Ensure full opacity for better visibility */
}
.date-input-group .form-control:focus {
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.1);
  outline: none;
}

/* Flatpickr custom styles - with higher specificity to override material theme */
body .flatpickr-calendar.open,
body .flatpickr-calendar {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px !important;
  border: none !important;
  width: 320px !important;
  padding: 15px !important;
  background: #fff !important;
  font-family: "DM Sans", Helvetica, Arial, sans-serif !important;
}

body .flatpickr-months {
  margin-bottom: 10px !important;
  padding: 0 10px !important;
}

body .flatpickr-month {
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
}

body .flatpickr-days {
  width: 100% !important;
  padding: 0 5px !important;
}

body .dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-around !important;
}

body .flatpickr-day {
  color: #333 !important;
  font-weight: 500 !important;
  padding: 0 !important;
  height: 36px !important;
  line-height: 36px !important;
  margin: 2px !important;
  border-radius: 50% !important;
  width: 36px !important;
  max-width: 36px !important;
  flex-basis: 36px !important;
  border: none !important;
}
body .flatpickr-day:hover {
  background: rgba(76, 175, 80, 0.1) !important;
  border-color: transparent !important;
}

body .flatpickr-day.selected,
body .flatpickr-day.startRange,
body .flatpickr-day.endRange,
body .flatpickr-day.selected.inRange,
body .flatpickr-day.startRange.inRange,
body .flatpickr-day.endRange.inRange,
body .flatpickr-day.selected:focus,
body .flatpickr-day.startRange:focus,
body .flatpickr-day.endRange:focus,
body .flatpickr-day.selected:hover,
body .flatpickr-day.startRange:hover,
body .flatpickr-day.endRange:hover,
body .flatpickr-day.selected.prevMonthDay,
body .flatpickr-day.startRange.prevMonthDay,
body .flatpickr-day.endRange.prevMonthDay,
body .flatpickr-day.selected.nextMonthDay,
body .flatpickr-day.startRange.nextMonthDay,
body .flatpickr-day.endRange.nextMonthDay {
  background: #4CAF50 !important;
  border-color: #4CAF50 !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3) !important;
}

body .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
body .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
body .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
  box-shadow: -10px 0 0 #4CAF50 !important;
}

body .flatpickr-day.inRange,
body .flatpickr-day.prevMonthDay.inRange,
body .flatpickr-day.nextMonthDay.inRange,
body .flatpickr-day.today.inRange,
body .flatpickr-day.prevMonthDay.today.inRange,
body .flatpickr-day.nextMonthDay.today.inRange,
body .flatpickr-day:hover,
body .flatpickr-day.prevMonthDay:hover,
body .flatpickr-day.nextMonthDay:hover,
body .flatpickr-day:focus,
body .flatpickr-day.prevMonthDay:focus,
body .flatpickr-day.nextMonthDay:focus {
  background: rgba(76, 175, 80, 0.1) !important;
  border-color: transparent !important;
}

body .flatpickr-day.today {
  border: 1px solid #4CAF50 !important;
  color: #4CAF50 !important;
  font-weight: 600 !important;
}

body .flatpickr-day.prevMonthDay,
body .flatpickr-day.nextMonthDay {
  color: #aaa !important;
}

body .flatpickr-day.flatpickr-disabled,
body .flatpickr-day.flatpickr-disabled:hover,
body .flatpickr-day.prevMonthDay.flatpickr-disabled,
body .flatpickr-day.nextMonthDay.flatpickr-disabled,
body .flatpickr-day.notAllowed,
body .flatpickr-day.notAllowed.prevMonthDay,
body .flatpickr-day.notAllowed.nextMonthDay {
  color: rgba(72, 72, 72, 0.3) !important;
  background: transparent !important;
  cursor: not-allowed !important;
}

body .flatpickr-current-month {
  padding: 0 !important;
}
body .flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 600 !important;
  color: #333 !important;
  background: transparent !important;
  border: none !important;
  padding: 5px !important;
  border-radius: 4px !important;
}
body .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}
body .flatpickr-current-month .flatpickr-monthDropdown-months, body .flatpickr-current-month .flatpickr-monthDropdown-months + input.cur-year {
  font-size: 16px !important;
  color: #333 !important;
}

body .flatpickr-weekday {
  color: #666 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  background: transparent !important;
}

body .flatpickr-weekdays {
  height: 30px !important;
  background: transparent !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

body .flatpickr-months .flatpickr-month {
  height: 50px !important;
  background: transparent !important;
}

body .flatpickr-months .flatpickr-prev-month,
body .flatpickr-months .flatpickr-next-month {
  padding: 10px !important;
  height: auto !important;
  fill: #333 !important;
}
body .flatpickr-months .flatpickr-prev-month:hover svg,
body .flatpickr-months .flatpickr-next-month:hover svg {
  fill: #4CAF50 !important;
}

body .numInputWrapper {
  height: 30px !important;
}

body .flatpickr-current-month .numInputWrapper span.arrowUp,
body .flatpickr-current-month .numInputWrapper span.arrowDown {
  border: none !important;
}

body .flatpickr-current-month input.cur-year {
  font-weight: 600 !important;
  padding: 5px !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  #searchForm {
    padding: 20px !important;
    border-radius: 10px !important;
  }
  .search-form-header {
    margin-bottom: 15px;
  }
  .date-inputs-container {
    flex-direction: column;
    gap: 15px;
  }
  .date-input-group .form-control {
    height: 40px;
  }
  #searchForm .search-button {
    height: 40px;
    font-size: 14px;
  }
  .clear-dates-link-wrapper {
    justify-content: flex-end;
    margin-top: 8px;
    margin-bottom: 0;
  }
}

/*# sourceMappingURL=search-form.css.map */
