/* Virtual Numbers v2 — focused, progressive and mobile-first purchase flow */

.vn-page {
    --vn-surface: #071226;
    --vn-surface-strong: #0a1931;
    --vn-surface-soft: rgba(255, 255, 255, 0.035);
    --vn-border: rgba(148, 203, 236, 0.16);
    --vn-border-strong: rgba(74, 211, 255, 0.42);
    --vn-text: #f4f9ff;
    --vn-muted: #94a9c5;
    --vn-blue: #35c8ff;
    --vn-cyan: #24e0c7;
    --vn-green: #62e69a;
    --vn-yellow: #f6c85f;
    --vn-red: #ff7d91;
    --vn-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 6.8rem 1.25rem 5rem;
    color: var(--vn-text);
}

body:has(.vn-page) #pwa-install-banner {
    display: none !important;
}

body:has(.vn-page) #wa-float-btn {
    display: none !important;
}

/* Critical mobile fallback: this page must never expose the raw support
   markup if the dedicated chat stylesheet is delayed or blocked. */
body:has(.vn-page) #livechat-window:not(.open) {
    display: none !important;
}

@media (max-width: 640px) {
    body:has(.vn-page) #livechat-btn {
        position: fixed;
        bottom: 78px;
        left: 18px;
        z-index: 100008;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: linear-gradient(135deg, #00d1b2 0%, #0077ff 62%, #10284f 100%);
        box-shadow: 0 6px 16px rgba(0, 200, 255, 0.24), 0 2px 8px rgba(0, 0, 0, 0.24);
    }

    body:has(.vn-page) #livechat-btn svg {
        width: 22px;
        height: 22px;
        fill: currentColor;
    }

    body:has(.vn-page) #livechat-window.open {
        position: fixed;
        inset: auto 0 0;
        z-index: 100010;
        width: 100%;
        height: min(86dvh, 720px);
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        color: #f4f9ff;
        direction: rtl;
        border: 1px solid rgba(0, 209, 178, 0.18);
        border-radius: 24px 24px 0 0;
        background: linear-gradient(160deg, rgba(8, 28, 45, 0.99), rgba(5, 11, 25, 0.99));
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    body:has(.vn-page) #livechat-window .livechat-header,
    body:has(.vn-page) #livechat-window .livechat-header-info,
    body:has(.vn-page) #livechat-window .livechat-input {
        display: flex;
        align-items: center;
    }

    body:has(.vn-page) #livechat-window .livechat-header {
        justify-content: space-between;
        gap: 12px;
        padding: 16px;
        border-bottom: 1px solid rgba(0, 209, 178, 0.13);
        background: rgba(255, 255, 255, 0.035);
    }

    body:has(.vn-page) #livechat-window .livechat-header-info {
        gap: 10px;
        min-width: 0;
    }

    body:has(.vn-page) #livechat-window .livechat-header-avatar {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 13px;
        background: linear-gradient(135deg, #00d1b2, #0077ff);
    }

    body:has(.vn-page) #livechat-window .livechat-header-title {
        color: #fff;
        font-weight: 800;
    }

    body:has(.vn-page) #livechat-window .livechat-header-text span {
        display: block;
        color: rgba(185, 222, 237, 0.75);
        font-size: 0.72rem;
    }

    body:has(.vn-page) #livechat-window .livechat-close {
        border: 0;
        background: transparent;
        color: #d7e7f6;
        font-size: 1.35rem;
    }

    body:has(.vn-page) #livechat-window .livechat-ai-disclaimer {
        margin: 10px 12px 0;
        padding: 9px 11px;
        border-radius: 14px;
        background: rgba(255, 184, 77, 0.1);
        color: rgba(255, 255, 255, 0.74);
        font-size: 0.7rem;
        line-height: 1.6;
    }

    body:has(.vn-page) #livechat-window .livechat-messages {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 14px;
    }

    body:has(.vn-page) #livechat-window .support-quick-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body:has(.vn-page) #livechat-window .support-quick-actions button {
        min-height: 40px;
        border: 1px solid rgba(0, 209, 178, 0.16);
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.055);
        color: #eaf8ff;
    }

    body:has(.vn-page) #livechat-window .livechat-input {
        gap: 8px;
        padding: 12px;
        border-top: 1px solid rgba(0, 209, 178, 0.12);
        background: #050c19;
    }

    body:has(.vn-page) #livechat-window .livechat-input input {
        flex: 1;
        min-width: 0;
        padding: 11px 13px;
        border: 1px solid rgba(0, 200, 255, 0.18);
        border-radius: 14px;
        outline: 0;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    body:has(.vn-page) #livechat-window .livechat-send,
    body:has(.vn-page) #livechat-window .livechat-attach {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border: 0;
        border-radius: 13px;
        display: grid;
        place-items: center;
        color: #fff;
        background: linear-gradient(135deg, #00d1b2, #0077ff);
    }
}

@media (min-width: 641px) {
    body:has(.vn-page) #livechat-btn {
        display: none !important;
    }
}

.vn-page *,
.vn-page *::before,
.vn-page *::after {
    box-sizing: border-box;
}

.vn-page .hidden {
    display: none !important;
}

.vn-page button,
.vn-page input,
.vn-page select {
    font: inherit;
}

.vn-page button,
.vn-page a,
.vn-page summary,
.vn-page input,
.vn-page select {
    -webkit-tap-highlight-color: transparent;
}

.vn-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vn-breadcrumb {
    margin-bottom: 0.85rem;
    color: var(--vn-muted);
    font-size: 0.78rem;
}

.vn-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vn-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-inline-start: 0.45rem;
    color: #526a88;
}

