:root {
    --vs-bg-dark: #0d1117;
    --vs-bg-mid: #0f1a1f;
    --vs-green: #2dd4a0;
    --vs-green-dark: #1a7a5e;
    --vs-text: #ffffff;
    --vs-muted: #94a3b8;
    --vs-border: rgba(255,255,255,0.12);
}

/* ── Base ── */
html, body {
    height: 100%;
    margin: 0;
    background-color: #f9fafb;
    color: var(--vs-text);
    font-family: "Source Serif 4", Georgia, serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    -webkit-font-smoothing: antialiased;
}

.vs-headline,
.vs-brand-name,
.vs-problem-section .section-title,
.vs-solution-section .section-title,
.vs-where-section .section-title,
.vs-how-section .section-title,
.vs-waitlist-section .section-title,
.vs-prob-card h3,
.vs-sol-card h3,
.vs-where-panel h3,
.vs-step h3,
.vs-where-tab,
.vs-btn-cta,
.vs-btn-waitlist,
.vs-btn-request,
.vs-stat-value,
.vs-step-badge,
.section-eyebrow,
label {
    font-family: "Roboto", sans-serif;
}
/* ── Gradient background mesh ── */
.vs-hero-bg {
    min-height: 100vh;
    background: radial-gradient(ellipse 70% 60% at 85% 85%, rgba(29,100,70,0.35) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 10% 90%, rgba(13,40,30,0.5) 0%, transparent 60%), var(--vs-bg-dark);
    display: flex;
    flex-direction: column;
}

/* ── Navbar ── */
.vs-navbar {
    padding: 1.25rem 2rem;
    z-index: 1030;
    background-color: #0d1117;
    position: sticky;
    top: 0;
}

.vs-logo-icon {
    width: 38px;
    height: 38px;
    background: rgba(45,212,160,0.15);
    border: 1px solid rgba(45,212,160,0.35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vs-logo-icon svg {
        width: 20px;
        height: 20px;
        color: var(--vs-green);
    }

.vs-brand-name {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.vs-btn-request {
    background: transparent;
    border: 1.5px solid var(--vs-border);
    color: var(--vs-text) !important;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

    .vs-btn-request:hover {
        border-color: var(--vs-green);
        color: var(--vs-green);
    }

/* ── Hero content ── */
.vs-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem 4rem;
    max-width: 760px;
}

/* ── Badge pill ── */
.vs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45,212,160,0.1);
    border: 1px solid rgba(45,212,160,0.3);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    color: var(--vs-green);
    font-weight: 500;
    margin-bottom: 2rem;
    width: fit-content;
}

.vs-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vs-green);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* ── Headline ── */
.vs-headline {
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.5rem;
}

    .vs-headline .accent {
        color: var(--vs-green);
    }

/* ── Subheadline ── */
.vs-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--vs-muted);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 2.5rem;
}

/* ── Email form ── */
.vs-form-row {
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 520px;
}

