:root {
	--tscv-primary: #0f3b72;
	--tscv-primary-deep: #0b2748;
	--tscv-primary-soft: #e9f1fb;
	--tscv-border: #d7e2ee;
	--tscv-text: #13253d;
	--tscv-text-soft: #5f728e;
	--tscv-surface: #ffffff;
	--tscv-surface-alt: #f5f8fc;
	--tscv-shadow-lg: 0 24px 60px rgba(10, 39, 73, 0.12);
	--tscv-shadow-md: 0 18px 40px rgba(15, 59, 114, 0.08);
	--tscv-radius-lg: 24px;
	--tscv-radius-md: 18px;
	--tscv-radius-sm: 14px;
}

.tscv-frontend,
.tscv-verify-page {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--tscv-text);
	line-height: 1.55;
}

.tscv-frontend {
	position: relative;
}

.tscv-frontend::before,
.tscv-verify-page::before {
	content: "";
	display: block;
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 320px;
	background: radial-gradient(circle at top left, rgba(15, 59, 114, 0.12), transparent 45%), radial-gradient(circle at top right, rgba(29, 93, 174, 0.16), transparent 32%);
	pointer-events: none;
}

.tscv-panel,
.tscv-verify-shell {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
	border: 1px solid var(--tscv-border);
	border-radius: var(--tscv-radius-lg);
	box-shadow: var(--tscv-shadow-lg);
	overflow: hidden;
	z-index: 1;
}

.tscv-panel {
	padding: 28px;
}

.tscv-verify-shell {
	max-width: 1220px;
	margin: 32px auto;
}

.tscv-panel-header,
.tscv-verify-hero {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.tscv-panel-header {
	padding: 8px;
	margin: -8px -8px 20px;
}

.tscv-header-main,
.tscv-hero-brand,
.tscv-verify-hero-main {
	display: flex;
	align-items: center;
	gap: 18px;
}

.tscv-header-side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	min-width: 360px;
}

.tscv-mini-card {
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(6px);
	border: 1px solid var(--tscv-border);
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(11, 39, 72, 0.06);
}

.tscv-mini-card strong,
.tscv-meta-item strong,
.tscv-kpi-card strong,
.tscv-info-item strong,
.tscv-timeline-item strong,
.tscv-hero-note strong {
	display: block;
	font-size: 15px;
	line-height: 1.45;
}

.tscv-mini-label,
.tscv-meta-item span,
.tscv-kpi-card span,
.tscv-info-item span,
.tscv-timeline-item span,
.tscv-hero-note span,
.tscv-verify-url-box span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6a7e99;
	margin-bottom: 6px;
}

.tscv-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tscv-primary);
	margin-bottom: 10px;
}

.tscv-eyebrow-light {
	color: rgba(255, 255, 255, 0.86);
}

.tscv-panel-header h2,
.tscv-verify-hero h1,
.tscv-status-hero h3,
.tscv-search-intro h3,
.tscv-empty-content h3,
.tscv-section-head h4,
.tscv-qr-copy h4 {
	margin: 0;
	line-height: 1.18;
}

.tscv-panel-header h2,
.tscv-verify-hero h1 {
	font-size: clamp(30px, 4vw, 42px);
}

.tscv-panel-header p,
.tscv-verify-hero p,
.tscv-search-intro p,
.tscv-status-hero p,
.tscv-section-head p,
.tscv-empty-content p,
.tscv-qr-copy p,
.tscv-verify-footer,
.tscv-footer {
	margin: 10px 0 0;
	color: var(--tscv-text-soft);
}

.tscv-verify-hero {
	padding: 38px;
	background:
		linear-gradient(135deg, rgba(9, 34, 64, 0.97) 0%, rgba(15, 59, 114, 0.96) 48%, rgba(29, 93, 174, 0.92) 100%),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%);
	color: #fff;
	align-items: flex-end;
}

.tscv-verify-hero p,
.tscv-verify-footer {
	color: rgba(255, 255, 255, 0.82);
}

.tscv-verify-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

.tscv-hero-note {
	max-width: 320px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	backdrop-filter: blur(10px);
}

.tscv-hero-note span,
.tscv-hero-note strong {
	color: #fff;
}

.tscv-logo {
	width: 76px;
	height: 76px;
	border-radius: 18px;
	object-fit: cover;
	background: #fff;
	padding: 8px;
	box-shadow: 0 12px 26px rgba(10, 39, 73, 0.14);
}

.tscv-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	color: var(--tscv-primary);
}

.tscv-search-shell {
	padding: 26px;
	background: linear-gradient(180deg, rgba(15, 59, 114, 0.03) 0%, rgba(255, 255, 255, 0.84) 100%);
	border: 1px solid rgba(15, 59, 114, 0.08);
	border-radius: 22px;
	margin-bottom: 22px;
}

