* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}


/* =========================================================
   Shared Canva Theme System (Landing + Admin + Consumer)
   ========================================================= */

:root {
  --vt-bg-top: #eef4ff;
  --vt-bg-bottom: #f7faff;
  --vt-card: #ffffff;
  --vt-card-muted: #f4f8ff;
  --vt-line: #dce7f7;
  --vt-line-strong: #bfd2f0;
  --vt-text-strong: #0f214d;
  --vt-text-body: #30446f;
  --vt-text-soft: #5b6f96;
  --vt-brand: #165dd8;
  --vt-brand-2: #1f73f1;
  --vt-brand-3: #63a5ff;
  --vt-shadow-soft: 0 10px 28px rgba(16, 46, 107, 0.08);
  --vt-shadow-card: 0 16px 40px rgba(16, 46, 107, 0.11);
  --vt-radius-lg: 18px;
  --vt-radius-md: 12px;
}

body.canva-theme {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--vt-text-body);
}

body.canva-theme .icon-svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.canva-theme .icon-lg {
  width: 3rem;
  height: 3rem;
}

body.canva-theme .code-pattern {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  user-select: none;
}

body.canva-theme .landing-slot-fixed,
body.canva-theme .landing-slot-char,
body.canva-theme .slot-fixed,
body.canva-theme .slot-char {
  width: 24px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 0.84rem;
  border: 1px solid var(--vt-line);
  background: #fff;
  color: #1f2937;
}

body.canva-theme .slot-fixed,
body.canva-theme .landing-slot-fixed {
  background: #ecf6ff;
  border-color: #9dcaf2;
  color: var(--vt-brand);
  font-weight: 700;
}

body.canva-theme .slot-char,
body.canva-theme .landing-slot-char {
  color: #91a6b8;
}

body.canva-theme .slot-char.filled,
body.canva-theme .landing-slot-char.filled {
  background: #e3f2ff;
  border-color: #8fc3f3;
  color: #0f5ea9;
  font-weight: 700;
}

body.canva-theme .slot-separator,
body.canva-theme .landing-slot-separator {
  color: #658097;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  padding: 0 2px;
}

body.canva-theme .code-help,
body.canva-theme .landing-code-help {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #6e8aa2;
}

body.canva-theme .modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.canva-theme .modal.modal-open {
  opacity: 1;
  pointer-events: auto;
}

body.canva-theme .modal-card {
  width: min(500px, 92vw);
  max-height: calc(100vh - 28px);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 36%);
  border: 1px solid var(--vt-line);
  border-top: 4px solid var(--vt-brand-2);
  border-radius: var(--vt-radius-lg);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  padding: 30px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.canva-theme .modal.modal-open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.canva-theme .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

body.canva-theme .modal-card h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--vt-text-strong);
  font-weight: 800;
}

body.canva-theme .modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

body.canva-theme .modal-close-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

