/* PRODUCT CARDS VOOR DOWNLOAD */
.product-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 15px;
}
.product-card {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	flex: 1;
	min-width: 280px;
	transition: all .2s ease-in-out;
	cursor: pointer;
	display: flex;
	flex-direction: column;
}
.product-card.selected {
	border-color: #008C9E;
	box-shadow: 0 0 12px rgba(0, 140, 158, 0.4);
}
.product-card h3 {
	margin-top: 0;
	color: #008C9E;
}
.product-card .price {
	font-size: 2em;
	font-weight: bold;
	margin: 10px 0;
}
.product-card ul {
	text-align: left;
	padding-left: 20px;
	flex-grow: 1;
}
.product-card select {
	margin: 10px 0;
	width: 100%;
}
input[name="product_choice"] {
	display: none;
}
/* ============================================
   HERBRUIKBARE UI COMPONENTEN
   Design System voor de hele site
   ============================================ */

/* ANIMATIONS & KEYFRAMES */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* GENERAL CONTAINERS & CARDS */
.card-container,
.stats-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 28px;
	background: linear-gradient(135deg, #f8fafb 0%, #f0f4f7 100%);
	border-radius: 12px;
	border: 1px solid #e8eef5;
	box-shadow: 0 2px 8px rgba(0, 140, 186, 0.05);
	margin-bottom: 28px;
}

