/* Calendar container to prevent overlap with button */
.calendar-container {
  margin-bottom: 20px;
  min-height: 320px; /* Ensures vertical space is always allocated */
}

/* Updated flatpickr calendar style to be responsive */
.flatpickr-calendar {
  font-family: Arial, sans-serif;
  font-size: 14px;
  width: 100% !important; /* Full width to fit parent */
  max-width: 100%;
  padding: 10px; /* Reduced for cleaner spacing */
  box-sizing: border-box;
}

/* Responsive layout for inner calendar (2-months side by side) */
.flatpickr-innerContainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px; /* Spacing between months */
  padding: 10px;
}

/* Calendar header styling */
.flatpickr-months {
  padding-bottom: 10px;
}

/* Grid of days styling */
.flatpickr-days {
  padding: 10px 0;
}

.flatpickr-day {
  padding: 8px;
}

/* Disabled dates */
.flatpickr-day.disabled {
  background: #f0f0f0 !important;
  color: #b3b3b3 !important;
  cursor: not-allowed;
}

/* Selected and ranged days */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #ff5a5f !important;
  color: #fff !important;
}

.carousel-inner {
  height: 600px; /* Set this to your chosen height */
}

.carousel-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 600px; /* optional: limits vertical size for uniformity */
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .carousel-inner {
    height: auto !important; /* Let it adapt to image height */
  }

  .carousel-inner img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}
