/* Availability Overview Widget */

.lmh-overview-widget {
	margin: 16px 0;
}

.lmh-ow-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 8px;
}

.lmh-ow-header button {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 4px 10px;
	cursor: pointer;
	font-size: 13px;
}

.lmh-ow-header button:hover {
	border-color: #2271b1;
	background: #f0f6fc;
}

.lmh-ow-label {
	font-size: 18px;
	font-weight: 600;
	min-width: 100px;
	text-align: center;
}

.lmh-ow-month {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.lmh-ow-month th {
	text-align: center;
	font-size: 11px;
	color: #999;
	padding: 4px 2px;
	font-weight: 500;
}

.lmh-ow-month td {
	padding: 2px;
	text-align: center;
}

.lmh-ow-day {
	display: block;
	aspect-ratio: 3;
	border-radius: 4px;
	font-size: 16px;
	line-height: 28px;
	cursor: default;
	font-weight: 500;
}

.lmh-ow-free {
	background: #d4edda;
	color: #155724;
	border: 1px solid #2271b1;
}

.lmh-ow-partial {
	background: #fff3cd;
	color: #856404;
}

.lmh-ow-full {
	background: #f8d7da;
	color: #721c24;
}

.lmh-ow-past {
	background: #f6f6f6;
	color: #bbb;
	border: 1px solid #2271b1;
}

.lmh-ow-legend {
	display: flex;
	gap: 16px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.lmh-ow-legend-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #777;
}

.lmh-ow-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.lmh-ow-dot-free {
	background: #28a745;
}

.lmh-ow-dot-partial {
	background: #ffc107;
}

.lmh-ow-dot-full {
	background: #dc3545;
}