.card-container h2,
.stats-container h2 {
	margin: 0 0 8px 0;
	font-size: 28px;
	color: #000000;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.card-container p,
.stats-container p {
	margin: 0;
	color: #5a6c7d;
	font-size: 14px;
	font-weight: 500;
}

/* GRADIENT HEADERS */
.gradient-header {
	background: linear-gradient(135deg, #008cba 0%, #0074a8 100%);
	color: white;
	padding: 20px;
	text-align: center;
	border-radius: 12px 12px 0 0;
}

.gradient-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

/* BADGE STYLING */
.badge {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	white-space: normal;
	word-break: break-word;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
	max-width: 100%;
	color: white;
}

.badge:hover {
	transform: scale(1.02);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Badge color variants */
.badge.primary {
	background: linear-gradient(135deg, #008cba 0%, #0074a8 100%);
}

.badge.danger {
	background: linear-gradient(135deg, #FF6B6B 0%, #FF8787 100%);
}

.badge.success {
	background: linear-gradient(135deg, #3ECBC9 0%, #5DDFDC 100%);
}

.badge.warning {
	background: linear-gradient(135deg, #FFB84D 0%, #FFC66D 100%);
}

.badge.secondary {
	background: linear-gradient(135deg, #9B59B6 0%, #B878D8 100%);
}

/* BUTTONS */
.btn-primary {
	padding: 8px 14px;
	border: 2px solid #008cba;
	border-radius: 6px;
	background: white;
	color: #008cba;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.btn-primary:hover {
	background: #008cba;
	color: white;
	box-shadow: 0 2px 6px rgba(0, 140, 186, 0.2);
}

.btn-small {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	width: 100%;
	text-align: center;
	transition: all 0.2s ease;
}

.btn-small:hover {
	opacity: 1;
}

.btn-rounded {
	background: linear-gradient(135deg, #008cba 0%, #0074a8 100%);
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	padding: 0;
	box-shadow: 0 2px 4px rgba(0, 140, 186, 0.2);
}

.btn-rounded:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 140, 186, 0.3);
}

.btn-rounded:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 140, 186, 0.2);
}

/* TOGGLE ICON */
.toggle-icon {
	display: inline-block;
	transition: transform 0.3s ease;
	margin-left: 8px;
	font-weight: bold;
}

.btn-small[aria-expanded="true"] .toggle-icon {
	transform: rotate(45deg);
}

/* FILTER GROUPS */
.filter-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	background: linear-gradient(135deg, #f8fafb 0%, #f0f4f7 100%);
	border-radius: 12px;
	border: 1px solid #e8eef5;
	box-shadow: 0 2px 8px rgba(0, 140, 186, 0.05);
	margin-bottom: 24px;
}

.filter-group-title {
	font-size: 14px;
	font-weight: 700;
	color: #008cba;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #e8eef5;
	text-align: center;
}

.filter-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	align-items: flex-start;
}

.filter-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-right: 24px;
	border-right: 2px solid #e8eef5;
	position: relative;
	align-items: center;
	text-align: center;
}

.filter-section:last-child {
	border-right: none;
	padding-right: 0;
}

.filter-section-title {
	font-size: 13px;
	font-weight: 600;
	color: #5a6c7d;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	opacity: 0.8;
}

.filter-options {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.filter-dropdown {
	padding: 10px 14px;
	border: 2px solid #e8eef5;
	border-radius: 6px;
	background: white;
	color: #333;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	min-width: 200px;
}

.filter-dropdown:hover {
	border-color: #008cba;
	box-shadow: 0 2px 4px rgba(0, 140, 186, 0.1);
}

.filter-dropdown:focus {
	outline: none;
	border-color: #008cba;
	box-shadow: 0 0 0 3px rgba(0, 140, 186, 0.15);
	background: #f8fafb;
}

.filter-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	color: #333;
	padding: 8px 14px;
	background: white;
	border: 2px solid #e8eef5;
	border-radius: 6px;
	transition: all 0.2s ease;
	white-space: nowrap;
	position: relative;
}

.filter-group label:hover {
	border-color: #008cba;
	background: #f8fafb;
	box-shadow: 0 2px 4px rgba(0, 140, 186, 0.1);
}

.filter-group input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: #008cba;
	margin: 0;
}

/* Color-coded filter labels */
.filter-group label[for*="schaal-1"] {
	border-color: #FF6B6B;
}

.filter-group label[for*="schaal-2"] {
	border-color: #3ECBC9;
}

.filter-group label[for*="schaal-3"] {
	border-color: #FFB84D;
}

.filter-group label:has(input[type="checkbox"]:checked) {
	background: white;
	border-color: #008cba;
	color: #333;
	font-weight: 500;
	box-shadow: 0 2px 6px rgba(0, 140, 186, 0.15);
}

/* COLLAPSIBLE CONTENT */
.collapsible-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.collapsible-content.open {
	max-height: 500px;
}

.collapsible-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 10px !important;
	padding-top: 12px !important;
}

@media (max-width: 900px) {
	.collapsible-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.collapsible-grid {
		grid-template-columns: 1fr !important;
	}
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
	.card-container,
	.stats-container {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}

	.filter-content {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.filter-section {
		border-right: none;
		border-bottom: 2px solid #e8eef5;
		padding-right: 0;
		padding-bottom: 16px;
	}

	.filter-section:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.btn-primary {
		width: 100%;
	}
}

/* VIEW TOGGLE BUTTONS - Simple button group for switching views */
.view-toggle-container {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 20px 0;
}

.view-toggle-btn {
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	border: 2px solid #008cba;
	background: white;
	color: #008cba;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.view-toggle-btn:first-child {
	border-radius: 6px 0 0 6px;
	border-right: 1px solid #008cba;
}

.view-toggle-btn:last-child {
	border-radius: 0 6px 6px 0;
	border-left: 1px solid #008cba;
}

.view-toggle-btn:hover {
	background: #f0f9fb;
}

.view-toggle-btn.active {
	background: #008cba;
	color: white;
}

.view-toggle-btn i {
	font-size: 16px;
}

/* VIEW TYPE CARDS - For list/calendar/week toggles */
.view-type-card {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	flex: 0 1 auto;
	min-width: 240px;
	transition: all 0.25s ease-in-out;
	cursor: pointer;
	background-color: #fafafa;
	text-align: center;
}

.view-type-card:hover {
	border-color: #008C9E;
	box-shadow: 0 2px 8px rgba(0, 140, 158, 0.15);
	transform: translateY(-2px);
}

.view-type-card.selected {
	border-color: #008C9E;
	background-color: #f0f9fb;
	box-shadow: 0 0 12px rgba(0, 140, 158, 0.25);
}

.view-type-card h4 {
	margin-top: 0;
	margin-bottom: 8px;
	color: #008C9E;
	font-weight: 600;
}

.view-type-card p {
	margin: 0;
	font-size: 0.9em;
	color: #666;
	line-height: 1.4;
}

.view-type-card input[type="radio"] {
	display: none;
}

/* LIST VIEW STYLES */
.lijst-container {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

@media (max-width: 768px) {
	.lijst-container {
		grid-template-columns: 1fr;
	}
}

.list-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 16px;
	border-radius: 8px;
	border-left: 4px solid #e0e0e0;
	background-color: #fafafa;
	margin-bottom: 0;
	transition: all 0.25s ease-in-out;
	cursor: pointer;
}

.list-item:hover {
	background-color: #f0f9fb;
	border-left-color: #008C9E;
	box-shadow: 0 2px 8px rgba(0, 140, 158, 0.1);
	transform: translateX(4px);
}

.list-item.is-today {
	background-color: #e8f8fa;
	border-left-color: #FF6B6B;
}

.list-item.list-item-week {
	margin-left: 20px;
	border-left-color: #FFB84D;
	background-color: #fff9f0;
	font-size: 0.95em;
}

.list-item-date {
	flex-shrink: 0;
	position: relative;
}

.list-item-image {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	border-radius: 6px;
	overflow: hidden;
	background: #f0f4f7;
}

.list-item-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	max-width: none !important;
}

/* Lijst weergave met datum en titel */
.list-item.has-image .list-item-header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 8px;
}

