.dm-hometogo-calendar {
	max-width: 620px;
	font-size: 14px;
	color: #333;
}

.dm-hometogo-calendar__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.dm-hometogo-calendar__logo {
	height: 24px;
	width: auto;
}

.dm-hometogo-calendar__select {
	flex: 1 1 auto;
}

.dm-hometogo-calendar__month-select {
	width: 100%;
	max-width: 220px;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}

.dm-hometogo-calendar__legend {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: #555;
	width: 100%;
}

.dm-hometogo-calendar__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.dm-hometogo-calendar__legend-box {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 2px;
}

.dm-hometogo-calendar__legend-item.is-free .dm-hometogo-calendar__legend-box {
	background-color: #4caf50;
}

.dm-hometogo-calendar__legend-item.is-occupied .dm-hometogo-calendar__legend-box {
	background-color: #d64545;
}

.dm-hometogo-calendar__notice {
	padding: 8px 12px;
	background: #fff3cd;
	border: 1px solid #ffe69c;
	border-radius: 4px;
	font-size: 13px;
	margin-bottom: 12px;
}

.dm-hometogo-calendar__month-title {
	margin: 16px 0 8px;
	font-size: 16px;
	font-weight: 600;
}

.dm-hometogo-calendar__weekdays,
.dm-hometogo-calendar__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
	text-align: center;
}

.dm-hometogo-calendar__weekdays li {
	font-weight: 600;
	font-size: 12px;
	color: #777;
	padding: 4px 0;
}

.dm-hometogo-calendar__weekdays li.is-weekend {
	color: #a33;
}

.dm-hometogo-calendar__day {
	padding: 6px 0;
	border-radius: 4px;
	font-size: 13px;
}

.dm-hometogo-calendar__day.is-filler {
	background: transparent;
}

.dm-hometogo-calendar__day.is-free {
	background-color: #e6f4ea;
	color: #256029;
}

.dm-hometogo-calendar__day.is-occupied {
	background-color: #f6e1e1;
	color: #7a2e2e;
	text-decoration: line-through;
}

.dm-hometogo-calendar__day.is-weekend.is-free {
	background-color: #dcefe1;
}

.dm-hometogo-calendar__day.is-weekend.is-occupied {
	background-color: #efd3d3;
}

.dm-hometogo-calendar__footer {
	margin-top: 12px;
	font-size: 13px;
}

.dm-hometogo-calendar__link {
	font-weight: 600;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.dm-hometogo-calendar__header {
		flex-direction: column;
		align-items: flex-start;
	}
}