.vn-breadcrumb a,
.vn-guide-link,
.vn-history-all {
    color: #68d9ff;
    text-decoration: none;
}

.vn-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 154px;
    margin-bottom: 0.9rem;
    padding: 1.5rem 1.65rem;
    overflow: hidden;
    border: 1px solid rgba(61, 199, 255, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 10%, rgba(49, 202, 255, 0.18), transparent 34%),
        radial-gradient(circle at 92% 90%, rgba(41, 224, 199, 0.11), transparent 32%),
        linear-gradient(145deg, rgba(9, 25, 50, 0.98), rgba(4, 12, 27, 0.98));
    box-shadow: var(--vn-shadow);
}

.vn-hero::after {
    content: "";
    position: absolute;
    inset-inline-end: -32px;
    bottom: -54px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(76, 218, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(53, 200, 255, 0.025), 0 0 0 62px rgba(53, 200, 255, 0.018);
    pointer-events: none;
}

.vn-hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.vn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    color: #8be9ff;
    font-size: 0.76rem;
    font-weight: 800;
}

.vn-eyebrow i {
    color: var(--vn-yellow);
}

.vn-hero h1 {
    margin: 0;
    color: var(--vn-text);
    font-size: clamp(1.45rem, 3.2vw, 2.25rem);
    font-weight: 900;
    line-height: 1.35;
}

.vn-hero h1 span {
    color: var(--vn-blue);
}

.vn-hero p {
    max-width: 640px;
    margin: 0.45rem 0 0;
    color: var(--vn-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.vn-guide-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(104, 217, 255, 0.26);
    border-radius: 13px;
    background: rgba(53, 200, 255, 0.08);
    color: #dff7ff;
    font-size: 0.82rem;
    font-weight: 800;
}

.vn-guide-link:hover {
    border-color: rgba(104, 217, 255, 0.5);
    background: rgba(53, 200, 255, 0.14);
}

.vn-policy-note {
    margin: 0 0 1rem;
    overflow: hidden;
    border: 1px solid rgba(246, 200, 95, 0.2);
    border-radius: 16px;
    background: rgba(246, 200, 95, 0.055);
}

.vn-policy-note summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 50px;
    padding: 0.75rem 1rem;
    color: #ffe4a0;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.vn-policy-note summary::-webkit-details-marker {
    display: none;
}

.vn-policy-note summary > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vn-policy-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #c5af7d;
    font-size: 0.72rem;
    font-weight: 700;
}

.vn-policy-toggle i {
    transition: transform 0.2s ease;
}

.vn-policy-note[open] .vn-policy-toggle i {
    transform: rotate(180deg);
}

.vn-policy-content {
    padding: 0 1rem 0.9rem;
    border-top: 1px solid rgba(246, 200, 95, 0.12);
}

.vn-policy-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 1.5rem;
    margin: 0;
    padding: 0.8rem 1.15rem 0 0;
}

.vn-policy-content li {
    color: #c7b98e;
    font-size: 0.77rem;
    line-height: 1.7;
}

.vn-form-card,
.vn-activation-card {
    border: 1px solid var(--vn-border);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(8, 20, 42, 0.98), rgba(4, 11, 25, 0.98));
    box-shadow: var(--vn-shadow);
}

.vn-purchase-shell {
    margin-bottom: 1rem;
    padding: 1.15rem;
}

.vn-boot-state {
    display: flex;
    max-width: 560px;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem auto;
    padding: 1rem;
}

.vn-boot-state > div {
    display: grid;
    gap: 0.18rem;
}

.vn-boot-state strong {
    color: var(--vn-text);
    font-size: 0.82rem;
}

.vn-boot-state span:not(.vn-boot-spinner) {
    color: var(--vn-muted);
    font-size: 0.68rem;
}

.vn-boot-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(53, 200, 255, 0.15);
    border-top-color: #35c8ff;
    border-radius: 50%;
    animation: vn-spin 0.85s linear infinite;
}

.vn-flow-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    margin: 0 auto 1rem;
    padding: 0;
    list-style: none;
}

.vn-progress-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: #7187a4;
    font-size: 0.75rem;
}

.vn-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 50%;
    inset-inline-start: calc(50% + 38px);
    width: calc(100% - 76px);
    height: 1px;
    background: rgba(130, 164, 200, 0.18);
}

.vn-progress-step span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(130, 164, 200, 0.2);
    border-radius: 50%;
    background: #0a172d;
    color: #7f96b2;
    font-size: 0.72rem;
    font-weight: 900;
}

.vn-purchase-shell[data-step="1"] .vn-progress-step[data-step="1"],
.vn-purchase-shell[data-step="2"] .vn-progress-step[data-step="2"],
.vn-purchase-shell[data-step="3"] .vn-progress-step[data-step="3"] {
    color: #dff8ff;
}

.vn-purchase-shell[data-step="1"] .vn-progress-step[data-step="1"] span,
.vn-purchase-shell[data-step="2"] .vn-progress-step[data-step="2"] span,
.vn-purchase-shell[data-step="3"] .vn-progress-step[data-step="3"] span {
    border-color: rgba(53, 200, 255, 0.65);
    background: linear-gradient(135deg, #35c8ff, #2aa4ec);
    color: #04101e;
    box-shadow: 0 0 0 4px rgba(53, 200, 255, 0.1);
}

.vn-purchase-shell[data-step="2"] .vn-progress-step[data-step="1"] span,
.vn-purchase-shell[data-step="3"] .vn-progress-step[data-step="1"] span,
.vn-purchase-shell[data-step="3"] .vn-progress-step[data-step="2"] span {
    border-color: rgba(98, 230, 154, 0.45);
    background: rgba(98, 230, 154, 0.14);
    color: var(--vn-green);
}

.vn-purchase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 326px;
    gap: 1rem;
    align-items: start;
}

