/*
 * Product Verification System - Frontend (Modern, LTR)
 */

.pv-verify-wrap {
    direction: ltr;
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
}

.pv-verify-form {
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.10);
    backdrop-filter: blur(8px);
}

.pv-standalone-page {
    background:
        radial-gradient(980px 560px at 20% 0%, rgba(37, 99, 235, 0.28), transparent 62%),
        radial-gradient(820px 520px at 100% 10%, rgba(22, 163, 74, 0.20), transparent 64%),
        #070b14;
    color: #e5e7eb;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pv-standalone-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 16px;
}

.pv-standalone-title {
    font-size: 34px;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.pv-standalone-sub {
    margin: 0 0 22px;
    opacity: 0.86;
    line-height: 1.6;
}

.pv-standalone-page .pv-verify-form {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.pv-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pv-box {
    width: 96px;
    height: 56px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.14);
    outline: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.pv-box:focus {
    border-color: rgba(37, 99, 235, 0.70);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.20);
    transform: translateY(-1px);
}

.pv-standalone-page .pv-box {
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.14);
}

.pv-dash {
    opacity: 0.55;
    font-weight: 900;
}

.pv-captcha {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.pv-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.pv-btn {
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.20);
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.pv-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.25);
    filter: brightness(1.03);
}

.pv-btn:active {
    transform: translateY(0);
}

.pv-btn:focus {
    outline: none;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.22);
}

.pv-loading {
    font-size: 14px;
    opacity: 0.85;
}

.pv-result {
    margin-top: 14px;
    text-align: center;
    font-weight: 800;
    line-height: 1.6;
}

.pv-result:empty {
    margin-top: 0;
}

.pv-result.pv-ok {
    color: #16a34a;
}

.pv-result.pv-warn {
    color: #f59e0b;
}

.pv-result.pv-bad {
    color: #ef4444;
}

.pv-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

@media (max-width: 520px) {
    .pv-box {
        width: 78px;
        height: 54px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pv-box,
    .pv-btn {
        transition: none;
    }
}