.vs-email-input {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid var(--vs-border);
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 0.85rem 1.25rem;
    color: var(--vs-text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

    .vs-email-input::placeholder {
        color: var(--vs-muted);
    }

    .vs-email-input:focus {
        border-color: var(--vs-green);
        background: rgba(45,212,160,0.05);
    }

.vs-btn-cta {
    background: var(--vs-green);
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 0.85rem 1.5rem;
    color: #0d1117;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

    .vs-btn-cta:hover {
        background: #26c28e;
        transform: translateX(2px);
    }

    .vs-btn-cta svg {
        width: 16px;
        height: 16px;
    }

/* ── No-spam note ── */
.vs-no-spam {
    font-size: 0.8rem;
    color: var(--vs-muted);
    margin-top: 0.75rem;
}

/* ── Fade-up entrance animation ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.65s ease forwards;
}

    .fade-up:nth-child(1) {
        animation-delay: 0.05s;
    }

    .fade-up:nth-child(2) {
        animation-delay: 0.15s;
    }

    .fade-up:nth-child(3) {
        animation-delay: 0.28s;
    }

    .fade-up:nth-child(4) {
        animation-delay: 0.40s;
    }

    .fade-up:nth-child(5) {
        animation-delay: 0.52s;
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .vs-form-row {
        flex-direction: column;
    }

    .vs-email-input {
        border-right: 1.5px solid var(--vs-border);
        border-bottom: none;
        border-radius: 10px 10px 0 0;
    }

    .vs-btn-cta {
        border-radius: 0 0 10px 10px;
        justify-content: center;
    }
}
/* ────────────────────────────────────────
           Problem Section
──────────────────────────────────────── */
.vs-problem-section {
    background: #f9fafb;
    padding: 5rem 0 5.5rem;
    color: #111827;
    width: 100%;
    margin: 0;
}

    .vs-problem-section .section-title {
        font-weight: 800;
        font-size: clamp(1.9rem, 4vw, 2.75rem);
        letter-spacing: -0.03em;
        color: #111827;
        margin-bottom: 0.75rem;
    }

    .vs-problem-section .section-sub {
        font-size: 1.05rem;
        color: #6b7280;
        max-width: 780px;
        margin: 0 auto 1.5rem;
        line-height: 1.65;
    }

/* Problem cards */
.vs-prob-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem 1.75rem 2.25rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .vs-prob-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.07);
        transform: translateY(-3px);
    }

.vs-prob-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

    .vs-prob-icon-wrap svg {
        width: 20px;
        height: 20px;
        color: #ef4444;
    }

.vs-prob-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 0.65rem;
}

.vs-prob-card p {
    font-size: 0.925rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}
/* ────────────────────────────────────────
   Solution Section
──────────────────────────────────────── */
.vs-solution-section {
    background: #eef0f3;
    padding: 5rem 0 5.5rem;
    width: 100%;
    margin: 0;
}

    .vs-solution-section .section-eyebrow {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--vs-green-dark);
        margin-bottom: 0.75rem;
    }

    .vs-solution-section .section-title {
        font-weight: 800;
        font-size: clamp(1.9rem, 4vw, 2.75rem);
        letter-spacing: -0.03em;
        color: #111827;
        margin-bottom: 0.75rem;
    }

    .vs-solution-section .section-sub {
        font-size: 1.05rem;
        color: #6b7280;
        max-width: 780px;
        margin: 0 auto 1.5rem;
        line-height: 1.65;
    }

.vs-sol-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem 1.75rem 2.25rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

    .vs-sol-card::before {
        content: '';
        display: block;
        height: 4px;
        width: 2.5rem;
        border-radius: 999px;
        margin-bottom: 1.5rem;
    }

    .vs-sol-card.accent-green::before {
        background: #2dd4a0;
    }

    .vs-sol-card.accent-blue::before {
        background: #60a5fa;
    }

    .vs-sol-card.accent-purple::before {
        background: #a78bfa;
    }

    .vs-sol-card.accent-amber::before {
        background: #fbbf24;
    }

    .vs-sol-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.07);
        transform: translateY(-3px);
    }

.vs-sol-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

    .vs-sol-icon-wrap.bg-green {
        background: rgba(45,212,160,0.15);
    }

    .vs-sol-icon-wrap.bg-blue {
        background: rgba(96,165,250,0.15);
    }

    .vs-sol-icon-wrap.bg-purple {
        background: rgba(167,139,250,0.15);
    }

    .vs-sol-icon-wrap.bg-amber {
        background: rgba(251,191,36,0.15);
    }

    .vs-sol-icon-wrap svg {
        width: 20px;
        height: 20px;
    }

    .vs-sol-icon-wrap.bg-green svg {
        color: #2dd4a0;
    }

    .vs-sol-icon-wrap.bg-blue svg {
        color: #60a5fa;
    }

    .vs-sol-icon-wrap.bg-purple svg {
        color: #a78bfa;
    }

    .vs-sol-icon-wrap.bg-amber svg {
        color: #fbbf24;
    }

