/* ================================================================
   Vunelix Widgets — WP Admin Styles
   Native WP look with meta boxes
   ================================================================ */

/* ── Widget Type Selector ────────────────────────────────── */

.vnx-type-selector { padding: 2px 0; }
.vnx-type-hint {
    display: flex; align-items: center; gap: 6px;
    margin: 0 0 10px; padding: 10px 14px;
    background: #f0f6fc; border: 1px solid #c5d9ed; border-radius: 4px;
    color: #2271b1; font-size: 13px; line-height: 1.4;
}
.vnx-type-hint .dashicons { font-size: 18px; width: 18px; height: 18px; flex-shrink: 0; }
.vnx-type-select {
    width: auto; padding: 8px 10px; font-size: 14px;
    border: 1px solid #8c8f94; border-radius: 4px;
}
.vnx-type-select:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; }
.vnx-type-desc {
    margin: 8px 0 0; color: #646970; font-size: 13px; font-style: italic;
}
.vnx-type-desc:empty { display: none; }

/* ── Live Preview ────────────────────────────────────────── */

.vnx-preview-box {
    min-height: 100px; padding: 12px;
    background: #fff;
}
.vnx-preview-placeholder {
    color: #a7aaad; text-align: center; padding: 30px 0; margin: 0;
}
.vnx-preview-actions {
    padding: 10px 12px; border-top: 1px solid #f0f0f1;
    background: #f6f7f7;
}
.vnx-preview-actions-bottom {
    margin: 12px -12px -12px; border-top: none;
}

/* ── Settings Meta Box ───────────────────────────────────── */

.vnx-settings-wrap { margin: -6px -12px -12px; }
.vnx-settings-placeholder {
    color: #a7aaad; text-align: center; padding: 24px 0; margin: 0;
}