body.canva-theme .btn,
body.canva-theme .vt-btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.canva-theme .btn-primary,
body.canva-theme .vt-btn-primary {
  background: linear-gradient(120deg, var(--vt-brand) 0%, var(--vt-brand-2) 60%, var(--vt-brand-3) 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(11, 103, 194, 0.26);
}

body.canva-theme .btn-primary:hover,
body.canva-theme .vt-btn-primary:hover {
  opacity: 0.96;
}

body.canva-theme .btn-ghost,
body.canva-theme .vt-btn-ghost {
  background: #fff;
  color: #124e85;
  border-color: #b8d8f5;
}

body.canva-theme input,
body.canva-theme select,
body.canva-theme .vt-input {
  border: 1px solid var(--vt-line-strong);
  border-radius: 10px;
}

body.canva-theme input:focus,
body.canva-theme select:focus,
body.canva-theme .vt-input:focus {
  outline: none;
  border-color: var(--vt-brand-2);
  box-shadow: 0 0 0 4px rgba(27, 141, 240, 0.14);
}

/* Landing page scaffolding */
body.landing-page {
  background:
    radial-gradient(circle at 90% -5%, rgba(11, 103, 194, 0.14) 0%, transparent 38%),
    radial-gradient(circle at -10% 24%, rgba(27, 141, 240, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, var(--vt-bg-top) 0%, var(--vt-bg-bottom) 100%);
}

body.landing-page header.bg-white {
  border-bottom: 1px solid var(--vt-line);
  box-shadow: 0 10px 24px rgba(17, 66, 116, 0.1);
}

body.landing-page #landingAuthActions button,
body.landing-page #mobileAuthActions button {
  border-color: var(--vt-brand);
  color: var(--vt-brand);
}

body.landing-page header nav > div {
  min-width: 0;
}

body.landing-page header a[href="#home"] {
  flex-shrink: 0;
  min-width: 180px;
}

body.landing-page .login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.landing-page .login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.landing-page .login-field label {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
  color: #1f2937;
}

body.landing-page .login-field input {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

body.landing-page .login-error {
  padding: 10px 12px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 0.9rem;
}

body.landing-page .login-error.hidden {
  display: none;
}

body.landing-page .login-submit {
  padding: 12px 16px;
  background: var(--vt-brand);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

body.landing-page .login-submit:hover {
  background: #0a58a7;
}

body.landing-page .login-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

body.landing-page .login-footer a {
  color: var(--vt-brand);
  text-decoration: none;
  font-weight: 700;
}

body.landing-page .login-footer a:hover {
  color: #0a58a7;
}

/* Reference-inspired refresh: 1.svg + 2.svg visual language */
body.landing-page.svg-reference-theme {
  background:
    radial-gradient(circle at 92% -8%, rgba(31, 115, 241, 0.16) 0%, transparent 35%),
    radial-gradient(circle at 5% 22%, rgba(22, 93, 216, 0.1) 0%, transparent 44%),
    linear-gradient(180deg, #f3f7ff 0%, #f8fbff 52%, #f5f8ff 100%);
}

body.landing-page.svg-reference-theme header.bg-white {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--vt-line);
  box-shadow: 0 8px 24px rgba(14, 42, 108, 0.09);
}

body.landing-page.svg-reference-theme main > section {
  position: relative;
}

body.landing-page.svg-reference-theme #home {
  background: linear-gradient(160deg, #f4f8ff 0%, #ffffff 55%, #eef4ff 100%) !important;
}

body.landing-page.svg-reference-theme #badge-lookup {
  background: linear-gradient(130deg, #0d4fc5 0%, #0f61dc 52%, #1a74ee 100%) !important;
}

body.landing-page.svg-reference-theme #why-verify,
body.landing-page.svg-reference-theme #for-buyers {
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%) !important;
}

body.landing-page.svg-reference-theme #join {
  background: linear-gradient(128deg, #0e4ebf 0%, #0f60dc 65%, #1a73eb 100%) !important;
}

body.landing-page.svg-reference-theme .rounded-xl,
body.landing-page.svg-reference-theme .rounded-2xl {
  border-radius: 18px;
}

body.landing-page.svg-reference-theme .shadow-lg,
body.landing-page.svg-reference-theme .shadow-xl,
body.landing-page.svg-reference-theme .shadow-2xl {
  box-shadow: 0 14px 34px rgba(16, 46, 107, 0.11) !important;
}

body.landing-page.svg-reference-theme #how-it-works .bg-blue-50,
body.landing-page.svg-reference-theme #for-sellers .bg-gradient-to-br,
body.landing-page.svg-reference-theme #for-buyers .bg-white,
body.landing-page.svg-reference-theme #why-verify .bg-white {
  background: #ffffff !important;
  border-color: #dce7f7 !important;
}

body.landing-page.svg-reference-theme #why-verify .border-red-200,
body.landing-page.svg-reference-theme #why-verify .hover\:border-red-400:hover,
body.landing-page.svg-reference-theme #why-verify .border-green-200,
body.landing-page.svg-reference-theme #why-verify .hover\:border-green-400:hover {
  border-color: #dce7f7 !important;
}

body.landing-page.svg-reference-theme #landingBadgeLookupResult > div {
  border-radius: 12px;
}

body.landing-page.svg-reference-theme #landingBadgeCodeInput {
  border-color: #b8cdef !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.landing-page.svg-reference-theme #landingBadgeCodeInput:focus {
  border-color: var(--vt-brand-2) !important;
  box-shadow: 0 0 0 4px rgba(31, 115, 241, 0.16) !important;
}

body.landing-page.svg-reference-theme a.bg-blue-600,
body.landing-page.svg-reference-theme button.bg-blue-600,
body.landing-page.svg-reference-theme .login-submit {
  background: linear-gradient(120deg, #165dd8 0%, #1f73f1 58%, #63a5ff 100%) !important;
  border: none;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(22, 93, 216, 0.27);
}

body.landing-page.svg-reference-theme a.bg-blue-600:hover,
body.landing-page.svg-reference-theme button.bg-blue-600:hover,
body.landing-page.svg-reference-theme .login-submit:hover {
  filter: brightness(1.02);
}

body.landing-page.svg-reference-theme a.border-blue-600,
body.landing-page.svg-reference-theme button.border-blue-600 {
  border-color: #b7d0f2 !important;
  color: #165dd8 !important;
  background: #ffffff !important;
}

body.landing-page.svg-reference-theme #landingUserStatus,
body.landing-page.svg-reference-theme #mobileUserStatus {
  border-color: #bdd1ef !important;
  background: #f3f8ff !important;
}