.vs-sol-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 0.65rem;
}

.vs-sol-card p {
    font-size: 0.925rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}
/* ────────────────────────────────────────
   Where It Works Section
──────────────────────────────────────── */
.vs-where-section {
    background: #ffffff;
    padding: 5rem 0 5.5rem;
    width: 100%;
    margin: 0;
    color: #111827;
}

    .vs-where-section .section-eyebrow {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--vs-green-dark);
        margin-bottom: 0.75rem;
    }

    .vs-where-section .section-title {
        font-weight: 800;
        font-size: clamp(1.9rem, 4vw, 2.75rem);
        letter-spacing: -0.03em;
        color: #111827;
        margin-bottom: 2.5rem;
    }

/* ── Tab pills ── */
.vs-where-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.vs-where-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

    .vs-where-tab svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .vs-where-tab:hover {
        border-color: #9ca3af;
        background: #f3f4f6;
    }

    .vs-where-tab.active {
        background: #111827;
        border-color: #111827;
        color: #ffffff;
    }

/* ── Content panel ── */
.vs-where-panel {
    background: #f0f4f8;
    border-radius: 20px;
    padding: 2.75rem 2.75rem;
    display: none;
}

    .vs-where-panel.active {
        display: block;
    }

    .vs-where-panel h3 {
        font-weight: 700;
        font-size: 1.35rem;
        color: #111827;
        margin-bottom: 0.85rem;
    }

    .vs-where-panel p {
        font-size: 0.975rem;
        color: #6b7280;
        line-height: 1.7;
        /*max-width: 860px;*/
        margin-bottom: 2.25rem;
    }

/* ── Stats row ── */
.vs-stat-value {
    font-weight: 800;
    font-size: 2rem;
    color: #111827;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.vs-stat-label {
    font-size: 0.85rem;
    color: #6b7280;
}
/* ────────────────────────────────────────
   How It Works Section
──────────────────────────────────────── */
.vs-how-section {
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(29,100,70,0.25) 0%, transparent 70%), #0d1117;
    padding: 5rem 0 5.5rem;
    width: 100%;
    margin: 0;
    color: #ffffff;
}

    .vs-how-section .section-eyebrow {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--vs-green);
        margin-bottom: 0.75rem;
    }

    .vs-how-section .section-title {
        font-weight: 800;
        font-size: clamp(1.9rem, 4vw, 2.75rem);
        letter-spacing: -0.03em;
        color: #ffffff;
        margin-bottom: 3.5rem;
    }

/* ── Step card ── */
.vs-step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

    /* Horizontal connector line between steps */
    .vs-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 38px;
        right: -16%;
        width: 32%;
        height: 1px;
        background: rgba(255,255,255,0.12);
    }

/* Icon box + badge wrapper */
.vs-step-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.vs-step-icon-box {
    width: 72px;
    height: 72px;
    background: #132028;
    border: 1px solid rgba(45,212,160,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vs-step-icon-box svg {
        width: 28px;
        height: 28px;
        color: var(--vs-green);
    }

.vs-step-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--vs-green);
    color: #0d1117;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.vs-step h3 {
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.vs-step p {
    font-size: 0.925rem;
    color: var(--vs-muted);
    line-height: 1.7;
    margin: 0;
    padding-bottom: 1rem;
}
/* ────────────────────────────────────────
   Trust Bar Section
──────────────────────────────────────── */
.vs-trust-bar {
    background: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 2.5rem 0;
    width: 100%;
    margin: 0;
}

.vs-trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
}

