/* ============================================================
   StackScan — Bulk Search Engine pages (V2: app-style console)
   Used by: Search-V2.html, SearchResults-V2.html
   All classes are prefixed with "spv2-". Fully independent of
   searchpages.css (v1). Load AFTER style.css.
   ============================================================ */

:root {
    --spv2-blue: #4681f4;
    --spv2-blue-dark: #11427e;
    --spv2-navy: #122563;
    --spv2-accent: #024CAA;
    --spv2-steel: #3f72af;
    --spv2-teal: #257180;
    --spv2-green: #387478;
    --spv2-orange: #E79A58;
    --spv2-light-blue: #deecfd;
    --spv2-bg: #f5f7fb;
    --spv2-panel-border: #e3e8f0;
    --spv2-text: #333;
    --spv2-muted: #6a7383;
    --spv2-shadow: 0 1px 3px rgba(18, 37, 99, 0.08);
    --spv2-shadow-lg: 0 10px 30px rgba(18, 37, 99, 0.10);
}

/* ============================================================
   1. SHARED — buttons, inputs, panels
   ============================================================ */

.spv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 5px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: 0.25s all;
}
.spv2-btn-primary {
    background: var(--spv2-blue);
    color: #fff;
}
.spv2-btn-primary:hover {
    background: var(--spv2-blue-dark);
    color: #fff;
}
.spv2-btn-ghost {
    background: #fff;
    color: var(--spv2-blue);
    border: 1px solid var(--spv2-blue);
}
.spv2-btn-ghost:hover {
    background: var(--spv2-light-blue);
    color: var(--spv2-blue-dark);
}
.spv2-panel {
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 8px;
    box-shadow: var(--spv2-shadow);
}

/* ============================================================
   2. SEARCH-V2 — console stage & window
   ============================================================ */

.spv2-stage {
    background: var(--spv2-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--spv2-panel-border);
}
.spv2-stage-heading {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 30px;
}
.spv2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--spv2-light-blue);
    color: var(--spv2-accent);
    border-radius: 30px;
    padding: 5px 18px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.spv2-stage-heading h1 {
    font-size: 38px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    white-space: nowrap;
}
.spv2-stage-heading h1 span {
    color: var(--spv2-accent);
}
.spv2-stage-heading p {
    font-size: 15px;
    color: var(--spv2-muted);
    margin: 0;
}

/* App-window console */
.spv2-console {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #c9defa;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(2, 76, 170, 0.14), 0 2px 8px rgba(18, 37, 99, 0.08);
    overflow: hidden;
}
.spv2-console-body {
    padding: 30px 34px 26px;
}

/* Search row inside the console */
.spv2-search-row {
    display: flex;
    gap: 10px;
}
.spv2-input-wrap {
    position: relative;
    flex: 1 1 auto;
}
.spv2-input-wrap > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--spv2-steel);
    font-size: 15px;
    pointer-events: none;
}
.spv2-input {
    width: 100%;
    border: 2px solid var(--spv2-accent);
    background: #fff;
    border-radius: 6px;
    padding: 16px 18px 16px 48px;
    font-size: 16px;
    font-family: inherit;
    color: var(--spv2-text);
    transition: 0.25s all;
}
.spv2-input::placeholder {
    color: #98a2b3;
}
.spv2-input:focus {
    outline: 0;
    border-color: var(--spv2-blue);
    box-shadow: 0 0 0 4px rgba(70, 129, 244, 0.18);
}
.spv2-search-row .spv2-btn {
    padding: 16px 30px;
    font-size: 16px;
    flex: 0 0 auto;
    box-shadow: 0 4px 14px rgba(70, 129, 244, 0.35);
}
.spv2-search-row .spv2-btn:hover {
    box-shadow: 0 4px 14px rgba(17, 66, 126, 0.35);
}

/* Quick keyword chips */
.spv2-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}
.spv2-chips-label {
    font-size: 13px;
    color: var(--spv2-muted);
}
.spv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--spv2-bg);
    border: 1px solid var(--spv2-panel-border);
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 13px;
    color: var(--spv2-accent);
    text-decoration: none;
    transition: 0.25s all;
}
.spv2-chip:hover {
    border-color: var(--spv2-blue);
    background: var(--spv2-light-blue);
    color: var(--spv2-blue-dark);
}
.spv2-console-hint {
    margin: 14px 0 0;
    font-size: 12.5px;
    color: var(--spv2-muted);
}
.spv2-console-hint i {
    color: var(--spv2-steel);
    margin-right: 6px;
}
.spv2-console-hint strong {
    color: var(--spv2-navy);
}

