/* ================================================================
   VIOLET VOID — style.css
   Dark SaaS theme for Skaiyoh SMM Panel
   Design tokens, layout, components, responsive breakpoints.
   Bootstrap 3 is the baseline — every style here is additive.
================================================================ */

/* ── Houdini: animatable angle for aurora border ──────────────── */
@property --vv-aurora-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
    --color-primary:        #8741ff;
    --color-primary-dim:    #8741ff22;
    --color-primary-glow:   #8741ff66;
    --color-primary-far:    rgba(109, 40, 217, 1);
    --color-bg:             #0a0a0f;
    --color-bg-alt:         #0d0d14;
    --color-surface:        #111118;
    --color-surface-raised: #17171f;
    --color-border:         #1e1e2e;
    --color-border-subtle:  #14141e;
    --color-text-primary:   #f0eeff;
    --color-text-secondary: #9290b4;
    --color-text-readable:  #9e9cbf;
    --color-text-muted:     #9490b8;
    --color-success:        #22d47e;
    --color-warning:        #f5a623;
    --color-danger:         #ff4d6d;
    --color-info:           #41b3ff;
    --color-accent-cyan:    #2dd4bf;
    --color-accent-sky:     #38bdf8;
    --color-accent-magenta: #e879f9;
    --radius-card:          12px;
    --radius-input:         8px;
    --radius-btn:           100px;
    --radius-badge:         6px;
    --sidebar-width:        248px;
    --topnav-height:        68px;
    --transition:           180ms ease;
    --font-body:            'Montserrat Alternates', sans-serif;
    --font-heading:         'Outfit', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

*:focus:not(:focus-visible) { outline: none; }
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--color-primary-glow);
    color: var(--color-text-primary);
}

::-webkit-scrollbar          { width: 4px; height: 4px; }
::-webkit-scrollbar-track    { background: var(--color-surface); }
::-webkit-scrollbar-thumb    { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

html {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overscroll-behavior: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover, a:focus {
    color: var(--color-text-primary);
    text-decoration: none;
}

p, h1, h2, h3, h4, h5, h6 { margin-top: 0; }

hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

img { max-width: 100%; }

/* ── Container / Section Wrappers ─────────────────────────────── */
.section-main, nav, footer {
    min-width: 100%;
    position: relative;
    display: block;
}

.section-in, .navbar-in, .header-in, .footer-in {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
}

/* ================================================================
   PUBLIC NAVBAR
================================================================ */
.public-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: calc(72px + env(safe-area-inset-top, 0px));
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* border via box-shadow so ::after scroll line sits on top */
    box-shadow: inset 0 -1px 0 var(--color-border);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Scroll-progress line — width driven by JS custom property */
.public-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: var(--scroll-progress, 0%);
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(135, 65, 255, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
    transition: width 0.08s linear;
}

/* Scrolled state — denser glass + violet border glow */
.public-navbar.scrolled {
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        inset 0 -1px 0 rgba(135, 65, 255, 0.28),
        0 8px 40px rgba(0, 0, 0, 0.55);
}

.public-navbar .navbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    margin-top: env(safe-area-inset-top, 0px);
}

/* Logo */
.navbar-brand-vv {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    transition: color 0.22s ease;
}

.navbar-brand-vv img {
    height: 32px;
    transition: filter 0.25s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand-vv:hover img {
    filter: drop-shadow(0 0 10px rgba(135, 65, 255, 0.6));
    transform: scale(1.06);
}

.navbar-brand-vv:hover {
    color: var(--color-primary);
}

/* Nav links */
.navbar-links-vv {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links-vv li {
    position: relative;
}

.navbar-links-vv a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

/* Animated underline */
.navbar-links-vv a::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-links-vv a:hover {
    color: var(--color-text-primary);
    background: rgba(135, 65, 255, 0.07);
}

.navbar-links-vv a.active {
    color: var(--color-text-primary);
    background: rgba(135, 65, 255, 0.11);
}

.navbar-links-vv a:hover::after,
.navbar-links-vv a.active::after {
    transform: scaleX(1);
}

/* Right side */
.navbar-right-vv {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-right-vv .btn-vv-primary,
.navbar-right-vv .btn-vv-ghost,
.navbar-right-vv .btn-vv-secondary {
    font-family: var(--font-heading);
}

/* Language switcher in navbar */
.lang-switcher-vv .dropdown-toggle {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: var(--radius-input);
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.lang-switcher-vv .dropdown-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-text-primary);
}

/* Mobile hamburger — boxed icon with animated X */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-hamburger:hover {
    background: rgba(135, 65, 255, 0.1);
    border-color: rgba(135, 65, 255, 0.35);
}

.nav-hamburger.open {
    background: rgba(135, 65, 255, 0.13);
    border-color: rgba(135, 65, 255, 0.5);
}

.nav-hamburger span {
    display: block;
    border-radius: 2px;
    background: var(--color-text-secondary);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-hamburger span:nth-child(1) { width: 18px; height: 2px; }
.nav-hamburger span:nth-child(2) { width: 13px; height: 2px; } /* intentionally shorter */
.nav-hamburger span:nth-child(3) { width: 18px; height: 2px; }

/* Hamburger → X + accent colour when open */
.nav-hamburger.open span {
    background: var(--color-primary);
}
.nav-hamburger.open span:nth-child(1) {
    width: 18px;
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    width: 18px;
    transform: translateY(-7px) rotate(-45deg);
}

/* Lock scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
}

/* ── Mobile nav overlay ─────────────────────────────────────── */
/* Always display:flex — animate via visibility/opacity/transform */
.mobile-nav-overlay {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 99;
    padding: 8px 20px 32px;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1),
        visibility 0.3s;
}

/* Shimmer line at top of overlay */
.mobile-nav-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-primary-glow),
        transparent);
    pointer-events: none;
}

.mobile-nav-overlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Individual nav links — start hidden for stagger-in */
.mobile-nav-overlay > a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    padding: 15px 14px 15px 11px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--color-border-subtle, rgba(30, 30, 46, 0.7));
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    opacity: 0;
    transform: translateX(-22px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        color 0.18s ease,
        border-left-color 0.18s ease;
}

.mobile-nav-overlay > a:hover {
    color: var(--color-text-primary);
}

.mobile-nav-overlay > a.active {
    color: var(--color-primary);
    font-weight: 700;
    border-left-color: var(--color-primary);
    text-shadow: 0 0 14px var(--color-primary-glow);
    background: linear-gradient(90deg, rgba(135, 65, 255, 0.12) 0%, transparent 65%);
}

/* Staggered slide-in when overlay opens */
.mobile-nav-overlay.open > a            { opacity: 1; transform: translateX(0); }
.mobile-nav-overlay.open > a:nth-child(1)  { transition-delay: 0.04s; }
.mobile-nav-overlay.open > a:nth-child(2)  { transition-delay: 0.08s; }
.mobile-nav-overlay.open > a:nth-child(3)  { transition-delay: 0.12s; }
.mobile-nav-overlay.open > a:nth-child(4)  { transition-delay: 0.16s; }
.mobile-nav-overlay.open > a:nth-child(5)  { transition-delay: 0.20s; }
.mobile-nav-overlay.open > a:nth-child(6)  { transition-delay: 0.24s; }
.mobile-nav-overlay.open > a:nth-child(7)  { transition-delay: 0.28s; }
.mobile-nav-overlay.open > a:nth-child(8)  { transition-delay: 0.32s; }
.mobile-nav-overlay.open > a:nth-child(9)  { transition-delay: 0.36s; }
.mobile-nav-overlay.open > a:nth-child(10) { transition-delay: 0.40s; }

/* CTA column at bottom — stacked so the Telegram widget can't cover either button */
.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding: 28px 0 80px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.26s ease 0.32s, transform 0.26s ease 0.32s;
}

.mobile-nav-overlay.open .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Button colour overrides — prevent the generic anchor rule from winning */
.mobile-nav-overlay .btn-vv-primary,
.mobile-nav-overlay .btn-vv-secondary { font-family: var(--font-heading); }
.mobile-nav-overlay .btn-vv-primary { color: #fff; border-color: var(--color-primary); box-shadow: 0 0 14px var(--color-primary-glow); }
.mobile-nav-overlay .btn-vv-primary:hover { color: #fff; border-color: var(--color-primary); box-shadow: 0 0 26px var(--color-primary-glow); }
.mobile-nav-overlay .btn-vv-secondary { color: var(--color-text-primary); border-color: rgba(255,255,255,0.45); box-shadow: none; }
.mobile-nav-overlay .btn-vv-secondary:hover { color: var(--color-text-primary); border-color: rgba(255,255,255,0.7); box-shadow: none; }
.mobile-nav-overlay .btn-vv-primary,
.mobile-nav-overlay .btn-vv-secondary { padding: 13px 28px; width: 100%; justify-content: center; }

/* ================================================================
   BUTTONS (Global)
================================================================ */
.btn-vv-primary,
.btn-vv-secondary,
.btn-vv-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: var(--radius-btn);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn-vv-primary {
    background: linear-gradient(135deg, #9d56ff 0%, #7c30f0 100%);
    color: #fff;
    border-color: transparent;
}

.btn-vv-primary:active {
    transform: scale(0.97);
}

.btn-vv-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #b06bff 0%, #8741ff 100%);
    box-shadow: 0 0 24px rgba(135,65,255,0.5), 0 0 48px rgba(135,65,255,0.2);
    transform: translateY(-2px);
}

.btn-vv-primary:disabled,
.btn-vv-primary.vv-loading {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.btn-vv-primary.vv-loading::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vv-spin 0.7s linear infinite;
    margin-left: 8px;
    vertical-align: -2px;
}

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

.btn-vv-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

.btn-vv-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(135,65,255,.18);
}
.btn-vv-secondary:active { transform: scale(0.97); box-shadow: none; }

.btn-vv-ghost {
    background: var(--color-primary-dim);
    color: var(--color-primary);
    border-color: transparent;
}

.btn-vv-ghost:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(135,65,255,.25);
}
.btn-vv-ghost:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    background: var(--color-primary-dim);
    color: var(--color-primary);
}
.btn-vv-ghost:active { transform: scale(0.97); box-shadow: none; }

/* Bootstrap btn overrides — keep forms working */
.btn {
    font-family: var(--font-heading);
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #9d5fff;
    border-color: #9d5fff;
    color: #fff;
    box-shadow: 0 0 18px var(--color-primary-glow);
}

.btn-default {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

.btn-default:hover {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ================================================================
   FORM CONTROLS (Global)
================================================================ */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
select {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    color-scheme: dark;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    background: var(--color-bg);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-dim);
    color: var(--color-text-primary);
    outline: none;
}

/* Autofill override — prevents browser from forcing white/yellow background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--color-bg) inset !important;
    box-shadow: 0 0 0 1000px var(--color-bg) inset !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    caret-color: var(--color-text-primary);
    border-color: var(--color-border) !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill:focus {
    border-color: var(--color-primary) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--color-bg) inset, 0 0 0 3px var(--color-primary-dim) !important;
    box-shadow: 0 0 0 1000px var(--color-bg) inset, 0 0 0 3px var(--color-primary-dim) !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
}

/* Read-only inputs — Bootstrap 3 defaults to #eee; we keep dark theme */
.form-control[readonly],
input[type="text"][readonly],
input[type="number"][readonly] {
    background: var(--color-bg);
    border-color: var(--color-border-subtle);
    color: var(--color-text-secondary);
    cursor: default;
    opacity: 1;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237b7a9a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.vv-card label,
.dashboard-body-in label,
.public-page-header label {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Readonly / disabled */
input[readonly], input:disabled, textarea:disabled, select:disabled {
    background: var(--color-surface);
    color: var(--color-text-secondary);
    cursor: not-allowed;
    border-color: var(--color-border);
}

/* Checkbox & radio */
input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    cursor: pointer;
    border-radius: 4px;
}

.terms-accept-checkbox {
    margin-right: 8px;
    vertical-align: middle;
}

/* ================================================================
   ALERTS / NOTIFICATIONS
================================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-card);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    margin-bottom: 16px;
    background: var(--color-surface);
    color: var(--color-text-primary);
    max-height: 800px;
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding-top 0.25s ease, padding-bottom 0.25s ease,
                margin-bottom 0.25s ease;
}

.alert.vv-hiding {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.alert-success {
    border-color: var(--color-success);
    background: rgba(34, 212, 126, 0.08);
    color: var(--color-success);
}

.alert-danger {
    border-color: var(--color-danger);
    background: rgba(255, 77, 109, 0.08);
    color: var(--color-danger);
}

.alert-warning {
    border-color: var(--color-warning);
    background: rgba(245, 166, 35, 0.08);
    color: var(--color-warning);
}

.alert-info {
    border-color: var(--color-info);
    background: rgba(65, 179, 255, 0.08);
    color: var(--color-info);
}

.alert .close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    float: right;
    margin-left: 8px;
}

.alert .close:hover { opacity: 1; }

/* Fixed toast alert (global notifications) */
#notify-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 320px;
    max-width: 520px;
    text-align: center;
}

/* ================================================================
   CARDS / PANELS
================================================================ */
.vv-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.vv-card-sm {
    padding: 18px 20px;
}

.vv-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.vv-card-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--color-primary-dim);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.vv-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.3px;
    margin: 0;
}

/* Stat card variant — Reserved for future dashboard/index.twig — not yet implemented */
.vv-stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.vv-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
    opacity: 0.5;
}

.vv-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.vv-stat-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary-dim);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.vv-stat-body { flex: 1; }

.vv-stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.vv-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
}

/* ================================================================
   DROPDOWN
================================================================ */
.dropdown-menu {
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    padding: 6px;
    min-width: 160px;
}

.dropdown-menu > li > a,
.dropdown-menu .dropdown-item {
    display: block;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 8px;
    transition: all var(--transition);
    border: none;
}

.dropdown-menu > li > a:hover,
.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > li.active > a,
.dropdown-menu > li.active > a:hover,
.dropdown-menu > li.active > a:focus {
    background: rgba(135, 65, 255, 0.08) !important;
    color: var(--color-text-primary) !important;
    outline: 0;
}

/* Currency toggle button */
.currency-toggle {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.currency-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ================================================================
   TOOLTIPS  (Bootstrap 3 override)
================================================================ */
.tooltip {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.tooltip-inner {
    background: #222230;
    color: var(--color-text-primary);
    border: 1px solid #2e2e42;
    border-radius: var(--radius-input);
    padding: 7px 12px;
    max-width: 260px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(135, 65, 255, 0.1);
    text-align: left;
    line-height: 1.5;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #2e2e42;
}
.tooltip.top .tooltip-arrow::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -5px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #222230 transparent transparent;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #2e2e42;
}
.tooltip.bottom .tooltip-arrow::after {
    content: '';
    position: absolute;
    top: 1px;
    left: -5px;
    border-width: 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent #222230;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #2e2e42;
}
.tooltip.left .tooltip-arrow::after {
    content: '';
    position: absolute;
    right: 1px;
    top: -5px;
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #222230;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #2e2e42;
}
.tooltip.right .tooltip-arrow::after {
    content: '';
    position: absolute;
    left: 1px;
    top: -5px;
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #222230 transparent transparent;
}

.tooltip.in {
    opacity: 1;
}

/* ================================================================
   SELECT2 OVERRIDES  (data-select="true" plugin)
================================================================ */

/* Full-width container */
.select2-container { width: 100% !important; }

/* Trigger button */
.select2-container--default .select2-selection--single {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    height: 40px;
    display: flex;
    align-items: center;
    transition: border-color var(--transition), box-shadow var(--transition);
}

/* Open / focus state on trigger */
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-dim);
    outline: none;
}

/* Rendered text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding-left: 14px;
    padding-right: 36px;
    line-height: 40px;
    cursor: pointer;
}

/* Caret arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--color-text-muted) transparent transparent;
}
.select2-container--default.select2-container--open
    .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--color-primary);
}

/* Dropdown panel */
.select2-dropdown {
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.select2-container--default .select2-dropdown--below {
    border-top-color: transparent;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.select2-container--default .select2-dropdown--above {
    border-bottom-color: transparent;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* Dropdown entrance animation (desktop) */
@keyframes vv-dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.select2-container--open .select2-dropdown {
    animation: vv-dropdown-in 80ms ease-out both;
}

/* Search input inside dropdown */
.select2-container--default .select2-search--dropdown {
    padding: 6px 6px 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 12px;
    width: 100%;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-dim);
}

/* Results list — scroll lives on .select2-results so the bar sits
   at the right edge of the panel, not inside the option rows      */
.select2-results {
    padding: 4px 0 0;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}
.select2-results::-webkit-scrollbar { width: 6px; }
.select2-results::-webkit-scrollbar-track { background: transparent; }
.select2-results::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}
.select2-results::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}
/* Force cancel Select2's scroll on the inner list — scroll lives on .select2-results */
.select2-container--default .select2-results > .select2-results__options {
    overflow: visible !important;
    max-height: none !important;
    padding: 4px 0;
}

/* Option item */
.select2-results__option {
    padding: 6px 16px 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

/* Highlighted (hover / keyboard focus) */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--color-text-primary) !important;
}

/* Already-selected item — left border accent, no heavy fill */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background: rgba(135, 65, 255, 0.08) !important;
    border-left: 3px solid var(--color-primary);
    padding-left: 9px;
    padding-right: 16px;
    color: var(--color-text-primary) !important;
    font-weight: 600;
}

/* Highlighted + already selected */
.select2-container--default
    .select2-results__option--highlighted[aria-selected="true"] {
    background: rgba(135, 65, 255, 0.13) !important;
    color: var(--color-text-primary) !important;
}

/* Disabled option */
.select2-results__option[aria-disabled="true"] {
    color: var(--color-text-muted);
    cursor: not-allowed;
}

/* Group headers */
.select2-results__group {
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 14px 4px;
}

/* "No results" / loading messages */
.select2-container--default .select2-results__message,
.select2-results__option.loading-results {
    color: var(--color-text-muted);
    font-size: 13px;
    padding: 12px 14px;
    text-align: center;
}

/* Icon in option (category icon support) */
.select2-results__option img,
.select2-selection__rendered img {
    max-width: 18px;
    max-height: 18px;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 3px;
}

/* ================================================================
   TABLES
================================================================ */
.vv-table-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow-x: auto;
    overflow-y: hidden;
}

.vv-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.vv-table-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.3px;
}

.vv-table-wrap table,
.dashboard-body-in table,
.table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-text-primary);
    font-size: 13px;
}

.table > thead > tr > th {
    font-family: var(--font-heading);
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    white-space: nowrap;
}

.table > tbody > tr > td {
    padding: 13px 16px;
    border-top: none;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-text-primary);
    vertical-align: middle;
    font-size: 13px;
    background: transparent;
    transition: background var(--transition);
}

.table > tbody > tr:last-child > td {
    border-bottom: none;
}