.vs-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(45,212,160,0.1);
    border: 1px solid rgba(45,212,160,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .vs-trust-icon svg {
        width: 18px;
        height: 18px;
        color: var(--vs-green);
    }

.vs-trust-text {
    font-size: 0.9rem;
    color: #000000;
    line-height: 1.45;
    font-weight: 500;
}

/* Divider between items on md+ */
@media (min-width: 768px) {
    .vs-trust-item:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.07);
    }
}

/* Stack on mobile */
@media (max-width: 767px) {
    .vs-trust-item {
        padding: 0.85rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
}
/* ────────────────────────────────────────
   Waitlist Section
──────────────────────────────────────── */
.vs-waitlist-section {
    background: #f0f4f8;
    padding: 5rem 0 5.5rem;
    width: 100%;
    margin: 0;
    color: #111827;
}

    .vs-waitlist-section .section-eyebrow {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--vs-green-dark);
        margin-bottom: 0.75rem;
    }

    .vs-waitlist-section .section-title {
        font-weight: 800;
        font-size: clamp(1.9rem, 4vw, 2.6rem);
        letter-spacing: -0.03em;
        color: #111827;
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    .vs-waitlist-section .section-sub {
        font-size: 1rem;
        color: #6b7280;
        line-height: 1.7;
        margin-bottom: 2rem;
        max-width: 480px;
    }

/* Benefit list */
.vs-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

    .vs-benefit-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.975rem;
        color: #374151;
        font-weight: 500;
    }

        .vs-benefit-list li svg {
            width: 22px;
            height: 22px;
            color: var(--vs-green);
            flex-shrink: 0;
        }

/* Form card */
.vs-waitlist-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.25rem 2rem;
}

    .vs-waitlist-card label {
        font-size: 0.875rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.4rem;
        display: block;
    }

    .vs-waitlist-card .form-control,
    .vs-waitlist-card .form-select {
        background: #f9fafb;
        border: 1.5px solid #e5e7eb;
        border-radius: 8px;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        color: #111827;
        transition: border-color 0.2s;
    }

        .vs-waitlist-card .form-control:focus,
        .vs-waitlist-card .form-select:focus {
            border-color: var(--vs-green);
            box-shadow: none;
            background: #ffffff;
        }

        .vs-waitlist-card .form-control::placeholder {
            color: #9ca3af;
        }

    .vs-waitlist-card textarea.form-control {
        resize: none;
        height: 110px;
    }

.vs-btn-waitlist {
    width: 100%;
    background: #1a6b50;
    border: none;
    border-radius: 10px;
    padding: 0.9rem 1.5rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

    .vs-btn-waitlist:hover {
        background: #155c44;
    }

    .vs-btn-waitlist svg {
        width: 16px;
        height: 16px;
    }
/* ────────────────────────────────────────
   Footer
──────────────────────────────────────── */
.vs-footer {
    background: #0a0f14;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.5rem 0;
    width: 100%;
    margin: 0;
}

    .vs-footer .vs-brand-name {
        color: #ffffff;
    }

.vs-footer-copy {
    font-size: 0.8rem;
    color: #ffffff;
}
/* ────────────────────────────────────────
   Alert banners (waitlist form feedback)
──────────────────────────────────────── */
.vs-alert {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

    .vs-alert svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

.vs-alert-success {
    /*    background: rgba(45, 212, 160, 0.1);
    border: 1px solid rgba(45, 212, 160, 0.4);*/
    color: #1a6b50;
}

.vs-alert-error {
    /*    background: #fee2e2;
    border: 1px solid #fca5a5;*/
    color: #b91c1c;
}

@media (max-width: 767px) {
    .vs-footer-copy-full {
        display: none;
    }

    .vs-footer-copy-short {
        display: inline;
    }
}

@media (min-width: 768px) {
    .vs-footer-copy-full {
        display: inline;
    }

    .vs-footer-copy-short {
        display: none;
    }
}

/* ────────────────────────────────────────
   Hero ECG animated line
──────────────────────────────────────── */
.vs-ecg-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    margin: 0.5rem 0 0.5rem;
    overflow: hidden;
}

.vs-ecg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    opacity: 0.18;
}