.vn-picker-pane,
.vn-checkout-panel {
    min-width: 0;
    border: 1px solid rgba(148, 203, 236, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.018);
}

.vn-picker-pane {
    padding: 1rem;
}

.vn-purchase-shell.is-busy .vn-picker-pane {
    opacity: 0.58;
    pointer-events: none;
    transition: opacity 0.16s ease;
}

.vn-checkout-panel {
    position: sticky;
    top: 6.75rem;
    padding: 1rem;
    background:
        radial-gradient(circle at top right, rgba(36, 224, 199, 0.09), transparent 38%),
        rgba(6, 17, 35, 0.96);
}

.vn-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: min(100%, 430px);
    margin-bottom: 1rem;
    padding: 0.3rem;
    border: 1px solid rgba(148, 203, 236, 0.11);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.16);
}

.vn-mode-btn {
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8298b4;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.vn-mode-btn.is-active {
    background: rgba(53, 200, 255, 0.12);
    color: #dff8ff;
    box-shadow: inset 0 0 0 1px rgba(53, 200, 255, 0.24);
}

.vn-step-head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.vn-step-head h2,
.vn-step-head h3 {
    margin: 0;
    color: var(--vn-text);
    font-size: 1rem;
    font-weight: 850;
}

.vn-step-head p {
    margin: 0.15rem 0 0;
    color: var(--vn-muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

.vn-step-badge {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: rgba(53, 200, 255, 0.13);
    color: #76dcff;
    font-size: 0.78rem;
    font-weight: 900;
}

.vn-flow-step + .vn-flow-step {
    margin-top: 1.25rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 203, 236, 0.1);
}

.vn-advanced-search-panel {
    margin-bottom: 0.9rem;
}

.vn-search-heading {
    display: none;
}

.vn-app-tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.vn-app-search {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    min-height: 48px;
    padding: 0 0.9rem;
    border: 1px solid rgba(148, 203, 236, 0.18);
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.17);
    color: #6f89a8;
}

.vn-app-search:focus-within {
    border-color: rgba(53, 200, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(53, 200, 255, 0.1);
}

.vn-app-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--vn-text);
    font-size: 0.82rem;
}

.vn-app-search input::placeholder {
    color: #7087a3;
}

.vn-app-count {
    flex: 0 0 auto;
    color: #7189a7;
    font-size: 0.68rem;
}

.vn-advanced-app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.vn-app-empty {
    grid-column: 1 / -1;
    padding: 0.8rem;
    border: 1px dashed rgba(148, 203, 236, 0.13);
    border-radius: 12px;
    color: #7f96b2;
    text-align: center;
    font-size: 0.73rem;
}

.vn-app-search-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.vn-app-show-more {
    width: 100%;
    min-height: 44px;
    margin-top: 0.6rem;
    border: 1px solid rgba(53, 200, 255, 0.22);
    border-radius: 11px;
    background: rgba(53, 200, 255, 0.07);
    color: #bdefff;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.vn-mode-panel.is-searching .vn-featured-apps {
    display: none;
}

.vn-popular-apps-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin: 0.85rem 0 0.6rem;
}

.vn-popular-apps-head > div {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
}

.vn-popular-apps-head strong {
    color: #e8f5ff;
    font-size: 0.8rem;
}

.vn-popular-apps-head span {
    color: #6f86a4;
    font-size: 0.66rem;
}

.vn-popular-count {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(53, 200, 255, 0.07);
}

.vn-app-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.vn-app-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 104px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.45rem;
    border: 1px solid rgba(148, 203, 236, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--vn-text);
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.vn-app-card:hover {
    transform: translateY(-2px);
    border-color: rgba(53, 200, 255, 0.32);
    background: rgba(53, 200, 255, 0.055);
}

.vn-app-card.is-active {
    border-color: var(--vn-accent, #35c8ff);
    background: linear-gradient(155deg, rgba(53, 200, 255, 0.12), rgba(36, 224, 199, 0.07));
    box-shadow: inset 0 0 0 1px rgba(53, 200, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.16);
}

.vn-app-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.45rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--vn-accent, #35c8ff);
    font-size: 1.25rem;
}

.vn-app-logo {
    display: block;
    width: 23px;
    height: 23px;
    background: var(--vn-accent, #35c8ff);
    -webkit-mask: var(--vn-app-logo) center / contain no-repeat;
    mask: var(--vn-app-logo) center / contain no-repeat;
}

.vn-app-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #f2f8ff;
    font-size: 0.78rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vn-app-subtitle {
    display: block;
    max-width: 100%;
    margin-top: 0.12rem;
    overflow: hidden;
    color: #7086a3;
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vn-general-number-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(246, 200, 95, 0.18);
    border-radius: 11px;
    background: rgba(246, 200, 95, 0.045);
    color: #bfae7f;
    font-size: 0.66rem;
    line-height: 1.65;
}

.vn-general-number-note > i,
.vn-general-number-note strong {
    color: #f5d47f;
}

.vn-inline-hint,
.vn-quality-hint,
.vn-balance-notice,
.vn-buy-error {
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(148, 203, 236, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.022);
    color: #849ab6;
    font-size: 0.71rem;
    line-height: 1.6;
}

.vn-inline-hint.is-success,
.vn-quality-hint.is-good {
    border-color: rgba(98, 230, 154, 0.25);
    background: rgba(98, 230, 154, 0.06);
    color: #9de9bc;
}

.vn-inline-hint.is-warning,
.vn-quality-hint.is-mid,
.vn-balance-notice {
    border-color: rgba(246, 200, 95, 0.28);
    background: rgba(246, 200, 95, 0.065);
    color: #e8ce8e;
}

.vn-quality-hint.is-bad,
.vn-buy-error {
    border-color: rgba(255, 125, 145, 0.28);
    background: rgba(255, 125, 145, 0.07);
    color: #ffb5c0;
}

.vn-quality-hint,
.vn-balance-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.vn-quality-icon,
.vn-balance-notice-icon {
    flex: 0 0 auto;
    margin-top: 0.18rem;
}

.vn-balance-notice-copy {
    flex: 1 1 auto;
}

.vn-balance-recharge {
    flex: 0 0 auto;
    color: #66d9ff;
    font-weight: 850;
}

.vn-country-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.vn-country-show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    margin: 0.6rem auto 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(53, 200, 255, 0.2);
    border-radius: 11px;
    background: rgba(53, 200, 255, 0.06);
    color: #9fe8ff;
    font-size: 0.7rem;
    font-weight: 850;
    cursor: pointer;
}