.table > tbody > tr:hover > td {
    background: rgba(135, 65, 255, 0.04);
}

/* Category row in services table */
.vv-table-wrap .xn-table-category td,
.vv-table-wrap .service-category-row td {
    background: var(--color-primary-dim);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Service table specifics */
#service-table .service-name-cell {
    max-width: 320px;
}

.xn-service-id {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 12px;
}

.xn-service-rate span {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-primary-dim);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-badge);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Favorite star */
.favorite-active .fa-star { color: var(--color-warning) !important; }
[data-favorite-service-id] {
    cursor: pointer;
    transition: color var(--transition);
}
[data-favorite-service-id]:hover .fa-star { color: var(--color-warning); }

/* ================================================================
   STATUS BADGES
================================================================ */
/* Shape shared by Bootstrap badges and all VV status badges */
.badge, [class*="xn-status-"] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-badge);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Bare Bootstrap badge (e.g. service ID chips in Select2) — neutral dark chip */
.badge:not([class*="xn-status-"]):not(.sidebar-badge):not(.vv-badge):not(.vv-rank-badge) {
    background: var(--color-primary-dim);
    color: var(--color-text-primary);
    border: 1px solid var(--color-primary-glow);
    text-transform: none;
    letter-spacing: 0;
}

.xn-status-pending,
.badge-pending {
    background: rgba(245, 166, 35, 0.12);
    color: var(--color-warning);
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.xn-status-inprogress,
.xn-status-processing,
.badge-inprogress {
    background: rgba(65, 179, 255, 0.12);
    color: var(--color-info);
    border: 1px solid rgba(65, 179, 255, 0.25);
}

.xn-status-completed,
.xn-status-Active,
.xn-status-Finished,
.badge-completed {
    background: rgba(34, 212, 126, 0.12);
    color: var(--color-success);
    border: 1px solid rgba(34, 212, 126, 0.25);
}

.xn-status-partial,
.badge-partial {
    background: rgba(135, 65, 255, 0.12);
    color: var(--color-primary);
    border: 1px solid rgba(135, 65, 255, 0.25);
}

.xn-status-canceled,
.xn-status-Stopped,
.xn-status-rejected,
.xn-status-error,
.badge-canceled {
    background: rgba(255, 77, 109, 0.12);
    color: var(--color-danger);
    border: 1px solid rgba(255, 77, 109, 0.25);
}

/* ── Table utility classes (orders, tickets, services, etc.) ───── */

/* Card header search bar */
.vv-card-header .vv-table-search { margin: 0 2px 0 auto; flex-shrink: 1; }
.vv-search-group { display: flex; width: 200px; max-width: 100%; }
.vv-search-group .form-control {
    border-radius: var(--radius-input) 0 0 var(--radius-input);
    flex: 1 1 0%;
    width: 0;
    min-width: 0;
    float: none;
}
.vv-search-group .input-group-btn {
    display: flex;
    flex: 0 0 auto;
    width: auto;
}
.vv-search-group .input-group-btn .btn {
    border-radius: 0 var(--radius-input) var(--radius-input) 0;
    border: 1px solid var(--color-border);
    background: var(--color-surface-raised);
    color: var(--color-text-secondary);
    padding: 6px 10px;
    border-left: none;
    transition: color var(--transition), background var(--transition);
}
.vv-search-group .input-group-btn .btn:hover { color: var(--color-primary); }

/* TD utility classes */
.vv-td-mono    { font-variant-numeric: tabular-nums; }
.vv-td-date    { display: block; font-size: 12px; font-weight: 500; white-space: nowrap; }
.vv-td-time    { display: block; font-size: 11px; color: var(--color-text-muted); white-space: nowrap; }
.vv-td-num     { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-text-secondary); }
.vv-td-empty   { color: var(--color-text-muted); }

.vv-td-link-subtle {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
}
.vv-td-link-subtle:hover { color: var(--color-primary); }
.vv-td-service-id {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 2px;
}

.vv-td-link-wrap { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.vv-td-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: none;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.vv-td-link:hover { color: var(--color-primary); }
.vv-td-link i { flex-shrink: 0; font-size: 10px; }

.vv-td-detail-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-badge);
    color: var(--color-text-muted);
    padding: 3px 7px;
    font-size: 11px;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}
.vv-td-detail-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* Order ID badge */
.vv-order-id-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-primary);
    background: var(--color-primary-dim);
    border: 1px solid var(--color-primary-glow);
    border-radius: var(--radius-badge);
    padding: 2px 8px;
    white-space: nowrap;
}

/* Status tooltip icon */
.vv-status-reason {
    opacity: 0.75;
    cursor: help;
    margin-right: 4px;
    font-size: 11px;
}

/* Empty state row */
.vv-td-empty-state {
    text-align: center;
    padding: 48px 20px !important;
    color: var(--color-text-muted);
}
.vv-td-empty-state i {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.4;
}

/* Action column */
.vv-td-actions { white-space: nowrap; }
.vv-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: var(--radius-badge);
    font-size: 13px;
    color: var(--color-text-secondary);
    background: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.vv-action-btn:hover,
.vv-action-btn:focus {
    color: var(--color-primary);
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    text-decoration: none;
    outline: none;
}
.vv-action-btn--danger:hover {
    background: rgba(255,77,109,0.12);
    border-color: var(--color-danger);
    color: var(--color-danger);
}
.vv-td-refilling {
    font-size: 11px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.vv-orders-table { margin-bottom: 0; }

/* ── Orders table — desktop polish (wide screens only) ─────────── */
@media (min-width: 1537px) {
    .vv-orders-table > thead > tr > th:nth-child(1) { width: 70px; }
    .vv-orders-table > thead > tr > th:nth-child(2) { width: 115px; }
    .vv-orders-table > thead > tr > th:nth-child(3) { width: 16%; }
    .vv-orders-table > thead > tr > th:nth-child(4) { width: 80px; }
    .vv-orders-table > thead > tr > th:nth-child(5) { width: 75px; }
    .vv-orders-table > thead > tr > th:nth-child(7) { width: 90px; }
    .vv-orders-table > thead > tr > th:nth-child(8) { width: 75px; }
    .vv-orders-table > thead > tr > th:nth-child(9) { width: 100px; }

    .vv-orders-table > thead > tr > th {
        position: sticky;
        top: 0;
        z-index: 2;
        box-shadow: 0 1px 0 var(--color-border);
    }

    .vv-orders-table > tbody > tr > td { padding: 11px 14px; }
    .vv-orders-table > tbody > tr:nth-child(odd) > td { background: rgba(135, 65, 255, 0.02); }
    .vv-orders-table > tbody > tr:hover > td { background: rgba(135, 65, 255, 0.07); }

    .vv-orders-table > tbody > tr > td:nth-child(4),
    .vv-orders-table > tbody > tr > td:nth-child(5),
    .vv-orders-table > tbody > tr > td:nth-child(7),
    .vv-orders-table > tbody > tr > td:nth-child(8) { text-align: right; }
    .vv-orders-table > thead > tr > th:nth-child(4),
    .vv-orders-table > thead > tr > th:nth-child(5),
    .vv-orders-table > thead > tr > th:nth-child(7),
    .vv-orders-table > thead > tr > th:nth-child(8) { text-align: right; }

    .vv-orders-table > tbody > tr > td:nth-child(6) { max-width: 280px; word-break: break-word; }
    .vv-orders-table > tbody > tr > td:nth-child(6) .vv-td-link-subtle { line-height: 1.5; }
}

/* ================================================================
   PAGINATION
================================================================ */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    flex-wrap: wrap;
}

.pagination > li > a,
.pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
}

.pagination > li > a:hover {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination > li.active > a,
.pagination > li.active > span,
a.page-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ================================================================
   MODALS (Bootstrap 3 overrides)
================================================================ */
.modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-header {
    border-bottom: 1px solid var(--color-border);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.modal-header .close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition);
    float: right;
    margin-top: -2px;
}

.modal-header .close:hover { color: var(--color-text-primary); }

.modal-body {
    padding: 24px;
    color: var(--color-text-secondary);
}

.modal-footer {
    border-top: 1px solid var(--color-border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.modal-backdrop { background: rgba(0, 0, 0, 0.7); }
.modal-backdrop.in { opacity: 1; }

/* ================================================================
   SIDEBAR (Dashboard)
================================================================ */
body.dashboard {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.vv-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: calc(100vh - env(safe-area-inset-top, 0px));
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: env(safe-area-inset-top, 0px);
    z-index: 200;
    overflow: hidden;
}

/* Sidebar brand */
.sidebar-brand {
    height: 68px;
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.sidebar-brand-logo {
    height: 28px;
}

.sidebar-brand-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: 0.3px;
}

/* Sidebar scroll body */
.sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Nav section label */
.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 0 8px;
    margin-bottom: 6px;
    margin-top: 16px;
}

.sidebar-section-label:first-child { margin-top: 0; }

/* Nav links */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.sidebar-link i {
    width: 18px;
    font-size: 15px;
    text-align: center;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.sidebar-link:hover {
    background: var(--color-primary-dim);
    color: var(--color-text-primary);
}

.sidebar-link:hover i {
    color: var(--color-primary);
}

.sidebar-link.active {
    background: var(--color-primary-dim);
    color: var(--color-text-primary);
}

.sidebar-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-link.active i {
    color: var(--color-primary);
}

.sidebar-link:focus-visible {
    outline: none;
    background: var(--color-primary-dim);
    color: var(--color-text-primary);
}
.sidebar-link:focus-visible::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
}
.sidebar-link:focus-visible i {
    color: var(--color-primary);
}

/* Badge on sidebar link (e.g. unread tickets) */
.sidebar-badge {
    margin-left: auto;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 100px;
    padding: 1px 7px;
    min-width: 18px;
    text-align: center;
}

/* Sidebar user footer */
.sidebar-user {
    border-top: 1px solid var(--color-border);
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-primary-dim);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user-info { flex: 1; min-width: 0; }

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-email {
    font-size: 11px;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* ================================================================
   DASHBOARD BODY + TOPNAV
================================================================ */
.dashboard-body {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* ================================================================
   DASHBOARD TOP NAV — Unified ghost control system
   All controls share the same base: transparent at rest, 34px tall,
   8px radius. Hover reveals a subtle surface fill. The balance chip
   is the only element with persistent resting-state treatment.
================================================================ */

.dashboard-top-nav {
    height: calc(var(--topnav-height) + env(safe-area-inset-top, 0px));
    min-height: calc(var(--topnav-height) + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: env(safe-area-inset-top, 0px) 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    z-index: 10;
    /* overflow: hidden removed — it clips Bootstrap tooltips/dropdowns */
}

/* Left — greeting / page title */
.topnav-welcome {
    min-width: 0;
    overflow: hidden;
    flex-shrink: 1;
}

.topnav-page-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Username / current-page emphasis */
.topnav-page-title strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

/* Right — action strip */
.topnav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Thin vertical divider between action groups */
.topnav-sep {
    width: 1px;
    height: 18px;
    background: var(--color-border);
    flex-shrink: 0;
    margin: 0 4px;
}

/*
 * Base ghost button — used by ALL topnav controls.
 * Transparent at rest. Hover reveals a subtle surface.
 */
.topnav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    padding: 0 10px;
    gap: 6px;
}
.topnav-btn:hover,
.topnav-btn:focus-visible {
    background: var(--color-surface-raised);
    border-color: var(--color-border);
    color: var(--color-text-primary);
    text-decoration: none;
}

/* Icon-only variant — square */
.topnav-icon-btn {
    width: 34px;
    padding: 0;
    font-size: 14px;
}

/*
 * Balance chip — the one element that breaks the ghost pattern.
 * Has a persistent elevated surface and a left-accent in primary
 * so it reads as "data + action" without competing with nav items.
 */
.topnav-balance {
    padding: 0 13px 0 10px;
    background: var(--color-surface-raised);
    border-color: var(--color-border);
    border-left: 2px solid var(--color-primary);
    color: var(--color-text-primary);
    font-size: 13px;
    font-weight: 700;
}
.topnav-balance:hover,
.topnav-balance:focus {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
    text-decoration: none;
}
.topnav-wallet-icon {
    font-size: 12px;
    color: var(--color-primary);
    opacity: 1;
}

/* Currency dropdown trigger */
.topnav-balance-btn {
    padding: 0 10px;
    gap: 5px;
}
/* Code-only span hidden on desktop — shown on mobile instead of full label */
.topnav-currency-code { display: none; }
.topnav-balance-caret {
    font-size: 9px;
    opacity: 0.45;
}


/* Dashboard scrollable content area */
.dashboard-body-in {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 28px 28px calc(28px + env(safe-area-inset-bottom, 0px));
}

/* ================================================================
   PAGE HEADER (inside dashboard pages)
================================================================ */
.vv-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.vv-page-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.vv-page-subtitle {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ================================================================
   SIGNIN.TWIG — Marketing Landing Page
================================================================ */

/* Hero */
.vv-hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}
.vv-hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-surface) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ── Hero background decoration ──────────────────────────────── */
.vv-hero-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Layer 1 — Perspective vanishing-point grid */
.vv-hero-perspective-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    perspective: 500px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.vv-hero-perspective-grid {
    width: 220%;
    height: 200%;
    margin-left: -60%;
    background-image:
        linear-gradient(rgba(135,65,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(135,65,255,0.07) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: rotateX(65deg);
    transform-origin: center top;
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, transparent 0%, black 45%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 45%);
}

/* Layer 1b — Film grain noise overlay */
.vv-hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.028;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 250px 250px;
    background-repeat: repeat;
}

/* Layer 2 — Floating orbs */
.vv-orb-1,
.vv-orb-2,
.vv-orb-3,
.vv-orb-5 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
/* Promote only the two most prominent orbs to compositor layers;
   keeping all 4 promoted simultaneously creates 4 GPU layers on mobile */
.vv-orb-1,
.vv-orb-5 {
    will-change: transform;
}

.vv-orb-1 {
    width: 700px; height: 700px;
    top: -150px; left: -100px;
    background: radial-gradient(circle, rgba(135,65,255,0.14) 0%, transparent 65%);
    animation: float-orb-1 16s ease-in-out infinite alternate;
}
@keyframes float-orb-1 {
    from { transform: translate(0, 0); }
    to   { transform: translate(60px, 80px); }
}

.vv-orb-2 {
    width: 500px; height: 500px;
    bottom: -100px; right: -50px;
    background: radial-gradient(circle, rgba(104,32,224,0.10) 0%, transparent 65%);
    animation: float-orb-2 20s ease-in-out infinite alternate;
}
@keyframes float-orb-2 {
    from { transform: translate(0, 0); }
    to   { transform: translate(-70px, -50px); }
}

.vv-orb-3 {
    width: 400px; height: 400px;
    top: 40%; left: 55%;
    background: radial-gradient(circle, rgba(65,179,255,0.07) 0%, transparent 65%);
    animation: float-orb-3 13s ease-in-out infinite alternate;
}
@keyframes float-orb-3 {
    from { transform: translate(0, 0); }
    to   { transform: translate(40px, -60px); }
}


.vv-orb-5 {
    width: 350px; height: 350px;
    bottom: 20%; left: 30%;
    background: radial-gradient(circle, rgba(179,65,255,0.09) 0%, transparent 65%);
    animation: float-orb-5 17s ease-in-out infinite alternate;
}
@keyframes float-orb-5 {
    from { transform: translate(0, 0); }
    to   { transform: translate(55px, -40px); }
}
@keyframes float-orb {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(20px, -30px); }
    66%       { transform: translate(-15px, 20px); }
}

/* Layer 3 — Diagonal beam sweep */
.vv-hero-beam {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 220%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(135,65,255,0.18) 40%, rgba(135,65,255,0.25) 50%, rgba(135,65,255,0.18) 60%, transparent 100%);
    transform: rotate(-30deg) translateY(0);
    transform-origin: left center;
    opacity: 0.04;
    animation: beam-sweep 18s ease-in-out infinite alternate;
}
@keyframes beam-sweep {
    from { transform: rotate(-30deg) translateY(-30px); opacity: 0.03; }
    to   { transform: rotate(-30deg) translateY(calc(100vh + 30px)); opacity: 0.06; }
}

.vv-hero-inner {
    display: grid;
    grid-template-columns: 1fr minmax(340px, 420px);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 100px 40px 80px;
    position: relative;
    z-index: 3;
}

/* Hero left — copy */
.vv-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
    /* Visually breaks onto its own line above the H1 text while staying
       inside <h1> for SEO — crawlers see brand name as part of the heading */
    line-height: 1;
}

.vv-hero-eyebrow::before {
    content: "";
    display: block;
    flex-shrink: 0;
    align-self: center;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: vv-dot-ping 2s ease-out infinite;
}

.vv-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.vv-hero-headline em,
.vv-hero-headline .vv-gradient-text {
    font-style: normal;
    background: linear-gradient(135deg, #c77dff 0%, #8741ff 55%, #6341e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vv-hero-sub {
    font-size: 16px;
    color: var(--color-text-readable);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

/* ── Fix 3: Stats ticker redesign ────────────────────────────── */
.vv-stats-ticker {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    margin-bottom: 36px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    width: fit-content;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.vv-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 14px 22px;
    position: relative;
    transition: background var(--transition);
}

.vv-stat-pill + .vv-stat-pill {
    border-left: 1px solid var(--color-border);
}

.vv-stat-pill:hover {
    background: var(--color-surface-raised);
}

.vv-stat-pill-num {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.vv-stat-pill-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Remove the old divider — no longer needed */
.vv-stat-pill-divider { display: none; }

.vv-hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero right — login card */
@keyframes vv-aurora-spin {
    to { --vv-aurora-angle: 360deg; }
}

.vv-login-card {
    background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-surface-raised) 100%);
    border: 1px solid rgba(135,65,255,0.3); /* fallback for browsers without @property */
    border-radius: var(--radius-card);
    padding: 36px;
    position: relative;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(135,65,255,0.2);
    isolation: isolate;
}

/* Aurora rotating border (requires @property --vv-aurora-angle) */
.vv-login-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-card) + 1px);
    z-index: -1;
    background: conic-gradient(
        from var(--vv-aurora-angle),
        rgba(135,65,255,0.75),
        rgba(65,179,255,0.3),
        rgba(135,65,255,0.0),
        rgba(135,65,255,0.0),
        rgba(135,65,255,0.75)
    );
    animation: vv-aurora-spin 9s linear infinite;
    pointer-events: none;
}

/* Inner mask — ensures only the 1px border ring glows */
.vv-login-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-surface-raised) 100%);
    border-radius: calc(var(--radius-card) - 1px);
    z-index: -1;
    pointer-events: none;
}

.vv-login-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vv-login-card-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary-dim);
    border: 1px solid var(--color-primary-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

/* ── Fix 1: Login card trust signals ─────────────────────────── */
.vv-login-join-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.vv-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 6px var(--color-primary);
    flex-shrink: 0;
    animation: vv-outro-dot-pulse 1.8s ease-in-out infinite;
}


