/* VNX PayHelp — 付款售后浮窗样式（2026-08-25，.vnx-payhelp-* 命名沿 P37） */

/* ── Floating FAB ── */
.vnx-payhelp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99990;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: #0A1628;
    color: #F0B31E;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(10, 22, 40, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vnx-payhelp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(10, 22, 40, 0.45);
}
.vnx-payhelp-fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F0B31E;
    color: #0A1628;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}
.vnx-payhelp-fab-label {
    color: #fff;
}
@media (max-width: 640px) {
    .vnx-payhelp-fab-label { display: none; }
}

/* ── Modal ── */
.vnx-payhelp-open-body { overflow: hidden; }

.vnx-payhelp-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(2px);
}
.vnx-payhelp-overlay[hidden] { display: none; }

.vnx-payhelp-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    font-family: Arial, Helvetica, 'Microsoft YaHei', sans-serif;
    color: #1A1A2E;
}
.vnx-payhelp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #8E8E9E;
    cursor: pointer;
}
.vnx-payhelp-close:hover { color: #1A1A2E; }

.vnx-payhelp-modal h3 {
    margin: 0 28px 6px 0;
    font-size: 17px;
    font-weight: 700;
    color: #0A1628;
}
.vnx-payhelp-sub {
    margin: 0 0 16px;
    font-size: 13px;
    color: #6B6B7E;
}

.vnx-payhelp-modal label {
    display: block;
    margin: 12px 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1A1A2E;
}
.vnx-payhelp-modal input[type="email"],
.vnx-payhelp-modal input[type="text"],
.vnx-payhelp-modal textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #D8DCE4;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1A1A2E;
    background: #F6F8FB;
    box-sizing: border-box;
}
.vnx-payhelp-modal textarea { resize: vertical; }
.vnx-payhelp-modal input:focus,
.vnx-payhelp-modal textarea:focus {
    outline: none;
    border-color: #2E7BC4;
    background: #fff;
}

/* Honeypot — invisible to humans, poison to bots */
.vnx-payhelp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vnx-payhelp-msg {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #E8F4EA;
    color: #1E7B34;
    font-size: 13px;
}
.vnx-payhelp-msg--error {
    background: #FDEBEB;
    color: #B3261E;
}

.vnx-payhelp-submit {
    margin-top: 16px;
    width: 100%;
    padding: 11px 16px;
    border: none;
    border-radius: 8px;
    background: #0A1628;
    color: #F0B31E;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.vnx-payhelp-submit:hover { opacity: 0.92; }
.vnx-payhelp-submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.vnx-payhelp-fineprint {
    margin: 12px 0 0;
    font-size: 11px;
    color: #8E8E9E;
    line-height: 1.5;
}

/* ── Inline entry button (payment-success shortcode / account rows) ── */
button.vnx-payhelp-open {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid #0A1628;
    border-radius: 8px;
    background: #0A1628;
    color: #F0B31E;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
button.vnx-payhelp-open:hover { opacity: 0.92; }
a.vnx-payhelp-open {
    color: #2E7BC4;
    text-decoration: underline;
    cursor: pointer;
}
a.vnx-payhelp-open:hover { color: #0A1628; }