.list-item.has-image .list-item-date-text {
	font-size: 16px;
	font-weight: 600;
	color: #5a6c7d;
}

.list-item.has-image .list-item-title {
	font-size: 18px;
	font-weight: 600;
	color: #008cba;
	margin: 0;
}

.list-item-onderwerp {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	margin-top: 4px;
}

.list-item-onderwerp a,
.list-item-onderwerp span {
	color: #5a6c7d;
	text-decoration: none;
}

.list-item-onderwerp a:hover {
	color: #008cba;
}

@media (max-width: 768px) {
	.list-item.has-image {
		flex-direction: column;
		gap: 12px;
	}

	.list-item.has-image .list-item-image {
		width: 100%;
		height: 200px;
	}
}

.date-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background-color: white;
	border-radius: 6px;
	border: 2px solid #e0e0e0;
	font-weight: 600;
}

.list-item.is-today .date-display {
	background-color: #FF6B6B;
	color: white;
	border-color: #FF6B6B;
}

.date-display.week-icon {
	background: linear-gradient(135deg, #FFB84D, #FFA500);
	color: white;
	border-color: #FFA500;
}

.date-day {
	font-size: 1.5em;
	line-height: 1;
}

.date-month {
	font-size: 0.75em;
	text-transform: uppercase;
	opacity: 0.8;
}

.week-label {
	font-size: 1.3em;
	font-weight: bold;
}

.today-badge {
	position: absolute;
	top: -8px;
	left: -8px;
	background-color: #FF6B6B;
	color: white;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.list-item-content {
	flex: 1;
	min-width: 0;
}

.list-item-title {
	margin: 0 0 8px 0;
	color: #333;
	font-size: 1.1em;
	font-weight: 600;
	word-wrap: break-word;
}

.list-item-subtitle {
	margin: 0;
	color: #666;
	font-size: 0.95em;
	font-weight: 500;
}

.list-item-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.badge-schaal {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	color: white;
	font-size: 0.8em;
	font-weight: 600;
	text-transform: capitalize;
}

.list-item-description {
	margin: 8px 0 0 0;
	color: #666;
	font-size: 0.95em;
	line-height: 1.4;
}

.list-item-action {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: white;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	transition: all 0.2s ease;
}

.list-item:hover .list-item-action {
	background-color: #008C9E;
	border-color: #008C9E;
	color: white;
}

.list-item-action i {
	font-size: 1.2em;
}

.empty-state {
	text-align: center;
	padding: 40px 20px;
	color: #999;
}

.empty-state p {
	margin: 0;
	font-size: 1.1em;
}

@media (max-width: 768px) {
	.view-type-card {
		min-width: 100%;
	}

	.list-item {
		flex-direction: column;
		gap: 12px;
	}

	.date-display {
		width: 50px;
		height: 50px;
		font-size: 0.9em;
	}

	.list-item-action {
		align-self: flex-start;
	}
}

@media (max-width: 640px) {
	.view-type-card {
		min-width: 100%;
	}

	.list-item {
		padding: 12px;
		margin-bottom: 10px;
	}

	.list-item-title {
		font-size: 1em;
	}

	.list-item-action {
		width: 36px;
		height: 36px;
	}

	.date-display {
		width: 48px;
		height: 48px;
		font-size: 0.85em;
	}

	.list-item.list-item-week {
		margin-left: 10px;
	}
}