.vv-login-no-cc {
    font-size: 11px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

.vv-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vv-login-form .form-control {
    width: 100%;
}

.vv-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

label.vv-remember-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1;
    color: var(--color-text-secondary);
    cursor: pointer;
    user-select: none;
    margin: 0;
    position: relative;
}

.vv-remember-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.vv-checkbox-box {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: var(--color-surface-raised);
    position: relative;
    transition: background 180ms ease, border-color 180ms ease;
}

.vv-remember-text {
    line-height: 15px;
    vertical-align: middle;
}

.vv-remember-label input[type="checkbox"]:checked ~ .vv-checkbox-box {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.vv-remember-label input[type="checkbox"]:checked ~ .vv-checkbox-box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.vv-forgot-link {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.vv-forgot-link:hover { color: var(--color-primary); }

.vv-forgot-mobile { display: none; }

.vv-login-form .btn-vv-primary,
.vv-login-form .btn-primary {
    width: 100%;
    padding: 13px;
}

.vv-register-prompt {
    margin-top: 18px;
    font-size: 13px;
    color: var(--color-text-readable);
    text-align: center;
}

.vv-register-prompt a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Scrolling marquee of platforms */
.vv-marquee-wrap {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.vv-marquee-wrap::before,
.vv-marquee-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.vv-marquee-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg), transparent);
}

.vv-marquee-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-bg), transparent);
}

.vv-marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee-scroll 28s linear infinite;
    width: max-content;
    align-items: center;
    will-change: transform;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.vv-marquee-track:hover {
    animation-play-state: paused;
}

.vv-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(135,65,255,0.06);
    border: 1px solid rgba(135,65,255,0.15);
    border-radius: 100px;
    padding: 8px 16px;
    transition: all var(--transition);
}

.vv-marquee-item i {
    font-size: 16px;
}

.vv-marquee-item:hover {
    border-color: var(--color-primary-glow);
    background: var(--color-primary-dim);
    color: var(--color-text-primary);
}

/* Brand icon colors */
.vv-marquee-item .fa-instagram  { color: #e1306c; }
.vv-marquee-item .fa-tiktok     { color: #69c9d0; }
.vv-marquee-item .fa-youtube    { color: #ff3333; }
.vv-marquee-item .fa-twitter    { color: #1d9bf0; }
.vv-marquee-item .fa-facebook   { color: #1877f2; }
.vv-marquee-item .fa-spotify    { color: #1ed760; }
.vv-marquee-item .fa-twitch     { color: #9146ff; }
.vv-marquee-item .fa-telegram   { color: #26a5e4; }
.vv-marquee-item .fa-discord    { color: #5865f2; }
.vv-marquee-item .fa-soundcloud { color: #ff5500; }
.vv-marquee-item .fa-linkedin   { color: #0a66c2; }
.vv-marquee-item .fa-pinterest  { color: #e60023; }

/* Features grid */
.vv-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 60px 0;
}

.vv-feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.vv-feature-card:hover {
    border-color: var(--card-accent, var(--color-primary));
    transform: translateY(-3px);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--card-accent, var(--color-primary)) 10%, transparent), inset 0 1px 0 color-mix(in srgb, var(--card-accent, var(--color-primary)) 15%, transparent);
}

/* Top accent bar — slides in on hover */
.vv-feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--card-accent, var(--color-primary));
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    transform: scaleX(0);
    transition: transform 300ms ease;
    z-index: 1;
}
.vv-feature-card:hover::before { transform: scaleX(1); }

/* Shimmer sweep — fires once on hover */
.vv-feature-card::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-accent, var(--color-primary)) 6%, transparent), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.vv-feature-card:hover::after {
    animation: feat-shimmer 0.65s ease forwards;
}
@keyframes feat-shimmer {
    to { left: 200%; }
}

/* Icon glow on hover */
.vv-feature-card:hover .vv-feature-icon {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--card-accent, var(--color-primary)) 10%, transparent), 0 0 20px color-mix(in srgb, var(--card-accent, var(--color-primary)) 20%, transparent);
    background: color-mix(in srgb, var(--card-accent, var(--color-primary)) 18%, transparent);
}

.vv-feature-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.vv-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--color-primary-dim);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--card-accent, var(--color-primary)) 6%, transparent);
    transition: all 200ms ease;
}

.vv-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.vv-feature-desc {
    font-size: 13px;
    color: var(--color-text-readable);
    line-height: 1.7;
}

/* ── What is an SMM Panel section ──────────────────────────────── */
.vv-whatis-section {
    padding: 80px 0;
    position: relative;
    background: var(--color-surface);
    overflow: hidden;
}

.vv-whatis-section::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(135,65,255,0.07) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Section header (centred) */
.vv-whatis-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.vv-whatis-header .vv-section-sub {
    max-width: none;
    font-size: 16px;
    margin-top: 12px;
}

/* Shared section typography — used across all landing sections */
.vv-section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vv-section-eyebrow::before {
    content: "";
    display: block;
    flex-shrink: 0;
    align-self: center;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: vv-dot-ping 2s ease-out infinite;
}

@keyframes vv-dot-ping {
    0%   { box-shadow: 0 0 5px var(--color-primary-glow), 0 0 0 0px  rgba(135,65,255,0.55); }
    70%  { box-shadow: 0 0 5px var(--color-primary-glow), 0 0 0 9px  rgba(135,65,255,0);    }
    100% { box-shadow: 0 0 5px var(--color-primary-glow), 0 0 0 9px  rgba(135,65,255,0);    }
}

.vv-section-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.15;
}

.vv-section-title em,
.vv-section-title .vv-gradient-text {
    font-style: normal;
    background: linear-gradient(135deg, #c77dff 0%, #8741ff 55%, #6341e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vv-section-sub {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

/* Centered definition paragraph */
.vv-whatis-body {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vv-whatis-body p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin: 0;
}

.vv-whatis-body strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* 3-column "Who uses" card grid */
/* Full-width stat strip */
.vv-whatis-stats {
    display: flex;
    align-items: center;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 20px 32px;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.vv-whatis-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 3px;
}

.vv-whatis-stat-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.vv-whatis-stat-label {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 500;
}

.vv-whatis-stat-div {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* ── Service Catalog Bento ──────────────────────────────────────── */
.vv-catalog-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.vv-catalog-section::before {
    content: "";
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(135,65,255,0.35) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.vv-catalog-section::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(135,65,255,0.06) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}
.vv-catalog-section .section-in {
    position: relative;
    z-index: 1;
}

.vv-catalog-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.vv-catalog-bento {
    display: grid;
    grid-template-areas:
        "followers followers likes"
        "followers followers views"
        "comments  shares    traffic";
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Base card */
.vv-bento-card {
    --card-accent: var(--bento-accent, var(--color-primary));
    --card-accent-dim: var(--bento-accent-dim, var(--color-primary-dim));
    --icon-accent: var(--bento-accent, var(--color-primary));
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    transition: all var(--transition);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.vv-bento-card:hover {
    border-color: var(--card-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--card-accent) 12%, transparent), inset 0 1px 0 color-mix(in srgb, var(--card-accent) 18%, transparent);
}

/* Top accent bar */
.vv-bento-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--card-accent);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    transform: scaleX(0);
    transition: transform 300ms ease;
    z-index: 2;
}
.vv-bento-card:hover::before { transform: scaleX(1); }

/* Shimmer sweep */
.vv-bento-card::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-accent) 6%, transparent), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.vv-bento-card:hover::after {
    animation: bento-shimmer 0.65s ease forwards;
}
@keyframes bento-shimmer {
    to { left: 200%; }
}

/* Hero cell */
.vv-bento-hero {
    background: var(--color-surface);
    background-image: radial-gradient(ellipse at 20% 10%, rgba(135,65,255,0.07) 0%, transparent 65%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
}

.vv-bento-ghost-num {
    position: absolute;
    bottom: -12px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 130px;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.055;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -4px;
}

.vv-bento-hero-body {
    position: relative;
    z-index: 1;
    flex: 1;
}

.vv-bento-hero-top { margin-bottom: 20px; }


/* Bento icon spacing context */
.vv-bento-hero-body .vv-icon { margin-bottom: 18px; }
.vv-bento-sm .vv-icon,
.vv-bento-tall .vv-icon { margin-bottom: 4px; }
/* Bento icon hover */
.vv-bento-card:hover .vv-icon {
    background: color-mix(in srgb, var(--icon-accent, var(--color-primary)) 18%, transparent);
    box-shadow:
        0 0 0 8px  color-mix(in srgb, var(--icon-accent, var(--color-primary)) 10%, transparent),
        0 0 20px   color-mix(in srgb, var(--icon-accent, var(--color-primary)) 20%, transparent);
}

.vv-bento-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.vv-bento-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.vv-bento-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vv-bento-plat {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 180ms ease, border-color 180ms ease;
}

.vv-bento-plat:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}

.vv-bento-more {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 0 6px;
    letter-spacing: .03em;
}

.vv-bento-hero-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.vv-bento-stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.vv-bento-stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: .03em;
}

.vv-bento-hero-cta {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.75;
    transition: opacity 160ms ease, gap 160ms ease;
}
.vv-bento-hero-cta:hover {
    opacity: 1;
    gap: 7px;
    color: var(--color-primary);
    text-decoration: none;
}

/* Small cells */
.vv-bento-sm {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vv-bento-tall {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}


.vv-bento-sm .vv-bento-name,
.vv-bento-tall .vv-bento-name {
    font-size: 15px;
    margin-bottom: 0;
}

.vv-bento-sm-sub {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mini bar chart in Views cell */
.vv-bento-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 48px;
    margin-top: auto;
    padding-top: 12px;
}

.vv-bento-bar {
    flex: 1;
    height: var(--bar-height, 50%);
    border-radius: 3px 3px 0 0;
    background: var(--card-accent, var(--color-primary));
    opacity: 0.28;
    transform-origin: bottom;
    animation: bar-grow 0.6s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: calc(var(--bar-i, 0) * 80ms + 0.4s);
    transition: opacity 220ms ease;
}
@keyframes bar-grow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}
.vv-bento-tall:hover .vv-bento-bar { opacity: 0.55; }

/* Keyword service tags — SEO text + fills space */
.vv-bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.vv-bento-tags span {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
    letter-spacing: .02em;
    cursor: default;
}

/* ── Popular Services section ────────────────────────────────────── */
.vv-popular-section {
    background-color: var(--color-surface);
    background-image: radial-gradient(circle, rgba(135,65,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.vv-popular-section .section-in {
    position: relative;
    z-index: 1;
}

/* Top seam */
.vv-popular-section::before {
    content: "";
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(135,65,255,0.3) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Centered ambient glow */
.vv-popular-section::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(135,65,255,0.07) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.vv-popular-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 52px;
    position: relative;
    z-index: 1;
}

/* ── Row list container ───────────────────────────────────────── */
.vv-popular-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

/* ── Individual row ───────────────────────────────────────────── */
.vv-popular-row {
    --card-accent: var(--color-primary);
    --icon-accent: var(--card-accent);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    background: var(--color-surface-raised);
    transition: background 180ms ease, border-left-color 180ms ease;
    position: relative;
}
.vv-popular-row:last-child { border-bottom: none; }

.vv-popular-row:hover {
    background: color-mix(in srgb, var(--card-accent) 6%, var(--color-surface-raised));
    border-left-color: var(--card-accent);
}
.vv-popular-row:hover .vv-icon {
    background: color-mix(in srgb, var(--icon-accent, var(--color-primary)) 18%, transparent);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--icon-accent, var(--color-primary)) 10%, transparent),
        0 0 16px  color-mix(in srgb, var(--icon-accent, var(--color-primary)) 18%, transparent);
}

/* ── Row main content ─────────────────────────────────────────── */
.vv-popular-row-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vv-popular-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vv-popular-desc {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ── Stat chips ───────────────────────────────────────────────── */
.vv-popular-row-chips {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}
.vv-popular-chip {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
    letter-spacing: .02em;
    transition: border-color 180ms ease, color 180ms ease;
}
.vv-popular-row:hover .vv-popular-chip {
    border-color: color-mix(in srgb, var(--card-accent) 25%, transparent);
    color: var(--color-text-secondary);
}

/* ── Row CTA ──────────────────────────────────────────────────── */
.vv-popular-row-cta {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: color-mix(in srgb, var(--card-accent) 70%, white);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: color 180ms ease;
}
.vv-popular-row-cta .fa-arrow-right {
    font-size: 11px;
    transition: transform 180ms ease;
}
.vv-popular-row:hover .vv-popular-row-cta {
    color: var(--card-accent);
}
.vv-popular-row:hover .vv-popular-row-cta .fa-arrow-right {
    transform: translateX(3px);
}

/* Footer CTA strip */
.vv-popular-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 28px;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    position: relative;
    z-index: 1;
}

.vv-popular-footer p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.vv-popular-footer strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.65); }
}

/* ── Rank number ──────────────────────────────────────────────── */
.vv-popular-rank {
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
    letter-spacing: -0.02em;
    user-select: none;
}
.vv-popular-row:first-child .vv-popular-rank {
    color: var(--color-primary);
}

/* ── Price signal ─────────────────────────────────────────────── */
.vv-popular-price {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 4px;
    letter-spacing: 0.01em;
    transition: color 180ms ease;
}
.vv-popular-price strong {
    color: var(--color-text-secondary);
    font-weight: 700;
    transition: color 180ms ease;
}
.vv-popular-row:hover .vv-popular-price { color: var(--color-text-secondary); }
.vv-popular-row:hover .vv-popular-price strong {
    color: color-mix(in srgb, var(--card-accent) 80%, white);
}

/* ── Live pulse indicator (on featured row) ───────────────────── */
.vv-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--color-success);
    background: rgba(34, 212, 126, 0.08);
    border: 1px solid rgba(34, 212, 126, 0.18);
    border-radius: 100px;
    padding: 2px 9px;
    vertical-align: middle;
    flex-shrink: 0;
}
.vv-popular-live-dot {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

/* ── Featured row — always shows accent border + tint ─────────── */
.vv-popular-row--featured {
    background: color-mix(in srgb, var(--card-accent) 5%, var(--color-surface-raised));
    border-left-color: var(--card-accent);
}

/* ── Icon inside chip ─────────────────────────────────────────── */
.vv-popular-chip .fas {
    font-size: 9px;
    opacity: 0.75;
}

/* ── Footer: left stat block ──────────────────────────────────── */
.vv-popular-footer-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.vv-popular-footer-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.vv-popular-footer-left > span:last-child {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ── Results from Real Clients ──────────────────────────────────── */
.vv-results-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: var(--color-bg);
    background-image: radial-gradient(circle, rgba(135,65,255,0.065) 1px, transparent 1px);
    background-size: 28px 28px;
}
.vv-results-section::before {
    content: "";
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(135,65,255,0.35), transparent);
    pointer-events: none;
}
.vv-results-section .section-in { position: relative; z-index: 1; }
.vv-results-section::after {
    content: "";
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(135,65,255,0.35) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.vv-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.vv-result-card {
    --icon-accent: var(--card-accent, var(--color-primary));
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.vv-result-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-accent, var(--color-primary));
    transform: scaleX(0);
    transition: transform 300ms ease;
    z-index: 1;
}
.vv-result-card:hover::before { transform: scaleX(1); }
.vv-result-card:hover {
    border-color: var(--color-primary-glow);
    border-color: color-mix(in srgb, var(--card-accent, var(--color-primary)) 60%, transparent);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(135,65,255,0.12);
}
.vv-result-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vv-result-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--card-accent-dim, var(--color-primary-dim));
    color: var(--card-accent, var(--color-primary));
}
.vv-result-stars {
    display: flex;
    gap: 2px;
    color: var(--color-warning);
    font-size: 11px;
}
.vv-result-metric {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -1.5px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.vv-result-metric-sub {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 2px;
}
.vv-result-quote {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}
.vv-result-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}
.vv-result-avatar,
.vv-icon.vv-result-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
.vv-result-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.2;
}
.vv-result-author-role {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 1px;
}

/* Trustpilot section — eyebrow / signal overrides */
.vv-section-eyebrow--tp::before {
    display: none; /* star provides presence; no purple dot here */
}

.vv-tp-star-signal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vv-tp-star-signal::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: rgba(0, 182, 122, 0.28);
    animation: vv-tp-star-ping 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes vv-tp-star-ping {
    0%   { transform: scale(1);   opacity: 0.65; }
    70%  { transform: scale(2.6); opacity: 0;    }
    100% { transform: scale(2.6); opacity: 0;    }
}

/* Unify review card top stripe — one violet line, not a rainbow */
.vv-results-section .vv-result-card::before {
    background: #00b67a;
}

/* Consistent hover — Trustpilot green */
.vv-results-section .vv-result-card:hover {
    border-color: color-mix(in srgb, #00b67a 50%, transparent);
    box-shadow: 0 12px 40px color-mix(in srgb, #00b67a 12%, transparent),
                inset 0 1px 0 color-mix(in srgb, #00b67a 15%, transparent);
}

/* Shimmer sweep on hover */
.vv-result-card::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135,65,255,0.06), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.vv-results-section .vv-result-card::after {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, #00b67a 6%, transparent), transparent);
}
.vv-result-card:hover::after {
    animation: feat-shimmer 0.65s ease forwards;
}

/* Trustpilot verified badge — always TP green, not card-accent */
.vv-results-section .vv-result-platform {
    background: rgba(0, 182, 122, 0.08);
    color: #00b67a;
    border: 1px solid rgba(0, 182, 122, 0.18);
}

/* Stars — Trustpilot green (overrides default warning-yellow) */
.vv-results-section .vv-result-stars {
    color: #00b67a;
}

/* FAQ */
.vv-faq-section {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.vv-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vv-faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color var(--transition);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.vv-faq-item.open,
.vv-faq-item:hover {
    border-color: var(--color-primary);
}

/* Animated left accent strip */
.vv-faq-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--color-primary);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 280ms ease;
    z-index: 1;
}
.vv-faq-item.open::before { transform: scaleY(1); }

.vv-faq-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
    text-align: left;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition);
}

.vv-faq-trigger:hover { color: var(--color-primary); }

