@charset "utf-8";

/* jQuery UI Datepicker - Clean Solid Theme */
.ui-datepicker {
	width: 280px;
	padding: 0;
	display: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
	z-index: 1000 !important;
}
.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: 15px 0;
	background: #4f46e5; /* Primary Solid Color */
	border: 0;
	border-radius: 8px 8px 0 0;
	color: #fff;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	position: absolute;
	top: 15px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	border-radius: 4px;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
	background: rgba(255, 255, 255, 0.2);
	border: 0;
	top: 15px;
}
.ui-datepicker .ui-datepicker-prev {
	left: 10px;
}
.ui-datepicker .ui-datepicker-next {
	right: 10px;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -8px;
	top: 50%;
	margin-top: -8px;
	text-indent: -9999px;
	overflow: hidden;
	background-repeat: no-repeat;
	filter: brightness(0) invert(1); /* Make icons white */
}

/* Custom Icons using pseudo elements if needed, but standard uses UI icons */
.ui-datepicker .ui-icon {
	width: 16px;
	height: 16px;
}
.ui-datepicker .ui-datepicker-title {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0 40px;
	line-height: 30px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
}
.ui-datepicker .ui-datepicker-title select {
	font-size: 14px;
	margin: 1px 2px;
	padding: 2px;
	border-radius: 4px;
	border: 1px solid #fff;
	background: #fff;
	color: #333;
	height: auto;
	line-height: normal;
}
.ui-datepicker table {
	width: 100%;
	font-size: 13px;
	border-collapse: collapse;
	margin: 10px 0;
}
.ui-datepicker th {
	padding: 8px 0;
	text-align: center;
	font-weight: 500;
	color: #64748b;
	border: 0;
}
.ui-datepicker td {
	border: 0;
	padding: 2px;
}
.ui-datepicker td span,
.ui-datepicker td a {
	display: block;
	padding: 8px 0;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	color: #334155;
	transition: all 0.2s;
}
.ui-datepicker td a.ui-state-default {
	background: transparent;
	border: 0;
}
.ui-datepicker td a.ui-state-hover {
	background: #f1f5f9;
	color: #4f46e5;
}
.ui-datepicker td a.ui-state-active {
	background: #4f46e5 !important;
	color: #fff !important;
	font-weight: 600;
}
.ui-datepicker td a.ui-state-highlight {
	background: #eef2ff;
	color: #4f46e5;
	font-weight: 600;
}
.ui-datepicker .ui-datepicker-buttonpane {
	background-image: none;
	margin: 0;
	padding: 10px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	padding: 6px 12px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 13px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #475569;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
	opacity: 1;
	background: #f8fafc;
}
.ui-datepicker .ui-datepicker-buttonpane button:hover {
	background: #f1f5f9;
}

/* Day of the week colors */
.ui-datepicker-calendar th:first-child,
.ui-datepicker-calendar td:first-child a {
	color: #ef4444; /* Sunday */
}
.ui-datepicker-calendar th:last-child,
.ui-datepicker-calendar td:last-child a {
	color: #3b82f6; /* Saturday */
}
.ui-datepicker-calendar td.ui-datepicker-today a {
	box-shadow: inset 0 0 0 1px #4f46e5;
}
.ui-datepicker-calendar td.ui-state-disabled span {
	color: #cbd5e1;
	cursor: default;
}
