.vin-check-container {
	box-sizing: border-box;
	max-width: 880px;
	margin: 24px 0;
}

.vin-check-container *,
.vin-check-container *::before,
.vin-check-container *::after {
	box-sizing: border-box;
}

.vin-check-frontend-form {
	display: flex;
	gap: 10px;
	align-items: stretch;
	flex-wrap: wrap;
	padding: 18px;
	background: #fff;
	border: 1px solid #d7dce3;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.vin-check-style-plain .vin-check-frontend-form {
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.vin-check-style-compact .vin-check-frontend-form {
	padding: 12px;
	border-radius: 8px;
}

.vin-input-field,
.vin-odometer-field,
.vin-odometer-unit-field {
	min-height: 46px;
	border: 1px solid #c8d0dc;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 16px;
}

.vin-input-field {
	flex: 1 1 280px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.vin-odometer-field {
	flex: 0 1 150px;
}

.vin-odometer-unit-field {
	flex: 0 0 90px;
}

.vin-submit-btn {
	min-height: 46px;
	border: 0;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	background: #0b5cab;
	color: #fff;
}

.vin-submit-btn:disabled {
	cursor: progress;
	opacity: 0.7;
}

.vin-check-results-target {
	margin-top: 16px;
}

.vin-check-message,
.vin-check-report {
	border-radius: 14px;
	padding: 18px;
	border: 1px solid #d7dce3;
	background: #fff;
}

.vin-check-message-error {
	border-color: #e0a8a8;
	background: #fff5f5;
	color: #8a1f1f;
}

.vin-check-message-loading {
	color: #3c434a;
}

.vin-check-report-header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	border-bottom: 1px solid #edf0f4;
	padding-bottom: 14px;
	margin-bottom: 14px;
}

.vin-check-report-header h3 {
	margin: 0 0 4px;
}

.vin-check-vin {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.vin-check-section {
	padding: 14px 0;
	border-bottom: 1px solid #edf0f4;
}

.vin-check-section:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.vin-check-section h4 {
	margin: 0 0 10px;
	font-size: 18px;
}

.vin-check-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: 7px 10px;
	text-transform: uppercase;
}

.vin-check-badge-clean {
	background: #e9f9ee;
	color: #0b6b28;
}

.vin-check-badge-flagged {
	background: #ffe8e8;
	color: #9c1c1c;
}

.vin-check-badge-partial,
.vin-check-badge-unknown {
	background: #fff4d6;
	color: #7a4a00;
}

.vin-check-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.vin-check-table th,
.vin-check-table td {
	border-bottom: 1px solid #edf0f4;
	padding: 9px 8px;
	text-align: left;
	vertical-align: top;
}

.vin-check-table th {
	font-size: 13px;
	color: #526071;
}

.vin-check-market-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
	margin-top: 10px;
}

.vin-check-market-card {
	border: 1px solid #edf0f4;
	border-radius: 10px;
	padding: 12px;
	background: #fbfcfe;
}

.vin-check-market-card strong {
	display: block;
	margin-bottom: 4px;
}

.vin-check-market-price {
	font-size: 20px;
	font-weight: 800;
}

.vin-check-muted {
	color: #667085;
}

@media (max-width: 640px) {
	.vin-check-frontend-form {
		display: block;
	}

	.vin-input-field,
	.vin-odometer-field,
	.vin-odometer-unit-field,
	.vin-submit-btn {
		width: 100%;
		margin: 0 0 10px;
	}

	.vin-check-report-header {
		display: block;
	}
}

.vin-check-badge-info {
	background: #e8f1ff;
	color: #124a91;
}

.vin-check-decode-info-section {
	background: #fbfcff;
	border-radius: 10px;
	padding: 14px;
	margin-bottom: 12px;
}

.vin-check-field-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.vin-check-field-chip {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d7dce3;
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	padding: 6px 9px;
}

.vin-check-raw {
	margin-top: 14px;
}

.vin-check-raw summary {
	cursor: pointer;
	font-weight: 700;
}

.vin-check-raw pre {
	max-height: 360px;
	overflow: auto;
	background: #111827;
	color: #f9fafb;
	border-radius: 10px;
	padding: 14px;
	font-size: 12px;
	line-height: 1.5;
}