.vv-faq-trigger i {
    font-size: 13px;
    color: var(--color-text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.vv-faq-item.open .vv-faq-trigger i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.vv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease;
}

.vv-faq-item.open .vv-faq-answer {
    max-height: 400px;
}



/* CTA Outro */
.vv-outro {
    background: linear-gradient(135deg, rgba(135,65,255,0.12) 0%, rgba(135,65,255,0.04) 100%);
    border: 1px solid rgba(135,65,255,0.28);
    border-radius: var(--radius-card);
    padding: 60px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 80px rgba(135,65,255,0.06);
}

.vv-outro::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(135, 65, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.vv-outro::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-card);
    background-image:
        radial-gradient(2px   2px   at  8%  18%, rgba(255,255,255,0.70) 0%, transparent 100%),
        radial-gradient(2px   2px   at 22%  72%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40%   8%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(2.5px 2.5px at 60%  40%, rgba(135,65,255,0.90) 0%, transparent 100%),
        radial-gradient(2px   2px   at 75%  82%, rgba(255,255,255,0.60) 0%, transparent 100%),
        radial-gradient(3px   3px   at 88%  12%, rgba(135,65,255,1.00) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 14%  52%, rgba(255,255,255,0.50) 0%, transparent 100%),
        radial-gradient(2.5px 2.5px at 50%  68%, rgba(135,65,255,0.85) 0%, transparent 100%),
        radial-gradient(2px   2px   at 93%  44%, rgba(255,255,255,0.60) 0%, transparent 100%),
        radial-gradient(2px   2px   at 32%  88%, rgba(135,65,255,0.75) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 67%  22%, rgba(255,255,255,0.50) 0%, transparent 100%),
        radial-gradient(3px   3px   at  4%  85%, rgba(135,65,255,0.70) 0%, transparent 100%);
    animation: outro-sparkle 3s ease-in-out infinite alternate;
}

@keyframes outro-sparkle {
    0%   { opacity: 0.06; }
    100% { opacity: 0.65; }
}

.vv-outro-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.vv-outro-sub {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.vv-outro-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ================================================================
   PUBLIC FOOTER
================================================================ */
.vv-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding-top: 60px;
}

.vv-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.vv-footer-brand-logo {
    height: 28px;
    margin-bottom: 12px;
    display: block;
}

.vv-footer-brand-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.vv-footer-tagline {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 240px;
}

.vv-footer-col-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.vv-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vv-footer-link {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.vv-footer-link:hover {
    color: var(--color-text-primary);
}

.vv-footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.vv-footer-copy {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ================================================================
   NEWORDER.TWIG
================================================================ */
.vv-order-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 24px;
    align-items: start;
}

.vv-order-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.vv-order-form-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.vv-order-form-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--color-text-primary);
}

.vv-order-form-header i {
    color: var(--color-primary);
    font-size: 16px;
}

.vv-order-form-body {
    padding: 18px 18px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Always hide #service_description from the form panel.
   Backend JS removes Bootstrap's .hidden class on it, so we need
   !important here. Content is mirrored to the right description card via JS. */
#service_description {
    display: none !important;
}

/* Dynamic service fields — add top divider when populated */
#fields:not(:empty) {
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
    margin-top: 4px;
}

/* Min/Max quantity hint inside #fields — styled as a pill */
#fields .help-block {
    font-size: 11px;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 3px 10px;
    display: inline-block;
    margin-top: 4px;
    letter-spacing: 0.4px;
}

/* Charge display */
#charge {
    border-color: transparent;
    cursor: default;
}

/* Order success/error blocks */
.xn-error { margin-bottom: 12px; }

/* Search dropdown wrapper — replaces inline style on .search-dropdown */
.vv-search-wrap {
    position: relative;
}

/* Inner container provides the relative positioning context for the icon */
.vv-search-inner {
    position: relative;
    display: flex;
    align-items: center;
}

/* Absolutely positioned search icon button inside the input */
.vv-search-icon-btn {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    padding: 0 2px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1;
    cursor: default;
    z-index: 2;
}

/* RTL: flip icon to the right side */
[dir="rtl"] .vv-search-icon-btn,
.rtl-form .vv-search-icon-btn {
    left: auto;
    right: 12px;
}

/* Search text input — left padding clears the icon */
.vv-search-input {
    padding-left: 38px !important;
}

/* RTL: pad on the right instead */
[dir="rtl"] .vv-search-input,
.rtl-form .vv-search-input {
    padding-left: var(--padding-base-horizontal, 12px) !important;
    padding-right: 38px !important;
}

/* Legacy selectors kept for backwards compat with older markup */
#new-order-search {
    position: relative;
}

#template-input {
    padding-left: 40px;
}

/* 4-column stats variant (neworder page — deprecated, kept for backwards compat) */
.vv-order-stats-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Compact horizontal account bar ─────────────────────── */
.vv-order-bar {
    display: flex;
    align-items: stretch;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    margin-bottom: 20px;
    overflow: hidden;
}

.vv-order-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    flex: 1;
    border-right: 1px solid var(--color-border);
    min-width: 0;
    /* Link resets */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}

.vv-order-bar-item:hover,
.vv-order-bar-item:focus {
    background: var(--color-surface-raised);
    border-color: color-mix(in srgb, var(--color-border) 55%, var(--color-primary) 45%);
    text-decoration: none;
    color: inherit;
}

/* Subtle chevron hint — invisible at rest, slides in on hover */
.vv-bar-link-hint {
    margin-left: auto;
    font-size: 9px;
    color: var(--color-text-muted);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity var(--transition), transform var(--transition);
}
.vv-order-bar-item:hover .vv-bar-link-hint,
.vv-order-bar-item:focus .vv-bar-link-hint {
    opacity: 0.5;
    transform: translateX(2px);
}

.vv-order-bar-item--last {
    border-right: none;
}

.vv-order-bar-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-primary-dim);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
/* Per-stat accent colors */
.vv-order-bar-icon--balance  { background: rgba(135,65,255,.15);  color: var(--color-primary); }
.vv-order-bar-icon--rank     { background: rgba(34,212,126,.13);  color: var(--color-success); }
.vv-order-bar-icon--active   { background: rgba(56,189,248,.12);  color: var(--color-accent-sky); }
.vv-order-bar-icon--services { background: rgba(232,121,249,.13); color: var(--color-accent-magenta); }

.vv-order-bar-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
}

.vv-order-bar-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

/* ── Order bar: balance cell warning / danger states ─────── */
.vv-order-bar-item--balance-low .vv-order-bar-icon--balance {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-warning);
}
.vv-order-bar-item--balance-low .vv-order-bar-value {
    color: var(--color-warning);
}
.vv-order-bar-item--balance-empty .vv-order-bar-icon--balance {
    background: rgba(255, 77, 109, 0.15);
    color: var(--color-danger);
}
.vv-order-bar-item--balance-empty .vv-order-bar-value {
    color: var(--color-danger);
}

/* ── Low-balance nudge banner ────────────────────────────── */
.vv-low-balance-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: var(--radius-card);
    border: 1px solid transparent;
    margin-bottom: 20px;
}
.vv-low-balance-banner--low {
    background: rgba(245, 166, 35, 0.07);
    border-color: rgba(245, 166, 35, 0.22);
}
.vv-low-balance-banner--empty {
    background: rgba(255, 77, 109, 0.07);
    border-color: rgba(255, 77, 109, 0.24);
}

.vv-lb-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.vv-low-balance-banner--low .vv-lb-icon {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-warning);
}
.vv-low-balance-banner--empty .vv-lb-icon {
    background: rgba(255, 77, 109, 0.15);
    color: var(--color-danger);
}

.vv-lb-body {
    flex: 1;
    min-width: 0;
}
.vv-lb-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.2;
}
.vv-low-balance-banner--low .vv-lb-title  { color: var(--color-warning); }
.vv-low-balance-banner--empty .vv-lb-title { color: var(--color-danger); }

.vv-lb-desc {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

.vv-lb-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: var(--radius-btn);
    border: 1px solid;
    white-space: nowrap;
    transition: background var(--transition);
}
.vv-lb-link:hover,
.vv-lb-link:focus { text-decoration: none; }

.vv-low-balance-banner--low .vv-lb-link {
    color: var(--color-warning);
    border-color: rgba(245, 166, 35, 0.35);
    background: rgba(245, 166, 35, 0.08);
}
.vv-low-balance-banner--low .vv-lb-link:hover,
.vv-low-balance-banner--low .vv-lb-link:focus {
    color: var(--color-warning);
    background: rgba(245, 166, 35, 0.18);
}
.vv-low-balance-banner--empty .vv-lb-link {
    color: var(--color-danger);
    border-color: rgba(255, 77, 109, 0.35);
    background: rgba(255, 77, 109, 0.08);
}
.vv-low-balance-banner--empty .vv-lb-link:hover,
.vv-low-balance-banner--empty .vv-lb-link:focus {
    color: var(--color-danger);
    background: rgba(255, 77, 109, 0.18);
}

.vv-lb-dismiss {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 4px 7px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    opacity: 0.45;
    transition: opacity var(--transition), background var(--transition);
    border-radius: var(--radius-input);
}
.vv-lb-dismiss:hover,
.vv-lb-dismiss:focus-visible {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

/* ── First-time user onboarding banner ──────────────────── */
.vv-onboarding-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(135, 65, 255, 0.22);
    background: var(--color-primary-dim);
    margin-bottom: 20px;
    transition: opacity 280ms ease, transform 280ms ease;
}
.vv-ob-hiding {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}
.vv-onboarding-banner .vv-lb-icon {
    background: rgba(135, 65, 255, 0.18);
    color: var(--color-primary);
}
.vv-onboarding-banner .vv-lb-title {
    color: var(--color-text-primary);
}
.vv-onboarding-banner .vv-lb-link {
    color: var(--color-primary);
    border-color: rgba(135, 65, 255, 0.35);
    background: rgba(135, 65, 255, 0.1);
}
.vv-onboarding-banner .vv-lb-link:hover,
.vv-onboarding-banner .vv-lb-link:focus {
    color: var(--color-primary);
    background: rgba(135, 65, 255, 0.22);
    text-decoration: none;
}

/* Cancel the global form { margin-bottom: 10px } rule */
#order-form {
    margin-bottom: 0;
}

/* ── Form footer: checkout strip ─────────────────────────── */
.vv-order-footer {
    margin: 14px -18px 0;
    display: flex;
    flex-direction: column;
    background: var(--color-surface-raised);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    overflow: hidden;
    position: relative;
}

/* Border-top removed — plain surface separation via background contrast */

/* Zone 1: Charge — full-width invoice row */
.vv-order-total {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 24px 26px;
    border-left: 3px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition), border-left-color var(--transition);
}

.vv-order-footer.vv-has-charge .vv-order-total {
    background: var(--color-primary-dim);
    border-left-color: var(--color-primary);
}

.vv-order-total-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Help link icon appended to field labels (e.g. Link → FAQ) */
.vv-field-help-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 11px;
    margin-left: 4px;
    vertical-align: baseline;
    transition: color var(--transition);
}
.vv-field-help-link:hover,
.vv-field-help-link:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.vv-order-total-input {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--color-text-secondary);
    padding: 0 4px 0 0;
    flex: 1;
    min-width: 0;
    text-align: right;
    cursor: default;
    outline: none;
    transition: color var(--transition), text-shadow var(--transition);
    line-height: 1.1;
}

.vv-order-total-input::placeholder {
    color: var(--color-text-secondary);
    opacity: 1;
}

.vv-order-total-input.vv-has-value {
    color: var(--color-primary);
    text-shadow: 0 0 28px var(--color-primary-glow);
}

.vv-order-total-input:focus {
    outline: none;
    box-shadow: none;
}

/* Submit button — full width below the charge row */
.vv-order-submit-btn {
    border-radius: 0 0 var(--radius-card) var(--radius-card) !important;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: opacity var(--transition), box-shadow var(--transition);
}

/* Violet glow on submit when a charge is calculated */
.vv-order-footer.vv-has-charge .vv-order-submit-btn {
    box-shadow: 0 4px 22px rgba(135, 65, 255, 0.40);
}

/* Right-column description card */
.vv-order-desc-card {
    position: sticky;
    top: calc(var(--topnav-height) + 16px);
}

.vv-order-desc-panel {
    min-height: 300px;
    flex: 1;
}

/* Placeholder (shown before a service is selected) */
#vv-desc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    gap: 14px;
    padding: 48px 24px;
    color: var(--color-text-muted);
}

.vv-desc-ph-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

#vv-desc-placeholder p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 220px;
    color: var(--color-text-muted);
    margin: 0;
}

/* No-description state (shown when selected service has no description) */
#vv-desc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    gap: 14px;
    padding: 48px 24px;
    color: var(--color-text-muted);
}

#vv-desc-empty .vv-desc-ph-icon {
    background: rgba(148, 144, 184, 0.12);
    color: var(--color-text-muted);
}

#vv-desc-empty p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 220px;
    color: var(--color-text-muted);
    margin: 0;
}

.vv-desc-ph-platforms {
    display: flex;
    gap: 14px;
    font-size: 18px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Description content mirrored from #service_description */
#vv-desc-mirror {
    font-size: 13px;
    color: var(--color-text-readable);
    line-height: 1.8;
    padding: 4px 0;
    overflow-wrap: break-word;
    word-break: break-word;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#vv-desc-mirror.vv-desc-active {
    opacity: 1;
}

/* Style common description elements */
#vv-desc-mirror strong,
#vv-desc-mirror b {
    color: var(--color-text-primary);
    font-weight: 600;
}

#vv-desc-mirror br {
    display: block;
    content: '';
    margin-top: 2px;
}

/* Order confirm card (replaces Bootstrap alert for success state) */
.alert.vv-order-confirm {
    background: var(--color-surface-raised);
    border: 1px solid rgba(34,212,126,0.2);
    border-radius: var(--radius-card);
    color: var(--color-text-primary);
    padding: 20px 22px 18px;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 0 0 1px rgba(34,212,126,0.1), 0 6px 24px rgba(0,0,0,0.45);
    animation: vv-confirm-in 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes vv-confirm-in {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vv-order-confirm-close {
    position: absolute;
    top: 14px; right: 14px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 5px 6px;
    border-radius: 6px;
    line-height: 1;
    transition: color var(--transition), background var(--transition);
}
.vv-order-confirm-close:hover {
    color: var(--color-text-primary);
    background: rgba(255,255,255,0.06);
}

.vv-order-confirm-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-right: 28px;
}

.vv-order-confirm-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(34,212,126,0.1);
    border: 2px solid rgba(34,212,126,0.35);
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    animation: vv-confirm-icon-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
    animation-delay: 0.1s;
}

@keyframes vv-confirm-icon-pop {
    from { transform: scale(0.3); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.vv-order-confirm-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 5px;
    line-height: 1.2;
}

.vv-order-confirm-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.vv-order-confirm-id {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-success);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition);
}
.vv-order-confirm-id:hover { opacity: 1; color: var(--color-success); }

.vv-success-status {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--color-warning);
    background: rgba(245,166,35,.12);
    border: 1px solid rgba(245,166,35,.25);
    border-radius: var(--radius-badge);
    padding: 2px 7px;
}
.vv-success-status--active {
    color: var(--color-success);
    background: rgba(34,212,126,.12);
    border-color: rgba(34,212,126,.25);
}

/* Detail list */
.vv-order-confirm-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    border-top: 1px solid var(--color-border-subtle);
}

.vv-order-confirm-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border-subtle);
    font-size: 13px;
}

.vv-ocl-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.vv-ocl-value {
    color: var(--color-text-primary);
    font-weight: 600;
    text-align: right;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vv-success-service-name {
    white-space: normal;
    word-break: break-word;
}

#vv-order-link-val {
    word-break: break-all;
    display: inline;
    vertical-align: middle;
}

.vv-success-link-cell {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
    word-break: break-all;
    text-align: right;
    white-space: normal;
}

.vv-copy-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 11px;
    line-height: 1;
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
    flex-shrink: 0;
}
.vv-copy-btn:hover { color: var(--color-text-primary); background: rgba(255,255,255,.06); }
.vv-copy-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.vv-copy-btn.vv-copied { color: var(--color-success); }

/* Charge chips */
.vv-order-confirm-charge {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.vv-occ-chip {
    flex: 1;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vv-occ-chip-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.vv-occ-chip-val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.vv-occ-chip--cost {
    background: rgba(255, 77, 109, 0.07);
    border-color: rgba(255, 77, 109, 0.22);
}
.vv-occ-chip--cost .vv-occ-chip-val { color: var(--color-danger); }

.vv-occ-chip--balance {
    background: rgba(34, 212, 126, 0.07);
    border-color: rgba(34, 212, 126, 0.22);
}
.vv-occ-chip--balance .vv-occ-chip-val { color: var(--color-success); }

/* Action buttons */
.vv-order-confirm-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vv-occ-view-btn {
    font-size: 13px;
    padding: 9px 20px;
}

.vv-occ-again-btn {
    font-size: 13px;
    padding: 9px 18px;
}

@media (max-width: 480px) {
    .vv-order-confirm-charge { flex-direction: column; }
    .vv-order-confirm-actions { flex-direction: column; }
    .vv-occ-view-btn,
    .vv-occ-again-btn { width: 100%; justify-content: center; }

    .vv-order-confirm-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 10px 0;
    }
    .vv-order-confirm-list .vv-ocl-value {
        text-align: left;
        padding-left: 0;
        white-space: normal;
        word-break: break-word;
    }
}

/* ── Rich alert cards (matches vv-order-confirm design language) ───────── */
.alert.vv-alert-card {
    background: var(--color-surface-raised);
    border-radius: var(--radius-card);
    color: var(--color-text-primary);
    padding: 16px 20px;
    margin-bottom: 18px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: vv-confirm-in 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}
.vv-alert-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    animation: vv-confirm-icon-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}
.vv-alert-card-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    min-width: 0;
}
.vv-alert-card > .close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 5px 6px;
    border-radius: 6px;
    line-height: 1;
    transition: color var(--transition), background var(--transition);
}
.vv-alert-card > .close:hover {
    color: var(--color-text-primary);
    background: rgba(255,255,255,0.06);
}

/* Danger variant */
.vv-alert-card.alert-danger {
    border: 1px solid rgba(255,77,109,0.2);
    box-shadow: 0 0 0 1px rgba(255,77,109,0.1), 0 6px 24px rgba(0,0,0,0.45);
}
.vv-alert-card.alert-danger .vv-alert-card-icon {
    background: rgba(255,77,109,0.1);
    border: 2px solid rgba(255,77,109,0.35);
    color: var(--color-danger);
}
.vv-alert-card.alert-danger .vv-alert-card-text { color: var(--color-danger); }

/* Success variant */
.vv-alert-card.alert-success {
    border: 1px solid rgba(34,212,126,0.2);
    box-shadow: 0 0 0 1px rgba(34,212,126,0.1), 0 6px 24px rgba(0,0,0,0.45);
}
.vv-alert-card.alert-success .vv-alert-card-icon {
    background: rgba(34,212,126,0.1);
    border: 2px solid rgba(34,212,126,0.35);
    color: var(--color-success);
}
.vv-alert-card.alert-success .vv-alert-card-text { color: var(--color-success); }

/* Warning variant */
.vv-alert-card.alert-warning {
    border: 1px solid rgba(245,166,35,0.2);
    box-shadow: 0 0 0 1px rgba(245,166,35,0.1), 0 6px 24px rgba(0,0,0,0.45);
}
.vv-alert-card.alert-warning .vv-alert-card-icon {
    background: rgba(245,166,35,0.1);
    border: 2px solid rgba(245,166,35,0.35);
    color: var(--color-warning);
}
.vv-alert-card.alert-warning .vv-alert-card-text { color: var(--color-warning); }

