#verify-section {
  padding: var(--section-pad);
  background: var(--navy-mid);
}

.verify-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.verify-header .section-label { justify-content: center; }
.verify-header .divider { margin-left: auto; margin-right: auto; }
.verify-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.98rem;
}

.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* ---------- Lookup form ---------- */
.verify-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}
.verify-form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
.verify-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(220,70,70,0.1);
  border: 1px solid rgba(220,70,70,0.35);
  border-radius: var(--radius);
  color: #f18686;
  font-size: 0.82rem;
}
.verify-error.show { display: block; animation: fadePanel 0.3s ease; }

/* ---------- Result panel ---------- */
.verify-result-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.verify-result-placeholder {
  text-align: center;
  color: var(--muted);
}
.verify-result-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  opacity: 0.6;
}

/* Valid result */
.verify-status-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.verify-status-banner.status-valid {
  background: rgba(111,147,168,0.12);
  border: 1px solid rgba(111,147,168,0.4);
  color: var(--sky);
}
.verify-status-banner.status-expired {
  background: rgba(166,124,61,0.12);
  border: 1px solid rgba(166,124,61,0.4);
  color: var(--accent);
}
.verify-status-banner.status-revoked,
.verify-status-banner.status-invalid {
  background: rgba(220,70,70,0.12);
  border: 1px solid rgba(220,70,70,0.4);
  color: #f18686;
}

.verify-cert-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.verify-cert-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.verify-detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.verify-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.verify-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.verify-detail-label {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.verify-detail-value {
  color: var(--white);
  text-align: right;
  font-weight: 600;
}

.verify-authenticity-note {
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  margin-top: 4px;
}
.verify-authenticity-note strong { color: var(--sky); }

/* Not found */
.verify-notfound-icon { font-size: 2.4rem; margin-bottom: 14px; }
.verify-notfound-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f18686;
  margin-bottom: 10px;
}
.verify-notfound-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

.verify-footnote {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}
.verify-footnote a { color: var(--sky); }
.verify-footnote a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .verify-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .verify-form-card, .verify-result-card { padding: 28px 20px; }
  .verify-detail-row { flex-direction: column; gap: 4px; }
  .verify-detail-value { text-align: left; }
}

/* ---------- Light theme ---------- */
[data-theme="light"] #verify-section {
  background: var(--page-bg-alt);
}
[data-theme="light"] .verify-tagline,
[data-theme="light"] .verify-form-note,
[data-theme="light"] .verify-footnote {
  color: rgba(16,26,44,0.65);
}
[data-theme="light"] .verify-detail-value {
  color: var(--white);
}
