/**
 * EventEngine Frontend Styles
 */

.eventengine-test {
	padding: 1rem;
	background-color: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin: 1rem 0;
}

.eventengine-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
}

/* Event List Styles */
.ee-event-list {
	margin: 2rem 0;
}

.ee-event-list-header {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 1.5rem;
}

.ee-button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

.ee-button-primary {
	background-color: #2271b1;
	color: #fff;
}

.ee-button-primary:hover {
	background-color: #135e96;
	color: #fff;
}

.ee-empty-state {
	text-align: center;
	padding: 3rem 1rem;
	background-color: #f9f9f9;
	border: 2px dashed #ddd;
	border-radius: 8px;
}

.ee-empty-state p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	color: #666;
}

/* Event Table Styles */
.ee-event-table {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	overflow: hidden;
}

.ee-event-table thead {
	background-color: #f5f5f5;
}

.ee-event-table th {
	padding: 1rem;
	text-align: left;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #ddd;
}

.ee-event-table td {
	padding: 1rem;
	border-bottom: 1px solid #eee;
}

.ee-event-table tbody tr:hover {
	background-color: #f9f9f9;
}

.ee-event-table tbody tr:last-child td {
	border-bottom: none;
}

.ee-event-table a {
	color: #2271b1;
	text-decoration: none;
}

.ee-event-table a:hover {
	text-decoration: underline;
}

/* Status Badges */
.ee-status-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	font-size: 0.875rem;
	font-weight: 500;
}

.ee-status-actief {
	background-color: #d4edda;
	color: #155724;
}

.ee-status-vol {
	background-color: #fff3cd;
	color: #856404;
}

.ee-status-afgelopen {
	background-color: #f8d7da;
	color: #721c24;
}

.ee-status-concept {
	background-color: #e2e3e5;
	color: #383d41;
}

/* Action Links */
.ee-action-link {
	color: #2271b1;
	text-decoration: none;
	font-size: 0.9rem;
}

.ee-action-link:hover {
	text-decoration: underline;
}

.ee-action-separator {
	margin: 0 0.5rem;
	color: #ccc;
}

/* Messages */
.ee-message {
	padding: 1rem;
	border-radius: 4px;
	margin: 1rem 0;
}

.ee-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Responsive: Mobile (≤768px) */
@media (max-width: 768px) {
	.ee-event-table {
		display: none;
	}

	.ee-event-list-header {
		justify-content: center;
		margin-bottom: 1rem;
	}

	.ee-event-list-header .ee-button {
		width: 100%;
		text-align: center;
	}

	/* Mobile Card View */
	.ee-event-list::after {
		content: '';
		display: table;
		clear: both;
	}

	.ee-event-table thead {
		display: none;
	}

	.ee-event-table,
	.ee-event-table tbody,
	.ee-event-table tr,
	.ee-event-table td {
		display: block;
		width: 100%;
	}

	.ee-event-table tr {
		margin-bottom: 1.5rem;
		background-color: #fff;
		border: 1px solid #ddd;
		border-radius: 8px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		padding: 1rem;
	}

	.ee-event-table td {
		border: none;
		padding: 0.5rem 0;
		text-align: left;
	}

	.ee-event-table td:before {
		content: attr(data-label);
		font-weight: 600;
		display: block;
		margin-bottom: 0.25rem;
		color: #666;
		font-size: 0.875rem;
	}

	.ee-event-table td:first-child {
		font-weight: 600;
		font-size: 1.1rem;
		margin-bottom: 0.5rem;
		padding-bottom: 0.5rem;
		border-bottom: 1px solid #eee;
	}

	.ee-event-table td:first-child:before {
		display: none;
	}
}