/* Info variant */
.vv-alert-card.alert-info {
    border: 1px solid rgba(65,179,255,0.2);
    box-shadow: 0 0 0 1px rgba(65,179,255,0.1), 0 6px 24px rgba(0,0,0,0.45);
}
.vv-alert-card.alert-info .vv-alert-card-icon {
    background: rgba(65,179,255,0.1);
    border: 2px solid rgba(65,179,255,0.35);
    color: var(--color-info);
}
.vv-alert-card.alert-info .vv-alert-card-text { color: var(--color-info); }

/* Member rank badge system */
.vv-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: var(--radius-badge);
}

.vv-rank--starter { background: rgba(125,123,160,.12); color: var(--color-text-muted); }
.vv-rank--regular { background: rgba(65,179,255,.12);  color: var(--color-info); }
.vv-rank--pro     { background: rgba(34,212,126,.12);  color: var(--color-success); }
.vv-rank--elite   { background: rgba(245,166,35,.12);  color: var(--color-warning); }
.vv-rank--vip     { background: rgba(135,65,255,.15);  color: var(--color-primary); }
.vv-rank--legend  {
    background: linear-gradient(135deg, rgba(199,125,255,.18), rgba(135,65,255,.18));
    color: #c77dff;
}

/* Admin-injected HTML block displayed below the order form */
.vv-order-admin-block {
    margin-top: 20px;
}

/* ── Platform network filter (inside order form body) ────── */
.vv-net-filter {
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    margin-bottom: 10px;
    padding: 8px;
}

/* Tiny eyebrow label above the platform grid — hidden on desktop */
.vv-net-caption {
    display: none;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 5px 2px;
    line-height: 1;
}

/* Mobile-first: 4 columns */
.vv-net-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

@media (min-width: 480px) {
    .vv-net-grid { grid-template-columns: repeat(5, 1fr); }
}

.vv-net-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
    cursor: pointer;
    min-height: 58px;
    transition: all var(--transition);
}

.vv-net-btn i {
    font-size: 18px;
    line-height: 1;
}

.vv-net-btn span {
    font-size: 10px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.vv-net-btn:hover,
.vv-net-btn.active {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    color: #ffffff;
}

/* Per-platform brand colors on active state */
.vv-net-btn[data-net="instagram"].active { color: #e1306c; border-color: rgba(225,48,108,.5); background: rgba(225,48,108,.08); }
.vv-net-btn[data-net="facebook"].active  { color: #1877f2; border-color: rgba(24,119,242,.5);  background: rgba(24,119,242,.08); }
.vv-net-btn[data-net="youtube"].active   { color: #ff0000; border-color: rgba(255,0,0,.4);     background: rgba(255,0,0,.07); }
.vv-net-btn[data-net="twitter"].active   { color: #1da1f2; border-color: rgba(29,161,242,.5);  background: rgba(29,161,242,.08); }
.vv-net-btn[data-net="tiktok"].active    { color: #69c9d0; border-color: rgba(105,201,208,.5); background: rgba(105,201,208,.08); }
.vv-net-btn[data-net="spotify"].active   { color: #1db954; border-color: rgba(29,185,84,.4);   background: rgba(29,185,84,.08); }
.vv-net-btn[data-net="telegram"].active  { color: #2aabee; border-color: rgba(42,171,238,.5);  background: rgba(42,171,238,.08); }
.vv-net-btn[data-net="discord"].active   { color: #5865f2; border-color: rgba(88,101,242,.5);  background: rgba(88,101,242,.08); }
.vv-net-btn[data-net="twitch"].active    { color: #9146ff; border-color: rgba(145,70,255,.5);  background: rgba(145,70,255,.08); }
.vv-net-btn[data-net="snapchat"].active  { color: #f5d800; border-color: rgba(245,216,0,.4);   background: rgba(245,216,0,.07); }
.vv-net-btn[data-net="linkedin"].active  { color: #0a66c2; border-color: rgba(10,102,194,.5);  background: rgba(10,102,194,.08); }
.vv-net-btn[data-net="google"].active    { color: #ea4335; border-color: rgba(234,67,53,.4);   background: rgba(234,67,53,.07); }

/* ================================================================
   SERVICES.TWIG
================================================================ */
.vv-services-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vv-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vv-cat-tab {
    padding: 7px 14px;
    border-radius: var(--radius-btn);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.vv-cat-tab:hover,
.vv-cat-tab.active {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.vv-services-search {
    position: relative;
    max-width: 280px;
    flex: 1;
}

.vv-services-search input {
    padding-left: 38px;
}

.vv-services-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 14px;
    pointer-events: none;
}

/* ================================================================
   TICKETS.TWIG
================================================================ */
.vv-ticket-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-subtle);
    transition: background var(--transition);
}

.vv-ticket-item:last-child {
    border-bottom: none;
}

.vv-ticket-item:hover {
    background: rgba(135, 65, 255, 0.03);
}

.vv-ticket-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    flex-shrink: 0;
}

.vv-ticket-dot.unread {
    background: var(--color-primary);
    box-shadow: 0 0 6px var(--color-primary-glow);
}

.vv-ticket-name {
    flex: 1;
    font-size: 14px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.vv-ticket-name.unread {
    font-weight: 700;
}

.vv-ticket-time {
    font-size: 11px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* File uploader */
.tickets-uploader {
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-input);
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 13px;
    transition: border-color var(--transition);
    cursor: pointer;
    min-height: 60px;
}

.tickets-uploader:hover {
    border-color: var(--color-primary);
}

/* ── Shared utility ─────────────────────────────────────────── */

/* Small button variant — used inside card headers */
.vv-btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    gap: 6px;
}

/* Generic empty state — centered icon + text */
.vv-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 12px;
    color: var(--color-text-muted);
    text-align: center;
}
.vv-empty-state i {
    font-size: 36px;
    opacity: 0.35;
}
.vv-empty-state p {
    font-size: 13px;
    margin: 0;
}

/* ── Ticket list supplemental classes ──────────────────────── */
.vv-ticket-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}
.vv-ticket-link:hover { color: var(--color-primary); }
.vv-ticket-link--new  { font-weight: 700; }

.vv-ticket-new-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 6px var(--color-primary-glow);
    flex-shrink: 0;
}

/* ── viewticket.twig supplemental classes ──────────────────── */
.vv-ticket-header-info {
    flex: 1;
    min-width: 0;
}
.vv-ticket-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.vv-msg-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.vv-ticket-reply {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    margin-top: 8px;
}
.vv-ticket-reply-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vv-ticket-reply-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.vv-ticket-thread-card .vv-messages {
    max-height: 480px;
    overflow-y: auto;
    padding: 8px 0;
}

.vv-tickets-text {
    padding: 20px 24px;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* ================================================================
   VIEWTICKET.TWIG — Chat-style messages
================================================================ */
.vv-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.vv-message {
    display: flex;
    gap: 12px;
    max-width: 75%;
}

.vv-message.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.vv-message.support-msg {
    align-self: flex-start;
}

.vv-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-primary-dim);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-primary);
}

.vv-msg-bubble {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-text-primary);
    line-height: 1.6;
    word-break: break-word;
}

.vv-message.user-msg .vv-msg-bubble {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
}

.vv-msg-time {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 4px;
    display: block;
}

.vv-msg-files {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vv-msg-file-link {
    font-size: 12px;
    color: var(--color-primary);
    background: var(--color-primary-dim);
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ================================================================
   ACCOUNT.TWIG
================================================================ */

/* Two-column responsive grid for account sections */
.vv-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
.vv-account-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (max-width: 768px) {
    .vv-account-grid { grid-template-columns: 1fr; }
}

/* Section divider inside a card */
.vv-account-section-divider {
    border-top: 1px solid var(--color-border-subtle);
    margin: 20px 0;
}

/* 2FA status badge */
.vv-2fa-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-badge);
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 8px;
}
.vv-2fa-badge--on  { background: rgba(34,212,126,.12); color: var(--color-success); border: 1px solid rgba(34,212,126,.25); }
.vv-2fa-badge--off { background: rgba(255,77,109,.10); color: var(--color-danger);  border: 1px solid rgba(255,77,109,.2); }

/* 2FA description text */
.vv-2fa-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Danger button variant — for 2FA disable */
.btn-vv-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: var(--radius-btn);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255,77,109,.35);
    background: rgba(255,77,109,.1);
    color: var(--color-danger);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-vv-danger:hover {
    background: var(--color-danger);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,77,109,.3);
}
.btn-vv-danger:active { transform: scale(0.97); box-shadow: none; }

.vv-account-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.vv-account-tab {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.vv-account-tab:hover { color: var(--color-text-primary); }

.vv-account-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.vv-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border-subtle);
    font-size: 14px;
}

.vv-info-row:last-child { border-bottom: none; }

.vv-info-label {
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.vv-info-value {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* API key */
#api_key {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    background: var(--color-bg);
}

/* ================================================================
   ADDFUNDS.TWIG
================================================================ */
.vv-addfunds-wrap { display: flex; flex-direction: column; gap: 20px; }

.vv-addfunds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
@media (max-width: 768px) {
    .vv-addfunds-grid { grid-template-columns: 1fr; }
}

/* Payment method radio cards */
.vv-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.vv-payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.vv-payment-method:hover { border-color: var(--color-primary); }
.vv-payment-method--active {
    border-color: var(--color-primary);
    background: var(--color-primary-dim);
}
/* Visually hidden but accessible — keyboard users can focus via label */
.vv-payment-method-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.vv-payment-method:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
.vv-payment-method-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
}
.vv-payment-method-check {
    color: var(--color-primary);
    font-size: 12px;
    opacity: 0;
    transition: opacity var(--transition);
}
.vv-payment-method--active .vv-payment-method-check { opacity: 1; }

/* Full-width submit button for addfunds */
.vv-addfunds-submit { width: 100%; display: block; margin-top: 16px; }

/* Compact nav-hint value in stat bar (smaller than stat numbers) */
.vv-order-bar-value--nav {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

/* ── Addfunds single-column form ─────────────────────────────── */

/* Eyebrow label above #amount-fields ("AMOUNT" / "INSTRUCTION") */
.vv-addfunds-section-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    margin-top: 20px;
}

/* Per-method instruction HTML rendered by Twig (admin-authored content) */
.vv-method-instruction {
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    padding: 14px 16px;
    color: var(--color-text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 8px;
}
/* Style inline HTML elements within admin-authored instruction */
.vv-method-instruction p  { margin: 0 0 8px; }
.vv-method-instruction p:last-child { margin-bottom: 0; }
.vv-method-instruction a  { color: var(--color-primary); }
.vv-method-instruction strong { color: var(--color-text-primary); }

/* "Open a Ticket" hint link shown below instruction text */
.vv-addfunds-ticket-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-decoration: none;
}
.vv-addfunds-ticket-hint a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--transition);
}
.vv-addfunds-ticket-hint a:hover { opacity: 0.8; text-decoration: underline; }

/* Legacy grid class — kept for backwards compatibility */
.vv-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ================================================================
   NOTIFICATIONS.TWIG
================================================================ */
.vv-notif-action-card { margin-bottom: 20px; }
.vv-notif-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}
.vv-notif-check-cell { text-align: center; }
.vv-notif-checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}
.vv-notif-checkbox { display: none; }
.vv-notif-checkbox:disabled + .vv-checkbox-box { opacity: 0.4; cursor: not-allowed; }
.vv-notif-checkbox:checked + .vv-checkbox-box {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.vv-notif-checkbox:checked + .vv-checkbox-box::after { display: block; }

/* ================================================================
   AFFILIATES.TWIG
================================================================ */

/* Affiliates mini stats row */
.vv-affiliates-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 16px;
    border-top: 1px solid var(--color-border-subtle);
    padding-top: 16px;
}
.vv-affiliates-mini-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
}

.vv-ref-link-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

.vv-ref-link-box input {
    flex: 1;
    font-size: 12px;
    background: var(--color-bg);
}

/* ================================================================
   MASSORDER.TWIG
================================================================ */
.vv-massorder-guide {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    padding: 10px 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}
.vv-massorder-guide i { margin-top: 1px; flex-shrink: 0; }
.vv-massorder-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.vv-massorder-counter {
    font-size: 12px;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
}

/* ================================================================
   CHILD PANEL ORDER.TWIG
================================================================ */
.vv-child-order-wrap { display: flex; flex-direction: column; gap: 20px; }
.vv-child-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 768px) {
    .vv-child-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vv-child-steps-grid { grid-template-columns: 1fr; }
}
.vv-child-step {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
}
.vv-child-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary-dim);
    border: 1px solid rgba(135,65,255,0.25);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vv-child-step-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 4px;
}
.vv-child-step-body p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ================================================================
   API.TWIG
================================================================ */
pre {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    padding: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-primary);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--color-primary);
    background: var(--color-primary-dim);
    border-radius: 4px;
    padding: 1px 6px;
}

/* JSON syntax highlight helpers */
.value   { color: var(--color-warning); }
.property{ color: var(--color-info); }
.string  { color: var(--color-success); }
.number  { color: var(--color-text-primary); }

/* ================================================================
   BLOG.TWIG / BLOGPOST.TWIG
================================================================ */
.vv-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vv-blog-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.vv-blog-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(135, 65, 255, 0.1);
}

.vv-blog-thumb {
    height: 200px;
    overflow: hidden;
    background: var(--color-bg);
}

.vv-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.vv-blog-card:hover .vv-blog-thumb img {
    transform: scale(1.05);
}

.vv-blog-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vv-blog-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vv-blog-excerpt {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vv-blog-card .btn-vv-primary {
    margin-top: auto;
    align-self: flex-start;
    font-size: 11px;
    padding: 8px 18px;
}

/* ── Blog Resources (landing page teaser) ───────────────────────── */
.vv-landing-blog-section {
    padding: 80px 0;
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}
.vv-landing-blog-section::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 320px;
    background: radial-gradient(ellipse at top center, rgba(135,65,255,0.07) 0%, transparent 68%);
    pointer-events: none;
}
.vv-landing-blog-section .section-in { position: relative; z-index: 1; }

.vv-landing-blog-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
}
.vv-landing-blog-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-accent, var(--color-primary));
    transform: scaleX(0);
    transition: transform 300ms ease;
    z-index: 1;
}
.vv-landing-blog-card:hover::before { transform: scaleX(1); }
.vv-landing-blog-card:hover {
    border-color: var(--card-accent, var(--color-primary));
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(135,65,255,0.1), inset 0 1px 0 rgba(135,65,255,0.15);
}
/* Shimmer sweep on hover — matches feature/review card pattern */
.vv-landing-blog-card::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135,65,255,0.06), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.vv-landing-blog-card:hover::after {
    animation: feat-shimmer 0.65s ease forwards;
}
.vv-landing-blog-card .vv-who-cta {
    margin-top: auto;
}
.vv-landing-blog-card:hover .vv-who-cta { opacity: 1; }
.vv-landing-blog-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.vv-landing-blog-cat {
    --badge-color: var(--card-accent, var(--color-primary));
}
.vv-landing-blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--color-text-muted);
}
.vv-landing-blog-meta span + span::before {
    content: "·";
    margin-right: 8px;
}
.vv-landing-blog-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

/* Blog post */
.vv-post-image {
    width: 100%;
    border-radius: var(--radius-card);
    margin-bottom: 28px;
    max-height: 420px;
    object-fit: cover;
}

.vv-post-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.vv-post-content {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.vv-post-content h1, .vv-post-content h2, .vv-post-content h3 {
    color: var(--color-text-primary);
    margin-top: 28px;
    margin-bottom: 12px;
}

.vv-post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ================================================================
   AUTH PAGES — Signup / Reset / 2FA
================================================================ */
.vv-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--color-bg);
}

.vv-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 40px;
}

.vv-auth-logo {
    display: block;
    margin-bottom: 28px;
    height: 32px;
}

/* Decorative icon circle — used on reset/2fa/confirm auth pages */
.vv-auth-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary-dim);
    border: 1px solid rgba(135,65,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.vv-auth-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.vv-auth-sub {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.vv-auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vv-auth-form .btn-vv-primary,
.vv-auth-form .btn-primary {
    width: 100%;
    padding: 13px;
}

.vv-auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.vv-auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Standalone pages (hide navbar/footer) */
.vv-standalone .public-navbar,
.vv-standalone footer,
.vv-standalone .vv-footer {
    display: none;
}

/* ── Confirm Email page ──────────────────────────────────────── */
.vv-confirm-email-wrap {
    max-width: 520px;
}
.vv-confirm-email-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.vv-confirm-email-icon {
    font-size: 40px;
    color: var(--color-primary);
    text-align: center;
    opacity: 0.85;
}
.vv-confirm-email-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    text-align: center;
}
.vv-confirm-email-desc p { margin: 0 0 8px; }
.vv-confirm-email-desc p:last-child { margin-bottom: 0; }
.vv-confirm-email-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.vv-confirm-email-actions .btn-vv-primary,
.vv-confirm-email-actions .btn-vv-secondary {
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

/* ── 2FA page ────────────────────────────────────────────────── */
.vv-2fa-wrap {
    max-width: 440px;
}
.vv-2fa-code-hint {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ================================================================
   PUBLIC PAGE WRAPPER (services, blog, api visible to logged out)
================================================================ */
.vv-public-page {
    min-height: 60vh;
}

.vv-public-hero {
    background: linear-gradient(180deg, rgba(135,65,255,0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 60px 0 48px;
}

.vv-public-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.vv-public-hero-sub {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Public hero eyebrow + description */
.vv-public-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.vv-public-hero-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    max-width: 540px;
    margin-top: 8px;
}

/* Prose card — for FAQ, terms, newpage, blog content */
.vv-prose-card {
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-text-secondary);
}
.vv-prose-card h1, .vv-prose-card h2, .vv-prose-card h3,
.vv-prose-card h4, .vv-prose-card h5 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin-top: 24px;
    margin-bottom: 10px;
}
.vv-prose-card p { margin-bottom: 12px; }
.vv-prose-card a { color: var(--color-primary); }
.vv-prose-card ul, .vv-prose-card ol { padding-left: 20px; margin-bottom: 12px; }
.vv-prose-card li { margin-bottom: 4px; }

/* ================================================================
   SERVICES.TWIG — Toolbar + favorites + search
================================================================ */
.vv-services-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-subtle);
    flex-wrap: wrap;
}
.vv-services-search {
    position: relative;
    flex: 1;
    min-width: 160px;
    max-width: 280px;
}
.vv-services-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 13px;
    pointer-events: none;
}
.vv-services-search .form-control { padding-left: 32px; }
.vv-fav-cell { text-align: center; cursor: pointer; }
.vv-fav-cell .far.fa-star { color: var(--color-text-muted); transition: color var(--transition); }
.vv-fav-cell .fas.fa-star  { color: var(--color-warning); }
.favorite-active .far.fa-star,
.vv-fav-cell:hover .far.fa-star { color: var(--color-warning); }
@media (max-width: 768px) {
    .vv-services-toolbar { gap: 8px; }
    .vv-services-search { max-width: 100%; }
}