body.landing-page.svg-reference-theme #mobileMenu {
  border-top: 1px solid var(--vt-line);
}

body.landing-page.svg-reference-theme .modal-card {
  border-top-color: #1f73f1;
}

body.landing-page.svg-reference-theme .text-gray-900 {
  color: #0f214d !important;
}

body.landing-page.svg-reference-theme .text-gray-600,
body.landing-page.svg-reference-theme .text-gray-700,
body.landing-page.svg-reference-theme .text-gray-500,
body.landing-page.svg-reference-theme .text-gray-400 {
  color: #51678f !important;
}

body.landing-page.svg-reference-theme .text-blue-600 {
  color: #165dd8 !important;
}

body.landing-page.svg-reference-theme #home > div,
body.landing-page.svg-reference-theme #badge-lookup > div,
body.landing-page.svg-reference-theme #how-it-works > div,
body.landing-page.svg-reference-theme #why-verify > div,
body.landing-page.svg-reference-theme #for-sellers > div,
body.landing-page.svg-reference-theme #for-buyers > div,
body.landing-page.svg-reference-theme #join > div {
  animation: vt-fade-up 0.48s ease both;
}

/* Second-pass parity refinements */
body.landing-page.svg-reference-theme {
  letter-spacing: -0.01em;
  font-family: 'Manrope', 'Plus Jakarta Sans', system-ui, sans-serif;
}

body.landing-page.svg-reference-theme h1,
body.landing-page.svg-reference-theme h2,
body.landing-page.svg-reference-theme h3,
body.landing-page.svg-reference-theme h4 {
  font-family: 'Manrope', 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

body.landing-page.svg-reference-theme header.bg-white {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

body.landing-page.svg-reference-theme header.bg-white nav {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce7f7;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 46, 107, 0.11);
}

body.landing-page.svg-reference-theme #home .grid.md\:grid-cols-2 {
  gap: 3.5rem;
}

body.landing-page.svg-reference-theme #home .relative > .bg-white {
  border: 1px solid #dce7f7;
  border-radius: 24px;
  padding: 2rem;
}

body.landing-page.svg-reference-theme #home .absolute.-bottom-4.-right-4 {
  border-radius: 12px;
  background: linear-gradient(120deg, #13a85f 0%, #19b26a 100%);
  box-shadow: 0 10px 24px rgba(7, 107, 62, 0.28);
}

body.landing-page.svg-reference-theme #badge-lookup {
  overflow: hidden;
}

body.landing-page.svg-reference-theme #badge-lookup::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, transparent 36%),
    repeating-linear-gradient(-24deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 14px);
  opacity: 0.7;
}

body.landing-page.svg-reference-theme #badge-lookup .max-w-2xl.mx-auto.bg-white {
  position: relative;
  border-radius: 22px;
  border: 1px solid #dce7f7;
  box-shadow: 0 22px 46px rgba(16, 46, 107, 0.25) !important;
  padding: 1.5rem;
}

body.landing-page.svg-reference-theme #landingBadgeCodeInput {
  min-height: 58px;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  font-family: 'Manrope', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  border-radius: 14px;
}

body.landing-page.svg-reference-theme #landingBadgeLookupBtn {
  min-height: 58px;
  min-width: 142px;
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 800;
}

body.landing-page.svg-reference-theme .landing-code-pattern {
  margin-top: 12px;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

body.landing-page.svg-reference-theme .landing-slot-fixed,
body.landing-page.svg-reference-theme .landing-slot-char {
  width: 35px;
  height: 39px;
  border-radius: 10px;
  font-size: 1.02rem;
}

body.landing-page.svg-reference-theme .landing-code-help {
  font-size: 0.9rem;
  margin-top: 10px;
}

body.landing-page.svg-reference-theme .lookup-meta-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e4ecfa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #5c6f94;
  font-size: 0.98rem;
  font-weight: 600;
}

body.landing-page.svg-reference-theme .lookup-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.landing-page.svg-reference-theme .lookup-dot {
  color: #94a3b8;
  font-weight: 700;
}

body.landing-page.svg-reference-theme .lookup-status-grid {
  margin-top: 16px;
  border-top: 1px solid #e4ecfa;
  border-bottom: 1px solid #e4ecfa;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.landing-page.svg-reference-theme .lookup-status-item {
  padding: 14px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-right: 1px solid #e6eefb;
}

body.landing-page.svg-reference-theme .lookup-status-item:last-child {
  border-right: none;
}

