/* Flatpickr — formulari i rezervimit (tema e errët, popup në body) */
.flatpickr-calendar.fp-reserve {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--input-radius, 4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  font-family: "DM Sans", system-ui, sans-serif;
  padding: 10px 10px 12px;
  width: 100%;
  max-width: 320px;
}

.fp-reserve .flatpickr-months {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 10px;
  margin-bottom: 6px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-reserve .flatpickr-months .flatpickr-month {
  flex: 1;
  min-width: 0;
  height: auto;
  background: transparent;
  overflow: visible;
}

.fp-reserve .flatpickr-current-month {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  left: auto !important;
  font-size: 15px;
  font-weight: 600;
  color: #f8f6f3;
  line-height: 1.3;
}

.fp-reserve .flatpickr-current-month .fp-month-display,
.fp-reserve .flatpickr-current-month .cur-month {
  font-size: 15px;
  font-weight: 600;
  color: #f8f6f3;
}

.fp-reserve .flatpickr-current-month .fp-year-display,
.fp-reserve .flatpickr-current-month .cur-year {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 6px;
}

.fp-reserve .flatpickr-current-month .flatpickr-monthDropdown-months,
.fp-reserve .flatpickr-current-month input.cur-year,
.fp-reserve .flatpickr-current-month .numInputWrapper {
  display: none !important;
}

.fp-reserve .flatpickr-prev-month,
.fp-reserve .flatpickr-next-month {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  top: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--input-radius, 4px);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  fill: rgba(255, 255, 255, 0.55);
  transition: background 0.15s, border-color 0.15s;
}

.fp-reserve .flatpickr-prev-month:hover,
.fp-reserve .flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.fp-reserve .flatpickr-prev-month svg,
.fp-reserve .flatpickr-next-month svg {
  width: 12px;
  height: 12px;
}

.fp-reserve .flatpickr-weekdays {
  background: transparent;
  height: auto;
  margin-bottom: 4px;
}

.fp-reserve span.flatpickr-weekday {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
}

.fp-reserve .flatpickr-days {
  width: 100%;
}

.fp-reserve .dayContainer {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.fp-reserve .flatpickr-day {
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--input-radius, 4px);
  max-width: none;
  height: 36px;
  line-height: 36px;
  border: none;
}

.fp-reserve .flatpickr-day:hover {
  background: rgba(184, 149, 106, 0.18);
  border-color: transparent;
}

.fp-reserve .flatpickr-day.today {
  border: 1px solid rgba(184, 149, 106, 0.45);
  background: transparent;
}

.fp-reserve .flatpickr-day.selected {
  background: #b8956a;
  border-color: #b8956a;
  color: #0a0a0a;
  font-weight: 600;
}

.fp-reserve .flatpickr-day.flatpickr-disabled,
.fp-reserve .flatpickr-day.prevMonthDay,
.fp-reserve .flatpickr-day.nextMonthDay {
  color: rgba(255, 255, 255, 0.18);
}

.fp-reserve .flatpickr-day.flatpickr-disabled {
  text-decoration: line-through;
}

.fp-reserve .flatpickr-day.fp-day-partial {
  box-shadow: inset 0 -2px 0 #b8956a;
}

.fp-reserve .flatpickr-day.fp-day-full {
  opacity: 0.35;
}

.cform--reserve .flatpickr-input {
  cursor: pointer;
}