/* ================================================================
   BLOG.TWIG — Full page grid + post styles
================================================================ */
.vv-blog-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
@media (max-width: 1024px) { .vv-blog-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .vv-blog-grid-full { grid-template-columns: 1fr; } }

.vv-blog-img-wrap {
    display: block;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.vv-blog-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}
.vv-blog-card-full:hover .vv-blog-cover { transform: scale(1.04); }
.vv-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: 8px;
    transition: gap var(--transition);
}
.vv-blog-read-more:hover { gap: 10px; color: var(--color-primary); }

/* Blogpost page */
.vv-post-hero { position: relative; overflow: hidden; padding: 60px 0 48px; }
.vv-post-hero.has-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10,10,15,0.72);
}
.vv-post-cover-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px);
    transform: scale(1.04);
}
.vv-post-hero .section-in { position: relative; z-index: 1; }
.vv-post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(240,238,255,0.7);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color var(--transition);
}
.vv-post-back-link:hover { color: var(--color-text-primary); }
.vv-post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 10px;
}
.vv-post-title { color: #fff !important; }

/* Blogpost in dashboard mode */
.vv-blog-post-header { margin-bottom: 20px; }
.vv-blog-post-hero-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-bottom: 20px;
}
.vv-blog-post-title-dash {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.3px;
    margin: 0;
}

/* ================================================================
   API.TWIG — Method blocks
================================================================ */
.vv-api-action-badge {
    margin-left: auto;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius-badge);
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    font-family: 'Courier New', monospace;
    color: var(--color-text-secondary);
}
.vv-api-type-selector { margin-bottom: 16px; }
.vv-api-example {
    margin-top: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    overflow: hidden;
}
.vv-api-example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: var(--color-surface-raised);
    border-bottom: 1px solid var(--color-border);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.vv-api-copy-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color var(--transition);
}
.vv-api-copy-btn:hover { color: var(--color-primary); }
.vv-api-example pre {
    border: none;
    border-radius: 0;
    margin: 0;
}

/* ================================================================
   SEARCH / FILTER BARS
================================================================ */
.vv-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.vv-search-input-wrap {
    position: relative;
    flex: 1;
    max-width: 360px;
    min-width: 200px;
}

.vv-search-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 14px;
    pointer-events: none;
}

.vv-search-input-wrap input {
    padding-left: 38px;
}

.vv-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.vv-filter-tab {
    font-family: var(--font-heading);
    padding: 6px 14px;
    border-radius: var(--radius-btn);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vv-filter-tab:hover,
.vv-filter-tab.active {
    background: var(--color-primary-dim);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
}

/* ================================================================
   RTL SUPPORT
================================================================ */
.rtl-form, .rtl-content, .rtl-nav, .rtl-navbar, .rtl-pagination {
    direction: rtl;
    text-align: right;
}

.rtl-table { direction: rtl; }
.rtl-alert { direction: rtl; text-align: right; }
.rtl-modal { direction: rtl; }

/* Dashboard layout — directional property flips for RTL */

/* Sidebar: active indicator bar moves from left edge to right edge */
[dir="rtl"] .sidebar-link.active::before,
[dir="rtl"] .sidebar-link:focus-visible::before {
    left: auto;
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Sidebar: notification badge pushes to left in RTL */
[dir="rtl"] .sidebar-badge {
    margin-left: 0;
    margin-right: auto;
}

/* Topnav: balance chip accent border flips to right side */
[dir="rtl"] .topnav-balance {
    border-left: 1px solid transparent;
    border-right: 2px solid var(--color-primary);
    padding: 0 10px 0 13px;
}

/* Order bar: divider border flips from right to left edge */
[dir="rtl"] .vv-order-bar-item {
    border-right: none;
    border-left: 1px solid var(--color-border);
}
[dir="rtl"] .vv-order-bar-item--last {
    border-left: none;
}

/* FAQ answer: left accent bar and indent flip to right side */
[dir="rtl"] .vv-faq-answer-inner {
    border-left: none;
    border-right: 2px solid rgba(135,65,255,0.45);
    margin-left: 0;
    margin-right: 34px;
}

/* How It Works: step connector line flips from left to right of icon */
[dir="rtl"] .vv-step:not(:last-child)::after {
    left: auto;
    right: 29px;
}

/* ================================================================
   AOS ANIMATIONS (scroll reveal)
================================================================ */
/* Only hide [data-aos] elements once AOS has initialised (adds .aos-initialized to <body>).
   Without this guard, a failed AOS load leaves every animated section invisible. */
body.aos-initialized [data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

body.aos-initialized [data-aos="fade-up"] {
    transform: translateY(24px);
}

body.aos-initialized [data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

/* ================================================================
   MISC UTILITIES
================================================================ */
.vv-divider {
    height: 1px;
    background: var(--color-border);
    margin: 24px 0;
}

.text-primary-vv { color: var(--color-primary); }
.text-muted-vv   { color: var(--color-text-muted); }
.text-secondary-vv { color: var(--color-text-secondary); }
.text-success-vv { color: var(--color-success); }
.text-danger-vv  { color: var(--color-danger); }
.text-warning-vv { color: var(--color-warning); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.w-100 { width: 100%; }

/* ================================================================
   BADGE SYSTEM
   Usage: add class "vv-badge" to any inline element.
   Color variants: vv-badge--primary | vv-badge--warning | vv-badge--success
                   vv-badge--danger  | vv-badge--info
   Add vv-badge--pulse for the animated breathing effect.
================================================================ */

.vv-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 4px 10px;
    flex-shrink: 0;
    color: var(--badge-color, var(--color-primary));
    background: color-mix(in srgb, var(--badge-color, var(--color-primary)) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge-color, var(--color-primary)) 25%, transparent);
}

.vv-badge--primary { --badge-color: var(--color-primary); }
.vv-badge--warning { --badge-color: var(--color-warning); }
.vv-badge--success { --badge-color: var(--color-success); }
.vv-badge--danger  { --badge-color: var(--color-danger);  }
.vv-badge--info    { --badge-color: var(--color-info);    }

.vv-badge--pulse {
    animation: vv-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes vv-badge-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* ================================================================
   ICON SYSTEM
   Usage: add class "vv-icon" to any icon wrapper element.
   Set --icon-accent on the wrapper or a parent to control color.
   Size variants: vv-icon--sm (36px) | default (44px) | vv-icon--lg (52px)
================================================================ */

.vv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--icon-accent, var(--color-primary)) 12%, transparent);
    color: var(--icon-accent, var(--color-primary));
    font-size: 18px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--icon-accent, var(--color-primary)) 6%, transparent);
    transition: background 200ms ease, box-shadow 200ms ease;
}
.vv-icon--sm { width: 36px; height: 36px; font-size: 15px; }
.vv-icon--lg { width: 52px; height: 52px; font-size: 20px; }
.vv-how-section .vv-icon { border-radius: 50%; }

/* Parent hover — place on the card/row that wraps the icon */
.vv-icon-parent:hover .vv-icon {
    background: color-mix(in srgb, var(--icon-accent, var(--color-primary)) 18%, transparent);
    box-shadow:
        0 0 0 8px  color-mix(in srgb, var(--icon-accent, var(--color-primary)) 10%, transparent),
        0 0 20px   color-mix(in srgb, var(--icon-accent, var(--color-primary)) 20%, transparent);
}

/* ================================================================
   RESPONSIVE — Tablet (≤ 1024px)
================================================================ */
@media (max-width: 1024px) {
    .vv-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 80px;
        text-align: center;
    }

    .vv-hero-sub { margin-left: auto; margin-right: auto; }

    .vv-hero-eyebrow {
        justify-content: center;
    }

    .vv-hero-cta {
        justify-content: center;
    }

    .vv-stats-ticker {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .vv-stats-ticker .vv-stat-pill {
        flex: 1;
        min-width: 0;
        align-items: center;
        padding: 14px 12px;
    }

    .vv-login-card {
        max-width: 480px;
        margin: 0 auto;
    }

    .vv-forgot-desktop { display: none; }

    .vv-forgot-mobile {
        display: flex;
        justify-content: center;
        font-size: 12px;
        margin-top: 2px;
    }

    .vv-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vv-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vv-faq-section {
        grid-template-columns: 1fr;
    }

    .vv-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .vv-order-layout {
        grid-template-columns: 1fr;
    }

    .vv-order-desc-card {
        position: static;
    }

    .vv-order-stats-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .vv-order-bar {
        flex-wrap: wrap;
    }

    .vv-order-bar-item {
        flex: 1 1 50%;
        border-bottom: 1px solid var(--color-border);
    }

    .vv-order-bar-item--last,
    .vv-order-bar-item:nth-child(2n) {
        border-right: none;
    }

    .vv-order-bar-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .vv-payment-grid {
        grid-template-columns: 1fr;
    }

    .vv-whatis-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: var(--color-border);
        border-radius: var(--radius-card);
        overflow: hidden;
        padding: 0;
    }

    .vv-whatis-stat {
        background: var(--color-surface-raised);
        padding: 20px 16px;
    }

    .vv-whatis-stat-div {
        display: none;
    }

    .vv-catalog-bento {
        grid-template-areas:
            "followers followers"
            "likes     views"
            "comments  shares"
            "traffic   traffic";
        grid-template-columns: repeat(2, 1fr);
    }

    .vv-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)
================================================================ */
@media (max-width: 768px) {
    .section-in, .navbar-in, .header-in, .footer-in {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-links-vv { display: none; }
    .nav-hamburger   { display: flex; }

    /* Hide CTA buttons on mobile — they live in the mobile overlay */
    .navbar-right-vv .btn-vv-ghost,
    .navbar-right-vv .btn-vv-primary { display: none; }

    /* Fix navbar to viewport top — sticky is unreliable on iOS overscroll */
    .public-navbar {
        position: fixed;
        left: 0;
        right: 0;
    }

    /* Compensate for fixed navbar removed from document flow */
    body:not(.dashboard) {
        padding-top: calc(72px + env(safe-area-inset-top, 0px));
    }

    /* Dashboard sidebar becomes off-canvas on mobile */
    body.dashboard { flex-direction: column; height: auto; overflow: visible; overflow-x: hidden; }

    /* Scroll lock while sidebar is open — position: fixed is required for iOS */
    body.vv-sidebar-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        /* body.style.top is set by JS to preserve visual scroll position */
    }

    .vv-sidebar {
        /* Reset safe-area offset — mobile sidebar fills full height behind notch */
        top: 0;
        height: 100vh;   /* fallback for iOS < 15.4 */
        height: 100dvh;  /* dynamic: shrinks when Safari chrome is visible */
        padding-top: env(safe-area-inset-top, 0px);
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

    .vv-sidebar.open {
        transform: translateX(0);
    }

    /* Collapse sidebar behind Bootstrap modal backdrop to prevent double-darkening */
    body.modal-open .vv-sidebar {
        z-index: 0;
    }

    .dashboard-body {
        margin-left: 0;
        height: auto;
        overflow: visible;
    }

    .dashboard-top-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: env(safe-area-inset-top, 0px) 16px 0;
        gap: 8px;
        z-index: 100;
    }

    .dashboard-body-in {
        height: auto;
        overflow: visible;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        margin-top: calc(var(--topnav-height) + env(safe-area-inset-top, 0px));
    }

    /* Larger touch targets for sidebar links (44px HIG minimum) */
    .sidebar-link {
        padding: 12px 12px;
    }

    .vv-features-grid {
        grid-template-columns: 1fr;
    }

    .vv-blog-grid {
        grid-template-columns: 1fr;
    }

    .vv-results-grid {
        grid-template-columns: 1fr;
    }

    .vv-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vv-outro {
        padding: 36px 24px;
    }

    .vv-card { padding: 18px; }

    .vv-order-stats,
    .vv-order-stats-4 {
        grid-template-columns: 1fr 1fr;
    }

    .vv-order-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    /* Banner is redundant on mobile — order bar cell color-shifts handle the cue */
    .vv-low-balance-banner { display: none; }

    /* Onboarding banner stays visible on mobile but compacts to a single row */
    .vv-onboarding-banner { padding: 10px 12px; gap: 9px; }
    .vv-onboarding-banner .vv-lb-icon { width: 28px; height: 28px; font-size: 12px; }
    .vv-onboarding-banner .vv-lb-desc { display: none; }
    .vv-onboarding-banner .vv-lb-title { font-size: 12px; }

    .vv-order-bar-item {
        border-right: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        flex: unset;
    }

    .vv-order-bar-item:nth-child(2n) { border-right: none; }
    .vv-order-bar-item:nth-child(3),
    .vv-order-bar-item:nth-child(4)  { border-bottom: none; }

    .vv-order-submit-btn {
        border-radius: 0 0 var(--radius-card) var(--radius-card) !important;
        justify-content: center;
        padding: 14px 28px;
    }


    /* Filter tabs: horizontal scroll strip on mobile, never stack */
    .vv-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
        position: relative;
    }
    .vv-filter-tabs::-webkit-scrollbar { display: none; }

    /* Right-edge fade — signals more tabs to scroll */
    .vv-filter-tabs::after {
        content: '';
        position: sticky;
        right: 0;
        top: 0;
        flex-shrink: 0;
        width: 32px;
        align-self: stretch;
        background: linear-gradient(to right, transparent, var(--color-surface));
        pointer-events: none;
    }

    .vv-table-wrap {
        background: none;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .table > thead { display: none; }

    .table > tbody > tr {
        display: block;
        margin-bottom: 12px;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-card);
    }

    .table > tbody > tr > td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        border-top: none;
        border-bottom: 1px solid var(--color-border-subtle);
    }

    .table > tbody > tr > td:last-child {
        border-bottom: none;
    }

    .table > tbody > tr > td::before {
        content: attr(data-label);
        font-family: var(--font-heading);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--color-text-muted);
        flex-shrink: 0;
        margin-right: 12px;
    }

    /* Platform filter: single-row horizontal scroll, icon-only on mobile */
    .vv-net-caption { display: block; }

    .vv-net-filter {
        padding: 6px 6px 7px;
        position: relative;
    }

    /* Right-edge gradient fade — signals more buttons to scroll */
    .vv-net-filter::after {
        content: '';
        position: absolute;
        top: 6px; right: 0; bottom: 7px;
        width: 24px;
        background: linear-gradient(to right, transparent, var(--color-surface-raised));
        pointer-events: none;
        border-radius: 0 var(--radius-input) var(--radius-input) 0;
        z-index: 1;
        opacity: 1;
        transition: opacity 180ms ease;
    }

    /* Hide fade when fully scrolled to the end */
    .vv-net-filter.vv-net-at-end::after {
        opacity: 0;
    }

    .vv-net-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 5px;
    }

    .vv-net-grid::-webkit-scrollbar { display: none; }

    /* Icon-only: hide text labels, shrink buttons, enlarge icons */
    .vv-net-btn {
        flex: 0 0 46px;
        min-width: 46px;
        min-height: 46px;
        gap: 0;
        padding: 0;
    }

    .vv-net-btn span { display: none; }

    .vv-net-btn i { font-size: 22px; }

    .vv-hero-inner {
        padding: 80px 20px 48px;
    }

    .vv-auth-card {
        padding: 28px 20px;
    }

    .modal-dialog {
        margin: 12px;
    }

    /* ── Card header: stack search below title on mobile ──── */
    .vv-card-header {
        flex-wrap: wrap;
    }

    .vv-card-header .vv-table-search {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .vv-card-header .vv-search-group {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    /* Override Bootstrap input-group table-cell layout for proper flex sizing */
    .vv-card-header .vv-search-group .form-control {
        flex: 1 1 0%;
        width: 0;
        min-width: 0;
        float: none;
    }

    .vv-card-header .vv-search-group .input-group-btn {
        flex: 0 0 auto;
        width: auto;
    }
}

/* ── Orders table — card layout (laptop and below) ─────────────
   Placed AFTER the generic 768px block so orders-specific grid
   rules win the specificity battle at all viewport widths.       */
@media (max-width: 1536px) {
    .vv-table-wrap:has(.vv-orders-table) {
        background: none;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .vv-orders-table > thead { display: none; }
    .vv-orders-table { margin-bottom: 0; }

    .vv-orders-table > tbody > tr {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 6px;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-card);
    }

    .vv-orders-table > tbody > tr > td {
        display: flex;
        align-items: center;
        padding: 5px 10px;
        border-top: none;
        border-bottom: 1px solid var(--color-border-subtle);
        justify-content: space-between;
        min-width: 0;
    }
    .vv-orders-table > tbody > tr > td:last-child { border-bottom: none; }

    /* Data-label pseudo-elements */
    .vv-orders-table > tbody > tr > td::before {
        content: attr(data-label);
        font-family: var(--font-heading);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--color-text-muted);
        flex-shrink: 0;
        margin-right: 8px;
    }

    /* Row 1: ID + Status */
    .vv-orders-table > tbody > tr > td:nth-child(1) {
        grid-column: 1 / 3; grid-row: 1;
        background: var(--color-surface-raised);
        border-radius: var(--radius-card) 0 0 0;
        justify-content: flex-start;
        padding: 5px 10px;
    }
    .vv-orders-table > tbody > tr > td:nth-child(1)::before { display: none; }

    .vv-orders-table > tbody > tr > td:nth-child(9) {
        grid-column: 3 / 5; grid-row: 1;
        background: var(--color-surface-raised);
        border-radius: 0 var(--radius-card) 0 0;
        justify-content: flex-end;
        padding: 5px 10px;
    }
    .vv-orders-table > tbody > tr > td:nth-child(9)::before { display: none; }

    /* Row 2: Service — single line truncated */
    .vv-orders-table > tbody > tr > td:nth-child(6) {
        grid-column: 1 / -1; grid-row: 2;
        overflow: hidden;
    }
    .vv-orders-table > tbody > tr > td:nth-child(6)::before { display: none; }
    .vv-orders-table > tbody > tr > td:nth-child(6) .vv-td-link-subtle {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
        line-height: 1.4;
    }
    .vv-orders-table > tbody > tr > td:nth-child(6) .vv-td-service-id {
        display: inline;
        margin-right: 4px;
        margin-bottom: 0;
    }

    /* Row 3: Link */
    .vv-orders-table > tbody > tr > td:nth-child(3) {
        grid-column: 1 / -1; grid-row: 3; overflow: hidden;
    }
    .vv-orders-table > tbody > tr > td:nth-child(3)::before { display: none; }
    .vv-orders-table > tbody > tr > td:nth-child(3) .vv-td-link { max-width: 100%; min-width: 0; }
    .vv-orders-table > tbody > tr > td:nth-child(3) .vv-td-link span {
        overflow: hidden; text-overflow: ellipsis;
    }

    /* Row 4: All 4 detail values — 4-col on tablet/laptop */
    .vv-orders-table > tbody > tr > td:nth-child(4) {
        grid-column: 1; grid-row: 4;
        border-right: 1px solid var(--color-border-subtle);
    }
    .vv-orders-table > tbody > tr > td:nth-child(5) {
        grid-column: 2; grid-row: 4;
        border-right: 1px solid var(--color-border-subtle);
    }
    .vv-orders-table > tbody > tr > td:nth-child(7) {
        grid-column: 3; grid-row: 4;
        border-right: 1px solid var(--color-border-subtle);
    }
    .vv-orders-table > tbody > tr > td:nth-child(8) {
        grid-column: 4; grid-row: 4;
    }

    /* Detail cells: compact label above value */
    .vv-orders-table > tbody > tr > td:nth-child(4),
    .vv-orders-table > tbody > tr > td:nth-child(5),
    .vv-orders-table > tbody > tr > td:nth-child(7),
    .vv-orders-table > tbody > tr > td:nth-child(8) {
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        padding: 4px 8px;
        font-size: 12px;
    }
    .vv-orders-table > tbody > tr > td:nth-child(4)::before,
    .vv-orders-table > tbody > tr > td:nth-child(5)::before,
    .vv-orders-table > tbody > tr > td:nth-child(7)::before,
    .vv-orders-table > tbody > tr > td:nth-child(8)::before {
        font-size: 9px;
        margin-right: 0;
    }

    /* Row 5: Date footer */
    .vv-orders-table > tbody > tr > td:nth-child(2) {
        grid-column: 1 / -1; grid-row: 5;
        justify-content: flex-start; gap: 6px;
        color: var(--color-text-muted); font-size: 11px; padding: 3px 10px;
    }
    .vv-orders-table > tbody > tr > td:nth-child(2)::before { display: none; }

    /* Row 6: Actions */
    .vv-orders-table > tbody > tr > td:nth-child(10) {
        grid-column: 1 / -1; grid-row: 6; justify-content: flex-end; gap: 8px;
    }
    .vv-orders-table > tbody > tr > td:nth-child(10)::before { display: none; }

    /* Empty state — centered, no data-label, clean card */
    .vv-orders-table > tbody > tr > td.vv-td-empty-state {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 48px 20px !important;
        border-bottom: none;
    }
    .vv-orders-table > tbody > tr > td.vv-td-empty-state::before {
        display: none;
    }
    .vv-orders-table > tbody > tr:has(.vv-td-empty-state) {
        grid-template-columns: 1fr;
    }

    /* Restore internal borders on last card (generic rule strips them) */
    .vv-orders-table > tbody > tr:last-child > td {
        border-bottom: 1px solid var(--color-border-subtle);
    }
    .vv-orders-table > tbody > tr:last-child > td:last-child {
        border-bottom: none;
    }
}