.vs-ecg-path {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: rgba(255, 255, 255, 1.0);
    animation: ecg-scroll 8s linear infinite;
}

@keyframes ecg-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.vs-sol-roi-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: "Roboto", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2dd4a0;
    text-decoration: none;
    transition: color 0.15s;
}

    .vs-sol-roi-link:hover {
        color: #1a7a5e;
        text-decoration: underline;
    }


/* ════════════════════════════════════════════════════════════
   ADMIN / DASHBOARD  — shared tokens and reusable primitives
   Uses the same green (#22c87a / #2dd4a0) and dark palette
   as the public site. All classes are prefixed `vs-admin-`
   to avoid collisions with Bootstrap or public-site styles.
   ════════════════════════════════════════════════════════════ */

/* ── Admin tokens (extend the root palette) ───────────────── */
:root {
    /* Surfaces */
    --admin-bg: #0b0f14;
    --admin-surface: #131920;
    --admin-surface2: #1a2330;
    --admin-surface3: #1f2d3d;
    /* Borders */
    --admin-border: #243040;
    --admin-border2: #2e3f52;
    /* Text */
    --admin-text: #e2eaf4;
    --admin-muted: #6b8299;
    --admin-muted2: #8fa5bb;
    /* Accent — aligns with public vs-green */
    --admin-accent: #22c87a; /* matches Login page */
    --admin-accent-alt: #2dd4a0; /* matches public vs-green */
    --admin-accent-dark: #0f9f5e;
    --admin-accent-glow: rgba(34,200,122,0.18);
    /* State */
    --admin-danger: #e05252;
    --admin-danger-bg: rgba(224,82,82,0.12);
    --admin-warn: #f5a623;
    --admin-info: #5cc8ec;
    /* Typography */
    --admin-font-mono: 'DM Mono', 'Courier New', monospace;
    --admin-font-ui: 'IBM Plex Sans', system-ui, sans-serif;
    /* Radii */
    --admin-r: 8px;
    --admin-r-lg: 12px;
    --admin-r-xl: 16px;
    /* Shadows */
    --admin-shadow: 0 4px 24px rgba(0,0,0,.45);
    --admin-shadow-sm: 0 2px 8px rgba(0,0,0,.3);
}

/* ── Admin base / reset ────────────────────────────────────── */
.vs-admin-page {
    display: flex;
    min-height: 100vh;
    background: var(--admin-bg);
    color: var(--admin-text);
    font-family: var(--admin-font-ui);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.vs-admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--admin-surface);
    border-right: 1px solid var(--admin-border);
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Logo row */
.vs-admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.vs-admin-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--admin-r);
    background: rgba(34,200,122,0.12);
    border: 1px solid rgba(34,200,122,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .vs-admin-logo-icon svg {
        width: 17px;
        height: 17px;
        color: var(--admin-accent);
        stroke: var(--admin-accent);
        fill: none;
    }

.vs-admin-logo-text {
    font-family: var(--admin-font-mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--admin-text);
}

/* Nav links */
.vs-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vs-admin-nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: var(--admin-r);
    color: var(--admin-muted);
    font-weight: 500;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .14s, color .14s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: var(--admin-font-ui);
}

    .vs-admin-nav-link svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        stroke: currentColor;
        fill: none;
    }

    .vs-admin-nav-link:hover,
    .vs-admin-nav-link.active {
        background: var(--admin-surface2);
        color: var(--admin-text);
    }

    .vs-admin-nav-link.active {
        color: var(--admin-accent);
    }

    .vs-admin-nav-link.danger:hover {
        background: var(--admin-danger-bg);
        color: var(--admin-danger);
    }