body.landing-page.svg-reference-theme .lookup-status-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #d4e2f8;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  display: grid;
  place-items: center;
}

body.landing-page.svg-reference-theme .lookup-status-icon .icon-svg {
  width: 1.7rem;
  height: 1.7rem;
}

body.landing-page.svg-reference-theme .lookup-status-item h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #0f214d;
  font-weight: 800;
}

body.landing-page.svg-reference-theme .lookup-status-item p {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: #4f638b;
}

body.landing-page.svg-reference-theme .lookup-trustline {
  margin-top: 12px;
  color: #dbeafe;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

body.landing-page.svg-reference-theme .lookup-trustline .icon-svg {
  width: 1.1rem;
  height: 1.1rem;
}

body.landing-page.svg-reference-theme #badge-includes {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

body.landing-page.svg-reference-theme .badge-includes-card {
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(16, 46, 107, 0.08);
  overflow: hidden;
}

body.landing-page.svg-reference-theme .badge-includes-card h2 {
  margin: 0;
  padding: 1.4rem 1.6rem 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #0f214d;
}

body.landing-page.svg-reference-theme .badge-includes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e5ecf9;
}

body.landing-page.svg-reference-theme .badge-includes-grid article {
  padding: 1.2rem 1rem 1.35rem;
  border-right: 1px solid #e5ecf9;
}

body.landing-page.svg-reference-theme .badge-includes-grid article:last-child {
  border-right: none;
}

body.landing-page.svg-reference-theme .badge-includes-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #d4e2f8;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  margin-bottom: 0.9rem;
}

body.landing-page.svg-reference-theme .badge-includes-icon .icon-svg {
  width: 1.9rem;
  height: 1.9rem;
}

body.landing-page.svg-reference-theme .badge-includes-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.18rem;
  color: #0f214d;
}

body.landing-page.svg-reference-theme .badge-includes-grid p {
  margin: 0;
  color: #4f638b;
  font-size: 1rem;
  line-height: 1.45;
}

body.landing-page.svg-reference-theme .badge-includes-note {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dce7f7;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(16, 46, 107, 0.06);
}

body.landing-page.svg-reference-theme .badge-includes-note .icon-svg {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
}

body.landing-page.svg-reference-theme .badge-includes-note p {
  margin: 0;
  color: #344a74;
  font-size: 1.02rem;
}

body.landing-page.svg-reference-theme #for-buyers .container > .grid:nth-of-type(1) > div {
  border-radius: 0 !important;
  border-width: 0 1px 1px 0 !important;
  border-color: #e6eefb !important;
  padding: 1.9rem 1.4rem;
  box-shadow: none !important;
  background: #ffffff !important;
}

body.landing-page.svg-reference-theme #for-buyers .container > .grid:nth-of-type(1) > div:hover {
  background: #f8fbff !important;
}

body.landing-page.svg-reference-theme #for-buyers .bg-green-50,
body.landing-page.svg-reference-theme #for-buyers .from-green-600.to-green-700 {
  border-radius: 20px;
}

body.landing-page.svg-reference-theme #how-it-works .grid.md\:grid-cols-4 {
  gap: 1.2rem;
}

body.landing-page.svg-reference-theme #how-it-works .grid.md\:grid-cols-4 > .relative > .text-center > div:nth-child(2) {
  border-radius: 16px;
  border-color: #dce7f7 !important;
  background: #ffffff !important;
}

body.landing-page.svg-reference-theme footer {
  background: #09122d !important;
}

@media (max-width: 1024px) {
  body.landing-page.svg-reference-theme #landingBadgeCodeInput {
    font-size: 1.02rem;
  }

  body.landing-page.svg-reference-theme #landingBadgeLookupBtn {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  body.landing-page.svg-reference-theme header.bg-white nav {
    margin-top: 8px;
    border-radius: 12px;
  }

  body.landing-page.svg-reference-theme #badge-lookup .max-w-2xl.mx-auto.bg-white {
    border-radius: 16px;
    padding: 1rem;
  }

  body.landing-page.svg-reference-theme #landingBadgeCodeInput {
    min-height: 52px;
  }

  body.landing-page.svg-reference-theme .landing-slot-fixed,
  body.landing-page.svg-reference-theme .landing-slot-char {
    width: 30px;
    height: 34px;
    font-size: 0.92rem;
  }
}

@media (max-width: 639px) {
  body.landing-page.svg-reference-theme #landingBadgeLookupBtn {
    min-height: 52px;
    min-width: 0;
    width: 100%;
    font-size: 1rem;
  }
}