/* ── Orders mobile: 4-col → 2-col detail grid on small screens ── */
@media (max-width: 768px) {
    .vv-orders-table > tbody > tr {
        grid-template-columns: 1fr 1fr;
    }

    /* Header spans 2 cols instead of 4 */
    .vv-orders-table > tbody > tr > td:nth-child(1) { grid-column: 1; }
    .vv-orders-table > tbody > tr > td:nth-child(9) { grid-column: 2; }

    /* Details: 2 rows of 2 instead of 1 row of 4 */
    .vv-orders-table > tbody > tr > td:nth-child(4) { grid-column: 1; grid-row: 4; }
    .vv-orders-table > tbody > tr > td:nth-child(5) { grid-column: 2; grid-row: 4; border-right: none; }
    .vv-orders-table > tbody > tr > td:nth-child(7) { grid-column: 1; grid-row: 5; }
    .vv-orders-table > tbody > tr > td:nth-child(8) { grid-column: 2; grid-row: 5; border-right: none; }

    /* Shift date and actions down */
    .vv-orders-table > tbody > tr > td:nth-child(2) { grid-row: 6; }
    .vv-orders-table > tbody > tr > td:nth-child(10) { grid-row: 7; }

    /* Empty state: single column, no grid split */
    .vv-orders-table > tbody > tr:has(.vv-td-empty-state) {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   RESPONSIVE — Small mobile (≤ 480px)
================================================================ */
@media (max-width: 480px) {
    /* Balance: keep text visible, just tighten padding */
    .topnav-balance { padding: 0 8px; gap: 4px; }
    .topnav-balance span { font-size: 12px; }

    /* Swap full label for code-only (e.g. "USD $ " → "USD") */
    .topnav-balance-btn .topnav-currency-label { display: none; }
    .topnav-currency-code { display: inline; }

    /* Tighten topnav gap and hide mid-separator */
    .topnav-actions { gap: 3px; }
    .topnav-sep { margin: 0 2px; }

    .vv-stats-ticker .vv-stat-pill-num { font-size: 22px; }
    .vv-stats-ticker .vv-stat-pill-label { font-size: 9px; letter-spacing: 0.8px; }

    .vv-login-meta { font-size: 11px; }

    .vv-filter-tabs { flex-direction: row; }

    .vv-category-tabs { flex-direction: column; align-items: flex-start; }

    .pagination > li > a,
    .pagination > li > span {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .topnav-page-title { display: none; }
}

/* ================================================================
   BOOTSTRAP 3 OVERRIDES — structural fixes
================================================================ */

/* Remove default BS3 chrome */
.navbar { background: none; border: none; margin: 0; border-radius: 0; }
.navbar-default { background: none; border: none; }
.container-fluid { padding: 0; }

/* Panel → card-like */
.panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: none;
}

.panel-heading {
    background: transparent;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
    font-weight: 700;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.panel-body {
    color: var(--color-text-secondary);
}

/* Well */
.well {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: none;
    color: var(--color-text-secondary);
}

/* input-group */
.input-group-addon {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: var(--radius-input) 0 0 var(--radius-input);
}

/* Hidden helper */
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════════
   signin.twig: Who It's For cards
   ══════════════════════════════════════════════════════════════════ */
/* ── Who It's For overhaul ────────────────────────── */
.vv-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.vv-who-card {
    --icon-accent: var(--who-accent, var(--color-primary));
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 36px 32px 28px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.vv-who-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--who-accent, var(--color-primary)) 10%, transparent), inset 0 1px 0 color-mix(in srgb, var(--who-accent, var(--color-primary)) 15%, transparent);
    border-color: var(--who-accent, var(--color-primary));
}
/* Top accent bar — scales in on hover */
.vv-who-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--who-accent, var(--color-primary));
    transform: scaleX(0);
    transition: transform 300ms ease;
    z-index: 1;
}
.vv-who-card:hover::before { transform: scaleX(1); }
/* Diagonal shimmer — fires once on hover */
.vv-who-card::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--who-accent, var(--color-primary)) 6%, transparent), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.vv-who-card:hover::after {
    animation: feat-shimmer 0.65s ease forwards;
}
/* Role tag pill */
.vv-who-role-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-dim);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 20px;
    width: fit-content;
}
/* Icon + title inline header */
.vv-who-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
/* Icon hover */
.vv-who-card:hover .vv-icon {
    background: color-mix(in srgb, var(--icon-accent, var(--color-primary)) 18%, transparent);
    box-shadow:
        0 0 0 8px  color-mix(in srgb, var(--icon-accent, var(--color-primary)) 10%, transparent),
        0 0 20px   color-mix(in srgb, var(--icon-accent, var(--color-primary)) 20%, transparent);
}
.vv-who-card--creators  { --who-accent: #e1306c; --who-accent-dim: rgba(225,48,108,0.12); }
.vv-who-card--managers  { --who-accent: #1d9bf0; --who-accent-dim: rgba(29,155,240,0.12); }
.vv-who-card--resellers { --who-accent: #22d47e; --who-accent-dim: rgba(34,212,126,0.12); }
.vv-who-card--developers{ --who-accent: #c77dff; --who-accent-dim: rgba(199,125,255,0.12); }
/* Title */
.vv-who-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0;
    line-height: 1.35;
}
/* Body */
.vv-who-card-body {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin: 0 0 20px;
    flex: 1;
}
/* Platform tags — static */
.vv-who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}
.vv-who-tags span {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 3px 10px;
}
/* CTA — always visible, brightens on hover */
.vv-who-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 180ms ease;
}
.vv-who-card:hover .vv-who-cta { opacity: 1; }
/* Responsive */
@media (max-width: 768px) {
    .vv-who-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   signin.twig: How-it-works steps
   ══════════════════════════════════════════════════════════════════ */
/* How-it-works steps */
.vv-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vv-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 12px;
    margin: 0 -12px;
    border-radius: 10px;
    position: relative;
    transition: background 180ms ease;
}

.vv-step:hover {
    background: var(--color-primary-dim);
}

.vv-step:hover .vv-icon {
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
    box-shadow:
        0 0 0 8px  color-mix(in srgb, var(--color-primary) 10%, transparent),
        0 0 20px   color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.vv-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 29px;
    top: 62px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        color-mix(in srgb, var(--color-primary) 35%, transparent) 0px,
        color-mix(in srgb, var(--color-primary) 35%, transparent) 4px,
        transparent 4px,
        transparent 10px
    );
    border-radius: 2px;
    pointer-events: none;
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vv-steps-animated .vv-step:not(:last-child)::after {
    transform: scaleY(1);
}

/* Step icon pop-in animation */
@keyframes vv-step-num-pop {
    0%   { transform: scale(0.4); opacity: 0; box-shadow: 0 0 0 color-mix(in srgb, var(--color-primary) 0%, transparent); }
    60%  { transform: scale(1.18); box-shadow: 0 0 28px color-mix(in srgb, var(--color-primary) 70%, transparent); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 6%, transparent); }
}

.vv-steps-animated .vv-step:nth-child(1) .vv-icon {
    animation: vv-step-num-pop 0.5s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}
.vv-steps-animated .vv-step:nth-child(2) .vv-icon {
    animation: vv-step-num-pop 0.5s ease forwards;
    animation-delay: 0.35s;
    opacity: 0;
}
.vv-steps-animated .vv-step:nth-child(3) .vv-icon {
    animation: vv-step-num-pop 0.5s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.vv-step-body {
    flex: 1;
    min-width: 0;
}

.vv-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
    transition: transform 180ms ease;
}

.vv-step:hover .vv-step-title {
    transform: translateX(4px);
}


.vv-step-desc {
    font-size: 13px;
    color: var(--color-text-readable);
    line-height: 1.7;
}

/* How-it-works responsive */
@media (max-width: 768px) {
    .vv-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }

    .vv-login-card {
        order: -1;
    }

    .vv-how-grid {
        display: block !important;
    }

    .vv-how-grid .vv-steps-list {
        margin-top: 40px;
    }

    .vv-faq-section {
        grid-template-columns: 1fr;
    }

    .vv-faq-section > div:first-child {
        position: static;
    }

    .vv-outro {
        padding: 40px 28px;
    }

    .vv-catalog-bento {
        grid-template-areas:
            "followers"
            "likes"
            "views"
            "comments"
            "shares"
            "traffic";
        grid-template-columns: 1fr;
    }

    .vv-bento-ghost-num { font-size: 90px; }

    .vv-popular-row {
        display: grid;
        grid-template-columns: auto auto 1fr;
        grid-template-areas:
            "rank icon main"
            ".    .    cta";
        align-items: start;
        column-gap: 12px;
        row-gap: 8px;
        padding: 16px 18px;
    }
    .vv-popular-rank          { grid-area: rank; align-self: center; }
    .vv-popular-row .vv-icon  { grid-area: icon; align-self: center; }
    .vv-popular-row-main      { grid-area: main; }
    .vv-popular-row-chips     { display: none; }
    .vv-popular-row-cta       { grid-area: cta; justify-self: start; }

    .vv-popular-footer {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* Marketing sections — reduce 80px vertical padding to 52px on mobile */
    .vv-whatis-section,
    .vv-catalog-section,
    .vv-popular-section,
    .vv-results-section,
    .vv-landing-blog-section {
        padding: 52px 0;
    }

    /* Animation performance budget — hero area */
    .vv-login-card::before { animation-play-state: paused; }
    .vv-hero-beam          { animation: none; display: none; }
    .vv-orb-2, .vv-orb-5  { display: none; }
}

@media (max-width: 480px) {
    .vv-steps-list {
        gap: 0;
    }

    .vv-step {
        gap: 14px;
        padding: 20px 12px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   signin.twig: Section backgrounds + FAQ trigger styles + Outro
   ══════════════════════════════════════════════════════════════════ */
/* ── Features Grid: dot matrix + top violet radial glow ─────────── */
.vv-features-section {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    background-image: radial-gradient(circle, rgba(135,65,255,0.14) 1px, transparent 1px);
    background-size: 32px 32px;
}
.vv-features-section::before {
    content: "";
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 480px;
    background: radial-gradient(ellipse at center,
        rgba(135,65,255,0.16) 0%,
        rgba(135,65,255,0.06) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.vv-features-section .section-in { position: relative; z-index: 1; }
.vv-features-section::after {
    content: "";
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(135,65,255,0.35) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* ── How It Works: diagonal dark gradient + stripe lines + left glow ── */
.vv-how-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #101020 0%, var(--color-bg) 45%, #0c0c15 100%);
}
.vv-how-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        -52deg,
        transparent 0px,
        transparent 36px,
        rgba(135,65,255,0.025) 36px,
        rgba(135,65,255,0.025) 37px
    );
    pointer-events: none;
}
.vv-how-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 45%; height: 100%;
    background: radial-gradient(ellipse 80% 70% at 0% 45%,
        rgba(135,65,255,0.09) 0%, transparent 70%);
    pointer-events: none;
}
.vv-how-section .section-in { position: relative; z-index: 1; }

/* ── Who It's For: dot-grid bg + top violet flood + hairline borders ── */
.vv-who-section {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    background-image: radial-gradient(circle, rgba(135,65,255,0.065) 1px, transparent 1px);
    background-size: 28px 28px;
}
/* Top-center violet flood light — gives the section warmth without noise */
.vv-who-section::before {
    content: "";
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 480px;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(135,65,255,0.13) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}
/* Top + bottom hairline dividers to bookend the section cleanly */
.vv-who-section::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg,
        transparent 0%, rgba(135,65,255,0.45) 50%, transparent 100%) 1;
    pointer-events: none;
    z-index: 0;
}
.vv-who-section .section-in { position: relative; z-index: 1; }

/* ── FAQ: horizontal rule grid + bottom glow divider ─────────── */
.vv-faq-section-wrap {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    background-image: linear-gradient(rgba(135,65,255,0.05) 1px, transparent 1px);
    background-size: 100% 48px;
}
/* ── Fix 7: FAQ section bottom glow ──────────────────────────── */
.vv-faq-section-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 180px;
    background: radial-gradient(ellipse at center bottom,
        rgba(135,65,255,0.12) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.vv-faq-section-wrap .section-in { position: relative; z-index: 1; }
/* Override earlier display:none — gradient seam replaces removed inline border-top */
.vv-faq-section-wrap::before {
    content: "";
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(135,65,255,0.35) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Breathing ambient orb */
.vv-faq-bg-orb {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 720px; height: 420px;
    background: radial-gradient(ellipse, rgba(135,65,255,0.11) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: faq-orb-breathe 9s ease-in-out infinite;
    will-change: transform, opacity;
}
@keyframes faq-orb-breathe {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.18); }
}

/* ── FAQ trigger: numbered question layout ─────────────────────── */
.vv-faq-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    min-width: 20px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    transition: color 180ms ease;
}
.vv-faq-item.open .vv-faq-num {
    color: var(--color-primary);
}
.vv-faq-q { flex: 1; }


/* Open item: violet fill tint + outer glow ring */
.vv-faq-item.open {
    background: rgba(135,65,255,0.055);
    box-shadow: 0 0 0 1px rgba(135,65,255,0.3), 0 6px 28px rgba(135,65,255,0.08);
}

/* Answer body: left accent bar, aligned under question text */
.vv-faq-answer-inner {
    padding: 12px 20px 18px;
    font-size: 13px;
    color: var(--color-text-readable);
    line-height: 1.7;
    border-left: 2px solid rgba(135,65,255,0.45);
    margin-left: 34px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vv-faq-answer-inner { margin-left: 0; }
}

/* ── CTA Outro ─────────────────────────────────────────────────── */
.vv-outro-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    /* Elevated surface base with a floodlight cone from above + corner blooms */
    background:
        radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(135,65,255,0.28) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 2%  110%,  rgba(135,65,255,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 98% 110%,  rgba(135,65,255,0.14) 0%, transparent 55%),
        linear-gradient(170deg, #131220 0%, var(--color-surface) 35%, #0e0e1b 100%);
}
/* Vivid glowing top-edge beam */
.vv-outro-section::before {
    content: "";
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(135,65,255,0.55) 20%,
        rgba(200,150,255,1)   50%,
        rgba(135,65,255,0.55) 80%,
        transparent);
    box-shadow: 0 0 24px rgba(135,65,255,0.45), 0 0 80px rgba(135,65,255,0.18);
    pointer-events: none;
}
/* Soft bottom fade back to --color-bg */
.vv-outro-section::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    pointer-events: none;
}
.vv-outro-section .section-in { position: relative; z-index: 1; }

/* Orbital pulse rings */
.vv-outro-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vv-outro-ring {
    position: absolute;
    border-radius: 50%;
    animation: vv-outro-ring-expand 4.5s ease-out infinite;
}
.vv-outro-ring-1 {
    width: 260px; height: 260px;
    border: 1px solid rgba(135,65,255,0.35);
    animation-delay: 0s;
}
.vv-outro-ring-2 {
    width: 480px; height: 480px;
    border: 1px solid rgba(135,65,255,0.2);
    animation-delay: 1.5s;
}
.vv-outro-ring-3 {
    width: 720px; height: 720px;
    border: 1px solid rgba(135,65,255,0.1);
    animation-delay: 3s;
}
@keyframes vv-outro-ring-expand {
    0%   { transform: scale(0.55); opacity: 1; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Inner content wrapper (sits above sparkle layer) */
.vv-outro-inner {
    position: relative;
    z-index: 1;
}

@keyframes vv-outro-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--color-primary); }
    50%       { opacity: 0.55; box-shadow: 0 0 14px rgba(135,65,255,0.9); }
}

/* Outro eyebrow label — pill badge so it reads against the dark gradient bg */
.vv-outro-eyebrow {
    background: rgba(135, 65, 255, 0.12);
    border: 1px solid rgba(135, 65, 255, 0.35);
    border-radius: 100px;
    padding: 5px 16px;
    color: #d4b8ff;
    margin-bottom: 28px;
}
.vv-outro-eyebrow::before { display: none; }