.tscv-search-intro {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.tscv-trust-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.tscv-trust-pills span {
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(15, 59, 114, 0.12);
	color: var(--tscv-primary);
	font-size: 13px;
	font-weight: 700;
}

.tscv-verify-form {
	padding: 0;
}

.tscv-form-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) 170px;
	gap: 14px;
	align-items: end;
}

.tscv-field label {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: #27446d;
	margin-bottom: 9px;
}

.tscv-field input {
	width: 100%;
	padding: 15px 16px;
	border: 1px solid #cdd9ea;
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
	font-size: 15px;
	transition: 0.2s ease;
}

.tscv-field input:focus {
	outline: none;
	border-color: var(--tscv-primary);
	box-shadow: 0 0 0 4px rgba(15, 59, 114, 0.12);
}

.tscv-submit-wrap {
	display: flex;
	flex-direction: column;
	justify-content: end;
}

.tscv-button,
.tscv-outline-button,
.tscv-ghost-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 18px;
	border-radius: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: 0.2s ease;
}

.tscv-button {
	background: linear-gradient(135deg, var(--tscv-primary) 0%, #1d5dae 100%);
	color: #fff;
	border: none;
	box-shadow: 0 12px 28px rgba(15, 59, 114, 0.18);
}

.tscv-button:hover,
.tscv-outline-button:hover,
.tscv-ghost-button:hover {
	transform: translateY(-1px);
}

.tscv-button:hover {
	filter: brightness(1.04);
}

.tscv-outline-button {
	background: #fff;
	border: 1px solid #cdd9ea;
	color: var(--tscv-primary);
}

.tscv-outline-button:hover {
	border-color: var(--tscv-primary);
	box-shadow: 0 10px 22px rgba(15, 59, 114, 0.08);
}

.tscv-ghost-button {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
}

.tscv-or {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	color: #6b809c;
	padding-bottom: 15px;
}

.tscv-meta,
.tscv-results {
	padding-top: 8px;
}

.tscv-meta-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tscv-meta-item {
	padding: 16px 18px;
	background: var(--tscv-surface-alt);
	border: 1px solid var(--tscv-border);
	border-radius: 18px;
}

.tscv-footer,
.tscv-verify-footer {
	padding-top: 20px;
	font-size: 14px;
}

.tscv-verify-content {
	padding: 32px;
}

.tscv-result-list {
	display: grid;
	gap: 22px;
}

.tscv-result-card {
	background: var(--tscv-surface);
	border: 1px solid var(--tscv-border);
	border-radius: 24px;
	padding: 26px;
	box-shadow: var(--tscv-shadow-md);
}

.tscv-status-hero {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	padding: 24px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(15, 59, 114, 0.06) 0%, rgba(29, 93, 174, 0.08) 100%);
	border: 1px solid rgba(15, 59, 114, 0.08);
	margin-bottom: 18px;
}

.tscv-result-card-valid .tscv-status-hero {
	background: linear-gradient(135deg, rgba(18, 113, 60, 0.08) 0%, rgba(55, 167, 97, 0.12) 100%);
	border-color: rgba(18, 113, 60, 0.12);
}

.tscv-result-card-expired .tscv-status-hero {
	background: linear-gradient(135deg, rgba(168, 92, 5, 0.08) 0%, rgba(251, 191, 36, 0.14) 100%);
	border-color: rgba(168, 92, 5, 0.12);
}

.tscv-result-card-revoked .tscv-status-hero {
	background: linear-gradient(135deg, rgba(180, 35, 24, 0.08) 0%, rgba(239, 68, 68, 0.14) 100%);
	border-color: rgba(180, 35, 24, 0.12);
}

.tscv-status-hero-main {
	display: flex;
	align-items: center;
	gap: 18px;
}

.tscv-status-orb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 18px;
	font-size: 30px;
	font-weight: 900;
	background: rgba(15, 59, 114, 0.12);
	color: var(--tscv-primary);
	box-shadow: inset 0 0 0 1px rgba(15, 59, 114, 0.08);
}

.tscv-status-orb-valid {
	background: rgba(18, 113, 60, 0.14);
	color: #12713c;
}

.tscv-status-orb-expired {
	background: rgba(168, 92, 5, 0.14);
	color: #a85c05;
}

.tscv-status-orb-revoked {
	background: rgba(180, 35, 24, 0.14);
	color: #b42318;
}

.tscv-status-hero-side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-end;
}

.tscv-certificate-code {
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(15, 59, 114, 0.12);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--tscv-primary-deep);
}

.tscv-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.tscv-kpi-card,
.tscv-section-card,
.tscv-empty-state {
	background: #fff;
	border: 1px solid var(--tscv-border);
	border-radius: 20px;
}

.tscv-kpi-card {
	padding: 18px;
	box-shadow: 0 8px 24px rgba(15, 59, 114, 0.05);
}

.tscv-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
	gap: 18px;
}

.tscv-section-card {
	padding: 22px;
	box-shadow: 0 8px 24px rgba(15, 59, 114, 0.04);
}

