/* Webcam Dagvideo Kalender - stijlen */

.wdk-container {
	max-width: 900px;
	margin: 0 auto 2.5em;
	box-sizing: border-box;
}

.wdk-title {
	text-align: center;
	margin: 0 0 10px;
}

.wdk-container * {
	box-sizing: border-box;
}

/* Layout: kalender links (smal), video rechts */
.wdk-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
}

.wdk-col-calendar {
	flex: 0 0 220px;
	width: 220px;
}

.wdk-col-player {
	flex: 1 1 340px;
	min-width: 260px;
}

.wdk-calendar-wrap {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px;
	background: #fafafa;
}

.wdk-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.wdk-month-title {
	font-weight: 600;
	font-size: 0.85em;
	text-transform: capitalize;
}

.wdk-nav {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 22px;
	height: 22px;
	cursor: pointer;
	font-size: 0.9em;
	line-height: 1;
	color: #333;
	padding: 0;
}

.wdk-nav:hover {
	background: #eee;
}

.wdk-weekdays,
.wdk-days {
	display: grid;
	grid-template-columns: repeat( 7, 1fr );
	gap: 2px;
}

.wdk-weekday {
	text-align: center;
	font-size: 0.7em;
	font-weight: 600;
	color: #666;
	padding: 2px 0;
}

.wdk-day {
	aspect-ratio: 1 / 1;
	border: none;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.75em;
	color: #222;
	padding: 0;
}

.wdk-day:hover:not( .wdk-disabled ):not( .wdk-empty ) {
	background: #dbeeff;
}

.wdk-day.wdk-empty {
	background: transparent;
	cursor: default;
}

.wdk-day.wdk-disabled {
	color: #ccc;
	cursor: not-allowed;
	background: transparent;
}

.wdk-day.wdk-has-video {
	background: #dff5e4;
	color: #1e6b30;
}

.wdk-day.wdk-has-video:hover:not( .wdk-disabled ) {
	background: #c9edd2;
}

.wdk-day.wdk-no-video {
	background: #fbe1e1;
	color: #a32626;
}

.wdk-day.wdk-no-video:hover:not( .wdk-disabled ) {
	background: #f7cccc;
}

.wdk-day.wdk-today {
	box-shadow: inset 0 0 0 2px #0073aa;
	font-weight: 600;
}

.wdk-day.wdk-selected {
	background: #0073aa;
	color: #fff;
	font-weight: 600;
}

.wdk-legend {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
	padding: 0 2px;
}

.wdk-legend-item {
	display: flex;
	align-items: center;
	font-size: 0.75em;
	color: #555;
}

.wdk-legend-swatch {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	margin-right: 6px;
	flex: 0 0 auto;
}

.wdk-legend-swatch.wdk-legend-yes {
	background: #dff5e4;
	box-shadow: inset 0 0 0 1px #1e6b30;
}

.wdk-legend-swatch.wdk-legend-no {
	background: #fbe1e1;
	box-shadow: inset 0 0 0 1px #a32626;
}

.wdk-player-wrap {
	/* video-kolom naast de kalender, geen eigen margin nodig */
}

.wdk-selected-date {
	font-weight: 600;
	margin-bottom: 12px;
	text-transform: capitalize;
	text-align: center;
}

.wdk-video {
	width: 100%;
	background: #000;
	border-radius: 6px;
	display: block;
}

.wdk-message {
	padding: 16px;
	background: #fff3cd;
	border: 1px solid #ffe08a;
	border-radius: 6px;
	color: #664d03;
}

/* Onder een bepaalde breedte: kalender boven de video in plaats van ernaast */
@media ( max-width: 640px ) {
	.wdk-col-calendar {
		flex: 1 1 100%;
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}

	.wdk-col-player {
		flex: 1 1 100%;
	}

	.wdk-day {
		font-size: 0.85em;
	}
}
