/* ============================================================
   Smart Product Verify — Public CSS
   ============================================================ */
:root {
	--spv-color: #2563eb;
}

/* Wrap */
.spv-verify-wrap {
	display: flex;
	justify-content: center;
	padding: 40px 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Card */
.spv-verify-card {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0,0,0,.12);
	padding: 36px 32px;
	width: 100%;
	max-width: 480px;
	text-align: center;
}

/* Logo */
.spv-verify-logo { margin-bottom: 20px; }
.spv-verify-logo img { max-height: 56px; max-width: 200px; object-fit: contain; }

/* Title */
.spv-verify-title {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px;
}

/* Hint */
.spv-verify-hint {
	font-size: 14px;
	color: #6b7280;
	margin: 0 0 24px;
}

/* Form */
.spv-verify-form { display: flex; flex-direction: column; gap: 14px; }

.spv-verify-input-wrap input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	font-size: 20px;
	letter-spacing: 3px;
	text-align: center;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	outline: none;
	transition: border-color .2s;
	font-family: 'Courier New', monospace;
}
.spv-verify-input-wrap input:focus {
	border-color: var(--spv-color);
	box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.spv-verify-btn {
	background: var(--spv-color);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .2s, transform .1s;
	width: 100%;
}
.spv-verify-btn:hover  { opacity: .88; }
.spv-verify-btn:active { transform: scale(.98); }
.spv-verify-btn:disabled { opacity: .6; cursor: default; }

/* Result */
.spv-verify-result {
	margin-top: 24px;
	text-align: left;
	border-radius: 12px;
	padding: 20px 22px;
	animation: spvFadeIn .3s ease;
}

@keyframes spvFadeIn {
	from { opacity:0; transform:translateY(6px); }
	to   { opacity:1; transform:translateY(0); }
}

.spv-result-icon { font-size: 32px; margin-bottom: 8px; text-align: center; }
.spv-result-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; text-align: center; }
.spv-result-msg { font-size: 14px; margin: 0 0 16px; text-align: center; }

/* Result types */
.spv-result-genuine  { background: #f0fdf4; border: 2px solid #86efac; }
.spv-result-genuine  .spv-result-title { color: #15803d; }
.spv-result-genuine  .spv-result-msg   { color: #166534; }

.spv-result-repeated { background: #fffbeb; border: 2px solid #fcd34d; }
.spv-result-repeated .spv-result-title { color: #92400e; }
.spv-result-repeated .spv-result-msg   { color: #78350f; }

.spv-result-suspicious { background: #fff1f2; border: 2px solid #fca5a5; }
.spv-result-suspicious .spv-result-title { color: #991b1b; }
.spv-result-suspicious .spv-result-msg   { color: #7f1d1d; }

.spv-result-invalid  { background: #fff1f2; border: 2px solid #fca5a5; }
.spv-result-invalid  .spv-result-title { color: #991b1b; }
.spv-result-invalid  .spv-result-msg   { color: #7f1d1d; }

.spv-result-blocked  { background: #f8fafc; border: 2px solid #94a3b8; }
.spv-result-recalled { background: #fff7ed; border: 2px solid #fdba74; }

/* Details table */
.spv-details { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.spv-details tr { border-bottom: 1px solid rgba(0,0,0,.06); }
.spv-details td { padding: 6px 4px; }
.spv-details td:first-child { font-weight: 600; color: #374151; width: 50%; }
.spv-details td:last-child  { color: #1f2937; }

/* Support */
.spv-support { margin-top: 14px; font-size: 13px; color: #6b7280; text-align: center; }
.spv-support a { color: var(--spv-color); }

/* Rate limited */
.spv-result-rate_limited { background: #fef3c7; border: 2px solid #fcd34d; }

@media (max-width:480px) {
	.spv-verify-card { padding: 24px 16px; }
	.spv-verify-input-wrap input { font-size: 16px; letter-spacing: 2px; }
}