/* Stat tiles row under the search */
.spv2-stat-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--spv2-panel-border);
}
.spv2-stat-tile {
    padding: 16px 20px;
    text-align: center;
    border-right: 1px solid var(--spv2-panel-border);
}
.spv2-stat-tile:last-child {
    border-right: 0;
}
.spv2-stat-num {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: var(--spv2-navy);
    line-height: 26px;
}
.spv2-stat-num i {
    color: var(--spv2-steel);
    font-size: 15px;
    margin-right: 7px;
}
.spv2-stat-label {
    display: block;
    font-size: 12px;
    color: var(--spv2-muted);
}

/* ============================================================
   3. SEARCH-V2 — 3-step strip (What is Bulk Search)
   ============================================================ */

.spv2-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    counter-reset: spv2step;
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 8px;
    box-shadow: var(--spv2-shadow);
    overflow: hidden;
}
.spv2-step {
    position: relative;
    padding: 28px 26px;
    border-right: 1px solid var(--spv2-panel-border);
}
.spv2-step:last-child {
    border-right: 0;
}
.spv2-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--spv2-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}
.spv2-step h6 {
    font-size: 16px;
    font-weight: 600;
    color: var(--spv2-navy);
    margin-bottom: 6px;
}
.spv2-step h6 i {
    color: var(--spv2-steel);
    margin-right: 8px;
}
.spv2-step p {
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

/* ============================================================
   4. SEARCH-V2 — "Different from Google" ledger rows
   ============================================================ */

.spv2-diff-panel {
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 8px;
    box-shadow: var(--spv2-shadow);
    overflow: hidden;
}
.spv2-diff-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 26px;
    border-bottom: 1px solid var(--spv2-panel-border);
}
.spv2-diff-row:last-child {
    border-bottom: 0;
}
.spv2-diff-row:hover {
    background: #fafbfe;
}
.spv2-diff-ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--spv2-light-blue);
    color: var(--spv2-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.spv2-diff-main {
    flex: 1 1 auto;
    min-width: 0;
}
.spv2-diff-main h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--spv2-navy);
    margin-bottom: 2px;
}
.spv2-diff-main p {
    font-size: 13.5px;
    line-height: 20px;
    color: var(--spv2-text);
    margin: 0;
}
.spv2-gnote {
    flex: 0 0 260px;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--spv2-muted);
    background: var(--spv2-bg);
    border: 1px dashed var(--spv2-panel-border);
    border-radius: 6px;
    padding: 10px 14px;
}
.spv2-gnote i {
    margin-right: 6px;
    color: var(--spv2-steel);
}
.spv2-gnote strong {
    color: var(--spv2-navy);
    font-weight: 600;
}

/* Section headings used on V2 pages */
.spv2-sec-head {
    text-align: center;
    margin-bottom: 26px;
}
.spv2-sec-head h2 {
    font-size: 30px;
    font-weight: 700;
}
.spv2-sec-head h2 span {
    color: var(--spv2-steel);
}
.spv2-sec-head p {
    font-size: 14px;
    color: var(--spv2-muted);
    margin: 6px 0 0;
}

/* ============================================================
   5. RESULTS-V2 — query bar (top, app toolbar feel)
   ============================================================ */

.spv2-querybar {
    background: #fff;
    border-bottom: 1px solid var(--spv2-panel-border);
    padding: 18px 0;
}
.spv2-querybar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.spv2-querybar .spv2-search-row {
    flex: 1 1 420px;
    max-width: 640px;
}
.spv2-querybar .spv2-input {
    padding-top: 11px;
    padding-bottom: 11px;
}
.spv2-querybar .spv2-search-row .spv2-btn {
    padding: 11px 22px;
    font-size: 14px;
}
.spv2-query-stats {
    font-size: 13px;
    color: var(--spv2-muted);
    margin: 0;
}
.spv2-query-stats strong {
    color: var(--spv2-navy);
}
.spv2-query-stats .spv2-q {
    color: var(--spv2-accent);
    font-weight: 600;
}

/* ============================================================
   6. RESULTS-V2 — workspace & filter dropdowns
   ============================================================ */

.spv2-workspace {
    background: var(--spv2-bg);
    padding: 26px 0 40px;
}