.tscv-section-head {
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid #e9eff7;
}

.tscv-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tscv-info-item {
	padding: 16px;
	background: #f8fbff;
	border: 1px solid #e5edf6;
	border-radius: 16px;
}

.tscv-info-item-wide {
	grid-column: 1 / -1;
}

.tscv-side-panel {
	background: linear-gradient(180deg, rgba(248, 251, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.tscv-timeline {
	display: grid;
	gap: 14px;
}

.tscv-timeline-item {
	padding: 16px;
	background: #fff;
	border: 1px solid #e6edf7;
	border-radius: 16px;
}

.tscv-verify-url-box {
	margin-top: 18px;
	padding: 16px;
	background: #0f2035;
	border-radius: 18px;
	color: #fff;
}

.tscv-verify-url-box span {
	color: rgba(255, 255, 255, 0.68);
}

.tscv-verify-url-box a {
	color: #fff;
	word-break: break-all;
	text-decoration: none;
	font-weight: 700;
}

.tscv-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.tscv-qr-block {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 22px;
	padding: 22px;
	background: linear-gradient(135deg, rgba(15, 59, 114, 0.04) 0%, rgba(29, 93, 174, 0.08) 100%);
	border: 1px dashed rgba(15, 59, 114, 0.2);
	border-radius: 22px;
	align-items: center;
}

.tscv-qr-copy {
	max-width: 640px;
}

.tscv-qr-media {
	padding: 10px;
	background: #fff;
	border-radius: 18px;
	border: 1px solid var(--tscv-border);
	box-shadow: 0 12px 24px rgba(15, 59, 114, 0.08);
}

.tscv-qr-media img {
	display: block;
	width: 170px;
	height: 170px;
	border-radius: 10px;
}

.tscv-empty-state {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 28px;
	background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
	box-shadow: 0 10px 30px rgba(15, 59, 114, 0.06);
}

.tscv-empty-icon {
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	background: #fff0f0;
	color: #b42318;
	font-size: 34px;
	font-weight: 900;
}

.tscv-alert {
	padding: 18px;
	border-radius: 16px;
	border: 1px solid transparent;
}

.tscv-alert-warning {
	background: #fff8e7;
	border-color: #ffd98f;
	color: #905804;
}

.tscv-alert-error {
	background: #fff0f0;
	border-color: #f2b8b5;
	color: #b42318;
}

.tscv-status {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
}

.tscv-status-valid {
	background: #e9f8ef;
	color: #12713c;
}

.tscv-status-expired {
	background: #fff4e5;
	color: #a85c05;
}

.tscv-status-revoked,
.tscv-status-invalid {
	background: #fdecec;
	color: #b42318;
}

.tscv-status-icon {
	font-size: 16px;
	line-height: 1;
}

.tscv-compact .tscv-header-side,
.tscv-compact .tscv-meta,
.tscv-compact .tscv-footer {
	display: none;
}

@media (max-width: 1100px) {
	.tscv-panel-header,
	.tscv-verify-hero,
	.tscv-search-intro,
	.tscv-status-hero,
	.tscv-detail-layout,
	.tscv-qr-block {
		flex-direction: column;
	}

	.tscv-header-side,
	.tscv-kpis,
	.tscv-meta-grid,
	.tscv-detail-layout,
	.tscv-info-grid {
		grid-template-columns: 1fr 1fr;
	}

	.tscv-status-hero-side,
	.tscv-verify-hero-actions {
		align-items: flex-start;
	}
}

@media (max-width: 820px) {
	.tscv-panel,
	.tscv-verify-content,
	.tscv-verify-hero {
		padding: 22px;
	}

	.tscv-search-shell,
	.tscv-result-card,
	.tscv-section-card,
	.tscv-empty-state {
		padding: 20px;
	}

	.tscv-form-row,
	.tscv-kpis,
	.tscv-meta-grid,
	.tscv-info-grid,
	.tscv-header-side {
		grid-template-columns: 1fr;
	}

	.tscv-or {
		padding: 0;
		height: auto;
	}

	.tscv-status-hero-main,
	.tscv-header-main,
	.tscv-hero-brand,
	.tscv-empty-state {
		align-items: flex-start;
	}
}

@media (max-width: 560px) {
	.tscv-logo {
		width: 62px;
		height: 62px;
	}

	.tscv-panel-header h2,
	.tscv-verify-hero h1 {
		font-size: 26px;
	}

	.tscv-status-hero {
		padding: 18px;
	}

	.tscv-status-orb {
		width: 56px;
		height: 56px;
		font-size: 24px;
	}

	.tscv-qr-media img {
		width: 144px;
		height: 144px;
	}

	.tscv-button,
	.tscv-outline-button,
	.tscv-ghost-button {
		width: 100%;
	}

	.tscv-result-actions {
		flex-direction: column;
	}
}
