/* ===================== Flatpickr Custom Theme start ===================== */

/* ===================== Input with Icon ===================== */
.date-input-container {
	position: relative;
}

.date-input-container input {
	width: 100%;
	padding-right: 40px; /* space for icon */
	background-color: #eaffea !important;
	border: none !important;
	border-radius: 5px;
	font-size: 15px;
	height: 45px;
}

.date-input-container input::placeholder {
	color: #ccc;
	font-weight: 500;
}

.calendar-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	color: #a2bf33;
	pointer-events: none;
}

.flatpickr-custom-theme {
	border-radius: 10px !important;
	border: 1px solid #c8e066 !important;
	box-shadow: 0 6px 20px rgba(26, 167, 255, 0.25) !important;
	overflow: hidden;
	font-family: "Inter", sans-serif;
}

/* Calendar header (month/year area) */
.flatpickr-custom-theme .flatpickr-months {
	background: linear-gradient(180deg, #a2bf33 0%, #c8e066 100%) !important;
	color: #fff !important;
	border-bottom: none !important;
}

.flatpickr-custom-theme .flatpickr-months .flatpickr-prev-month,
.flatpickr-custom-theme .flatpickr-months .flatpickr-next-month {
	color: #fff !important;
	opacity: 0.8 !important;
}
.flatpickr-custom-theme .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-custom-theme .flatpickr-months .flatpickr-next-month:hover {
	opacity: 1 !important;
}

/* Weekdays (Mon, Tue...) */
.flatpickr-custom-theme .flatpickr-weekdays {
	background: rgba(162, 191, 51, 0.2) !important;
	color: #124463 !important;
	font-weight: 600 !important;
}

/* Days grid */
.flatpickr-custom-theme .flatpickr-day {
	color: #000 !important;
	font-weight: 500;
	border-radius: 8px;
	transition: all 0.2s ease;
}
.flatpickr-custom-theme .flatpickr-day:hover {
	background: #eaffea !important;
	border-color: #c8e066 !important;
}

/* Selected date */
.flatpickr-custom-theme .flatpickr-day.selected,
.flatpickr-custom-theme .flatpickr-day.startRange,
.flatpickr-custom-theme .flatpickr-day.endRange {
	background: linear-gradient(180deg, #a2bf33 0%, #c8e066 100%) !important;
	color: #fff !important;
	border: none !important;
}

/* Today’s date highlight */
.flatpickr-custom-theme .flatpickr-day.today {
	border: 1px solid #a2bf33 !important;
	color: #c8e066 !important;
}

/* Disabled dates */
.flatpickr-custom-theme .flatpickr-day.disabled {
	color: #bbb !important;
	cursor: not-allowed;
}

/* ===================== Crossed-out Disabled Dates ===================== */
.flatpickr-custom-theme .flatpickr-day.flatpickr-disabled.crossed-day {
	position: relative;
	color: #bbb !important;
	background: #f8f8f8 !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
}

.flatpickr-custom-theme .flatpickr-day.selected,
.flatpickr-custom-theme .flatpickr-day.flatpickr-selected {
	background: linear-gradient(180deg, #a2bf33 0%, #c8e066 100%) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 0 6px rgba(26, 167, 255, 0.3);
}

/* ===================== Flatpickr Custom Theme end ===================== */
