.bca-slots {
	--bca-text: #7d4d25;
	--bca-track: #f3ead7;
	--bca-ruim: #b69d78;
	--bca-bijna: #ed8035;
	--bca-laatste: #d0421b;
	--bca-volzet: #a79c8c;
	font-family: 'Raleway', sans-serif;
	color: var(--bca-text);
}

.bca-slots__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 4px 12px;
	margin-bottom: 12px;
}

.bca-slots__title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.bca-slots__total {
	font-size: 13px;
	font-weight: 600;
	opacity: .75;
}

.bca-slots__total.is-volzet {
	color: var(--bca-laatste);
	opacity: 1;
}

.bca-slots__total.is-populair {
	padding: 3px 10px;
	border-radius: 20px;
	background: color-mix(in srgb, var(--bca-bijna) 14%, #fff);
	color: var(--bca-bijna);
	opacity: 1;
}

.bca-slots__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bca-slot {
	--bca-state: var(--bca-ruim);
	margin: 0;
	padding: 12px 14px;
	border: 1px solid rgba(125, 77, 37, .12);
	border-radius: 10px;
	background: #fffdf7;
	transition: border-color .2s, box-shadow .2s;
}

.bca-slot.is-bijna   { --bca-state: var(--bca-bijna); }
.bca-slot.is-laatste { --bca-state: var(--bca-laatste); border-color: color-mix(in srgb, var(--bca-laatste) 35%, transparent); background: color-mix(in srgb, var(--bca-laatste) 5%, #fff); }
.bca-slot.is-volzet  { --bca-state: var(--bca-volzet); background: #f7f4ef; }

.bca-slot__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.bca-slot__time {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.bca-slot.is-volzet .bca-slot__time {
	text-decoration: line-through;
	opacity: .55;
}

.bca-slot__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bca-state);
	text-align: right;
}

.bca-slot.is-ruim .bca-slot__status {
	color: var(--bca-text);
	opacity: .8;
}

.bca-slot__dot {
	position: relative;
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bca-state);
}

.bca-slot.is-laatste .bca-slot__dot::after,
.bca-slot.is-bijna .bca-slot__dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--bca-state);
	animation: bca-pulse 1.6s ease-out infinite;
}

.bca-slot__bar {
	height: 6px;
	margin-top: 10px;
	border-radius: 6px;
	background: var(--bca-track);
	overflow: hidden;
}

.bca-slot__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--bca-state);
	transform-origin: left;
	animation: bca-grow 1s cubic-bezier(.2, .7, .2, 1) both;
}

.bca-slots--empty {
	padding: 12px 14px;
	border: 1px dashed rgba(125, 77, 37, .35);
	border-radius: 10px;
	font-size: 13px;
}

@keyframes bca-pulse {
	from { transform: scale(1); opacity: .7; }
	to   { transform: scale(2.8); opacity: 0; }
}

@keyframes bca-grow {
	from { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.bca-slot__dot::after,
	.bca-slot__bar span { animation: none !important; }
}