/* Sidebar section label */
.vs-admin-nav-label {
    font-family: var(--admin-font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--admin-muted);
    padding: 6px 12px 4px;
}

/* Sidebar footer */
.vs-admin-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--admin-border);
    padding-top: 20px;
}

/* ── Main content area ─────────────────────────────────────── */
.vs-admin-main {
    flex: 1;
    padding: 32px 36px;
    overflow-x: auto;
    min-width: 0;
}

/* ── Page header ───────────────────────────────────────────── */
.vs-admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.vs-admin-page-title {
    font-family: var(--admin-font-mono);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--admin-text);
    line-height: 1.2;
}

.vs-admin-page-meta {
    color: var(--admin-muted);
    font-size: 12.5px;
    margin-top: 4px;
}

/* ── Stat cards ────────────────────────────────────────────── */
.vs-admin-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.vs-admin-stat {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-r);
    padding: 14px 20px;
    min-width: 120px;
}

.vs-admin-stat-num {
    font-family: var(--admin-font-mono);
    font-size: 26px;
    line-height: 1;
    color: var(--admin-accent);
}

.vs-admin-stat-label {
    font-size: 11.5px;
    color: var(--admin-muted);
    margin-top: 4px;
}

/* ── Card wrapper ──────────────────────────────────────────── */
.vs-admin-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-r);
    overflow: hidden;
}

/* ── Buttons ───────────────────────────────────────────────── */
.vs-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--admin-font-ui);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    text-decoration: none;
    white-space: nowrap;
}

    .vs-admin-btn:hover {
        opacity: .85;
    }

    .vs-admin-btn:active {
        transform: scale(.97);
    }

    .vs-admin-btn svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        stroke: currentColor;
        fill: none;
    }

.vs-admin-btn-primary {
    background: var(--admin-accent);
    color: #0b0f14;
}

.vs-admin-btn-danger {
    background: var(--admin-danger);
    color: #fff;
}

.vs-admin-btn-ghost {
    background: transparent;
    color: var(--admin-muted);
    border: 1px solid var(--admin-border);
}

    .vs-admin-btn-ghost:hover {
        background: var(--admin-surface2);
        color: var(--admin-text);
    }

/* ── Bulk action bar ───────────────────────────────────────── */
.vs-admin-bulk-bar {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    background: var(--admin-surface2);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-r);
    padding: 10px 16px;
}

    .vs-admin-bulk-bar.visible {
        display: flex;
    }

.vs-admin-bulk-count {
    font-family: var(--admin-font-mono);
    font-size: 13px;
    color: var(--admin-accent);
}

/* ── DataTable overrides ───────────────────────────────────── */
.vs-admin-table-wrap .dataTable-wrapper {
    padding: 0;
}

