.viq-vehicle-search-outer {
	display: block;
	max-width: 560px;
}

.viq-vehicle-search-wrap {
	display: block;
	padding: 10px;
	background: #cfe8fb;
	border-radius: 999px;
}

.viq-vehicle-search {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.viq-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.viq-search-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #ffffff;
	border-radius: 999px;
	padding: 6px 6px 6px 24px;
}

.viq-search-row input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	border: none;
	background: transparent;
	padding: 0.6em 0.4em;
	font-size: 1.05rem;
	letter-spacing: 0.03em;
	color: #1f2937;
}

.viq-search-row input[type="text"]::placeholder {
	color: #9aa5b1;
	text-transform: uppercase;
}

.viq-search-row input[type="text"]:focus {
	outline: none;
}

.viq-search-row button {
	flex: 0 0 auto;
	border: none;
	border-radius: 999px;
	padding: 0.9em 1.8em;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	background: #ffd400;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.viq-search-row button:hover {
	background: #ffc700;
}

.viq-search-row button:disabled {
	opacity: 0.75;
	cursor: not-allowed;
}

.viq-spinner {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.5em;
	vertical-align: -0.15em;
	border: 2px solid rgba(17, 24, 39, 0.25);
	border-top-color: #111827;
	border-radius: 50%;
	animation: viq-spin 0.6s linear infinite;
}

@keyframes viq-spin {
	to {
		transform: rotate(360deg);
	}
}

.viq-search-row input:focus-visible,
.viq-search-row button:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

.viq-hp-wrap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.viq-helper-text {
	font-size: 0.875rem;
	opacity: 0.8;
	margin: 0 0.5rem;
}

.viq-search-error {
	display: none;
	align-items: flex-start;
	gap: 0.55em;
	margin: 0 0.5rem;
	padding: 0.65em 0.9em;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 3px solid #dc2626;
	border-radius: 10px;
	color: #7f1d1d;
	font-size: 0.9rem;
	line-height: 1.4;
	box-shadow: 0 6px 16px rgba(220, 38, 38, 0.08);
}

.viq-search-error.is-visible {
	display: flex;
	animation: viq-alert-in 0.22s ease-out;
}

.viq-search-error.is-visible::before {
	content: "!";
	flex: 0 0 auto;
	width: 1.2em;
	height: 1.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.1em;
	border-radius: 50%;
	background: #dc2626;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
}

@keyframes viq-alert-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.viq-search-error.is-visible,
	.viq-spinner {
		animation: none;
	}
}

.viq-report-error {
	padding: 0.75em 1em;
	border: 1px solid #b91c1c;
	background: #fef2f2;
	color: #7f1d1d;
	border-radius: 4px;
}

.viq-status {
	font-weight: 600;
}

.viq-status-valid,
.viq-status-taxed {
	color: #15803d;
}

.viq-status-not-taxed,
.viq-status-not-valid,
.viq-status-expired,
.viq-status-sorn {
	color: #b91c1c;
}
