/**
 * Vacature-archief: postcode + straal filter.
 * Styling sluit aan op de bestaande filters: donkere tekst #051012,
 * accent #2C2CFF en dezelfde pill-vorm als het zoekveld ernaast.
 */

.wms-vr {
	box-sizing: border-box;
}

.wms-vr *,
.wms-vr *::before,
.wms-vr *::after {
	box-sizing: border-box;
}

.wms-vr__form {
	margin: 0;
}

.wms-vr__fields {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/*
 * De themastijl maakt formulier-labels grijs (var(--bricks-color-grey-500)),
 * terwijl de andere filtertitels #051012 zijn. Expliciet gelijktrekken.
 */
.wms-vr .wms-vr__label {
	color: #051012;
}

.wms-vr__pc,
.wms-vr__km {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0.5rem 1.15rem;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: #051012;
	background-color: #ffffff;
	border: 1px solid rgba(5, 16, 18, 0.25);
	border-radius: 9999px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wms-vr__km {
	padding-right: 2rem;
}

.wms-vr__pc::placeholder {
	color: rgba(5, 16, 18, 0.5);
}

.wms-vr__pc:focus,
.wms-vr__km:focus {
	outline: none;
	border-color: #2c2cff;
	box-shadow: 0 0 0 3px rgba(44, 44, 255, 0.15);
}

.wms-vr__apply {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0.5rem 1.15rem;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #ffffff;
	text-align: center;
	background-color: #2c2cff;
	border: 1px solid #2c2cff;
	border-radius: 9999px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.wms-vr__apply:hover {
	background-color: #1b1bd6;
	border-color: #1b1bd6;
}

.wms-vr__apply:focus-visible {
	outline: 2px solid #2c2cff;
	outline-offset: 2px;
}

.wms-vr__apply:disabled {
	opacity: 0.65;
	cursor: progress;
}

.wms-vr.is-loading .wms-vr__pc,
.wms-vr.is-loading .wms-vr__km {
	opacity: 0.7;
}

.wms-vr__msg {
	margin: 0.5rem 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: #b00020;
}

.wms-vr__msg:empty,
.wms-vr__msg[hidden] {
	display: none;
}

.wms-vr__active {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.5rem;
	min-height: 25px;
	margin: 0.5rem 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #051012;
}

.wms-vr__active[hidden] {
	display: none;
}

.wms-vr__reset {
	margin: 0;
	padding: 0;
	font: inherit;
	font-weight: 500;
	color: #2c2cff;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

.wms-vr__reset::before {
	content: '·';
	margin-right: 0.4rem;
	color: rgba(5, 16, 18, 0.4);
	text-decoration: none;
}

.wms-vr__reset:hover {
	color: #1b1bd6;
}

/* In de mobiele accordion staat het blok boven de andere filters. */
@media (max-width: 991px) {
	.wms-vr {
		padding-bottom: 1rem;
	}
}