.vn-country-card {
    position: relative;
    min-height: 72px;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(148, 203, 236, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.024);
    color: var(--vn-text);
    text-align: right;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.vn-country-card:hover {
    transform: translateY(-1px);
    border-color: rgba(53, 200, 255, 0.3);
}

.vn-country-card.is-active {
    border-color: rgba(36, 224, 199, 0.7);
    background: rgba(36, 224, 199, 0.08);
    box-shadow: inset 0 0 0 1px rgba(36, 224, 199, 0.1);
}

.vn-country-card.is-recommended {
    border-color: rgba(98, 230, 154, 0.35);
}

.vn-country-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.vn-country-label {
    min-width: 0;
    overflow: hidden;
    color: #f0f7ff;
    font-size: 0.78rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vn-country-meta {
    display: block;
    margin-top: 0.22rem;
    color: #7890ad;
    font-size: 0.65rem;
}

.vn-country-recommended {
    flex: 0 0 auto;
    padding: 0.22rem 0.42rem;
    border-radius: 999px;
    background: rgba(98, 230, 154, 0.12);
    color: #8eecb4;
    font-size: 0.64rem;
    font-weight: 900;
}

.vn-advanced-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding: 0.85rem;
    border: 1px solid rgba(148, 203, 236, 0.1);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.12);
}

.vn-form-group {
    min-width: 0;
}

.vn-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #c9d9ea;
    font-size: 0.74rem;
    font-weight: 800;
}

.vn-form-group label i {
    margin-inline-end: 0.3rem;
    color: #61d8ff;
}

.vn-select-wrapper {
    position: relative;
}

.vn-select {
    width: 100%;
    min-height: 46px;
    padding: 0 0.75rem;
    padding-inline-end: 2.2rem;
    border: 1px solid rgba(148, 203, 236, 0.16);
    border-radius: 11px;
    outline: 0;
    appearance: none;
    background: #07152b;
    color: var(--vn-text);
    font-size: 0.78rem;
    cursor: pointer;
}

.vn-select-wrapper::after {
    content: "\f078";
    position: absolute;
    top: 50%;
    inset-inline-end: 0.8rem;
    transform: translateY(-50%);
    color: #7890ad;
    font-family: "Font Awesome 6 Free";
    font-size: 0.68rem;
    font-weight: 900;
    pointer-events: none;
}

#vnManualMode .vn-inline-hint {
    grid-column: 1 / -1;
    margin-top: 0;
}

.vn-checkout-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.8rem;
}

.vn-checkout-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(36, 224, 199, 0.1);
    color: var(--vn-cyan);
}

.vn-checkout-head h2 {
    margin: 0;
    color: var(--vn-text);
    font-size: 0.9rem;
}

.vn-checkout-head p {
    margin: 0.08rem 0 0;
    color: #7188a5;
    font-size: 0.64rem;
}

.vn-selection-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.vn-selection-item {
    min-width: 0;
    padding: 0.6rem 0.65rem;
    border: 1px solid rgba(148, 203, 236, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
}

.vn-selection-service {
    grid-column: 1 / -1;
}

.vn-selection-label {
    display: block;
    margin-bottom: 0.15rem;
    color: #7188a4;
    font-size: 0.66rem;
}

.vn-selection-item strong {
    display: block;
    overflow: hidden;
    color: #dceaf7;
    font-size: 0.72rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vn-price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 62px;
    margin-top: 0.7rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(98, 230, 154, 0.22);
    border-radius: 13px;
    background: rgba(98, 230, 154, 0.055);
}

.vn-price-label {
    color: #9cb0c8;
    font-size: 0.75rem;
}

.vn-price-label i {
    margin-inline-end: 0.28rem;
    color: var(--vn-green);
}

.vn-price-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--vn-green);
    font-size: 1.25rem;
    font-weight: 900;
    direction: ltr;
}

.vn-price-value.loading {
    color: #7188a4;
    font-size: 0.72rem;
    font-weight: 700;
    direction: rtl;
}

.vn-buy-btn {
    display: inline-flex;
    width: 100%;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #35c8ff, #168ed6);
    color: #03111f;
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(25, 159, 220, 0.22);
    cursor: pointer;
    transition: transform 0.16s ease, filter 0.16s ease;
}

.vn-buy-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.vn-buy-btn:disabled {
    background: #18304b;
    color: #66809c;
    box-shadow: none;
    cursor: not-allowed;
}