.vs-admin-table-wrap .dataTable-top,
.vs-admin-table-wrap .dataTable-bottom {
    padding: 13px 18px;
    background: var(--admin-surface);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vs-admin-table-wrap .dataTable-top {
    border-bottom: 1px solid var(--admin-border);
    justify-content: space-between;
}

.vs-admin-table-wrap .dataTable-bottom {
    border-top: 1px solid var(--admin-border);
    justify-content: space-between;
}

.vs-admin-table-wrap .dataTable-search input,
.vs-admin-table-wrap .dataTable-selector {
    background: var(--admin-surface2);
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    padding: 7px 12px;
    font-family: var(--admin-font-ui);
    font-size: 13px;
    outline: none;
    transition: border-color .15s;
}

    .vs-admin-table-wrap .dataTable-search input:focus {
        border-color: var(--admin-accent);
    }

    .vs-admin-table-wrap .dataTable-search input::placeholder {
        color: var(--admin-muted);
    }

.vs-admin-table-wrap .dataTable-pagination a {
    background: var(--admin-surface2);
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
    border-radius: 5px;
    padding: 5px 11px;
    font-size: 13px;
    cursor: pointer;
    transition: background .12s, color .12s;
}

    .vs-admin-table-wrap .dataTable-pagination a:hover,
    .vs-admin-table-wrap .dataTable-pagination li.active a {
        background: var(--admin-accent);
        color: #0b0f14;
        border-color: var(--admin-accent);
    }

.vs-admin-table-wrap .dataTable-info {
    font-size: 12px;
    color: var(--admin-muted);
}

.vs-admin-table-wrap table.dataTable-table {
    width: 100%;
    border-collapse: collapse;
}

    .vs-admin-table-wrap table.dataTable-table th {
        background: var(--admin-surface);
        color: var(--admin-muted);
        font-family: var(--admin-font-mono);
        font-size: 11px;
        letter-spacing: .08em;
        text-transform: uppercase;
        padding: 12px 14px;
        border-bottom: 1px solid var(--admin-border);
        user-select: none;
        white-space: nowrap;
    }

        .vs-admin-table-wrap table.dataTable-table th a {
            color: var(--admin-muted) !important;
        }

        .vs-admin-table-wrap table.dataTable-table th.asc a::after {
            content: " ↑";
            color: var(--admin-accent);
        }

        .vs-admin-table-wrap table.dataTable-table th.desc a::after {
            content: " ↓";
            color: var(--admin-accent);
        }

    .vs-admin-table-wrap table.dataTable-table td {
        padding: 12px 14px;
        border-bottom: 1px solid var(--admin-border);
        vertical-align: middle;
        line-height: 1.45;
        color: var(--admin-text);
    }

    .vs-admin-table-wrap table.dataTable-table tr:last-child td {
        border-bottom: none;
    }

    .vs-admin-table-wrap table.dataTable-table tr:hover td {
        background: var(--admin-surface2);
    }

/* Checkbox cells */
.vs-admin-cb-cell {
    width: 40px;
    text-align: center;
}

input[type=checkbox] {
    accent-color: var(--admin-accent);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ── Role badges ───────────────────────────────────────────── */
/* Re-uses same naming convention as public site's .vs-badge */
.vs-admin-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .03em;
    white-space: nowrap;
}

.vs-admin-badge-clinician {
    background: #0d3d52;
    color: #5cc8ec;
}

.vs-admin-badge-admin {
    background: #2d1f52;
    color: #b196f5;
}

.vs-admin-badge-researcher {
    background: #0e2e1a;
    color: var(--admin-accent);
}

.vs-admin-badge-patient {
    background: #3d2200;
    color: #f5a623;
}

.vs-admin-badge-other {
    background: var(--admin-surface2);
    color: var(--admin-muted2);
}

/* ── Message preview cell ──────────────────────────────────── */
.vs-admin-msg-preview {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--admin-muted);
}

/* ── Toast notification ────────────────────────────────────── */
.vs-admin-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    padding: 12px 20px;
    border-radius: var(--admin-r);
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s;
    z-index: 9999;
    pointer-events: none;
    font-family: var(--admin-font-ui);
}

    .vs-admin-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .vs-admin-toast.vs-admin-toast-success {
        background: var(--admin-accent);
        color: #0b0f14;
    }

    .vs-admin-toast.vs-admin-toast-error {
        background: var(--admin-danger);
        color: #fff;
    }

/* ── Modal ─────────────────────────────────────────────────── */
.vs-admin-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .vs-admin-modal-backdrop.open {
        display: flex;
    }

.vs-admin-modal {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-r-xl);
    width: min(560px, 95vw);
    padding: 28px 30px;
    box-shadow: var(--admin-shadow);
    font-family: var(--admin-font-ui);
}

.vs-admin-modal-title {
    font-family: var(--admin-font-mono);
    font-size: 16px;
    color: var(--admin-text);
    margin-bottom: 20px;
}

