/* /assets/css/pagination.css */

/* Container voor de paginatie-items in één balkje */
.custom-pagination {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 20px auto;
	font-family: inherit; /* Gebruik de standaard font van je site */
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 14px;
	padding: 0px 12px;
	/* Verwijder overflow: hidden zodat de page picker buiten de container zichtbaar mag zijn */
	overflow: visible;
}

.custom-pagination a svg {
	width: 1em;  /* Pas dit aan indien gewenst */
	height: 1.6em;
	display: inline-block;
	vertical-align: middle;
}

/* Voeg een verticale lijn toe aan elk element, behalve het eerste */
.custom-pagination > *:not(:first-child) {
	border-left: 1px solid #ccc;
}

/* Gemeenschappelijke styling voor alle paginatie-items */
.custom-pagination a,
.custom-pagination .pag-btn,
.custom-pagination .page-picker-container {
	padding: 4px 14px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Stijl voor de tekstlinks (eerste, vorige, volgende, laatste) */
.pag-text {
	font-size: 1.2em;
	font-weight: bold;
	color: #333;
	background: transparent;
}
.pag-text:hover {
	background-color: #f7f7f7;
}

/* Styling voor de actieve paginaknop */
.pag-btn {
	background-color: #fff;
	border: none;
	font-size: 1em;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s;
	color: #333;
}
.pag-btn.current {
	border-radius: 6px;
	background-color: #3162e1;
	color: #fff;
}
.pag-btn.current:hover {
	background-color: #0047ff;
}

/* Specifieke gradient hover voor het eerste vakje: van wit naar #f7f7f7 */
.pag-text.first:hover {
	background: linear-gradient(to right, #ffffff, #f7f7f7);
}

/* Specifieke gradient hover voor het laatste vakje: van #f7f7f7 naar wit */
.pag-text.last:hover {
	background: linear-gradient(to right, #f7f7f7, #ffffff);
}

/* Container voor de huidige knop en de drop‑up page picker */
.page-picker-container {
	position: relative;
	display: inline-block;
}

/* Drop‑up page picker */
.page-picker {
	display: none;   /* Verborgen standaard */
	position: absolute;
	bottom: 100%;    /* Direct boven de knop */
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 5px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	max-height: 200px;
	overflow-y: auto;
	z-index: 1000;
	width: 150px;
}
.page-picker ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.page-picker li {
	font-size: 1.3rem;
	font-weight: bold;
	padding: 10px;
	text-align: center;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}
.page-picker li:hover {
	background-color: #f0f0f0;
}