.barra-disp-widget {
	max-width: 360px;
}

.barra-disp-calendar {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 12px;
	font-size: 14px;
}

.barra-disp-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.barra-disp-cal-header button {
	background: #fff !important;
	color: #333 !important;
	border: 1px solid #ccc !important;
	border-radius: 4px;
	padding: 3px 10px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 600;
}

.barra-disp-cal-header button:hover:not(:disabled) {
	background: #f5f5f5;
	border-color: #999;
}

.barra-disp-cal-header button:disabled {
	opacity: 0.4;
	cursor: default;
}

.barra-disp-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
}

.barra-disp-cal-grid .barra-disp-weekday {
	font-weight: 600;
	color: #777;
	padding: 4px 0;
	font-size: 12px;
}

.barra-disp-cal-grid .barra-disp-day {
	padding: 6px 0;
	border-radius: 4px;
}

.barra-disp-cal-grid .barra-disp-day.barra-disp-blocked {
	background: #eee;
	color: #999;
	text-decoration: line-through;
}

.barra-disp-cal-grid .barra-disp-day.barra-disp-empty {
	visibility: hidden;
}

.barra-disp-legend {
	margin-top: 8px;
	font-size: 12px;
	color: #777;
	display: flex;
	align-items: center;
	gap: 6px;
}

.barra-disp-legend .barra-disp-legend-swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: #eee;
	border-radius: 3px;
}