.ui-datepicker {
	width: auto !important;
	min-width: 22rem;
	padding: 0.65rem 0 0 0;
	border-radius: 0.75rem;
	background: #ffffff;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}
.ui-datepicker.ui-datepicker-inline { width: 100% !important; }
.ui-widget-content {
	color: var(--bs-body-color);
	background: var(--bs-body-bg);
}
.ui-widget.ui-widget-content:not(.ui-datepicker-inline) {
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0.75rem;
	z-index: 1351 !important;
}
.ui-datepicker-inline.ui-widget.ui-widget-content {
	border: 0;
}
.ui-widget-header,
.ui-widget-header .ui-state-hover {
	border: 0;
	margin: 0;
	font-size: 1rem;
	background: transparent;
	color: var(--bs-emphasis-color);
}
.ui-datepicker .ui-datepicker-header {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	position: static;
	top: auto;
	left: auto;
	right: auto;
	width: 3rem;
	height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	color: #0f172a;
	cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
	border-color: var(--bs-primary);
	background: var(--bs-primary);
	color: var(--bs-primary-color);
}
.ui-datepicker .ui-datepicker-title {
	flex: 1;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	background-image: none !important;
	text-indent: 0;
	display: inline-block;
	position: static;
	left: auto;
	top: auto;
	margin: 0;
	font-size: 1rem;
	font-family: bootstrap-icons !important;
	font-style: normal;
	font-weight: 400 !important;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.ui-datepicker-prev span:before {
	content: "\f284";
}
.ui-datepicker-next span:before {
	content: "\f285";
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
	border: 1px solid #e9edf3;
	border-radius: 0.75rem;
	background: #ffffff;
	margin-bottom: 0;
	padding: 0;
	color: #111827;
	text-align: center;
	filter: none;
	font-weight: 500;
	line-height: 3rem;
}
.ui-datepicker-week-end {
	color: #cc2d2d;
}

.ui-datepicker-week-end .ui-state-default {
	background-color: #fff4f5;
	border-color: #fff4f5;
	color: #cc2d2d;
}

select.ui-datepicker-month,
select.ui-datepicker-year {
	height: 3rem;
	margin: 0;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background-color: #ffffff;
	color: #111827;
	font-size: 1rem;
	font-weight: 700;
	padding: 0 2.25rem 0 0.9rem;
	appearance: none;
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}
select.ui-datepicker-month {
	flex: 1 1 auto;
	margin-right: 0 !important;
	border-color: var(--bs-primary);
	padding-left: 2.75rem;
	background-position: left 0.85rem center, right 0.85rem center;
	background-size: 1.15rem, 1rem;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='3' width='12' height='11' rx='2' fill='none' stroke='%23f6ac00' stroke-width='1.7'/%3E%3Cpath d='M2 6.5h12' stroke='%23f6ac00' stroke-width='1.7'/%3E%3Cpath d='M5 2v3M11 2v3' stroke='%23f6ac00' stroke-linecap='round' stroke-width='1.7'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}
select.ui-datepicker-year {
	flex: 0 0 8.5rem;
}
.ui-datepicker table {
	margin: 0;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0.65rem 0.65rem;
}
.ui-datepicker th {
	padding: 0.35rem 0 0.7rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #111827;
	text-transform: none;
}
.ui-datepicker th:nth-child(6),
.ui-datepicker th:nth-child(7) {
	color: var(--bs-primary);
}
.ui-datepicker td {
	padding: 0;
}
.ui-datepicker td .ui-state-default {
	display: block;
	width: 3rem;
	height: 3rem;
}
.ui-datepicker td .ui-state-hover,
.ui-datepicker td.dp-highlight .ui-state-hover {
	color: #111827;
	background-color: #fff9eb;
	border-color: #f5d57f;
}
.ui-datepicker td .ui-state-highlight {
	color: #111827;
	background-color: #ffffff;
	border-color: var(--bs-primary);
}
.ui-datepicker td .ui-state-active {
	color: var(--bs-primary-color);
	background-color: var(--bs-primary);
	margin-bottom: 0;
	text-shadow: none;
	border-color: var(--bs-primary);
}
.ui-datepicker td.dp-highlight .ui-state-hover,
.ui-datepicker td.dp-highlight .ui-state-active {
	background-color: var(--bs-primary);
	color: var(--bs-primary-color);
}
.ui-datepicker td.dp-highlight .ui-state-default,
.ui-datepicker td.dp-hover .ui-state-default {
	background-color: #fff9eb;
	border-color: #f5d57f;
	color: #111827;
}
.ui-datepicker td.dp-range-start .ui-state-default,
.ui-datepicker td.dp-range-end .ui-state-default,
.ui-datepicker td.dp-hover-start .ui-state-default,
.ui-datepicker td.dp-hover-end .ui-state-default {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
	color: var(--bs-primary-color);
}
