.xtool-calendar-placeholder {
	padding: 16px;
	border: 1px dashed #c7c7c7;
	color: #6b6b6b;
	font-size: 13px;
	text-align: center;
}

.xtool-calendar {
	max-width: 100%;
	border: 1px solid #D9CFC0;
	border-radius: 12px;
	padding: 24px;
	background-color: #FBF3E7;
	box-sizing: border-box;
}

.xtool-calendar * {
	box-sizing: border-box;
}

.xtool-calendar__header {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: #1B3A2B;
	padding-bottom: 16px;
	margin: 0;
}

.xtool-calendar__weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	border-bottom: 2px solid #1B3A2B;
	padding-bottom: 12px;
	margin-bottom: 16px;
}

.xtool-calendar__weekday {
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.05em;
	color: #9C8D84;
}

.xtool-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	row-gap: 16px;
}

.xtool-calendar__cell {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	font-size: 16px;
	line-height: 1;
	color: #2B2420;
}

.xtool-calendar__cell--highlight {
	font-weight: 700;
}

.xtool-calendar__day-number {
	position: relative;
	z-index: 1;
}

.xtool-calendar__highlight-shape {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 78%;
	height: 78%;
	color: #1B3A2B;
	z-index: 0;
}

.xtool-calendar__cell--circle .xtool-calendar__highlight-shape,
.xtool-calendar__cell--square .xtool-calendar__highlight-shape {
	background-color: currentColor;
}

.xtool-calendar__cell--circle .xtool-calendar__highlight-shape {
	border-radius: 50%;
}

.xtool-calendar__cell--square .xtool-calendar__highlight-shape {
	border-radius: 20%;
}

@media (max-width: 480px) {
	.xtool-calendar {
		padding: 16px;
	}
	.xtool-calendar__header {
		font-size: 18px;
	}
	.xtool-calendar__cell {
		font-size: 13px;
	}
}