/* Filter dropdown bar (inside the query bar) */
.spv2-filterbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 0;
}
.spv2-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--spv2-navy);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.spv2-filter-label i {
    color: var(--spv2-steel);
}
.spv2-dropdown {
    position: relative;
}
.spv2-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--spv2-panel-border);
    background: var(--spv2-bg);
    border-radius: 5px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--spv2-text);
    font-family: inherit;
    cursor: pointer;
    transition: 0.25s all;
}
.spv2-filter-chip i.fa-chevron-down {
    font-size: 10px;
    color: var(--spv2-muted);
    transition: 0.25s transform;
}
.spv2-filter-chip:hover {
    border-color: var(--spv2-blue);
    color: var(--spv2-blue-dark);
}
.spv2-filter-chip.spv2-chip-active {
    background: var(--spv2-navy);
    border-color: var(--spv2-navy);
    color: #fff;
}
.spv2-filter-chip.spv2-chip-active i {
    color: #fff;
}
.spv2-dropdown.spv2-open .spv2-filter-chip {
    border-color: var(--spv2-blue);
    box-shadow: 0 0 0 3px rgba(70, 129, 244, 0.14);
}
.spv2-dropdown.spv2-open .spv2-filter-chip i.fa-chevron-down {
    transform: rotate(180deg);
}
.spv2-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    padding: 6px;
    margin: 0;
    list-style: none;
    z-index: 70;
}
.spv2-dropdown.spv2-open .spv2-dropdown-menu {
    display: block;
}
.spv2-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.spv2-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--spv2-text);
    cursor: pointer;
    transition: 0.2s all;
}
.spv2-dropdown-item:hover {
    background: var(--spv2-light-blue);
    color: var(--spv2-blue-dark);
}
.spv2-dropdown-item.spv2-selected {
    background: var(--spv2-light-blue);
    color: var(--spv2-accent);
    font-weight: 600;
}
.spv2-dropdown-item .spv2-flag {
    font-size: 14px;
    line-height: 1;
}
img.spv2-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}
.spv2-filter-clear {
    font-size: 13px;
    color: var(--spv2-muted);
    text-decoration: underline;
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}
.spv2-filter-clear:hover {
    color: var(--spv2-accent);
}

/* ============================================================
   7. RESULTS-V2 — sticky toolbar
   ============================================================ */

.spv2-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 8px;
    box-shadow: var(--spv2-shadow);
    padding: 12px 18px;
    margin-bottom: 16px;
}
.spv2-toolbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.spv2-toolbar-count {
    font-size: 13.5px;
    color: var(--spv2-muted);
    margin: 0;
}
.spv2-toolbar-count strong {
    color: var(--spv2-navy);
}
.spv2-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.spv2-select {
    border: 1px solid var(--spv2-panel-border);
    background: var(--spv2-bg);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--spv2-text);
    cursor: pointer;
}
.spv2-select:focus {
    outline: 0;
    border-color: var(--spv2-blue);
}

/* Tooltip (same pattern as v1, spv2 namespace) */
.spv2-tooltip {
    position: relative;
    display: inline-block;
}
.spv2-tooltip-trigger {
    font-size: 13px;
    color: var(--spv2-muted);
    text-decoration: underline;
    cursor: pointer;
}
.spv2-tooltip-trigger:hover {
    color: var(--spv2-accent);
}
.spv2-tooltip-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 320px;
    background: var(--spv2-navy);
    color: #fff;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: 0.25s all;
    z-index: 60;
}
.spv2-tooltip-box::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 24px;
    border: 7px solid transparent;
    border-bottom-color: var(--spv2-navy);
}
.spv2-tooltip-box a {
    color: #9ec2ff;
    text-decoration: underline;
}
.spv2-tooltip-box strong {
    color: #fff;
    font-weight: 700;
}
.spv2-tooltip:hover .spv2-tooltip-box,
.spv2-tooltip.spv2-tooltip-open .spv2-tooltip-box {
    visibility: visible;
    opacity: 1;
}

/* ============================================================
   8. RESULTS-V2 — compact result rows
   ============================================================ */

