/*
 * Tapplaza Verify — front-end styles
 * Uses the TapPlaza theme's own CSS custom properties (--bg, --surf,
 * --t1, --t2, --bdr, etc. — defined in inc/customizer.php) so these
 * pages automatically match the site's dark/light mode without this
 * plugin shipping a second colour system.
 */

.tpvfy-wrap {
    max-width: 640px;
    margin: 48px auto;
    padding: 0 20px;
}

.tpvfy-card {
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 16px;
    padding: 32px;
}

.tpvfy-badge {
    display: inline-block;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 0.02em;
}
.tpvfy-badge-ok   { background: rgba(34,197,94,0.15); color: #22c55e; }
.tpvfy-badge-warn { background: rgba(234,179,8,0.15); color: #eab308; }

.tpvfy-product-name { font-size: 26px; margin: 0 0 16px; color: var(--t1, #fff); }
.tpvfy-product-image img { max-width: 100%; border-radius: 12px; margin-bottom: 16px; }

.tpvfy-details { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.tpvfy-details th { text-align: left; color: var(--t3, #8a96b0); font-weight: 500; padding: 6px 12px 6px 0; vertical-align: top; width: 40%; }
.tpvfy-details td { color: var(--t1, #fff); padding: 6px 0; }
.tpvfy-details code { background: var(--surf2, #1c2038); padding: 2px 8px; border-radius: 6px; }

.tpvfy-note { color: #eab308; font-size: 14px; }
.tpvfy-footnote { color: var(--t3, #8a96b0); font-size: 13px; margin-top: 20px; }
.tpvfy-help-list { color: var(--t2, #a5adc4); }
.tpvfy-code-shown code { background: var(--surf2, #1c2038); padding: 2px 8px; border-radius: 6px; }

.tpvfy-btn {
    display: inline-block;
    background: var(--accent, #7c3aed);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 16px;
}
.tpvfy-btn-outline { background: transparent; border: 1px solid var(--bdr, #2a2f4a); color: var(--t1, #fff) !important; }
.tpvfy-btn-sm { padding: 6px 12px; font-size: 13px; margin-top: 0; }

.tpvfy-notice { max-width: 640px; margin: 48px auto; padding: 20px; background: var(--surf2, #1c2038); border-radius: 12px; }
.tpvfy-error { color: #ef4444; }
.tpvfy-success { border-left: 3px solid #22c55e; padding-left: 12px; }

.tpvfy-form label { display: block; margin-bottom: 14px; color: var(--t1, #fff); }
.tpvfy-form input, .tpvfy-form textarea {
    width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 8px;
    border: 1px solid var(--bdr, #2a2f4a); background: var(--surf2, #1c2038); color: var(--t1, #fff);
}

.tpvfy-dashboard { max-width: 900px; margin: 32px auto; padding: 0 20px; }
.tpvfy-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--bdr, #2a2f4a); }
.tpvfy-tabs a { padding: 10px 16px; color: var(--t2, #a5adc4); text-decoration: none; border-bottom: 2px solid transparent; }
.tpvfy-tabs a.active { color: var(--t1, #fff); border-bottom-color: var(--accent, #7c3aed); }

.tpvfy-mini-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.tpvfy-mini-table th, .tpvfy-mini-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--bdr, #2a2f4a); color: var(--t1, #fff); }
.tpvfy-product-row { padding: 16px 0; border-bottom: 1px solid var(--bdr, #2a2f4a); }
.tpvfy-inline-form input { padding: 6px 8px; border-radius: 6px; border: 1px solid var(--bdr, #2a2f4a); background: var(--surf2, #1c2038); color: var(--t1, #fff); }

.tpvfy-cta-box { background: var(--surf2, #1c2038); border-radius: 12px; padding: 20px; margin-top: 24px; }

.tpvfy-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; margin-top: 16px; }
.tpvfy-product-tile { text-align: center; }
.tpvfy-product-tile img { border-radius: 8px; max-width: 100%; }

@media (max-width: 480px) {
    .tpvfy-wrap, .tpvfy-dashboard { margin: 20px auto; padding: 0 14px; }
    .tpvfy-card { padding: 20px; }
}
