/* 기본 코드 */
.datepicker {
	position: absolute;
	z-index: 9999;
	width: 416px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	user-select: none;
	overflow: hidden;
}

.dp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
	gap: 8px;
}

.dp-nav {
	display: flex;
	gap: 6px;
}

.dp-btn {
	border: 0;
	background: #f6f6f6;
	padding: 6px 8px;
	border-radius: 8px;
	cursor: pointer;
}

.dp-btn:hover {
	background: #eee;
}

.dp-title {
	font-weight: 600;
	font-size: 14px;
}

.dp-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	padding: 8px;
	gap: 4px;
}

.dp-cell {
	text-align: center;
	padding: 6px 0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13px;
}

.dp-cell:hover {
	background: #f3f6ff;
}

.dp-dayname {
	font-weight: 600;
	color: #666;
	cursor: default;
}

.dp-muted {
	color: #bbb;
}

.dp-today {
	outline: 2px solid #4f46e5;
	outline-offset: -2px;
	border-radius: 8px;
}

.dp-selected {
	background: #4f46e5;
	color: #fff;
}

/* 커스텀 */
.datepicker {
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: none;
}

.datepicker * {
	font-family: "Pretendard", "맑은 고딕", "Malgun Gothic", sans-serif;
}

.dp-header {
	padding: 20px 10px 22px;
	height: 67px;
	border-bottom: none;
}

.dp-header .dp-btn {
	width: 24px;
	height: 24px;
	padding: 0;
	background: none;
	border-radius: 0;
}

.dp-header .dp-btn[data-action="prev-year"],
.dp-header .dp-btn[data-action="next-year"] {
	display: none;
}

.dp-header .dp-btn[data-action="prev-month"] {
	background: url(/res/images/icon/arrow-left-111.svg) 50%;
}


.dp-header .dp-btn[data-action="next-month"] {
	background: url(/res/images/icon/arrow-right-111.svg) 50%;
}

.dp-header .dp-title {
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.dp-grid {
	padding-bottom: 26px;
	width: min(100%, 332px);
	margin: 0 auto;
}

.dp-grid .dp-cell {
	padding: 0;
	font-size: 16px;
	border-radius: 50%;
}

.dp-grid .dp-cell:hover {
	background: none;
}

.dp-grid .dp-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
}

.dp-grid .dp-cell:not(.dp-dayname) {
	height: 40px;
	color: #555;
}

.dp-grid .dp-dayname {
	margin-bottom: 10px;
	font-weight: 400;
	line-height: 24px;
}

.dp-grid .dp-selected,
.dp-grid .dp-selected.dp-muted {
	color: #fff !important;
	background: #3CC814;
}

.dp-grid .dp-today {
	outline: none;
	outline-offset: 0;
}

.dp-grid .dp-muted {
	color: #bbb !important;
}

/* 페이지별 커스텀 */
#mypage_nucreator.datepicker {
	width: 416px;
}