/* ─────────────────────────────────────────────────────────────────────────
   Vermietung — Bootstrap-vrije lay-out/utility-laag (self-authored)
   Vervangt de Bootstrap 5.1 CDN. Gebruikt eigen tokens (style.css) +
   shared base.css tokens. Geen externe CSS-dependency meer.
   ───────────────────────────────────────────────────────────────────────── */

/* Bootstrap .container conflicteert met base.css's smalle .container (760px) */
html .container {
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

/* ── Grid ───────────────────────────────────────────────────────────────── */
.row {
	display: flex;
	flex-wrap: wrap;
	margin-top: calc(-1 * var(--bs-gutter-y, 0));
	margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
	margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.row > * {
	box-sizing: border-box;
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
	padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
	margin-top: var(--bs-gutter-y, 0);
}

.g-3,
.gx-3 {
	--bs-gutter-x: 1rem;
	--bs-gutter-y: 1rem;
}

.g-4 {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 1.5rem;
}

.col-6 {
	flex: 0 0 auto;
	width: 50%;
}

.col-12 {
	flex: 0 0 auto;
	width: 100%;
}

.col-md-2 {
	flex: 0 0 auto;
	width: 16.66666667%;
}
.col-md-3 {
	flex: 0 0 auto;
	width: 25%;
}
.col-md-4 {
	flex: 0 0 auto;
	width: 33.33333333%;
}
.col-md-6 {
	flex: 0 0 auto;
	width: 50%;
}
.col-md-7 {
	flex: 0 0 auto;
	width: 58.33333333%;
}
.col-md-8 {
	flex: 0 0 auto;
	width: 66.66666667%;
}

.col-lg-4 {
	flex: 0 0 auto;
	width: 33.33333333%;
}
.col-lg-6 {
	flex: 0 0 auto;
	width: 50%;
}
.col-lg-8 {
	flex: 0 0 auto;
	width: 66.66666667%;
}
.col-lg-10 {
	flex: 0 0 auto;
	width: 83.33333333%;
}

@media (max-width: 767.98px) {
	.col-md-2,
	.col-md-3,
	.col-md-4,
	.col-md-6,
	.col-md-7,
	.col-md-8 {
		width: 100%;
	}
}

@media (max-width: 991.98px) {
	.col-lg-4,
	.col-lg-6,
	.col-lg-8,
	.col-lg-10 {
		width: 100%;
	}
}

/* ── Flex & display ─────────────────────────────────────────────────────── */
.d-flex {
	display: flex !important;
}
.d-block {
	display: block !important;
}
.d-none {
	display: none !important;
}

.align-items-center {
	align-items: center !important;
}
.align-items-start {
	align-items: flex-start !important;
}
.align-items-end {
	align-items: flex-end !important;
}
.align-middle {
	vertical-align: middle !important;
}

.justify-content-center {
	justify-content: center !important;
}
.justify-content-between {
	justify-content: space-between !important;
}
.justify-content-end {
	justify-content: flex-end !important;
}

.flex-wrap {
	flex-wrap: wrap !important;
}
.flex-grow-1 {
	flex-grow: 1 !important;
}
.flex-shrink-0 {
	flex-shrink: 0 !important;
}

.gap-1 {
	gap: 0.25rem !important;
}
.gap-2 {
	gap: 0.5rem !important;
}
.gap-3 {
	gap: 1rem !important;
}

.ms-auto {
	margin-left: auto !important;
}
.mx-auto {
	margin-right: auto !important;
	margin-left: auto !important;
}

.w-100 {
	width: 100% !important;
}
.h-100 {
	height: 100% !important;
}

/* ── Spacing utilities (m−/p− + side + size) ────────────────────────────── */
.m-0 { margin: 0 !important; } .m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; } .m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; } .m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; } .mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; } .mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }

.ms-1 { margin-left: 0.25rem !important; } .ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; } .ms-4 { margin-left: 1.5rem !important; }

