/* Lesrooster — gedeelde lescards, desktop weekgrid en mobiele dagkiezer */

/* Informatieregel naast de legenda */
p.fh-note {
	font-size: 0.88rem;
	color: #6c757d;
}

/* Legenda */
.fh-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #495057;
}

.fh-legend li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fh-legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--fh-cat, #adb5bd);
	flex-shrink: 0;
}

/* Lescard (gebruikt in beide weergaven) */
.fh-lesson {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #fff;
	border: 1px solid #e9ecef;
	border-left: 4px solid var(--fh-cat, #adb5bd);
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	padding: 12px 14px;
	text-align: left;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fh-lesson:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.fh-time {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--fh-cat, #6c757d);
	letter-spacing: 0.02em;
}

.fh-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: #212529;
	line-height: 1.25;
}

.fh-level {
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fh-cat, #6c757d);
	background: color-mix(in srgb, var(--fh-cat, #6c757d) 12%, white);
	border-radius: 999px;
	padding: 2px 10px;
	margin-top: 2px;
}

/* Vrije training / rustdag */
.fh-lesson-open {
	background: #f8f9fa;
	border-style: dashed;
	border-left: 4px dashed #adb5bd;
	box-shadow: none;
}

.fh-lesson-open .fh-name {
	color: #495057;
}

.fh-note {
	font-size: 0.78rem;
	color: #868e96;
}

/* Dagtitel */
.fh-day-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #212529;
	border-bottom: 3px solid #008ace;
	display: inline-block;
	padding-bottom: 6px;
	margin-bottom: 14px;
}

/* Desktop: 7 kolommen */
.fh-week {
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.fh-week .fh-day {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fh-week .fh-day-title {
	align-self: flex-start;
	margin-bottom: 4px;
}

@media (min-width: 992px) and (max-width: 1399px) {
	.fh-week {
		gap: 10px;
	}

	.fh-week .fh-lesson {
		padding: 10px 10px;
	}

	.fh-week .fh-name {
		font-size: 0.85rem;
	}

	.fh-week .fh-time {
		font-size: 0.76rem;
	}

	.fh-week .fh-day-title {
		font-size: 0.85rem;
		letter-spacing: 0.04em;
	}
}

/* Mobiel: dagkiezer */
.fh-day-pills {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
}

.fh-day-pill {
	flex: 1 0 auto;
	min-width: 44px;
	border: 1px solid #dee2e6;
	background: #fff;
	color: #495057;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: 999px;
	padding: 8px 14px;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.fh-day-pill:hover {
	border-color: #008ace;
	color: #008ace;
}

.fh-day-pill.active {
	background: #008ace;
	border-color: #008ace;
	color: #fff;
}

.fh-day-pane {
	display: none;
}

.fh-day-pane.active {
	display: block;
}

.fh-day-pane .fh-lesson {
	margin-bottom: 10px;
}

.fh-open-hours {
	font-size: 0.82rem;
	font-weight: 500;
	color: #868e96;
	white-space: nowrap;
}