/* Group accordion */
.vnx-group { border-bottom: 1px solid #f0f0f1; }
.vnx-group:last-child { border-bottom: none; }

.vnx-group-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; cursor: pointer; user-select: none;
    background: #f6f7f7; border-bottom: 1px solid #f0f0f1;
    transition: background .15s;
}
.vnx-group-header:hover { background: #f0f0f1; }
.vnx-group-header.collapsed { border-bottom: none; }

.vnx-group-title { font-size: 13px; font-weight: 600; color: #1d2327; }
.vnx-group-arrow { color: #a7aaad; }

.vnx-group-body { padding: 14px; }
.vnx-group-body.collapsed { display: none; }

/* Fields layout */
.vnx-field { margin-bottom: 14px; }
.vnx-field:last-child { margin-bottom: 0; }

.vnx-field-label {
    display: block; font-size: 13px; font-weight: 600; color: #1d2327;
    margin-bottom: 4px;
}

.vnx-field-desc {
    margin: 4px 0 0; font-size: 12px; color: #a7aaad; line-height: 1.4;
}

/* Inputs */
.vnx-field input[type="text"],
.vnx-field input[type="number"],
.vnx-field select,
.vnx-field textarea {
    width: 100%; max-width: 100%;
}

.vnx-field textarea { min-height: 60px; }

/* ── Fields 2-column grid (matches website layout) ───────── */

.vnx-group-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}
.vnx-field-full { grid-column: 1 / -1; }
/* Toggles stay in grid (NOT full width) — same as website */

@media (max-width: 782px) {
    .vnx-group-body { grid-template-columns: 1fr; }
}

/* ── Sortable Select (draggable chips + dropdown) ────────── */

.vnx-sortable-select { margin-top: 4px; }

.vnx-ss-items {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; min-height: 10px;
}

.vnx-ss-item {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 8px 5px 4px; background: #f6f7f7; border: 1px solid #dcdcde;
    border-radius: 20px; font-size: 13px; cursor: grab; user-select: none;
}
.vnx-ss-item:hover { border-color: #2271b1; }
.vnx-ss-item.vnx-ss-dragging { opacity: 0.4; }

.vnx-ss-drag {
    font-size: 14px; color: #a7aaad; cursor: grab; line-height: 1;
}
.vnx-ss-label { font-weight: 500; }
.vnx-ss-remove {
    background: none; border: none; cursor: pointer; font-size: 16px;
    color: #a7aaad; padding: 0 2px; line-height: 1;
}
.vnx-ss-remove:hover { color: #d63638; }

.vnx-ss-dropdown { position: relative; }
.vnx-ss-trigger {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 12px; border: 1px dashed #dcdcde; border-radius: 4px;
    cursor: pointer; font-size: 13px; color: #646970;
    background: #fff; transition: all .15s;
}
.vnx-ss-trigger:hover { border-color: #2271b1; color: #2271b1; }
.vnx-ss-arrow { font-size: 10px; }

.vnx-ss-menu {
    position: absolute; top: 100%; left: 0; z-index: 100;
    margin-top: 4px; background: #fff; border: 1px solid #dcdcde;
    border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.1);
    max-height: 200px; overflow-y: auto; min-width: 180px;
}
.vnx-ss-option {
    padding: 8px 12px; cursor: pointer; font-size: 13px;
    transition: background .1s;
}
.vnx-ss-option:hover { background: #f0f0f1; }
.vnx-ss-option.disabled {
    opacity: 0.4; pointer-events: none; text-decoration: line-through;
}

/* ── Searchable Select ──────────────────────────────────── */

.vnx-searchable-wrap { position: relative; }
.vnx-searchable-wrap select { display: none; }
.vnx-searchable-wrap .vnx-search-dropdown { left: 0; right: 0; }
.vnx-search-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 0 8px; height: 30px; border: 1px solid #8c8f94; border-radius: 4px;
    background: #fff; cursor: pointer; font-size: 13px; color: #2c3338;
    box-sizing: border-box;
}
.vnx-search-trigger:hover { border-color: #2271b1; }
.vnx-search-trigger .vnx-search-arrow {
    font-size: 0; width: 0; height: 0; margin-left: 6px;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid #646970; flex-shrink: 0;
}
.vnx-search-dropdown {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 200;
    margin-top: 2px; background: #fff; border: 1px solid #dcdcde;
    border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.vnx-search-dropdown.open { display: block; }
.vnx-search-input {
    width: 100%; padding: 8px 10px; border: none; border-bottom: 1px solid #f0f0f1;
    font-size: 13px; outline: none; box-sizing: border-box;
}
.vnx-search-list {
    max-height: 220px; overflow-y: auto;
}
.vnx-search-option {
    padding: 7px 10px; cursor: pointer; font-size: 13px;
    transition: background .1s;
}
.vnx-search-option:hover { background: #f0f6fc; }
.vnx-search-option.selected { background: #2271b1; color: #fff; }
.vnx-search-option.hidden { display: none; }

/* ── Token Buttons (for URL fields) ─────────────────────── */

.vnx-token-btns {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;
}
.vnx-token-btn {
    display: inline-block; padding: 4px 12px; border: 1px solid #dcdcde;
    border-radius: 16px; background: #f6f7f7; color: #1d2327;
    font-size: 12px; cursor: pointer; transition: all .15s;
}
.vnx-token-btn:hover { border-color: #2271b1; color: #2271b1; background: #f0f6fc; }

/* ── Preset Builder ────────────────────────────────────── */

.vnx-preset-builder { margin-top: 4px; }

/* Tab bar — horizontal chips */
.vnx-pb-tab-bar {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.vnx-pb-tab-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 10px; border: 1px solid #dcdcde; border-radius: 20px;
    background: #fff; cursor: pointer; user-select: none; font-size: 13px;
    transition: all .15s;
}
.vnx-pb-tab-chip:hover { border-color: #2271b1; }
.vnx-pb-tab-chip.vnx-pb-tab-active {
    border-color: #2271b1; background: #f0f6fc; color: #2271b1;
}
.vnx-pb-tab-chip .vnx-pb-tab-name { font-weight: 600; }
.vnx-pb-tab-chip .vnx-pb-tab-exchange {
    font-size: 10px; color: #646970; background: #f0f0f1;
    padding: 1px 5px; border-radius: 3px;
}
.vnx-pb-rename {
    background: none; border: none; cursor: pointer; font-size: 14px;
    color: #a7aaad; padding: 0; line-height: 1;
}
.vnx-pb-rename:hover { color: #2271b1; }
.vnx-pb-tab-remove {
    background: none; border: none; cursor: pointer;
    font-size: 16px; color: #a7aaad; padding: 0; line-height: 1;
}
.vnx-pb-tab-remove:hover { color: #d63638; }

/* Body — currencies of active tab */
.vnx-pb-body {
    border: 1px solid #f0f0f1; border-radius: 6px; padding: 12px;
    background: #fafafa; min-height: 30px;
}

.vnx-pb-chips {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; min-height: 6px;
}
.vnx-pb-chip {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 5px 10px; background: #fff; border: 1px solid #c5d9ed;
    border-radius: 18px; font-size: 13px; font-weight: 500; color: #1d2327;
    cursor: grab; user-select: none;
}
.vnx-pb-chip:hover { border-color: #2271b1; }
.vnx-pb-chip.vnx-ss-dragging { opacity: 0.4; }
.vnx-pb-chip-remove {
    background: none; border: none; cursor: pointer;
    font-size: 15px; color: #a7aaad; padding: 0; line-height: 1;
}
.vnx-pb-chip-remove:hover { color: #d63638; }

.vnx-pb-add-cur { position: relative; }
.vnx-pb-cur-trigger {
    display: inline-flex !important; font-size: 13px !important;
    padding: 6px 12px !important;
}
.vnx-pb-cur-dropdown {
    position: absolute; left: 0; top: 100%; z-index: 200; min-width: 280px;
}
.vnx-pb-cur-option.disabled {
    opacity: 0.4; pointer-events: none; text-decoration: line-through;
}
.vnx-search-option.hidden { display: none; }

.vnx-pb-add-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 14px; border: 2px dashed #c5d9ed; border-radius: 6px;
    background: none; cursor: pointer; color: #2271b1;
    font-size: 13px; font-weight: 500; transition: all .15s;
    margin-bottom: 10px;
}
.vnx-pb-add-btn:hover { border-color: #2271b1; background: #f0f6fc; }

/* ── Flag Icons ─────────────────────────────────────────── */

.vnx-flag-icon {
    width: 18px; height: 14px; object-fit: cover; border-radius: 2px;
    vertical-align: middle; margin-right: 6px; display: inline-block;
}

/* ── Filter Builder ─────────────────────────────────────── */

.vnx-filter-builder { margin-top: 4px; }

.vnx-fb-chips {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
}
.vnx-fb-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 8px 5px 10px; background: #f6f7f7; border: 1px solid #dcdcde;
    border-radius: 20px; font-size: 13px; cursor: default;
}
.vnx-fb-chip.vnx-fb-chip-active { border-color: #2271b1; background: #f0f6fc; }
.vnx-fb-chip-label { font-weight: 500; }
.vnx-fb-chip-toggle {
    background: none; border: none; cursor: pointer; font-size: 10px;
    color: #646970; padding: 0 2px;
}
.vnx-fb-chip-remove {
    background: none; border: none; cursor: pointer; font-size: 16px;
    color: #a7aaad; padding: 0 2px; line-height: 1;
}
.vnx-fb-chip-remove:hover { color: #d63638; }

.vnx-fb-add { position: relative; display: inline-block; }
.vnx-fb-add-trigger {
    display: inline-flex !important; align-items: center; gap: 4px;
    padding: 6px 14px !important; border: 2px dashed #c5d9ed !important; border-radius: 6px !important;
    background: none !important; cursor: pointer; color: #2271b1; font-size: 13px; font-weight: 500;
}
.vnx-fb-add-trigger:hover { border-color: #2271b1 !important; background: #f0f6fc !important; }

.vnx-fb-metric-dropdown {
    position: absolute; left: 0; top: 100%; z-index: 200; min-width: 250px;
}

.vnx-fb-detail {
    margin-top: 8px; border: 1px solid #f0f0f1; border-radius: 6px;
    padding: 12px; background: #fafafa;
}
.vnx-fb-detail-inner { display: flex; flex-direction: column; gap: 8px; }
.vnx-fb-detail-label { font-size: 13px; font-weight: 600; color: #1d2327; }
.vnx-fb-cond-select { max-width: 200px; }
.vnx-fb-inputs { display: flex; gap: 8px; }
.vnx-fb-inputs input {
    flex: 1; padding: 5px 8px; border: 1px solid #8c8f94; border-radius: 4px;
    font-size: 13px;
}
.vnx-fb-remove-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
    border: 1px solid #dcdcde; border-radius: 4px; background: #fff;
    cursor: pointer; font-size: 12px; color: #d63638; align-self: flex-start;
}
.vnx-fb-remove-btn:hover { background: #fcecec; border-color: #d63638; }

/* ── Ajax Select ────────────────────────────────────────── */

.vnx-ajax-select { position: relative; }
.vnx-ajax-select .vnx-search-dropdown { left: 0; right: 0; }
.vnx-ajax-select .vnx-search-list { max-height: 250px; overflow-y: auto; }
.vnx-ajax-loading {
    padding: 16px; text-align: center; color: #646970; font-size: 13px;
}

.vnx-search-label {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;
    display: flex; align-items: center;
}
.vnx-search-arrow { flex-shrink: 0; }

/* Flag icon inside trigger */
.vnx-search-label .vnx-flag-icon { margin-right: 5px; flex-shrink: 0; }

/* ── Toggle ──────────────────────────────────────────────── */

.vnx-toggle-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}

.vnx-toggle {
    position: relative; display: inline-block;
    width: 36px; height: 20px; flex-shrink: 0; cursor: pointer; margin-top: 2px;
}
.vnx-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.vnx-toggle-slider {
    position: absolute; inset: 0; background: #c3c4c7; border-radius: 10px;
    transition: background .15s;
}
.vnx-toggle-slider::before {
    content: ''; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px;
    background: #fff; border-radius: 50%; transition: transform .15s;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.vnx-toggle input:checked + .vnx-toggle-slider { background: #2271b1; }
.vnx-toggle input:checked + .vnx-toggle-slider::before { transform: translateX(16px); }

/* ── Color Pair ──────────────────────────────────────────── */

.vnx-color-pair {
    display: flex; gap: 12px; margin-top: 4px;
}
.vnx-color-item {
    display: flex; align-items: center; gap: 6px;
}
.vnx-color-item {
    transition: opacity .15s;
}
.vnx-color-item span {
    font-size: 11px; font-weight: 600; color: #a7aaad; text-transform: uppercase;
    min-width: 32px;
}
.vnx-cp-picker {
    width: 30px; height: 30px; padding: 0; border: 1px solid #dcdcde;
    border-radius: 4px; cursor: pointer;
}
.vnx-cp-picker::-webkit-color-swatch-wrapper { padding: 2px; }
.vnx-cp-picker::-webkit-color-swatch { border: none; border-radius: 2px; }
.vnx-cp-text {
    width: 80px; padding: 4px 6px;
    font-family: Consolas, Monaco, monospace; font-size: 12px;
}

/* ── Shortcode Box (sidebar) ─────────────────────────────── */

.vnx-shortcode-box p { margin: 0 0 8px; color: #646970; font-size: 13px; }
.vnx-shortcode-field { display: flex; gap: 6px; }
.vnx-shortcode-field input {
    flex: 1; font-family: Consolas, Monaco, monospace; font-size: 13px;
    background: #f6f7f7; border: 1px solid #dcdcde; padding: 6px 8px;
    border-radius: 4px;
}

/* ── Dashboard Page ──────────────────────────────────────── */

.vnx-dashboard { max-width: 1100px; }
.vnx-dashboard-title { font-size: 24px; margin-bottom: 0; }

/* Hero */
.vnx-hero {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%);
    border-radius: 8px; padding: 28px 36px; margin: 16px 0 24px; color: #fff;
}
.vnx-hero-tagline { margin: 0 0 20px; color: #c3c4c7; font-size: 14px; }
.vnx-hero-actions { display: flex; gap: 10px; align-items: center; }
.vnx-hero-btn {
    display: inline-block; padding: 0 24px; font-size: 14px; font-weight: 500;
    height: 36px; line-height: 36px; border-radius: 4px; text-decoration: none;
    cursor: pointer; box-sizing: border-box; text-align: center;
}
.vnx-hero-btn-primary {
    background: #2271b1; color: #fff; border: 1px solid #2271b1;
}
.vnx-hero-btn-primary:hover { background: #135e96; color: #fff; }
.vnx-hero-btn-secondary {
    background: #fff; color: #1d2327; border: 1px solid rgba(255,255,255,.3);
}
.vnx-hero-btn-secondary:hover { background: #f0f0f1; color: #1d2327; }
.vnx-hero-stats { display: flex; gap: 20px; }
.vnx-hero .vnx-stat-card {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px; padding: 18px 28px; text-align: center; min-width: 110px;
}
.vnx-hero .vnx-stat-number {
    display: block; font-size: 36px; font-weight: 700; color: #fff; line-height: 1.2;
}
.vnx-hero .vnx-stat-label {
    display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px;
}

/* Quick Start Steps */
.vnx-quick-start {
    display: flex; gap: 16px; margin-bottom: 32px;
}
.vnx-qs-step {
    flex: 1; display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid #dcdcde; border-radius: 6px; padding: 18px 20px;
}
.vnx-qs-num {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: #2271b1; color: #fff; font-size: 14px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}
.vnx-qs-step div { font-size: 13px; color: #1d2327; line-height: 1.6; }
.vnx-qs-step a { text-decoration: none; }

/* Widget Slider */
.vnx-slider {
    background: #fff; border: 1px solid #dcdcde; border-radius: 6px;
    padding: 20px 24px; margin-bottom: 24px;
}
.vnx-slider-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.vnx-slider-heading {
    font-size: 15px; font-weight: 600; color: #1d2327; margin: 0;
}
.vnx-slider-wrap {
    overflow: hidden;
}
.vnx-slider-track {
    display: flex; transition: transform .4s ease;
}
.vnx-slide {
    flex: 0 0 100%; text-align: center; cursor: default;
}
.vnx-slide img {
    width: 100%; border-radius: 4px;
    border: 1px solid #f0f0f1; background: #f9f9f9;
}
.vnx-slide-label {
    display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #1d2327;
}
/* Nav: arrows + dots in one row below slider */
.vnx-slider-nav {
    display: flex; align-items: center; gap: 8px;
}
.vnx-slider-arrow {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid #dcdcde; background: #fff; color: #1d2327;
    font-size: 0; padding: 0; cursor: pointer; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
}
.vnx-slider-arrow::after {
    font-size: 16px; line-height: 1;
}
.vnx-slider-prev::after { content: '\2039'; }
.vnx-slider-next::after { content: '\203A'; }
.vnx-slider-arrow:hover { background: #f0f0f1; border-color: #c3c4c7; }
.vnx-slider-dots {
    display: flex; gap: 6px;
}
.vnx-slider-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #dcdcde;
    border: none; padding: 0; cursor: pointer; transition: background .2s;
}
.vnx-slider-dot.active { background: #2271b1; }

/* ── Review Notice ────────────────────────────────────────── */

.vnx-review-notice {
    border-left-color: #2271b1; padding: 12px 16px;
}
.vnx-review-notice p { margin: 0 0 10px; font-size: 13px; line-height: 1.6; }
.vnx-review-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 4px; }
.vnx-review-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 0 16px; height: 32px; line-height: 32px;
    border-radius: 4px; font-size: 13px; font-weight: 500;
    cursor: pointer; text-decoration: none; box-sizing: border-box;
    border: 1px solid transparent;
}
.vnx-review-btn-primary {
    background: #2271b1; color: #fff; border-color: #2271b1;
}
.vnx-review-btn-primary:hover { background: #135e96; color: #fff; }
.vnx-review-btn-secondary {
    background: #f6f7f7; color: #50575e; border-color: #dcdcde;
}
.vnx-review-btn-secondary:hover { background: #f0f0f1; color: #1d2327; }

/* Footer Links */
.vnx-dash-links {
    display: flex; gap: 16px; align-items: center;
    font-size: 13px; color: #646970; margin-top: 12px; padding-top: 16px;
    border-top: 1px solid #f0f0f1;
}
.vnx-dash-links a { text-decoration: none; }
.vnx-dash-version { margin-left: auto; color: #a7aaad; }

/* ── Get Started Page ────────────────────────────────────── */

.vnx-gs-hero {
    background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%);
    border-radius: 8px; padding: 28px 36px; margin: 16px 0 24px; color: #fff;
}
.vnx-gs-hero h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: #fff; }
.vnx-gs-hero p { margin: 0; color: #c3c4c7; font-size: 14px; }

.vnx-gs-steps { margin-bottom: 32px; }
.vnx-gs-step {
    display: flex; gap: 16px; align-items: flex-start;
    background: #fff; border: 1px solid #dcdcde; border-radius: 6px;
    padding: 20px; margin-bottom: 12px;
    transition: border-color .2s;
}
.vnx-gs-step:hover { border-color: #2271b1; }
.vnx-gs-num {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: #2271b1; color: #fff; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.vnx-gs-content h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.vnx-gs-content p { margin: 0; color: #646970; font-size: 13px; line-height: 1.6; }
.vnx-gs-content a { text-decoration: none; }
.vnx-gs-content code {
    background: #f0f0f1; padding: 2px 6px; border-radius: 3px; font-size: 12px;
}

.vnx-gs-help h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; color: #1d2327; }
.vnx-gs-help-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.vnx-gs-help-card {
    display: block; background: #fff; border: 1px solid #dcdcde; border-radius: 6px;
    padding: 20px; text-decoration: none; color: #1d2327;
    transition: border-color .2s, box-shadow .2s;
}
.vnx-gs-help-card:hover { border-color: #2271b1; box-shadow: 0 2px 8px rgba(0,0,0,.06); color: #1d2327; }
.vnx-gs-help-card .dashicons {
    font-size: 24px; width: 24px; height: 24px; color: #2271b1; margin-bottom: 8px;
}
.vnx-gs-help-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.vnx-gs-help-card p { margin: 0; font-size: 12px; color: #646970; line-height: 1.5; }

/* ── Symbol Picker ──────────────────────────────────────── */

.vnx-symbol-picker { margin-top: 4px; }
.vnx-sp-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.vnx-sp-item {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; background: #f6f7f7;
    border: 1px solid #dcdcde; border-radius: 50px;
    font-size: 12px; cursor: grab; white-space: nowrap;
}
.vnx-sp-item:hover { border-color: #2271b1; }
.vnx-sp-item.vnx-sp-dragging { opacity: 0.4; }
.vnx-sp-drag { color: #a7aaad; cursor: grab; flex-shrink: 0; font-size: 12px; line-height: 1; }
.vnx-sp-logo { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; object-fit: contain; }
.vnx-sp-symbol { font-weight: 600; color: #1d2327; }
.vnx-sp-exchange { color: #a7aaad; font-size: 10px; text-transform: uppercase; flex-shrink: 0; }
.vnx-sp-remove {
    background: none; border: none; cursor: pointer; color: #a7aaad;
    font-size: 15px; line-height: 1; padding: 0; flex-shrink: 0;
}
.vnx-sp-remove:hover { color: #d63638; }

.vnx-sp-add-btn {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 6px; padding: 5px 12px;
    background: #f6f7f7; border: 1px dashed #c3c4c7;
    border-radius: 4px; cursor: pointer; color: #2271b1;
    font-size: 13px;
}
.vnx-sp-add-btn:hover { background: #f0f0f1; border-color: #2271b1; }

/* Single symbol trigger */
.vnx-sp-single-trigger {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 10px; background: #fff;
    border: 1px solid #8c8f94; border-radius: 4px;
    cursor: pointer; font-size: 13px;
}
.vnx-sp-single-trigger:hover { border-color: #2271b1; }
.vnx-sp-single-text { color: #1d2327; }

/* Widget host — hidden but modal inside shadow DOM must NOT be clipped.
   z-index above WP admin bar (99999). CSS custom prop cascades into shadow DOM. */
.vnx-sp-widget-host {
    position: fixed; bottom: 0; left: 0; width: 0; height: 0;
    z-index: 100100;
    --bs-modal-zindex: 100100;
}

/* ── Market Data Filters ────────────────────────────────── */

.vnx-mdf-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vnx-mdf-item { flex: 1; min-width: 140px; }
.vnx-mdf-label { display: block; font-size: 12px; color: #646970; margin-bottom: 3px; }
.vnx-mdf-item select { width: 100%; padding: 0 6px; font-size: 13px; height: 30px; line-height: 30px; }
.vnx-mdf-item .vnx-search-trigger { height: 30px; padding: 0 8px; font-size: 13px; }

/* ── Code Example ───────────────────────────────────────── */

.vnx-code-block {
    background: #1e1e1e; color: #d4d4d4; padding: 14px 16px;
    border-radius: 6px; font-size: 12px; line-height: 1.6;
    overflow-x: auto; margin: 0; white-space: pre;
}
.vnx-code-block code { font-family: 'Consolas', 'Monaco', monospace; }
.vnx-code-output {
    background: #f6f7f7; border: 1px solid #dcdcde; border-radius: 4px;
    padding: 10px 14px; font-size: 12px; line-height: 1.5;
    font-family: 'Consolas', 'Monaco', monospace; white-space: pre-wrap;
    max-height: 200px; overflow-y: auto;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 782px) {
    .vnx-hero { flex-direction: column; gap: 20px; text-align: center; padding: 24px 20px; }
    .vnx-hero-actions { justify-content: center; }
    .vnx-hero-stats { justify-content: center; }
    .vnx-quick-start { flex-direction: column; }
    .vnx-gs-help-grid { grid-template-columns: 1fr; }
    .vnx-slider { padding: 16px; }
}
