.boekelsven-mini-form {
  max-width: 100%;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.boekelsven-mini-form .mini-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 0.75rem;
}

.boekelsven-mini-form .date-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .boekelsven-mini-form .date-inputs {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.boekelsven-mini-form .date-input-group {
  flex: 1;
}

.boekelsven-mini-form label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.boekelsven-mini-form .input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.boekelsven-mini-form .calendar-icon {
  position: absolute;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
}

.boekelsven-mini-form .date-input {
  width: 100%;
  padding: 1rem;
  padding-right: 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1f2937;
  background-color: #fff;
  transition: all 0.15s ease-in-out;
}

.boekelsven-mini-form .date-input:focus {
  outline: none;
  border-color: #dda15e;
  box-shadow: 0 0 0 4px rgba(221, 161, 94, 0.1);
}

.boekelsven-mini-form .date-input::placeholder {
  color: #9ca3af;
}

.boekelsven-mini-form .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background-color: #dda15e;
  border: none;
  border-radius: 0.75rem;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  width: 100%;
}

.boekelsven-mini-form .submit-button:hover {
  background-color: #c48b4b;
}

.boekelsven-mini-form .submit-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(221, 161, 94, 0.2);
}

.flatpickr-calendar.open {
    display: inline-table !important;
}

/* Flatpickr customization */
.flatpickr-calendar {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.flatpickr-day.selected {
  background-color: #dda15e !important;
  border-color: #dda15e !important;
}

.flatpickr-day.selected:hover {
  background-color: #c48b4b !important;
}

.flatpickr-day:hover {
  background-color: rgba(221, 161, 94, 0.1);
}

.flatpickr-current-month {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0 !important;
}

.flatpickr-weekday {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  padding: 0.5rem !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: #dda15e !important;
}

/* Mobile Responsiveness */
@media (max-width: 639px) {
  .boekelsven-mini-form .mini-form {
    padding: 1rem;
  }

  .boekelsven-mini-form .date-input {
    padding: 0.875rem;
    padding-right: 2.5rem;
    font-size: 0.875rem;
  }

  .boekelsven-mini-form .calendar-icon {
    right: 0.875rem;
    width: 1.25rem;
    height: 1.25rem;
  }

  .boekelsven-mini-form .submit-button {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
}