/* Stats strip */
.vv-outro-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 32px;
}
.vv-outro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.vv-outro-stat-num {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}
.vv-outro-stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.vv-outro-stat-div {
    width: 1px;
    height: 38px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* Gradient text in outro title */
.vv-outro-title em,
.vv-outro-title .vv-gradient-text {
    font-style: italic;
    background: linear-gradient(90deg, #a855f7 0%, #8741ff 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shimmer sweep on primary CTA */
.vv-outro-primary-btn {
    position: relative;
    overflow: hidden;
}
.vv-outro-btn-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}
.vv-outro-primary-btn:hover .vv-outro-btn-shimmer {
    left: 160%;
    transition: left 0.55s ease;
}

/* Outro responsive */
@media (max-width: 600px) {
    .vv-outro-stats { gap: 16px; }
    .vv-outro-stat-num { font-size: 22px; }
    .vv-outro-stat-div { height: 28px; }
    .vv-outro-ring-3 { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   Extracted from layout.twig + signin.twig inline styles
   ══════════════════════════════════════════════════════════════════ */

/* ── Category A: <style> blocks moved from templates ── */

/* layout.twig: mobile sidebar off-canvas backdrop + toggle */
#vv-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
#vv-sidebar-backdrop.open { display: block; }
#vv-sidebar-toggle { display: none; }
@media (max-width: 768px) { #vv-sidebar-toggle { display: flex; } }

/* signin.twig: Google sign-in button */
#vv-google-btn { background: var(--color-surface-raised); border-color: rgba(255,255,255,0.45); }
#vv-google-btn-wrap:hover #vv-google-btn {
    background: var(--color-border);
    border-color: rgba(255,255,255,0.7);
    color: var(--color-primary);
}

/* ── Category B: Structural / layout classes ── */

/* layout.twig */
.gravatar-email { display: none; }
.topnav-logout-link { flex-shrink: 0; text-decoration: none; }
.navbar-brand-logo { height: 32px; }
.vv-footer-home-link { margin-bottom: 16px; display: inline-flex; }
.vv-footer-meta { display: flex; gap: 16px; align-items: center; }
.vv-footer-link { font-size: 12px; }

/* signin.twig — Google sign-in overlay structure */
#vv-google-btn-wrap { position: relative; overflow: hidden; }
#vv-google-btn { width: 100%; justify-content: center; gap: 10px; pointer-events: none; }
.g_id_signin { position: absolute; top: 0; left: 0; height: 100%; opacity: 0; cursor: pointer; }
.vv-authtext { margin-top: 16px; }

/* signin.twig — section scaffolding */
.vv-features-section { padding: 80px 0; }
.vv-section-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.vv-section-header--wide { max-width: 600px; }
.vv-section-header--spaced { margin-bottom: 56px; }
.vv-section-sub { margin: 0 auto; }
.vv-how-section { padding: 80px 0; }
.vv-how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vv-how-steps { margin-top: 28px; }
.vv-who-section { padding: 80px 0; }
.vv-who-icon-xs { font-size: 10px; }
.vv-who-cta-icon { font-size: 11px; }
.vv-faq-intro { position: sticky; top: 88px; }
.vv-faq-cta-group { margin-top: 24px; }
.vv-faq-support-link { font-size: 13px; }

/* signin.twig — reviews */
.vv-reviews-header { text-align: center; max-width: 600px; margin: 0 auto; }
.vv-section-eyebrow--tp { color: #00b67a; }
/* Override section-scoped TP green for 4-star reviews */
.vv-results-section .vv-result-stars--orange { color: #f5a623; }
.vv-result-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 10px;
    line-height: 1.4;
}
.vv-reviews-note { text-align: center; margin-top: 40px; }
.vv-reviews-note p { font-size: 12px; color: var(--color-text-muted); letter-spacing: 0.02em; }

/* signin.twig — blog preview */
.vv-blog-header { text-align: center; max-width: 560px; margin: 0 auto; }
.vv-blog-grid { margin-top: 48px; }
.vv-blog-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.vv-blog-meta .far.fa-clock { margin-right: 4px; }
.vv-blog-link-icon { font-size: 11px; }

/* signin.twig — whatis stats */
.vv-whatis-stat { padding-top: 16px; }

/* ── Category C: Per-instance color modifier classes ── */

/* Feature cards */
.vv-feature-card--violet  { --card-accent: #8741ff; }
.vv-feature-card--violet  .vv-feature-icon { background: rgba(135,65,255,0.15); color: #8741ff; }
.vv-feature-card--blue    { --card-accent: #41b3ff; }
.vv-feature-card--blue    .vv-feature-icon { background: rgba(65,179,255,0.15);  color: #41b3ff; }
.vv-feature-card--green   { --card-accent: #22d47e; }
.vv-feature-card--green   .vv-feature-icon { background: rgba(34,212,126,0.15); color: #22d47e; }
.vv-feature-card--orange  { --card-accent: #f5a623; }
.vv-feature-card--orange  .vv-feature-icon { background: rgba(245,166,35,0.15); color: #f5a623; }
.vv-feature-card--spotify { --card-accent: #1ed760; }
.vv-feature-card--spotify .vv-feature-icon { background: rgba(30,215,96,0.15);  color: #1ed760; }
.vv-feature-card--lavender{ --card-accent: #c77dff; }
.vv-feature-card--lavender .vv-feature-icon { background: rgba(199,125,255,0.15); color: #c77dff; }

/* Bento grid cells */
.vv-bento-hero     { grid-area: followers; }
.vv-bento-likes    { grid-area: likes;     --bento-accent: #ff4d6d; --bento-accent-dim: rgba(255,77,109,0.12); }
.vv-bento-views    { grid-area: views;     --bento-accent: #f5a623; --bento-accent-dim: rgba(245,166,35,0.12); }
.vv-bento-comments { grid-area: comments;  --bento-accent: #41b3ff; --bento-accent-dim: rgba(65,179,255,0.12); }
.vv-bento-shares   { grid-area: shares;    --bento-accent: #22d47e; --bento-accent-dim: rgba(34,212,126,0.12); }
.vv-bento-traffic  { grid-area: traffic;   --bento-accent: #69c9d0; --bento-accent-dim: rgba(105,201,208,0.12); }

/* Bento platform label colors */
.vv-bento-plat--instagram { color: #e1306c; }
.vv-bento-plat--tiktok    { color: #69c9d0; }
.vv-bento-plat--youtube   { color: #ff3333; }
.vv-bento-plat--twitter   { color: #1d9bf0; }
.vv-bento-plat--twitch    { color: #9146ff; }

/* Who section role tags */
.vv-who-role-tag--creators   { color: #e1306c; background: rgba(225,48,108,0.10); }
.vv-who-role-tag--managers   { color: #1d9bf0; background: rgba(29,155,240,0.10); }
.vv-who-role-tag--resellers  { color: #22d47e; background: rgba(34,212,126,0.10); }
.vv-who-role-tag--developers { color: #c77dff; background: rgba(199,125,255,0.10); }

/* Whatis section stat colors */
.vv-whatis-stat--violet  { border-top: 2px solid #8741ff; }
.vv-whatis-stat--violet  .vv-whatis-stat-num { color: #8741ff; }
.vv-whatis-stat--blue    { border-top: 2px solid #41b3ff; }
.vv-whatis-stat--blue    .vv-whatis-stat-num { color: #41b3ff; }
.vv-whatis-stat--green   { border-top: 2px solid #22d47e; }
.vv-whatis-stat--green   .vv-whatis-stat-num { color: #22d47e; }
.vv-whatis-stat--orange  { border-top: 2px solid #f5a623; }
.vv-whatis-stat--orange  .vv-whatis-stat-num { color: #f5a623; }

/* Popular service rows */
.vv-popular-row--instagram { --card-accent: #e1306c; }
.vv-popular-row--tiktok    { --card-accent: #69c9d0; }
.vv-popular-row--youtube   { --card-accent: #ff3333; }
.vv-popular-row--twitter   { --card-accent: #1d9bf0; }
.vv-popular-row--spotify   { --card-accent: #1ed760; }
.vv-popular-row--facebook  { --card-accent: #1877f2; }

/* Review / result cards */
.vv-result-card--violet   { --card-accent: #8741ff; }
.vv-result-card--green    { --card-accent: #22d47e; }
.vv-result-card--blue     { --card-accent: #41b3ff; }
.vv-result-card--pink     { --card-accent: #f576b0; }
.vv-result-card--orange   { --card-accent: #f5a623; }
.vv-result-card--lavender { --card-accent: #c77dff; }
.vv-result-card--coral    { --card-accent: #ff6452; }

/* Reviews section icon — hover brightens to Trustpilot green */
.vv-results-section .vv-result-card:hover .vv-icon {
    background: color-mix(in srgb, #00b67a 20%, transparent);
    box-shadow: 0 0 0 6px color-mix(in srgb, #00b67a 10%, transparent);
    color: #00b67a;
}
/* Blog cards — reuse result-card modifier pattern */
.vv-result-card--spotify { --card-accent: #1ed760; }
.vv-result-card--twitter-blue { --card-accent: #1d9bf0; }

/* ── Visually-hidden utility (accessible text for screen readers) ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   Accessibility: prefers-reduced-motion
   Pause all infinite looping animations for users who have requested
   reduced motion at the OS level (also covers iOS/Android low-power mode).
   AOS scroll-reveal elements are made immediately visible rather than
   staying hidden — content is accessible, just without the motion effect.
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    /* Disable decorative infinite/looping animations */
    .vv-login-card::before,
    .vv-orb-1, .vv-orb-2, .vv-orb-3, .vv-orb-5,
    .vv-hero-beam,
    .vv-section-eyebrow::before,
    .vv-hero-eyebrow::before,
    .vv-marquee-track,
    .vv-beam-sweep,
    .vv-faq-bg-orb,
    .vv-bento-bar {
        animation: none !important;
        transition: none !important;
    }

    /* AOS: show content immediately — never leave it at opacity 0 */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    /* Release compositor layers when animations are disabled */
    .vv-orb-1, .vv-orb-5,
    .vv-marquee-track {
        will-change: auto;
    }
    /* Marquee: scrollable fallback instead of animated */
    .vv-marquee-track {
        transform: none;
        overflow-x: auto;
    }
}

/* ================================================================
   SIGNUP PAGE — signup.twig specific styles
================================================================ */

/* Outer wrapper — adds relative positioning for orbs */
.vv-signup-wrap {
    position: relative;
    overflow: hidden;
}

/* Wider card for signup (may have more fields than login) */
.vv-signup-card {
    max-width: 460px;
    position: relative;
    z-index: 1;
}

/* Logo image / text */
.vv-signup-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.vv-signup-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.3px;
}

/* Decorative orb container */
.vv-signup-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.vv-signup-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}

.vv-signup-orb-1 {
    width: 480px;
    height: 480px;
    background: var(--color-primary);
    top: -160px;
    right: -120px;
    animation: float-orb 14s ease-in-out infinite;
}

.vv-signup-orb-2 {
    width: 320px;
    height: 320px;
    background: var(--color-primary-far);
    bottom: -100px;
    left: -80px;
    animation: float-orb 18s ease-in-out infinite reverse;
}

/* ── Password input with eye toggle ───────────────────────────── */
.vv-pw-wrap {
    position: relative;
}

.vv-pw-wrap .form-control {
    padding-right: 44px;
}

.vv-pw-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 42px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
    padding: 0;
}

.vv-pw-toggle:hover {
    color: var(--color-primary);
}

/* ── Password strength meter ───────────────────────────────────── */
.vv-pw-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vv-pw-strength-bar {
    flex: 1;
    height: 4px;
    background: var(--color-border);
    border-radius: 100px;
    overflow: hidden;
}

.vv-pw-strength-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 100px;
    background: var(--color-primary);
    transition: width 300ms ease, background 300ms ease;
}

.vv-pw-strength-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    min-width: 58px;
    text-align: right;
    transition: color 300ms ease;
}

/* Allow gradient text span inside auth card title */
.vv-auth-title .vv-gradient-text {
    font-size: inherit;
    font-weight: inherit;
}

/* ── Trust strip (below submit) ────────────────────────────────── */
.vv-signup-trust-strip {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.vv-signup-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.vv-signup-trust-item i {
    color: var(--color-primary);
    font-size: 10px;
}

/* ── reCAPTCHA spacing ─────────────────────────────────────────── */
.vv-signup-captcha {
    margin-top: 4px;
}

/* ── Terms label (extends vv-remember-label) ───────────────────── */
.vv-terms-label {
    align-items: flex-start;
}

.vv-terms-text {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.vv-terms-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.vv-terms-text a:hover {
    text-decoration: underline;
}

/* ── OR divider (between submit and Google button) ─────────────── */
.vv-auth-or {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vv-auth-or::before,
.vv-auth-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* ── Google signup button (same pattern as signin.twig) ─────────── */
#vv-google-signup-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#vv-google-signup-btn {
    width: 100%;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
    background: var(--color-surface-raised);
    border-color: rgba(255, 255, 255, 0.45);
}

#vv-google-signup-wrap:hover #vv-google-signup-btn {
    background: var(--color-border);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-primary);
}

#vv-g-signup {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .vv-signup-card {
        padding: 28px 20px;
    }
    .vv-signup-orb-1 {
        width: 280px;
        height: 280px;
    }
}

/* Reduced motion — disable signup orb animations */
@media (prefers-reduced-motion: reduce) {
    .vv-signup-orb-1,
    .vv-signup-orb-2 {
        animation: none !important;
    }
    .vv-pw-strength-fill {
        transition: none;
    }
}

/* ================================================================
   MOBILE UX IMPROVEMENTS
================================================================ */

@media (max-width: 768px) {
    /* ── iOS zoom fix ───────────────────────────────────────────
       iOS Safari zooms on focus when font-size < 16px.
       Force 16px on all form controls to prevent this.           */
    input,
    select,
    textarea,
    .form-control {
        font-size: 16px !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 14px;
        line-height: 44px;
    }
    .select2-container--default .select2-search--dropdown .select2-search__field {
        font-size: 16px;
    }

    /* ── Select2 trigger: taller tap target, tighter padding ───
       Reducing horizontal padding recovers ~14px of text width,
       letting more of the service/category name show before "…" */
    .select2-container--default .select2-selection--single {
        height: 44px;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-left: 8px;
        padding-right: 16px;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px;
        right: 6px;
    }

    /* ── Select2 options: readable text + 44px touch target ────
       Use primary (near-white) color so names are easy to read
       when they wrap to multiple lines on narrow screens.        */
    .select2-results__option {
        min-height: 40px;
        display: flex;
        align-items: center;
        padding: 8px 14px 8px 10px;
        font-size: 14px;
        color: var(--color-text-primary);
        line-height: 1.4;
    }

    /* ── Select2 results list: viewport-relative height ─────── */
    .select2-results {
        max-height: 45vh;
    }

    /* ── Remove iOS blue tap highlight on interactive elements ─ */
    .select2-results__option,
    .btn-vv-primary,
    .btn-vv-secondary,
    .btn-vv-ghost,
    .vv-order-bar-item,
    .sidebar-link {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ── Select2 Mobile Bottom Sheet ────────────────────────────────────────────
   On mobile (≤768px) the category/service dropdowns transform into a native-
   app-style bottom sheet: slides up from bottom, handle bar, large tap targets.
   Desktop continues to use the inline animated dropdown above.
   ─────────────────────────────────────────────────────────────────────────── */

/* Body scroll lock — applied by JS when bottom sheet is open.
   Uses position:fixed to prevent iOS Safari background scroll.
   JS saves/restores scrollY via body.style.top.                  */
body.vv-sheet-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* Backdrop scrim — Select2 appends .select2-close-mask as a fixed overlay.
   Scoped to mobile only so desktop dropdowns stay clean.                   */
@media (max-width: 768px) {
    .select2-close-mask {
        background: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        animation: vv-scrim-in 200ms ease both;
        z-index: 9998 !important;
    }
}
@keyframes vv-scrim-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 768px) {
    /* Bottom sheet panel */
    .select2-container--open .select2-dropdown {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        width: 100% !important;
        max-height: 80vh;
        max-height: 80dvh;
        border-radius: 20px 20px 0 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-top: 1px solid var(--color-border) !important;
        padding-bottom: env(safe-area-inset-bottom, 16px);
        z-index: 9999 !important;
        animation: vv-sheet-up 260ms cubic-bezier(0.32, 0.72, 0, 1) both;
        overflow: hidden;
    }

    /* Normalize --below and --above variants: both get rounded top */
    .select2-container--open .select2-dropdown--below,
    .select2-container--open .select2-dropdown--above {
        border-radius: 20px 20px 0 0 !important;
    }

    @keyframes vv-sheet-up {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }

    /* Handle bar — drag affordance */
    .select2-container--open .select2-dropdown::before {
        content: '';
        display: block;
        width: 48px;
        height: 4px;
        background: var(--color-text-muted);
        border-radius: 2px;
        margin: 10px auto 6px;
        flex-shrink: 0;
    }

    /* Search field — full-width, prominent */
    .select2-container--default .select2-search--dropdown {
        padding: 0 12px 10px;
    }
    .select2-container--default .select2-search--dropdown .select2-search__field {
        font-size: 16px;
        padding: 12px 16px;
        border-radius: var(--radius-input);
        height: 48px;
    }

    /* Results list — fill the remaining sheet height */
    .select2-results {
        max-height: calc(80vh - 100px);
        max-height: calc(80dvh - 100px);
        overscroll-behavior: contain;
        padding: 0 4px 8px;
    }
    .select2-results__option {
        min-height: 48px;
        padding: 12px 16px 12px 12px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* Selected item: compensate the 3px left border */
    .select2-container--default .select2-results__option[aria-selected="true"] {
        padding-left: 9px;
    }

    /* Prevent iOS touch events from reaching the hidden native <select>.
       Select2 hides it with class .select2-hidden-accessible, but on iOS
       touch can still bleed through, surfacing the native wheel picker.  */
    .select2-hidden-accessible {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

/* Touch devices: suppress the stuck --highlighted glow.
   On touch there is no mouseout, so Select2's --highlighted class
   lingers on the last-touched item, creating a "dual glow" when
   another item is selected. Hide the grey hover bg entirely on
   touch; only the purple aria-selected="true" state shows. */
@media (hover: none) {
    .select2-container--default
        .select2-results__option--highlighted[aria-selected]:not([aria-selected="true"]) {
        background: transparent !important;
        color: var(--color-text-secondary) !important;
    }
    .select2-container--default
        .select2-results__option--highlighted[aria-selected="true"] {
        background: rgba(135, 65, 255, 0.08) !important;
    }
}

@media (max-width: 480px) {
    /* ── Tighten horizontal padding inside form card ─────────── */
    .vv-order-form-body {
        padding: 14px 14px 0;
    }
    .vv-order-footer {
        margin-left: -14px;
        margin-right: -14px;
    }

    .vv-order-submit-btn {
        padding: 17px 15px;
        font-size: 14px;
        letter-spacing: 1.2px;
    }
}