/* Third-pass parity refinements: section grouping + separators */
body.landing-page.svg-reference-theme #why-verify .mb-20 {
  background: #ffffff;
  border: 1px solid #dce7f7;
  border-radius: 22px;
  padding: 1.4rem 1.35rem;
  box-shadow: 0 14px 32px rgba(16, 46, 107, 0.08);
}

body.landing-page.svg-reference-theme #why-verify .mb-20 h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

body.landing-page.svg-reference-theme #why-verify .grid.md\:grid-cols-2.lg\:grid-cols-4 {
  gap: 0;
  border: 1px solid #e5ecf9;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

body.landing-page.svg-reference-theme #why-verify .grid.md\:grid-cols-2.lg\:grid-cols-4 > div {
  border-radius: 0 !important;
  border-width: 0 1px 1px 0 !important;
  border-color: #e7effb !important;
  box-shadow: none !important;
  background: #ffffff !important;
  padding: 1.6rem 1.2rem;
}

body.landing-page.svg-reference-theme #why-verify .grid.md\:grid-cols-2.lg\:grid-cols-4 > div:hover {
  background: #f8fbff !important;
}

body.landing-page.svg-reference-theme #why-verify .grid.md\:grid-cols-2.lg\:grid-cols-4 > div > div.mb-4 {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border: 1px solid #cfe0f8;
  border-radius: 50%;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
  align-items: center;
}

body.landing-page.svg-reference-theme #why-verify .grid.md\:grid-cols-2.lg\:grid-cols-4 > div h4 {
  font-size: 1.08rem;
  text-wrap: balance;
}

body.landing-page.svg-reference-theme #for-sellers .grid.md\:grid-cols-2.lg\:grid-cols-3 {
  gap: 0;
  border: 1px solid #dce7f7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 46, 107, 0.08);
}

body.landing-page.svg-reference-theme #for-sellers .grid.md\:grid-cols-2.lg\:grid-cols-3 > div {
  border-radius: 0 !important;
  border-width: 0 1px 1px 0 !important;
  border-color: #e6eefb !important;
  box-shadow: none !important;
  background: #ffffff !important;
  padding: 1.7rem 1.25rem;
}

body.landing-page.svg-reference-theme #for-sellers .grid.md\:grid-cols-2.lg\:grid-cols-3 > div:hover {
  background: #f8fbff !important;
}

body.landing-page.svg-reference-theme #for-sellers .grid.md\:grid-cols-2.lg\:grid-cols-3 > div > div.mb-3,
body.landing-page.svg-reference-theme #for-buyers .container > .grid:nth-of-type(1) > div > div.mb-3 {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 1px solid #cfe0f8;
  background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
  align-items: center;
}

body.landing-page.svg-reference-theme #for-buyers .container > .grid:nth-of-type(1) {
  box-shadow: 0 12px 30px rgba(16, 46, 107, 0.08);
}

body.landing-page.svg-reference-theme #for-buyers .bg-green-50 {
  background: #ffffff !important;
  border-color: #dce7f7 !important;
  box-shadow: 0 12px 30px rgba(16, 46, 107, 0.08);
}

body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .grid.md\:grid-cols-3 {
  gap: 0;
  border: 1px solid #e5ecf9;
  border-radius: 14px;
  overflow: hidden;
}

body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .grid.md\:grid-cols-3 > div {
  padding: 1.2rem;
  border-right: 1px solid #e5ecf9;
  background: #fff;
}

body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .grid.md\:grid-cols-3 > div:last-child {
  border-right: none;
}