.me-1 { margin-right: 0.25rem !important; } .me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; } .me-4 { margin-right: 1.5rem !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.p-0 { padding: 0 !important; } .p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; } .p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

.pt-0 { padding-top: 0 !important; } .pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-0 { padding-bottom: 0 !important; } .pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; } .pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }

.ps-0 { padding-left: 0 !important; } .ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; } .ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; } .ps-5 { padding-left: 3rem !important; }

.pe-0 { padding-right: 0 !important; } .pe-1 { padding-right: 0.25rem !important; }
.pe-2 { padding-right: 0.5rem !important; } .pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 768px) {
	.mb-md-0 { margin-bottom: 0 !important; }
	.text-md-start { text-align: left !important; }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	vertical-align: middle;
	user-select: none;
	text-align: center;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	padding: 0.6rem 1.2rem;
	border-radius: 0.625rem;
	border: 1px solid transparent;
	color: #fff;
	background: #6c757d;
	cursor: pointer;
	transition: all 0.25s ease;
	font-family: inherit;
	white-space: nowrap;
}

.btn:hover {
	filter: brightness(0.95);
}

.btn:disabled,
.btn.disabled {
	opacity: 0.65;
	pointer-events: none;
}

.btn-sm {
	padding: 0.4rem 0.8rem;
	font-size: 0.875rem;
	border-radius: 0.5rem;
}

.btn-xs {
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	border-radius: 0.4rem;
}

