.pv-section {
    --pv-navy: #0d1526;
    --pv-navy-light: #16213a;
    --pv-gold: #d4a13d;
    --pv-gold-dark: #b8872a;
    --pv-text-light: #cbd5e1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--pv-navy);
    padding: 60px 20px 100px;
    color: #fff;
}

.pv-header { max-width: 720px; margin: 0 auto 50px; text-align: center; }

.pv-badge {
    display: inline-block;
    background: var(--pv-gold);
    color: var(--pv-navy);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    padding: 10px 24px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.pv-header h1 { font-size: 42px; font-weight: 800; margin: 0 0 16px; line-height: 1.15; }
.pv-header p { font-size: 17px; color: var(--pv-text-light); margin: 0; }

.pv-body {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 800px) {
    .pv-body { grid-template-columns: 1fr; }
}

.pv-features {
    background: var(--pv-navy-light);
    border-radius: 16px;
    padding: 28px 24px;
}
.pv-features h3 { font-size: 20px; margin: 0 0 20px; }
.pv-features ul { list-style: none; margin: 0; padding: 0; }
.pv-features li {
    color: #4ade80;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pv-features li:last-child { border-bottom: none; }

.pv-card {
    background: #fff;
    color: #111827;
    border-radius: 16px;
    padding: 36px;
}
.pv-card h2 { font-size: 26px; margin: 0 0 6px; font-weight: 700; }
.pv-sub { color: #6b7280; margin: 0 0 24px; }

#pv-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 50px 20px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    color: #64748b;
}
#pv-dropzone:hover, #pv-dropzone.pv-dragover {
    border-color: var(--pv-gold);
    background: #fffaf0;
}
#pv-dropzone svg { color: #94a3b8; margin-bottom: 14px; }
#pv-dropzone strong { font-size: 17px; color: #1f2937; margin-bottom: 4px; }
#pv-dropzone span { font-size: 14px; }
.pv-browse-btn {
    margin-top: 16px;
    background: var(--pv-navy);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.pv-preview { margin-top: 20px; text-align: center; }
.pv-preview img { max-width: 100%; max-height: 260px; border-radius: 10px; border: 1px solid #e5e7eb; }
.pv-preview button {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

.pv-submit-btn {
    width: 100%;
    margin-top: 24px;
    background: var(--pv-gold);
    color: var(--pv-navy);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, opacity .2s;
}
.pv-submit-btn:hover:not(:disabled) { background: var(--pv-gold-dark); }
.pv-submit-btn:disabled { opacity: .4; cursor: not-allowed; }

.pv-loading { text-align: center; padding: 30px 0; color: #6b7280; }
.pv-spinner {
    width: 36px; height: 36px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--pv-gold);
    border-radius: 50%;
    margin: 0 auto 14px;
    animation: pv-spin 0.8s linear infinite;
}
@keyframes pv-spin { to { transform: rotate(360deg); } }

.pv-error {
    margin-top: 20px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
}

.pv-result {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
}
.pv-result h3 {
    margin: 0 0 4px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pv-result .pv-verified-tag {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.pv-result .pv-unverified-tag {
    display: inline-block;
    background: #fef9c3;
    color: #a16207;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.pv-fields {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}
@media (max-width: 500px) { .pv-fields { grid-template-columns: 1fr; } }
.pv-field label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 3px;
}
.pv-field span {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.pv-mrz-box {
    margin-top: 18px;
    background: #0d1526;
    color: #4ade80;
    font-family: "Courier New", monospace;
    font-size: 13px;
    padding: 14px 16px;
    border-radius: 8px;
    word-break: break-all;
    line-height: 1.6;
}
.pv-raw-debug {
    margin-top: 18px;
    font-size: 13px;
    color: #6b7280;
}
.pv-raw-debug summary { cursor: pointer; font-weight: 600; }
.pv-raw-debug pre {
    margin-top: 10px;
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 12px;
    color: #334155;
}