.vn-checkout-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.8rem;
    margin-top: 0.55rem;
    color: #6f87a4;
    font-size: 0.66rem;
}

.vn-checkout-trust i {
    margin-inline-end: 0.2rem;
    color: #55cde9;
}

.vn-retry-btn {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.55rem;
    border: 1px solid rgba(53, 200, 255, 0.25);
    border-radius: 11px;
    background: rgba(53, 200, 255, 0.07);
    color: #bfefff;
    font-size: 0.72rem;
    font-weight: 850;
    cursor: pointer;
}

.vn-retry-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.vn-login-required {
    max-width: 560px;
    margin: 1.25rem auto;
    padding: 2rem 1.25rem;
    text-align: center;
}

.vn-login-required > i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 0.7rem;
    border-radius: 16px;
    background: rgba(53, 200, 255, 0.1);
    color: #57d4ff;
    font-size: 1.25rem;
}

.vn-login-required h2,
.vn-login-required h3 {
    margin: 0;
    color: var(--vn-text);
    font-size: 1.1rem;
}

.vn-login-required p {
    margin: 0.45rem auto 0.9rem;
    color: var(--vn-muted);
    font-size: 0.8rem;
    line-height: 1.7;
}

.vn-login-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    background: #25b8f2;
    color: #03111f;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

/* Active number */
.vn-activation-card {
    max-width: 820px;
    margin: 1rem auto;
    padding: 1.25rem;
}

.vn-activation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.vn-activation-status,
.vn-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 850;
}

.vn-activation-status {
    background: rgba(53, 200, 255, 0.08);
    color: #9be7ff;
}

.vn-activation-status.received {
    background: rgba(98, 230, 154, 0.09);
    color: #98efb9;
}

.vn-activation-status.cancelled {
    background: rgba(255, 125, 145, 0.09);
    color: #ffafbb;
}

.vn-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(53, 200, 255, 0.08);
}

.vn-activation-status.waiting .vn-status-dot {
    animation: vn-pulse 1.5s ease-in-out infinite;
}

.vn-timer {
    direction: ltr;
    border: 1px solid rgba(246, 200, 95, 0.22);
    background: rgba(246, 200, 95, 0.07);
    color: var(--vn-yellow);
    font-variant-numeric: tabular-nums;
}

.vn-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem;
    border: 1px solid rgba(53, 200, 255, 0.24);
    border-radius: 15px;
    background: rgba(53, 200, 255, 0.065);
}

.vn-phone-number {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: clamp(1.15rem, 4vw, 1.65rem);
    font-weight: 900;
    letter-spacing: 0.035em;
    direction: ltr;
}

.vn-copy-btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(53, 200, 255, 0.3);
    border-radius: 10px;
    background: rgba(53, 200, 255, 0.09);
    color: #c9f3ff;
    font-size: 0.72rem;
    font-weight: 850;
    cursor: pointer;
}

.vn-activation-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0.8rem 0;
    color: #8198b4;
    font-size: 0.68rem;
}

.vn-activation-guide span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.vn-activation-guide b {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(53, 200, 255, 0.1);
    color: #75dcff;
    font-size: 0.62rem;
}

.vn-activation-guide > i {
    color: #415a77;
    font-size: 0.58rem;
}

.vn-waiting-msg {
    padding: 0.8rem;
    color: #849ab5;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.7;
}

.vn-waiting-msg > i {
    color: #62d8ff;
    animation: vn-spin 1.2s linear infinite;
}

.vn-waiting-msg p {
    margin: 0.35rem 0 0;
}

.vn-code-container {
    margin: 0.8rem 0;
    padding: 1rem;
    border: 1px solid rgba(98, 230, 154, 0.3);
    border-radius: 15px;
    background: rgba(98, 230, 154, 0.07);
    text-align: center;
}

.vn-code-label {
    color: #9ceab9;
    font-size: 0.72rem;
    font-weight: 800;
}

.vn-code-digits {
    margin-top: 0.35rem;
    color: #b5f8ce;
    font-size: clamp(1.7rem, 7vw, 2.7rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    direction: ltr;
}

.vn-progress-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.vn-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #35c8ff, #24e0c7);
    transition: width 1s linear;
}

.vn-actions-row {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.vn-action-btn {
    display: inline-flex;
    flex: 1 1 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 1px solid rgba(148, 203, 236, 0.14);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    color: #c8d9e9;
    font-size: 0.73rem;
    font-weight: 850;
    cursor: pointer;
}

.vn-action-btn.danger {
    border-color: rgba(255, 125, 145, 0.24);
    background: rgba(255, 125, 145, 0.07);
    color: #ffafbb;
}

.vn-action-btn.warning {
    border-color: rgba(246, 200, 95, 0.24);
    background: rgba(246, 200, 95, 0.07);
    color: #efd490;
}

.vn-action-btn.success {
    border-color: rgba(98, 230, 154, 0.25);
    background: rgba(98, 230, 154, 0.07);
    color: #9ceabb;
}

.vn-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Recent numbers */
#vnHistory {
    margin-top: 1rem;
    padding: 1rem;
}

.vn-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.vn-history-title {
    margin: 0;
    color: var(--vn-text);
    font-size: 0.9rem;
}

.vn-history-title i {
    margin-inline-end: 0.3rem;
    color: #5dd5ff;
}

.vn-history-head p {
    margin: 0.15rem 0 0;
    color: #7288a4;
    font-size: 0.64rem;
}

.vn-history-all {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 850;
}

#vnHistoryList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.vn-history-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid rgba(148, 203, 236, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.024);
}

.vn-history-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--vn-accent, #64d8ff);
}

.vn-history-icon .vn-app-logo {
    width: 20px;
    height: 20px;
}

