.verif-page { padding: 120px 24px 80px; max-width: 900px; margin: 0 auto; }
.verif-page h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 8px; text-align: center; }
.verif-page .subtitle { color: #71717a; margin-bottom: 40px; text-align: center; }
/* Form card with glow */
.verif-form-wrap { position: relative; max-width: 580px; margin: 0 auto 40px; overflow: visible; }
.verif-form-glow { position: absolute; top: 10%; left: 5%; right: 5%; bottom: 10%; background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 70%); border-radius: 24px; pointer-events: none; z-index: 0; }
.verif-form-card { position: relative; z-index: 1; background: #1c1917; border: 1px solid rgba(220,38,38,0.2); border-radius: 20px; padding: 28px 28px; box-shadow: 0 0 50px rgba(220,38,38,0.12), 0 0 100px rgba(220,38,38,0.05), 0 8px 32px rgba(0,0,0,0.4); }
.verif-form { display: flex; gap: 12px; }
.verif-form input { flex: 1; padding: 14px 18px; border-radius: 12px; border: 1px solid #3f3f46; background: #0f0f0f; color: #e4e4e7; font-size: 15px; outline: none; transition: border-color 0.2s; }
.verif-form input:focus { border-color: #ef4444; }
.verif-form input::placeholder { color: #52525b; }
.verif-form button { padding: 14px 28px; border-radius: 12px; background: linear-gradient(135deg, #dc2626, #b91c1c); border: none; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.verif-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,38,38,0.3); }
.verif-form button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.verif-result { display: none; }
.verif-result.show { display: block; }

.verif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Left - data table */
.verif-data { background: #18181b; border: 1px solid #27272a; border-radius: 16px; overflow: hidden; }
.verif-data-header { padding: 16px 20px; border-bottom: 1px solid #27272a; display: flex; align-items: center; gap: 10px; }
.verif-data-header .icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.verif-data-header .icon.valid { background: rgba(34,197,94,0.15); color: #4ade80; }
.verif-data-header .icon.invalid { background: rgba(220,38,38,0.15); color: #f87171; }
.verif-data-header .title { font-weight: 700; color: #fff; font-size: 15px; }
.verif-data-header .title.valid { color: #4ade80; }
.verif-data-header .title.invalid { color: #f87171; }
.verif-data table { width: 100%; }
.verif-data table td { padding: 12px 20px; border-bottom: 1px solid #1f1f23; font-size: 14px; }
.verif-data table td:first-child { color: #71717a; width: 40%; }
.verif-data table td:last-child { color: #e4e4e7; font-weight: 600; }
.verif-data table tr:last-child td { border-bottom: none; }
.status-active { color: #4ade80 !important; }
.status-revoked { color: #f87171 !important; }
.grade-a { color: #4ade80 !important; font-size: 18px !important; }
.grade-b { color: #fbbf24 !important; font-size: 18px !important; }
.grade-c { color: #f87171 !important; font-size: 18px !important; }

/* Grading system card */
.verif-grading { background: #18181b; border: 1px solid #27272a; border-radius: 16px; overflow: hidden; margin-top: 16px; }
.verif-grading-header { padding: 16px 20px; border-bottom: 1px solid #27272a; display: flex; align-items: center; gap: 10px; }
.verif-grading-header .icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(220,38,38,0.15); display: flex; align-items: center; justify-content: center; color: #f87171; font-size: 16px; }
.verif-grading-header .title { font-weight: 700; color: #e4e4e7; font-size: 15px; }
.verif-grading table { width: 100%; border-collapse: collapse; }
.verif-grading thead td { padding: 10px 20px; background: rgba(220,38,38,0.08); color: #f87171; font-weight: 600; font-size: 13px; }
.verif-grading tbody td { padding: 10px 20px; font-size: 13px; border-bottom: 1px solid #1f1f23; }
.verif-grading tbody tr:last-child td { border-bottom: none; }

/* Right - certificate preview */
.verif-cert-preview { position: relative; }
.verif-cert-glow { display: none; }
.verif-cert-card { border-radius: 16px; overflow: hidden; border: 1px solid #27272a; background: #18181b; }
.verif-cert-img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* Watermark overlay */
.verif-watermark { position: absolute; inset: 0; overflow: hidden; pointer-events: none; user-select: none; z-index: 2; }
.verif-watermark-inner { position: absolute; top: 50%; left: 50%; width: 250%; height: 250%; transform: translate(-50%, -50%) rotate(-30deg); }
.verif-watermark-inner p { font-size: 18px; font-weight: 700; color: rgba(220,38,38,0.07); letter-spacing: 12px; margin: 0; line-height: 3.5; white-space: nowrap; text-align: center; }
/* Transparent overlay to block save */
.verif-cert-shield { position: absolute; inset: 0; z-index: 3; background: transparent; }
.verif-no-img { padding: 60px 20px; text-align: center; color: #52525b; font-size: 14px; }
.verif-revoked-img { padding: 80px 20px; text-align: center; background: rgba(220,38,38,0.05); border: 1px dashed rgba(220,38,38,0.3); border-radius: 12px; margin: 8px; }
.verif-revoked-img i { font-size: 64px; color: #ef4444; display: block; margin-bottom: 16px; }
.verif-revoked-img p { font-size: 20px; font-weight: 800; color: #f87171; margin: 0 0 8px; }
.verif-revoked-img span { font-size: 13px; color: #71717a; }

/* Error state */
.verif-error { background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3); border-radius: 16px; padding: 40px; text-align: center; }
.verif-error i { font-size: 48px; color: #f87171; margin-bottom: 12px; display: block; }
.verif-error p { color: #fca5a5; font-size: 16px; margin: 0; }

/* Rate limit */
.verif-ratelimit { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); border-radius: 16px; padding: 40px; text-align: center; }
.verif-ratelimit i { font-size: 48px; color: #fbbf24; margin-bottom: 12px; display: block; }
.verif-ratelimit p { color: #fde68a; font-size: 16px; margin: 0; }

/* Loading */
.verif-loading { text-align: center; padding: 60px; color: #71717a; }
.verif-spinner { width: 32px; height: 32px; border: 3px solid #27272a; border-top-color: #ef4444; border-radius: 50%; animation: verspin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes verspin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
 .verif-grid { grid-template-columns: 1fr; }
 .verif-form { flex-direction: column; }
 .verif-form button { width: 100%; }
 .verif-form-card { padding: 20px; }
 .verif-page { padding: 80px 16px 60px; }
}