body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .bg-green-600 {
  background: linear-gradient(120deg, #165dd8 0%, #1f73f1 100%) !important;
}

body.landing-page.svg-reference-theme #for-sellers .bg-gradient-to-r.from-blue-600.to-blue-700,
body.landing-page.svg-reference-theme #for-buyers .bg-gradient-to-r.from-green-600.to-green-700 {
  background: linear-gradient(120deg, #165dd8 0%, #1f73f1 58%, #63a5ff 100%) !important;
  border: 1px solid #2a76eb;
  box-shadow: 0 18px 34px rgba(22, 93, 216, 0.25) !important;
}

@media (max-width: 1024px) {
  body.landing-page.svg-reference-theme #why-verify .mb-20 h3 {
    font-size: 1.6rem;
  }

  body.landing-page.svg-reference-theme .lookup-status-grid {
    grid-template-columns: 1fr;
  }

  body.landing-page.svg-reference-theme .lookup-status-item {
    border-right: none;
    border-bottom: 1px solid #e6eefb;
  }

  body.landing-page.svg-reference-theme .lookup-status-item:last-child {
    border-bottom: none;
  }

  body.landing-page.svg-reference-theme .badge-includes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.landing-page.svg-reference-theme .badge-includes-grid article:nth-child(2n) {
    border-right: none;
  }

  body.landing-page.svg-reference-theme .badge-includes-grid article {
    border-bottom: 1px solid #e5ecf9;
  }

  body.landing-page.svg-reference-theme .badge-includes-grid article:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  body.landing-page.svg-reference-theme #why-verify .mb-20,
  body.landing-page.svg-reference-theme #for-sellers .grid.md\:grid-cols-2.lg\:grid-cols-3,
  body.landing-page.svg-reference-theme #for-buyers .container > .grid:nth-of-type(1) {
    border-radius: 14px;
  }

  body.landing-page.svg-reference-theme #why-verify .grid.md\:grid-cols-2.lg\:grid-cols-4,
  body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .grid.md\:grid-cols-3 {
    border-radius: 12px;
  }

  body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .grid.md\:grid-cols-3 > div {
    border-right: none;
    border-bottom: 1px solid #e5ecf9;
  }

  body.landing-page.svg-reference-theme #for-buyers .bg-green-50 .grid.md\:grid-cols-3 > div:last-child {
    border-bottom: none;
  }

  body.landing-page.svg-reference-theme .lookup-meta-row {
    font-size: 0.88rem;
  }

  body.landing-page.svg-reference-theme .badge-includes-card h2 {
    padding: 1.1rem 1rem 0.85rem;
    font-size: 1.6rem;
  }

  body.landing-page.svg-reference-theme .badge-includes-grid {
    grid-template-columns: 1fr;
  }

  body.landing-page.svg-reference-theme .badge-includes-grid article {
    border-right: none;
    border-bottom: 1px solid #e5ecf9;
  }

  body.landing-page.svg-reference-theme .badge-includes-grid article:last-child {
    border-bottom: none;
  }

  body.landing-page.svg-reference-theme .badge-includes-note {
    align-items: flex-start;
  }
}

@keyframes vt-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Admin page theme hooks */
body.admin-login-page {
  background:
    radial-gradient(circle at 90% -5%, rgba(11, 103, 194, 0.16) 0%, transparent 38%),
    radial-gradient(circle at -10% 24%, rgba(27, 141, 240, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, var(--vt-bg-top) 0%, var(--vt-bg-bottom) 100%);
}

body.admin-login-page .vt-admin-shell {
  color: var(--vt-text-body);
}

body.admin-login-page .vt-admin-brand {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--vt-text-strong);
}

body.admin-login-page .vt-admin-card {
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius-lg);
  box-shadow: var(--vt-shadow-card);
}

body.admin-login-page .vt-admin-demo {
  background: #edf7ff;
  border: 1px solid #b3d8f8;
  border-radius: 12px;
  color: #34628f;
}

/* Consumer dashboard theme hooks */
body.consumer-dashboard-page {
  background:
    radial-gradient(circle at 90% -5%, rgba(11, 103, 194, 0.14) 0%, transparent 38%),
    radial-gradient(circle at -10% 24%, rgba(27, 141, 240, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, var(--vt-bg-top) 0%, var(--vt-bg-bottom) 100%);
  color: var(--vt-text-body);
}

body.consumer-dashboard-page .shell {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--vt-line);
  box-shadow: var(--vt-shadow-card);
  overflow: hidden;
}

body.consumer-dashboard-page .topbar {
  background: linear-gradient(100deg, #0a5db5 0%, #1693e9 50%, #27b2ff 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(9, 72, 132, 0.2);
}

body.consumer-dashboard-page .card {
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius-md);
  box-shadow: var(--vt-shadow-soft);
}

body.consumer-dashboard-page .help-box {
  background: #edf7ff;
  border-color: #b3d8f8;
  color: #34628f;
}

@media (max-height: 760px) {
  body.canva-theme .modal {
    align-items: flex-start;
  }

  body.canva-theme .modal-card {
    margin-top: 4px;
    padding: 20px;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.1em;
  opacity: 0.9;
}

#authStatus {
  display: flex;
  align-items: center;
  gap: 12px;
}

#userProfileHeader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#headerUsername {
  font-weight: 600;
  color: #e0e7ff;
}

.btn-link {
  background: none;
  border: none;
  color: #fecaca;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 0.9em;
}

.btn-link:hover {
  color: #fee2e2;
}

.auth-modal-content {
  max-width: 500px;
  padding: 30px 30px 26px;
  border-radius: 18px;
  border: 1px solid #dbe5f4;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 36%);
  position: relative;
}

.auth-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 55%, #60a5fa 100%);
}