.vn-history-main {
    min-width: 0;
}

.vn-history-service,
.vn-history-phone,
.vn-history-details {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vn-history-service {
    color: #eef7ff;
    font-size: 0.74rem;
    font-weight: 850;
}

.vn-history-phone {
    margin-top: 0.08rem;
    color: #8ba3bf;
    font-size: 0.67rem;
    text-align: right;
}

.vn-history-details {
    margin-top: 0.12rem;
    color: #637b98;
    font-size: 0.62rem;
}

.vn-history-side {
    display: grid;
    justify-items: end;
    gap: 0.28rem;
}

.vn-history-side time {
    color: #637a97;
    font-size: 0.62rem;
}

.vn-history-status {
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    white-space: nowrap;
}

.vn-history-status.received {
    background: rgba(98, 230, 154, 0.1);
    color: #99eebb;
}

.vn-history-status.waiting {
    background: rgba(53, 200, 255, 0.1);
    color: #94e7ff;
}

.vn-history-status.cancelled {
    background: rgba(255, 125, 145, 0.09);
    color: #ffadb9;
}

/* Confirmation */
body.vn-confirm-open {
    overflow: hidden;
}

body.vn-confirm-open #livechat-btn,
body.vn-confirm-open #livechat-window,
body.vn-confirm-open #wa-float-btn,
body.vn-confirm-open #pwa-install-banner {
    display: none !important;
    pointer-events: none !important;
}

.vn-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100020;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 5, 16, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.vn-confirm-card {
    width: min(100%, 450px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.2rem;
    border: 1px solid rgba(53, 200, 255, 0.35);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(53, 200, 255, 0.13), transparent 38%),
        #071326;
    color: var(--vn-text);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.vn-confirm-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 0.65rem;
    border-radius: 15px;
    background: rgba(53, 200, 255, 0.1);
    color: #60d7ff;
    font-size: 1.15rem;
}

.vn-confirm-icon.is-danger {
    background: rgba(255, 125, 145, 0.1);
    color: #ff9aaa;
}

.vn-confirm-icon.is-warning {
    background: rgba(246, 200, 95, 0.1);
    color: #f3cd73;
}

.vn-confirm-card h2,
.vn-confirm-card h3 {
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 1.05rem;
}

.vn-confirm-card > p {
    margin: 0.25rem 0 0.8rem;
    color: #8197b2;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.65;
}

.vn-confirm-summary {
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border: 1px solid rgba(148, 203, 236, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.vn-confirm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #8399b4;
    font-size: 0.72rem;
}

.vn-confirm-row strong {
    color: #eff8ff;
    text-align: left;
}

.vn-confirm-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.7rem 0;
    padding: 0.65rem 0.7rem;
    border: 1px solid rgba(246, 200, 95, 0.22);
    border-radius: 11px;
    background: rgba(246, 200, 95, 0.06);
    color: #ddc481;
    font-size: 0.68rem;
    line-height: 1.6;
}

.vn-confirm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.vn-confirm-btn {
    min-height: 45px;
    border: 1px solid rgba(148, 203, 236, 0.14);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    color: #cbdbea;
    font-size: 0.74rem;
    font-weight: 900;
    cursor: pointer;
}

.vn-confirm-btn.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #35c8ff, #168ed6);
    color: #03111f;
}