.spv2-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}
.spv2-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 8px;
    box-shadow: var(--spv2-shadow);
    padding: 14px 18px;
    margin-bottom: 10px;
    transition: 0.25s all;
}
.spv2-row:hover {
    border-color: var(--spv2-blue);
    box-shadow: var(--spv2-shadow-lg);
}
.spv2-row-favicon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--spv2-panel-border);
    background: var(--spv2-bg);
    padding: 4px;
}
.spv2-row-main {
    flex: 1 1 auto;
    min-width: 0;
}
.spv2-row-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.spv2-row-title {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--spv2-accent);
    text-decoration: none;
    line-height: 22px;
}
.spv2-row-title:hover {
    color: var(--spv2-blue);
    text-decoration: underline;
}
.spv2-row-domain {
    font-size: 12.5px;
    color: var(--spv2-green);
    text-decoration: none;
}
.spv2-row-domain:hover {
    text-decoration: underline;
}
.spv2-row-desc {
    font-size: 13px;
    line-height: 19px;
    color: var(--spv2-muted);
    margin: 2px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Inline metric cluster on the right of each row */
.spv2-row-metrics {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.spv2-m {
    text-align: center;
    min-width: 76px;
}
.spv2-m-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--spv2-muted);
    margin-bottom: 3px;
}
.spv2-rank-pill {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    padding: 2px 12px;
    line-height: 20px;
    background: var(--spv2-steel);
}
.spv2-rank--elite { background: #b8860b; }
.spv2-rank--high  { background: var(--spv2-teal); }
.spv2-rank--mid   { background: var(--spv2-steel); }
.spv2-rank--low   { background: #8a93a3; }

/* Relevance: score ring-style chip + thin bar */
.spv2-rel {
    min-width: 90px;
}
.spv2-rel-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.spv2-rel-score {
    font-size: 13px;
    font-weight: 700;
    color: var(--spv2-navy);
}
.spv2-rel-track {
    width: 90px;
    height: 5px;
    background: #e9eef6;
    border-radius: 20px;
    overflow: hidden;
    margin: 4px auto 0;
}
.spv2-rel-fill {
    display: block;
    height: 100%;
    border-radius: 20px;
}
.spv2-rel--green  { background: #2e9e6b; }
.spv2-rel--blue   { background: var(--spv2-blue); }
.spv2-rel--orange { background: var(--spv2-orange); }

.spv2-country {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--spv2-muted);
    white-space: nowrap;
}
.spv2-country .spv2-flag {
    font-size: 15px;
    line-height: 1;
}

/* ============================================================
   9. RESULTS-V2 — bottom bar & pagination
   ============================================================ */

.spv2-bottombar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 8px;
    box-shadow: var(--spv2-shadow);
    padding: 14px 18px;
    margin-top: 6px;
}
.spv2-bottombar p {
    margin: 0;
    font-size: 13.5px;
    color: var(--spv2-text);
}
.spv2-bottombar p i {
    color: var(--spv2-steel);
    margin-right: 8px;
}
.spv2-bottombar p strong {
    color: var(--spv2-navy);
}

.spv2-pagination-wrap {
    display: flex;
    justify-content: flex-end;
    padding: 14px 0 0;
}
.spv2-pagination {
    display: inline-flex;
    width: auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.spv2-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.spv2-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 5px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--spv2-text);
    text-decoration: none;
    transition: 0.25s all;
}
.spv2-page:hover {
    border-color: var(--spv2-blue);
    color: var(--spv2-blue-dark);
}
.spv2-page.spv2-page-active {
    background: var(--spv2-navy);
    border-color: var(--spv2-navy);
    color: #fff;
    cursor: default;
}
.spv2-page.spv2-page-disabled {
    color: #b7bdc9;
    pointer-events: none;
}
.spv2-page-dots {
    color: var(--spv2-muted);
    padding: 0 3px;
}

/* ============================================================
   10. Responsive
   ============================================================ */

@media screen and (max-width: 991px) {
    .spv2-steps {
        grid-template-columns: 1fr;
    }
    .spv2-step {
        border-right: 0;
        border-bottom: 1px solid var(--spv2-panel-border);
    }
    .spv2-step:last-child {
        border-bottom: 0;
    }
    .spv2-gnote {
        flex: 0 0 200px;
    }
    .spv2-stage-heading h1 {
        font-size: 30px;
        white-space: normal;
    }
}

@media screen and (max-width: 767px) {
    .spv2-stage {
        padding: 36px 0;
    }
    .spv2-stage-heading h1 {
        font-size: 25px;
    }
    .spv2-console-body {
        padding: 20px 18px 18px;
    }
    .spv2-search-row {
        flex-direction: column;
    }
    .spv2-stat-tiles {
        grid-template-columns: 1fr;
    }
    .spv2-stat-tile {
        border-right: 0;
        border-bottom: 1px solid var(--spv2-panel-border);
    }
    .spv2-stat-tile:last-child {
        border-bottom: 0;
    }
    .spv2-diff-row {
        flex-wrap: wrap;
    }
    .spv2-gnote {
        flex: 1 1 100%;
    }
    .spv2-row {
        flex-wrap: wrap;
    }
    .spv2-row-metrics {
        width: 100%;
        justify-content: space-between;
        border-top: 1px dashed var(--spv2-panel-border);
        padding-top: 10px;
    }
    .spv2-row-desc {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .spv2-pagination-wrap {
        justify-content: center;
    }
    .spv2-tooltip-box {
        width: 270px;
    }
}

/* ── Loading overlay (keyword / bulk search) ── */
body.spv2-loader-open {
    overflow: hidden;
}

.spv2-loader {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(245, 247, 251, 0.88);
    backdrop-filter: blur(6px);
}

.spv2-loader[hidden] {
    display: none !important;
}

.spv2-loader-card {
    width: min(100%, 360px);
    padding: 32px 28px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--spv2-panel-border);
    border-radius: 16px;
    box-shadow: var(--spv2-shadow-lg);
}

.spv2-loader-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    border: 4px solid var(--spv2-light-blue);
    border-top-color: var(--spv2-blue);
    border-radius: 50%;
    animation: spv2-loader-spin 0.8s linear infinite;
}

.spv2-loader-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--spv2-navy);
}

.spv2-loader-sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--spv2-muted);
}

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