.btn-primary { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); }
.btn-secondary { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.btn-success { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.btn-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #fff; }
.btn-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.btn-info { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }

.btn-outline-secondary {
	color: #6c757d;
	border-color: #6c757d;
	background: transparent;
}
.btn-outline-secondary:hover { background: #6c757d; color: #fff; }
.btn-outline-primary {
	color: #0891b2;
	border-color: #0891b2;
	background: transparent;
}
.btn-outline-primary:hover { background: #0891b2; color: #fff; }
.btn-outline-success {
	color: #10b981;
	border-color: #10b981;
	background: transparent;
}
.btn-outline-success:hover { background: #10b981; color: #fff; }
.btn-outline-danger {
	color: #ef4444;
	border-color: #ef4444;
	background: transparent;
}
.btn-outline-danger:hover { background: #ef4444; color: #fff; }
.btn-outline-light {
	color: #f8f9fa;
	border-color: #f8f9fa;
	background: transparent;
}
.btn-outline-light:hover { background: #f8f9fa; color: #212529; }

.btn-close {
	width: 1em;
	height: 1em;
	padding: 0.25em;
	background: transparent
		url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212b36'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
		center/1em auto no-repeat;
	border: 0;
	border-radius: 0.375rem;
	opacity: 0.5;
	cursor: pointer;
}
.btn-close:hover { opacity: 0.75; }
.btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }

.btn + .btn { margin-left: 0.25rem; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background: #fff;
	height: 100%;
}
.card-header { padding: 1.25rem 1.5rem; }
.card-body {
	flex: 1 1 auto;
	min-height: 1px;
	padding: 1.25rem;
}
.card-footer { padding: 0.75rem 1.25rem; }
.card-title { margin-bottom: 0.5rem; }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table {
	--bs-table-striped-bg: rgba(0, 0, 0, 0.05);
	width: 100%;
	margin-bottom: 1rem;
	color: inherit;
	border-collapse: collapse;
}
.table th,
.table td {
	padding: 0.5rem;
	vertical-align: top;
	border-top: 1px solid #dee2e6;
}
.table thead th {
	vertical-align: bottom;
	border-bottom: 2px solid #dee2e6;
}
.table-hover tbody tr:hover { background-color: rgba(0, 0, 0, 0.075); }
.table-borderless th,
.table-borderless td,
.table-borderless thead th { border: 0; }
.table .table-dark th {
	background: linear-gradient(135deg, #495057 0%, #343a40 100%);
	color: #fff;
	border: none;
}
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-control,
.form-select {
	display: block;
	width: 100%;
	padding: 0.6rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 0.125rem solid #e9ecef;
	border-radius: 0.625rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	font-family: inherit;
	box-sizing: border-box;
}
.form-control:focus,
.form-select:focus {
	border-color: #0891b2;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(8, 145, 178, 0.15);
}
.form-control-sm { padding: 0.4rem 0.75rem; font-size: 0.875rem; border-radius: 0.5rem; }
.form-select-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.form-label { display: block; margin-bottom: 0.25rem; font-weight: 500; color: inherit; }
.form-text { display: block; margin-top: 0.25rem; font-size: 0.875em; color: #6c757d; }
.form-check-input {
	width: 1em;
	height: 1em;
	margin-top: 0.25em;
	vertical-align: top;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 0.25em;
	appearance: none;
}
.form-check-input:checked {
	background-color: #0891b2;
	border-color: #0891b2;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.input-group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}
.input-group > .form-control,
.input-group > .form-select {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
}
.input-group > .btn {
	position: relative;
	z-index: 2;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	margin-left: 0 !important;
}
.input-group-sm > .form-control { border-radius: 0; }
.input-group-sm > .btn { padding: 0.375rem 0.75rem; font-size: 0.875rem; }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4em 0.8em;
	font-size: 0.75em;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.5rem;
	color: #fff;
	background: #6c757d;
}
.badge.bg-white { color: #212529; }
.badge.bg-primary { background: #0891b2; }
.badge.bg-success { background: #198754; }
.badge.bg-danger { background: #dc3545; }
.badge.bg-warning { background: #ffc107; color: #212529; }
.badge.bg-info { background: #0dcaf0; color: #212529; }
.badge.bg-secondary { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.badge.bg-light { color: #212529; }

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.alert {
	position: relative;
	padding: 1rem 1rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.75rem;
}
.alert-heading { color: inherit; }
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-warning { color: #664d03; background-color: #fff3cd; border-color: #ffecb5; }
.alert-info { color: #055160; background-color: #cff4fc; border-color: #b6effb; }

/* ── Color + BG utilities ───────────────────────────────────────────────── */
.text-primary { color: #0891b2 !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #198754 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #0dcaf0 !important; }
.text-dark { color: #212529 !important; }
.text-white { color: #fff !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-muted { color: #6c757d !important; }
.text-purple { color: #6f42c1 !important; }

.bg-white { background-color: #fff !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-primary { background-color: #0d6efd !important; }
.bg-secondary { background-color: #6c757d !important; }
.bg-success { background-color: #198754 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-warning { background-color: #ffc107 !important; }
.bg-info { background-color: #0dcaf0 !important; }
.bg-opacity-10 { --bs-bg-opacity: 0.1; }
.bg-primary.bg-opacity-10 { background-color: rgba(13, 110, 253, 0.1) !important; }

/* ── Borders & radii ────────────────────────────────────────────────────── */
.border { border: 1px solid #dee2e6 !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }
.border-start { border-left: 1px solid #dee2e6 !important; }
.border-primary { border-color: #0d6efd !important; }

.rounded { border-radius: 0.375rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }

.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }

/* ── Position / misc ────────────────────────────────────────────────────── */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.end-0 { right: 0 !important; }
.opacity-50 { opacity: 0.5 !important; }

.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-start { text-align: left !important; }
.text-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-bold,
.font-weight-bold { font-weight: 700 !important; }
.fw-normal { font-weight: 400 !important; }
.small { font-size: 0.875em !important; }
.lead { font-size: 1.25rem; font-weight: 300; }
.display-4 {
	font-size: calc(1.475rem + 2.7vw);
	font-weight: 300;
	line-height: 1.2;
}
.h4 { font-size: 1.5rem; }

.list-unstyled { padding-left: 0; list-style: none; }

/* ── List group ─────────────────────────────────────────────────────────── */
.list-group {
	display: flex;
	flex-direction: column;
	padding-left: 0;
	margin-bottom: 0;
	border-radius: 0.375rem;
}
.list-group-item {
	position: relative;
	display: block;
	padding: 0.5rem 1rem;
	color: inherit;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.125);
}
.list-group-item + .list-group-item { border-top-width: 0; }
.list-group-flush .list-group-item { border-right-width: 0; border-left-width: 0; border-radius: 0; }
.list-group-flush .list-group-item:last-child { border-bottom-width: 0; }

/* ── Pagination ─────────────────────────────────────────────────────────── */
.pagination {
	display: flex;
	padding-left: 0;
	list-style: none;
	margin-bottom: 1rem;
}
.page-item + .page-item { margin-left: -1px; }
.page-link {
	position: relative;
	display: block;
	padding: 0.5rem 0.75rem;
	color: #0891b2;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #dee2e6;
}
a.page-link:hover,
.page-link[href]:hover { background-color: #e9ecef; }
.page-item.active .page-link {
	z-index: 3;
	color: #fff;
	background-color: #0891b2;
	border-color: #0891b2;
}
.page-item.disabled .page-link { color: #6c757d; pointer-events: none; background-color: #fff; }
.pagination-sm .page-link { padding: 0.25rem 0.5rem; font-size: 0.875rem; }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0;
}
.navbar-expand-lg {
	flex-wrap: nowrap;
	justify-content: flex-start;
}
.navbar-nav {
	display: flex;
	flex-direction: row;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}
.nav-item { margin: 0 0.25rem; }
.nav-link {
	display: block;
	padding: 0.5rem 0.75rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: all 0.3s ease;
	border-radius: 0.5rem;
	margin: 0 0.25rem;
}
.nav-link:hover {
	background-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-0.125rem);
	color: #fff;
}
.nav-tabs {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 1rem;
	list-style: none;
	border-bottom: 1px solid #dee2e6;
}
.nav-tabs .nav-link {
	margin-bottom: -1px;
	color: #495057;
	border: 1px solid transparent;
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}
.nav-tabs .nav-link:hover { background: none; transform: none; color: #0d6efd; }
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
	color: #495057;
	background-color: #fff;
	border-color: #dee2e6 #dee2e6 #fff;
}

/* ── Modal (CSS-only; JS gedraagt zich via .show) ───────────────────────── */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1055;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
	display: none;
}
.modal.show { display: block; }
.modal.fade .modal-dialog { transform: translate(0, -50px); transition: transform 0.3s ease-out; }
.modal.show .modal-dialog { transform: none; }
.modal-dialog {
	position: relative;
	width: auto;
	margin: 0.5rem;
	pointer-events: none;
}
.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - 1rem);
}
.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.5rem;
	outline: 0;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.modal-header {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	border-bottom: 1px solid #dee2e6;
	border-top-left-radius: calc(0.5rem - 1px);
	border-top-right-radius: calc(0.5rem - 1px);
}
.modal-title { margin-bottom: 0; line-height: 1.5; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }
.modal-footer {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	padding: 0.75rem;
	border-top: 1px solid #dee2e6;
	border-bottom-right-radius: calc(0.5rem - 1px);
	border-bottom-left-radius: calc(0.5rem - 1px);
	gap: 0.25rem;
}
@media (min-width: 576px) {
	.modal-dialog { max-width: 500px; margin: 1.75rem auto; }
	.modal-dialog-centered { min-height: calc(100% - 3.5rem); }
}

/* ── Fade ───────────────────────────────────────────────────────────────── */
.fade { transition: opacity 0.15s linear; }
@media (prefers-reduced-motion: reduce) {
	.fade { transition: none; }
	.btn { transition: none; }
	.nav-link { transition: none; }
	.card { animation: none; }
}

/* Feedback-berichten (bootstrap-flash) achtergronden */
div[class^='alert'] h1,
div[class^='alert'] h2,
div[class^='alert'] h3 { color: inherit; }