.vn-confirm-btn.danger {
    border-color: transparent;
    background: linear-gradient(135deg, #ff7188, #d83d59);
    color: #ffffff;
}

.vn-confirm-btn.warning {
    border-color: transparent;
    background: linear-gradient(135deg, #f6c85f, #dd9d25);
    color: #201500;
}

.vn-mode-btn:focus-visible,
.vn-app-card:focus-visible,
.vn-country-card:focus-visible,
.vn-country-show-all:focus-visible,
.vn-select:focus-visible,
.vn-buy-btn:focus-visible,
.vn-copy-btn:focus-visible,
.vn-action-btn:focus-visible,
.vn-login-btn:focus-visible,
.vn-history-all:focus-visible,
.vn-confirm-btn:focus-visible,
.vn-policy-note summary:focus-visible,
.vn-guide-link:focus-visible {
    outline: 3px solid rgba(98, 216, 255, 0.5);
    outline-offset: 2px;
}

body.light-theme .vn-page {
    --vn-surface: #ffffff;
    --vn-surface-strong: #f4f9fd;
    --vn-surface-soft: rgba(7, 63, 98, 0.035);
    --vn-border: rgba(8, 83, 126, 0.14);
    --vn-text: #10243b;
    --vn-muted: #5c7087;
    --vn-shadow: 0 18px 52px rgba(14, 63, 94, 0.12);
}

body.light-theme .vn-hero,
body.light-theme .vn-form-card,
body.light-theme .vn-activation-card,
body.light-theme .vn-confirm-card {
    background: linear-gradient(150deg, #ffffff, #eef8ff);
}

body.light-theme .vn-picker-pane,
body.light-theme .vn-checkout-panel,
body.light-theme .vn-app-card,
body.light-theme .vn-country-card,
body.light-theme .vn-selection-item,
body.light-theme .vn-history-item {
    border-color: rgba(8, 83, 126, 0.13);
    background: rgba(7, 94, 145, 0.035);
}

body.light-theme .vn-mode-switch,
body.light-theme .vn-advanced-panel,
body.light-theme .vn-app-search,
body.light-theme .vn-select {
    background: #f4f9fd;
}

body.light-theme .vn-app-name,
body.light-theme .vn-country-label,
body.light-theme .vn-selection-item strong,
body.light-theme .vn-checkout-head h2,
body.light-theme .vn-step-head h2,
body.light-theme .vn-history-title,
body.light-theme .vn-history-service,
body.light-theme .vn-phone-number,
body.light-theme .vn-confirm-card h2,
body.light-theme .vn-confirm-row strong {
    color: #10243b;
}

body.light-theme .vn-app-search input,
body.light-theme .vn-select {
    color: #10243b;
}

body.light-theme .vn-guide-link,
body.light-theme .vn-eyebrow,
body.light-theme .vn-hero h1 span,
body.light-theme .vn-mode-btn.is-active,
body.light-theme .vn-step-badge,
body.light-theme .vn-app-show-more,
body.light-theme .vn-country-show-all,
body.light-theme .vn-balance-recharge,
body.light-theme .vn-retry-btn,
body.light-theme .vn-copy-btn,
body.light-theme .vn-history-all {
    color: #075b84;
}

body.light-theme .vn-price-value:not(.loading) {
    color: #17683a;
}

body.light-theme .vn-policy-note summary,
body.light-theme .vn-general-number-note strong,
body.light-theme .vn-general-number-note > i,
body.light-theme .vn-timer {
    color: #725000;
}

body.light-theme .vn-policy-toggle,
body.light-theme .vn-policy-content li,
body.light-theme .vn-general-number-note {
    color: #665b3c;
}

body.light-theme .vn-progress-step,
body.light-theme .vn-mode-btn,
body.light-theme .vn-app-search,
body.light-theme .vn-app-search input::placeholder,
body.light-theme .vn-app-count,
body.light-theme .vn-app-empty,
body.light-theme .vn-popular-apps-head span,
body.light-theme .vn-app-subtitle,
body.light-theme .vn-country-meta,
body.light-theme .vn-select-wrapper::after,
body.light-theme .vn-checkout-head p,
body.light-theme .vn-selection-label,
body.light-theme .vn-price-label,
body.light-theme .vn-price-value.loading,
body.light-theme .vn-checkout-trust,
body.light-theme .vn-activation-guide,
body.light-theme .vn-waiting-msg,
body.light-theme .vn-history-head p,
body.light-theme .vn-history-phone,
body.light-theme .vn-history-details,
body.light-theme .vn-history-side time,
body.light-theme .vn-confirm-card > p,
body.light-theme .vn-confirm-row {
    color: #4d657d;
}

body.light-theme .vn-popular-apps-head strong,
body.light-theme .vn-form-group label {
    color: #173650;
}

body.light-theme .vn-progress-step span {
    background: #eef6fb;
    color: #4d657d;
}

body.light-theme .vn-purchase-shell[data-step="1"] .vn-progress-step[data-step="1"],
body.light-theme .vn-purchase-shell[data-step="2"] .vn-progress-step[data-step="2"],
body.light-theme .vn-purchase-shell[data-step="3"] .vn-progress-step[data-step="3"] {
    color: #075b84;
}

body.light-theme .vn-inline-hint,
body.light-theme .vn-quality-hint,
body.light-theme .vn-balance-notice,
body.light-theme .vn-buy-error {
    color: #405c73;
}

body.light-theme .vn-inline-hint.is-success,
body.light-theme .vn-quality-hint.is-good,
body.light-theme .vn-country-recommended,
body.light-theme .vn-activation-status.received,
body.light-theme .vn-code-label,
body.light-theme .vn-code-digits,
body.light-theme .vn-action-btn.success,
body.light-theme .vn-history-status.received {
    color: #17683a;
}

body.light-theme .vn-inline-hint.is-warning,
body.light-theme .vn-quality-hint.is-mid,
body.light-theme .vn-balance-notice,
body.light-theme .vn-action-btn.warning,
body.light-theme .vn-confirm-warning {
    color: #765400;
}

body.light-theme .vn-quality-hint.is-bad,
body.light-theme .vn-buy-error,
body.light-theme .vn-activation-status.cancelled,
body.light-theme .vn-action-btn.danger,
body.light-theme .vn-history-status.cancelled {
    color: #a12b40;
}

body.light-theme .vn-activation-status,
body.light-theme .vn-history-status.waiting {
    color: #075b84;
}

body.light-theme .vn-buy-btn:disabled {
    background: #d8e5ee;
    color: #587086;
}

body.light-theme .vn-action-btn,
body.light-theme .vn-confirm-btn {
    color: #294861;
}

body.light-theme .vn-progress-bar {
    background: rgba(19, 76, 111, 0.12);
}

@media (max-width: 980px) {
    .vn-page {
        width: min(100%, 780px);
    }

    .vn-purchase-grid {
        grid-template-columns: 1fr;
    }

    .vn-checkout-panel {
        position: static;
    }

    .vn-app-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body:has(.vn-page) #wa-float-btn {
        display: none !important;
    }

    body:has(.vn-page) #pwa-install-banner {
        display: none !important;
    }

    body:has(.vn-page) #livechat-btn {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
        left: 12px !important;
    }

    .vn-page {
        width: 100%;
        padding: 5.85rem 0.7rem calc(6.5rem + env(safe-area-inset-bottom));
    }

    .vn-breadcrumb {
        display: none;
    }

    .vn-hero {
        display: block;
        min-height: 0;
        margin-bottom: 0.7rem;
        padding: 1rem;
        border-radius: 18px;
    }

    .vn-eyebrow {
        margin-bottom: 0.35rem;
        font-size: 0.68rem;
    }

    .vn-hero h1 {
        font-size: 1.35rem;
    }

    .vn-hero p {
        margin-top: 0.35rem;
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .vn-guide-link {
        min-height: 38px;
        margin-top: 0.65rem;
        padding: 0.5rem 0.7rem;
        font-size: 0.7rem;
    }

    .vn-policy-note {
        margin-bottom: 0.7rem;
        border-radius: 14px;
    }

    .vn-policy-note summary {
        min-height: 44px;
        padding: 0.65rem 0.75rem;
        font-size: 0.72rem;
    }

    .vn-policy-toggle {
        font-size: 0.62rem;
    }

    .vn-policy-content {
        padding: 0 0.75rem 0.7rem;
    }

    .vn-policy-content ul {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.65rem 1rem 0 0;
    }

    .vn-policy-content li {
        font-size: 0.7rem;
    }

    .vn-purchase-shell {
        padding: 0.65rem;
        border-radius: 18px;
    }

    .vn-flow-progress {
        margin-bottom: 0.65rem;
    }

    .vn-progress-step {
        gap: 0.3rem;
        font-size: 0.64rem;
    }

    .vn-progress-step span {
        width: 25px;
        height: 25px;
    }

    .vn-progress-step:not(:last-child)::after {
        inset-inline-start: calc(50% + 31px);
        width: calc(100% - 62px);
    }

    .vn-purchase-grid {
        gap: 0.65rem;
    }

    .vn-picker-pane,
    .vn-checkout-panel {
        padding: 0.75rem;
        border-radius: 15px;
    }

    .vn-mode-switch {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .vn-mode-btn {
        min-height: 38px;
        padding: 0.45rem;
        font-size: 0.7rem;
    }

    .vn-step-head {
        gap: 0.55rem;
        margin-bottom: 0.65rem;
    }

    .vn-step-head h2,
    .vn-step-head h3 {
        font-size: 0.88rem;
    }

    .vn-step-head p {
        font-size: 0.68rem;
    }

    .vn-step-badge {
        width: 27px;
        height: 27px;
    }

    .vn-app-tools {
        display: block;
    }

    .vn-app-search {
        min-height: 45px;
    }

    .vn-app-count {
        display: block;
        margin-top: 0.35rem;
        text-align: center;
    }

    .vn-advanced-app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vn-popular-apps-head {
        margin-top: 0.7rem;
    }

    .vn-popular-apps-head > div > span {
        display: inline;
    }

    #vnAppGrid {
        display: grid;
        grid-auto-columns: minmax(112px, 36%);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 0.5rem;
        margin-inline: -0.75rem;
        padding: 0 0.75rem 0.4rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 0.75rem;
        scroll-snap-type: inline proximity;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #vnAppGrid::-webkit-scrollbar,
    .vn-country-grid::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    #vnAppGrid .vn-app-card {
        min-height: 96px;
        scroll-snap-align: start;
    }

    .vn-general-number-note {
        display: none;
    }

    .vn-country-grid {
        display: grid;
        grid-auto-columns: minmax(220px, 76%);
        grid-auto-flow: column;
        grid-template-columns: none;
        margin-inline: -0.75rem;
        padding: 0 0.75rem 0.4rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 0.75rem;
        scroll-snap-type: inline proximity;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .vn-country-card {
        scroll-snap-align: start;
    }

    .vn-advanced-panel {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 0.7rem;
    }

    .vn-checkout-panel {
        background: rgba(6, 17, 35, 0.92);
    }

    .vn-checkout-head {
        margin-bottom: 0.65rem;
    }

    .vn-selection-summary {
        gap: 0.4rem;
    }

    .vn-selection-item {
        padding: 0.55rem;
    }

    .vn-price-display {
        min-height: 56px;
    }

    .vn-buy-btn {
        min-height: 50px;
    }

    .vn-activation-card {
        padding: 0.8rem;
        border-radius: 18px;
    }

    .vn-activation-header {
        align-items: stretch;
    }

    .vn-activation-status,
    .vn-timer {
        min-height: 36px;
        padding: 0.45rem 0.6rem;
        font-size: 0.67rem;
    }

    .vn-phone-row {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .vn-phone-number {
        text-align: center;
    }

    .vn-copy-btn {
        width: 100%;
    }

    .vn-activation-guide {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.3rem;
        text-align: center;
    }

    .vn-activation-guide span {
        justify-content: center;
    }

    .vn-activation-guide > i {
        display: none;
    }

    .vn-actions-row {
        flex-direction: column;
    }

    #vnHistory {
        padding: 0.75rem;
        border-radius: 18px;
    }

    .vn-history-head {
        align-items: flex-start;
    }

    .vn-history-head p {
        display: none;
    }

    #vnHistoryList {
        display: grid;
        grid-auto-columns: minmax(275px, 88%);
        grid-auto-flow: column;
        grid-template-columns: none;
        margin-inline: -0.75rem;
        padding: 0 0.75rem 0.35rem;
        overflow-x: auto;
        scroll-snap-type: inline proximity;
        scrollbar-width: thin;
    }

    .vn-history-item {
        scroll-snap-align: start;
    }

    .vn-confirm-overlay {
        align-items: end;
        padding: 0;
    }

    .vn-confirm-card {
        width: 100%;
        max-height: min(88vh, 720px);
        border-radius: 22px 22px 0 0;
        padding: 1rem 0.85rem calc(1rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 380px) {
    .vn-progress-step strong {
        display: none;
    }

    #vnAppGrid {
        grid-auto-columns: minmax(104px, 42%);
    }

    .vn-policy-toggle {
        display: none;
    }

    .vn-confirm-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vn-page *,
    .vn-page *::before,
    .vn-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes vn-pulse {
    0%, 100% { opacity: 0.55; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes vn-spin {
    to { transform: rotate(360deg); }
}