.auth-modal-content h2 {
  margin: 2px 0 20px 0;
  padding-right: 24px;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.auth-modal-content .form-group {
  margin-bottom: 13px;
}

.auth-modal-content .form-group label {
  margin-bottom: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f2937;
}

.auth-modal-content .form-group input[type="text"],
.auth-modal-content .form-group input[type="email"],
.auth-modal-content .form-group input[type="password"] {
  height: 46px;
  padding: 10px 13px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
}

.auth-modal-content .form-group select {
  height: 46px;
  padding: 10px 13px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
}

.auth-modal-content .form-group input[type="text"]:focus,
.auth-modal-content .form-group input[type="email"]:focus,
.auth-modal-content .form-group input[type="password"]:focus,
.auth-modal-content .form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.auth-modal-content .btn-full {
  margin-top: 8px;
  height: 46px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.auth-modal-content .btn-full:hover {
  background: #1d4ed8;
}

.auth-forgot {
  margin: 3px 0 12px 0;
  text-align: right;
  font-size: 0.86em;
}

.auth-forgot a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}

.auth-forgot a:hover {
  text-decoration: underline;
}

.auth-toggle {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
  color: #64748b;
  line-height: 1.45;
}

.auth-toggle a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

/* Tabs Navigation */
.tabs {
  display: flex;
  background: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1em;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  color: #666;
}

.tab-btn:hover {
  background: #e8e8e8;
  color: #333;
}

.tab-btn.active {
  color: #667eea;
  background: white;
  border-bottom-color: #667eea;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 30px;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Card Component */
.card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.card h3 {
  color: #667eea;
  margin-bottom: 15px;
}

.card h4 {
  color: #334155;
  margin-bottom: 10px;
}

.dashboard-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-toggle {
  display: inline-flex;
  border: 1px solid #d4d8e2;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fb;
}

.dashboard-mode-btn {
  border: none;
  background: transparent;
  color: #475569;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-mode-btn.active {
  background: #667eea;
  color: #fff;
}

.user-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.badge-card {
  background: #f8fafc;
  border: 1px solid #d7e2f1;
  border-left: 4px solid #667eea;
  border-radius: 8px;
  padding: 16px;
}

.badge-label {
  margin: 0 0 10px 0;
  color: #475569;
}

.badge-code-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-code-input {
  flex: 1;
  min-width: 240px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#downloadBadgeBtn {
  white-space: nowrap;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* Video Elements */
video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
  margin-bottom: 15px;
}

/* Video Container */
.video-container {
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.video-container video {
  display: block;
  width: 100%;
  margin: 0;
}

/* Face Outline Canvas */
.face-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Face Detection Canvas */
.face-detection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
}

/* Face Status Indicator */
.face-status {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fb;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e1e6ef;
  margin-top: 10px;
}

.status-indicator {
  font-size: 1.5em;
  min-width: 24px;
  text-align: center;
  animation: pulse-indicator 1s infinite;
}

.status-indicator.detected {
  animation: none;
}

@keyframes pulse-indicator {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.status-text {
  color: #2d3748;
  font-weight: 600;
  font-size: 0.85em;
  white-space: nowrap;
}

.status-text.centered {
  color: #4caf50;
}

.status-text.misaligned {
  color: #ffc107;
}

.status-text.not-detected {
  color: #f44336;
}

/* Capture Instructions */
.capture-instructions {
  background: #eef5ff;
  padding: 12px 16px;
  border-radius: 4px;
  position: static;
  margin-top: 12px;
  border: 1px solid #cfe0ff;
  text-align: center;
}

.instruction-prompt {
  text-align: center;
  color: #1f4a8a;
  font-weight: 600;
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Select Elements */
.form-group select,
.camera-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s;
}

.form-group select:focus,
.camera-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select:focus,
.camera-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ID Upload */
.id-upload-area {
  border: 2px dashed #cbd5e0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.id-upload-area:hover {
  border-color: #667eea;
}
.id-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  cursor: pointer;
  text-align: center;
  color: #718096;
}
.id-upload-placeholder:hover {
  background: #f7f8ff;
  color: #667eea;
}
.id-upload-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.id-upload-text {
  font-size: 0.9rem;
  line-height: 1.5;
}
.id-upload-text small {
  font-size: 0.78rem;
  color: #a0aec0;
}
.id-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f0fff4;
}
.id-upload-preview img {
  width: 60px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #c6f6d5;
}
.id-preview-filename {
  flex: 1;
  font-size: 0.85rem;
  color: #276749;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.id-remove-btn {
  background: none;
  border: 1px solid #fc8181;
  border-radius: 5px;
  color: #c53030;
  font-size: 0.78rem;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.id-remove-btn:hover {
  background: #fff5f5;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  margin: 0;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  margin-right: 10px;
  cursor: pointer;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 8px 8px 8px 0;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

.btn-full {
  width: 100%;
  margin: 0;
}

.btn-large {
  padding: 15px 32px;
  font-size: 1.1em;
  width: 100%;
  margin: 8px 0;
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin: 15px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  transition: width 0.3s ease;
}

.samples-count {
  text-align: center;
  color: #666;
  font-weight: 600;
}

/* Status Card */
.status-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  border-left: 4px solid #667eea;
}

.status-card h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.status-card p {
  margin: 5px 0;
  font-size: 0.9em;
  color: #666;
}

.user-profile-status-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.user-profile-status-badge.verified {
  color: #0f5132;
  background: #d1fae5;
  border-color: #6ee7b7;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.12);
}

.user-profile-status-badge.pending {
  color: #92400e;
  background: #fef3c7;
  border-color: #fcd34d;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.14);
}

/* Profiles Grid */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.profile-card {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.profile-card h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.2em;
}

.profile-card .status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 10px;
}

.media-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.media-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e3a8a;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
}