.vs-admin-modal label {
    display: block;
    font-size: 11.5px;
    color: var(--admin-muted);
    margin-bottom: 6px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.vs-admin-modal input,
.vs-admin-modal textarea {
    width: 100%;
    background: var(--admin-surface2);
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    padding: 9px 12px;
    color: var(--admin-text);
    font-family: var(--admin-font-ui);
    font-size: 13.5px;
    outline: none;
    transition: border-color .15s;
    margin-bottom: 16px;
}

    .vs-admin-modal input:focus,
    .vs-admin-modal textarea:focus {
        border-color: var(--admin-accent);
    }

.vs-admin-modal textarea {
    min-height: 140px;
    resize: vertical;
}

.vs-admin-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 4px;
}

.vs-admin-modal-confirm-msg {
    color: var(--admin-muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ── Login page ────────────────────────────────────────────── */
/* Unifies the existing Login.cshtml inline styles
   so they can optionally be served from vitalsense.css */
.vs-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--admin-bg);
    font-family: var(--admin-font-ui);
}

.vs-login-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border2);
    border-radius: var(--admin-r-xl);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--admin-shadow);
}

.vs-login-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    justify-content: center;
}

    .vs-login-logo svg {
        width: 36px;
        height: 36px;
    }

.vs-login-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--admin-text);
    letter-spacing: -.5px;
    font-family: var(--admin-font-ui);
}

    .vs-login-logo-text span {
        color: var(--admin-accent);
    }

.vs-login-subtitle {
    color: var(--admin-muted);
    font-size: .85rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vs-login-field {
    margin-bottom: 20px;
}

    .vs-login-field label {
        display: block;
        font-size: .78rem;
        font-weight: 600;
        color: var(--admin-muted);
        text-transform: uppercase;
        letter-spacing: .6px;
        margin-bottom: 6px;
        font-family: var(--admin-font-ui);
    }

.vs-login-input {
    width: 100%;
    background: var(--admin-bg);
    border: 1px solid var(--admin-border2);
    border-radius: var(--admin-r);
    color: var(--admin-text);
    font-size: .95rem;
    padding: 11px 14px;
    transition: border-color .2s;
    outline: none;
    font-family: var(--admin-font-ui);
}

    .vs-login-input:focus {
        border-color: var(--admin-accent);
    }

.vs-login-btn {
    width: 100%;
    margin-top: 8px;
    padding: 13px;
    background: var(--admin-accent);
    border: none;
    border-radius: var(--admin-r);
    color: #0a1628;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
    font-family: var(--admin-font-ui);
}

    .vs-login-btn:hover {
        background: var(--admin-accent-dark);
    }

    .vs-login-btn:active {
        transform: scale(.98);
    }

.vs-login-error {
    background: var(--admin-danger-bg);
    border: 1px solid rgba(224,82,82,.3);
    border-radius: var(--admin-r);
    color: #f87171;
    font-size: .88rem;
    padding: 10px 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* ── Responsive: collapse sidebar on narrow screens ────────── */
@media (max-width: 768px) {
    .vs-admin-sidebar {
        width: 60px;
        padding: 20px 10px;
        gap: 20px;
    }

    .vs-admin-logo-text,
    .vs-admin-nav-label,
    .vs-admin-nav-link span,
    .vs-admin-sidebar-footer .vs-admin-nav-link span {
        display: none;
    }

    .vs-admin-nav-link {
        justify-content: center;
        padding: 10px;
    }

        .vs-admin-nav-link svg {
            width: 18px;
            height: 18px;
        }

    .vs-admin-logo {
        justify-content: center;
    }

    .vs-admin-main {
        padding: 20px 16px;
    }
}

/* ── Scrollbar (matches dashboard page style) ──────────────── */
.vs-admin-page ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.vs-admin-page ::-webkit-scrollbar-track {
    background: transparent;
}

.vs-admin-page ::-webkit-scrollbar-thumb {
    background: var(--admin-border);
    border-radius: 3px;
}
.vs-hp-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}