/* ============================================================
   Nigeria Scorecard Voting — v2.0
   ============================================================ */

.nsv-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 680px;
    margin: 0 auto;
    color: #222;
    box-sizing: border-box;
}
.nsv-wrap *, .nsv-wrap *::before, .nsv-wrap *::after { box-sizing: border-box; }

/* ── Profile link ─────────────────────────────────────────── */
.nsv-link-row {
    display: flex;
    border: 1.5px solid #dde2ea;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nsv-url-box {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 14px;
    color: #555;
    background: #fff;
    min-width: 0;
}
.nsv-copy-link-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.nsv-copy-link-btn:hover { background: #16213e; }

/* ── Share row ────────────────────────────────────────────── */
.nsv-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.nsv-share-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Social buttons — solid circles, each with its own colour */
.nsv-btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity .2s, transform .15s;
    /* No border, no outline — colour comes from background */
}
.nsv-btn-social:hover { opacity: .85; transform: scale(1.08); }
.nsv-btn-social svg   { display: block; flex-shrink: 0; }

/* Individual brand colours */
.nsv-fb { background-color: #1877f2; }

/* Instagram gradient */
.nsv-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.nsv-wa { background-color: #25d366; }

/* X: dark charcoal so white icon is visible */
.nsv-x  { background-color: #14171a; }

.nsv-li { background-color: #0a66c2; }

/* ── Section label ────────────────────────────────────────── */
.nsv-section-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}

/* ── Packages ─────────────────────────────────────────────── */
.nsv-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.nsv-pkg-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    border: 2px solid #e8a020;
    background: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    min-width: 130px;
    transition: all .18s;
}
.nsv-pkg-btn:hover,
.nsv-pkg-btn.nsv-selected {
    background: #e8a020;
    box-shadow: 0 3px 10px rgba(232,160,32,.35);
}
.nsv-pkg-price {
    font-size: 16px;
    font-weight: 700;
    color: #c07800;
}
.nsv-pkg-btn:hover .nsv-pkg-price,
.nsv-pkg-btn.nsv-selected .nsv-pkg-price { color: #fff; }
.nsv-pkg-votes {
    font-size: 12px;
    font-weight: 500;
    color: #888;
}
.nsv-pkg-btn:hover .nsv-pkg-votes,
.nsv-pkg-btn.nsv-selected .nsv-pkg-votes { color: rgba(255,255,255,.85); }

/* ── Custom row ───────────────────────────────────────────── */
.nsv-custom-row {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}
.nsv-custom-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.nsv-custom-field label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.nsv-custom-votes,
.nsv-custom-price {
    border: 1.5px solid #dde2ea;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    color: #333;
    outline: none;
    background: #fff;
    width: 100%;
    transition: border-color .2s;
}
.nsv-custom-votes:focus { border-color: #e8a020; }
.nsv-custom-price { background: #f4f6fa; color: #777; cursor: default; }

/* ── Email ────────────────────────────────────────────────── */
.nsv-email-row { margin-bottom: 18px; }
.nsv-email {
    width: 100%;
    border: 1.5px solid #dde2ea;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color .2s;
}
.nsv-email:focus { border-color: #e8a020; }

/* ── Vote button ──────────────────────────────────────────── */
.nsv-vote-btn {
    width: 100%;
    background: linear-gradient(135deg, #e8a020 0%, #c07800 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .4px;
    box-shadow: 0 4px 14px rgba(232,160,32,.4);
    transition: opacity .2s, transform .15s;
}
.nsv-vote-btn:hover  { opacity: .9; transform: translateY(-1px); }
.nsv-vote-btn:active { transform: translateY(0); }

/* ============================================================
   MODAL
   ============================================================ */
.nsv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.nsv-modal {
    background: #1a1a2e;
    color: #fff;
    border-radius: 18px;
    padding: 32px 28px 28px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    animation: nsvUp .25s ease;
}
@keyframes nsvUp {
    from { transform: translateY(28px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.nsv-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    font-size: 22px;
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background .2s;
}
.nsv-modal-close:hover { background: rgba(255,255,255,.2); }

.nsv-modal-h {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    text-align: center;
}
.nsv-modal-sub {
    font-size: 14px;
    color: #bbb;
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.6;
}
.nsv-method-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: opacity .2s, transform .15s;
}
.nsv-method-btn:hover { opacity: .9; transform: translateY(-1px); }
.nsv-bank-method    { background: #00bcd4; color: #fff; }
.nsv-paystack-method { background: #e8a020; color: #fff; }
.nsv-secure {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 6px 0 0;
}

/* ── Bank step ────────────────────────────────────────────── */
.nsv-back-btn {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #ddd;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background .2s;
}
.nsv-back-btn:hover { background: rgba(255,255,255,.18); }

.nsv-bank-card {
    background: #fff;
    color: #222;
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 16px;
}
.nsv-bank-row {
    margin-bottom: 14px;
}
.nsv-bank-row:last-child { margin-bottom: 0; }
.nsv-bank-lbl {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.nsv-bank-val {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.nsv-acct-num {
    font-size: 22px;
    color: #e8a020;
    letter-spacing: 1px;
}
.nsv-copy-acct {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #444;
    transition: background .2s;
}
.nsv-copy-acct:hover { background: #e0e0e0; }

/* ── WhatsApp box ─────────────────────────────────────────── */
.nsv-wa-box {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 16px;
}
.nsv-wa-badge {
    display: inline-block;
    background: #00bcd4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: .5px;
}
.nsv-wa-badge em { font-style: italic; font-weight: 400; }
.nsv-wa-box p {
    font-size: 13px;
    color: #ccc;
    margin: 0 0 10px;
    line-height: 1.5;
}
.nsv-wa-link {
    display: block;
    background: rgba(37,211,102,.15);
    border: 1.5px solid #25d366;
    color: #25d366;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    word-break: break-all;
    transition: background .2s;
}
.nsv-wa-link:hover { background: rgba(37,211,102,.25); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 500px) {
    .nsv-pkg-btn  { min-width: calc(50% - 5px); }
    .nsv-custom-row { flex-direction: column; }
    .nsv-modal    { padding: 24px 16px 20px; }
}