.media-badge-total {
  color: #065f46;
  background: #d1fae5;
  border-color: #6ee7b7;
}

.profile-badge-preview {
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.profile-badge-title {
  display: block;
  color: #3730a3;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-badge-code {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  padding: 6px 8px;
  overflow-wrap: anywhere;
}

.status.complete {
  background: #d4edda;
  color: #155724;
}

.status.incomplete {
  background: #fff3cd;
  color: #856404;
}

.profile-card .samples-info {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.profile-card .btn-small {
  padding: 6px 12px;
  font-size: 0.85em;
  width: 100%;
  margin-top: 10px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 1.1em;
}

/* Results */
.results-container {
  margin-top: 20px;
}

.result-item {
  background: #f9f9f9;
  border-left: 4px solid;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.result-item.very-high {
  border-left-color: #28a745;
  background: rgba(40, 167, 69, 0.05);
}

.result-item.high {
  border-left-color: #ffc107;
  background: rgba(255, 193, 7, 0.05);
}

.result-item.medium {
  border-left-color: #fd7e14;
  background: rgba(253, 126, 20, 0.05);
}

.result-item h4 {
  margin: 0 0 8px 0;
  color: #333;
}

.result-item .confidence-score {
  font-size: 1.3em;
  font-weight: 700;
  margin: 8px 0;
}

.result-item .match-type {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
  margin-top: 8px;
}

.match-type.identical {
  background: #28a745;
  color: white;
}

.match-type.similar {
  background: #667eea;
  color: white;
}

.result-item p {
  margin: 5px 0;
  color: #666;
  font-size: 0.9em;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.32);
  animation: slideUp 0.3s ease;
}

.admin-modal-content {
  max-width: 920px;
}

.admin-review-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.admin-review-header p {
  margin: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #1f2937;
  font-size: 0.9rem;
}

.admin-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 12px;
}

.admin-status-row label {
  color: #312e81;
}

.admin-status-row select {
  min-width: 190px;
}

.admin-section-block {
  margin-top: 18px;
}

.admin-section-block h3 {
  margin-bottom: 10px;
  color: #111827;
}

.admin-doc-card {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  background: #f8fafc;
}

.admin-doc-card p {
  margin: 0 0 8px 0;
  color: #374151;
}

.admin-id-image {
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  display: block;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.admin-video-card {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
}

.admin-video-card video {
  width: 100%;
  border-radius: 8px;
  background: #111827;
}

.admin-video-card p {
  margin: 8px 0 0 0;
  font-size: 0.82rem;
  color: #4b5563;
}

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

.close {
  float: right;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  text-align: center;
}

.close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* Alerts */
.alert {
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Info Box */
.info-box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  border-left: 4px solid #667eea;
  margin-bottom: 15px;
}

.info-box h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
}

.info-box p {
  margin: 8px 0;
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
}

.info-box ul {
  margin: 10px 0;
  padding-left: 20px;
  color: #666;
  font-size: 0.95em;
}

.info-box li {
  margin-bottom: 6px;
}

/* Recording Timer */
.recording-timer {
  text-align: center;
  padding: 12px;
  background: #ff4444;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1em;
  animation: pulse 1s infinite;
  margin-top: 10px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Loading Spinner */
.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    border-radius: 0;
  }

  .header-top {
    flex-direction: column;
    align-items: center;
  }

  header {
    padding: 30px 15px;
  }

  header h1 {
    font-size: 1.8em;
  }

  .tab-content {
    padding: 20px;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .controls {
    flex-direction: column;
  }

  .dashboard-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-toggle {
    width: 100%;
  }

  .dashboard-mode-btn {
    flex: 1;
  }

  .btn {
    width: 100%;
    margin: 5px 0;
  }
}
