:root {
    --vm-bg: #f4f7f8;
    --vm-surface: #ffffff;
    --vm-surface-soft: #eef4f5;
    --vm-border: #dbe5e8;
    --vm-text: #102a43;
    --vm-text-soft: #5c6f82;
    --vm-primary: #11b8c8;
    --vm-primary-dark: #0f7f8a;
    --vm-secondary: #28496b;
    --vm-accent: #7fdde4;
    --vm-navy: #17324d;
    --vm-danger-bg: #fff1f2;
    --vm-danger-border: #fecdd3;
    --vm-danger-text: #b42318;
    --vm-success-bg: #ecfdf3;
    --vm-success-border: #abefc6;
    --vm-success-text: #067647;
    --vm-warning-bg: #fffaeb;
    --vm-warning-border: #fedf89;
    --vm-warning-text: #b54708;
    --vm-info-bg: #eff8ff;
    --vm-info-border: #b2ddff;
    --vm-info-text: #175cd3;
    --vm-shadow: 0 20px 45px rgba(16, 42, 67, 0.08);
    --vm-shadow-sm: 0 10px 22px rgba(16, 42, 67, 0.08);
    --vm-radius-lg: 24px;
    --vm-radius-md: 16px;
    --vm-radius-sm: 12px;
    --vm-font: "Segoe UI", Inter, Arial, sans-serif;
}

html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(127, 221, 228, 0.18), transparent 22%),
        radial-gradient(circle at 18% 20%, rgba(17, 184, 200, 0.08), transparent 28%),
        linear-gradient(135deg, #f7fbfc 0%, #eef5f6 100%);
    color: var(--vm-text);
    font-family: var(--vm-font);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.table > :not(caption) > * > * {
    background-color: transparent;
}

.text-decoration-none {
    text-decoration: none !important;
}

/* Layout */
.vm-shell {
    min-height: 100vh;
    display: flex;
}

.vm-sidebar {
    width: 248px;
    background: linear-gradient(180deg, #17324d 0%, #102a43 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1rem;
    box-shadow: var(--vm-shadow);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.vm-sidebar-top {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-brand {
    display: block;
}

.vm-brand-logo {
    max-width: 155px;
    width: 100%;
    height: auto;
    display: block;
}

.vm-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.35rem;
    margin-right: -0.35rem;
    scrollbar-width: thin;
}

.vm-help-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.vm-help-search-form {
    display: flex;
    flex-direction: column;
}

.vm-help-search-results,
.vm-help-sections,
.vm-help-section-articles,
.vm-help-takeaway-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vm-help-search-result,
.vm-help-article-link,
.vm-help-section-title-link {
    text-decoration: none;
}

.vm-help-search-result {
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbfd;
    color: #173046;
}

.vm-help-search-result:hover {
    border-color: #9dc4d0;
    background: #f2f8fb;
}

.vm-help-search-section {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5d768a;
    margin-bottom: 4px;
}

.vm-help-search-title,
.vm-help-section-title-link {
    font-weight: 700;
    color: #173046;
}

.vm-help-search-summary,
.vm-help-section-copy {
    font-size: 0.95rem;
    color: #4f667a;
    margin-top: 4px;
}

.vm-help-section-block {
    border-top: 1px solid #e3ebf3;
    padding-top: 14px;
}

.vm-help-section-block:first-child {
    border-top: 0;
    padding-top: 0;
}

.vm-help-article-link {
    display: block;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 10px 12px;
    color: #173046;
    background: #ffffff;
}

.vm-help-article-link:hover,
.vm-help-article-link.active {
    border-color: #2f8d9a;
    background: #eef7f8;
    color: #0f5e68;
}

.vm-help-content {
    min-width: 0;
}

.vm-help-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vm-help-meta {
    font-size: 0.92rem;
    color: #5d768a;
}

.vm-help-paragraph {
    color: #243949;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.vm-help-takeaways {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e3ebf3;
}

.vm-help-takeaway-item {
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbfd;
    color: #173046;
}

@media (max-width: 991.98px) {
    .vm-help-layout {
        grid-template-columns: 1fr;
    }
}

.vm-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.vm-nav-section-title {
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-nav-section-links {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.vm-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    transition: 0.2s ease;
}

    .vm-nav-link:hover,
    .vm-nav-link.active {
        background: linear-gradient(135deg, rgba(17, 184, 200, 0.18), rgba(127, 221, 228, 0.12));
        color: #fff;
    }

.vm-nav-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.95;
}

.vm-nav-icon-image {
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.18));
}

.vm-sidebar-footer {
    margin-top: auto;
    padding-top: 1.2rem;
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(16, 42, 67, 0) 0%, rgba(16, 42, 67, 0.92) 18%, rgba(16, 42, 67, 0.98) 100%);
    padding-bottom: 0.25rem;
}

.vm-release-card {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.vm-release-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.vm-release-version {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.vm-release-date {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.65rem;
}

.vm-release-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vm-accent);
    text-decoration: none;
}

    .vm-release-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.vm-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.2rem 0.7rem;
    position: sticky;
    top: 0;
    z-index: 25;
    background: linear-gradient(180deg, rgba(244, 247, 248, 0.92) 0%, rgba(244, 247, 248, 0.78) 100%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 229, 232, 0.85);
}

.vm-topbar-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--vm-text);
    letter-spacing: -0.02em;
}

.vm-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--vm-text-soft);
    font-size: 0.9rem;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vm-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--vm-primary);
    box-shadow: 0 0 0 6px rgba(17, 184, 200, 0.12);
}

.vm-content {
    padding: 0.5rem 1.2rem 1.2rem;
}

.vm-mobile-nav-shell {
    display: none;
    padding: 0.85rem 0.85rem 0;
}

.vm-mobile-nav {
    border: 1px solid var(--vm-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--vm-shadow-sm);
    overflow: hidden;
}

.vm-mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
    font-weight: 800;
    color: var(--vm-text);
    cursor: pointer;
    list-style: none;
}

.vm-mobile-nav-toggle::-webkit-details-marker {
    display: none;
}

.vm-mobile-nav-current {
    color: var(--vm-text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

.vm-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 0.5rem 0.5rem;
    border-top: 1px solid var(--vm-border);
}

.vm-mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vm-mobile-nav-section-title {
    padding: 0.65rem 0.35rem 0 0.35rem;
    color: var(--vm-text-soft);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-mobile-nav-section-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vm-mobile-nav-links .vm-nav-link {
    border-radius: 8px;
    color: var(--vm-text);
    padding: 0.75rem 0.85rem;
}

.vm-mobile-nav-links .vm-nav-link:hover,
.vm-mobile-nav-links .vm-nav-link.active {
    color: #fff;
}

/* Page */
.vm-page-header {
    margin-bottom: 0.95rem;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(219, 229, 232, 0.85);
    border-radius: var(--vm-radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--vm-shadow-sm);
    position: relative;
    overflow: hidden;
}

.vm-page-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vm-primary), var(--vm-accent));
}

.vm-page-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    letter-spacing: -0.03em;
}

.vm-page-copy {
    color: var(--vm-text-soft);
    margin: 0;
    max-width: 72ch;
    line-height: 1.45;
    font-size: 0.92rem;
}

.vm-page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    align-items: center;
    max-width: 100%;
}

    .vm-page-header-actions > * {
        flex: 0 0 auto;
    }

.vm-page-header-actions-primary {
    min-width: 144px;
}

.vm-page-header-actions-secondary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 0.9rem;
}

.vm-muted {
    color: var(--vm-text-soft);
}

/* Cards */
.vm-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius-lg);
    box-shadow: var(--vm-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vm-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 50px rgba(16, 42, 67, 0.1);
    border-color: rgba(17, 184, 200, 0.24);
}

.vm-card-body {
    padding: 1rem;
}

.vm-help-button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 184, 200, 0.22);
    background: linear-gradient(135deg, rgba(17, 184, 200, 0.12), rgba(127, 221, 228, 0.18));
    color: var(--vm-secondary);
    font-weight: 700;
    transition: 0.18s ease;
}

    .vm-help-button:hover {
        color: var(--vm-navy);
        border-color: rgba(17, 184, 200, 0.4);
        background: linear-gradient(135deg, rgba(17, 184, 200, 0.18), rgba(127, 221, 228, 0.24));
        transform: translateY(-1px);
    }

/* Forms */
.vm-field {
    margin-bottom: 0.8rem;
}

.vm-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.32rem;
    color: var(--vm-text);
    font-size: 0.9rem;
}

.vm-input {
    width: 100%;
    border: 1px solid var(--vm-border);
    background: #fff;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    outline: none;
    transition: 0.2s ease;
    color: var(--vm-text);
}

    .vm-input:focus {
        border-color: var(--vm-primary);
        box-shadow: 0 0 0 4px rgba(17, 184, 200, 0.14);
    }

.vm-button,
.vm-logout-button {
    border: 0;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: 0.2s ease;
}

.vm-button {
    width: 100%;
    background: linear-gradient(135deg, var(--vm-primary), var(--vm-primary-dark));
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 127, 138, 0.22);
}

    .vm-button:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
        color: #fff;
    }

.vm-button-inline {
    width: auto;
    min-width: 156px;
}

.vm-button-danger {
    background: linear-gradient(135deg, #d92d20, #b42318);
    box-shadow: 0 14px 28px rgba(180, 35, 24, 0.18);
}

.vm-logout-button {
    border: 1px solid var(--vm-border);
    background: rgba(255, 255, 255, 0.75);
    color: var(--vm-text);
    padding: 0.58rem 0.85rem;
    font-weight: 700;
}

    .vm-logout-button:hover {
        border-color: var(--vm-primary);
        color: var(--vm-primary-dark);
        box-shadow: 0 0 0 4px rgba(17, 184, 200, 0.12);
    }

.vm-download-button,
.vm-process-button {
    display: inline-block;
    padding: 0.42rem 0.72rem;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.2s ease;
    white-space: nowrap;
}

.vm-download-button {
    background: rgba(17, 184, 200, 0.12);
    color: var(--vm-primary-dark);
    border: 1px solid rgba(17, 184, 200, 0.25);
}

    .vm-download-button:hover {
        background: var(--vm-primary);
        color: #fff;
        box-shadow: 0 6px 14px rgba(17, 184, 200, 0.25);
    }

.vm-process-button {
    background: rgba(40, 73, 107, 0.10);
    color: var(--vm-secondary);
    border: 1px solid rgba(40, 73, 107, 0.18);
}

    .vm-process-button:hover {
        background: var(--vm-secondary);
        color: #fff;
        box-shadow: 0 6px 14px rgba(40, 73, 107, 0.20);
    }

/* Alerts */
.vm-alert {
    background: var(--vm-danger-bg);
    border: 1px solid var(--vm-danger-border);
    color: var(--vm-danger-text);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    line-height: 1.55;
    box-shadow: 0 10px 20px rgba(180, 35, 24, 0.05);
    overflow-wrap: anywhere;
}

.vm-success-alert {
    background: var(--vm-success-bg);
    border: 1px solid var(--vm-success-border);
    color: var(--vm-success-text);
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    line-height: 1.55;
    box-shadow: 0 10px 20px rgba(6, 118, 71, 0.06);
    overflow-wrap: anywhere;
}

.vm-alert::before,
.vm-success-alert::before {
    flex: 0 0 auto;
    font-family: "bootstrap-icons";
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.vm-alert::before {
    content: "\F622";
}

.vm-success-alert::before {
    content: "\F26A";
}

/* Tables */
.vm-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

    .vm-table th {
        color: var(--vm-text-soft);
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        border-bottom-color: var(--vm-border);
        font-weight: 800;
        background: rgba(248, 251, 252, 0.95);
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
    }

    .vm-table td {
        color: var(--vm-text);
        border-bottom-color: var(--vm-border);
        vertical-align: middle;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .vm-table tbody tr:hover td {
        background: rgba(17, 184, 200, 0.04);
    }

.vm-table-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

.vm-table-sort:hover {
    color: var(--vm-primary);
}

.vm-table-sort-active {
    color: var(--vm-primary-dark);
}

.vm-table-sort-indicator {
    min-width: 0.75rem;
    color: var(--vm-primary);
    font-size: 0.8rem;
    line-height: 1;
}

.vm-table-subtext {
    margin-top: 0.2rem;
    color: var(--vm-text-soft);
    font-size: 0.76rem;
}

.vm-pos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    gap: 1.25rem;
    align-items: start;
}

.vm-pos-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vm-pos-network-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: rgba(17, 184, 200, 0.12);
    color: var(--vm-primary-dark);
    font-size: 0.84rem;
    font-weight: 800;
}

.vm-pos-network-badge-offline {
    background: rgba(225, 72, 77, 0.12);
    color: #b42318;
}

.vm-pos-offline-banner {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(225, 72, 77, 0.28);
    border-radius: 14px;
    background: rgba(225, 72, 77, 0.08);
    color: #b42318;
    font-weight: 700;
}

.vm-pos-main,
.vm-pos-sidebar {
    min-width: 0;
}

.vm-pos-quick-add-bar {
    padding: 1rem;
    border: 1px solid rgba(17, 184, 200, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
}

.vm-pos-quick-add-title {
    margin-bottom: 0.85rem;
    color: var(--vm-primary-dark);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-pos-sticky-card {
    position: sticky;
    top: 1rem;
}

.vm-pos-search-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 180px;
    max-height: 44vh;
    overflow: auto;
}

.vm-pos-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--vm-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.vm-pos-product-row-unavailable {
    border-style: dashed;
    background: rgba(248, 251, 252, 0.88);
}

.vm-pos-product-copy {
    min-width: 0;
}

.vm-pos-product-copy .fw-bold {
    overflow-wrap: anywhere;
}

.vm-pos-stock-state {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vm-pos-stock-state-empty {
    color: #b45309;
}

.vm-pos-product-row .vm-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.vm-pos-cart-shell {
    overflow: auto;
    max-height: 42vh;
}

.vm-pos-empty-row td {
    text-align: center;
    padding: 1rem;
}

.vm-pos-qty-input {
    min-width: 88px;
    text-align: right;
    padding: 0.7rem 0.75rem;
}

.vm-pos-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(17, 184, 200, 0.18);
    border-radius: 14px;
    background: rgba(17, 184, 200, 0.08);
    color: var(--vm-primary-dark);
    font-size: 1rem;
    font-weight: 800;
}

.vm-barcode-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vm-barcode-action-bar {
    position: sticky;
    top: 0;
    z-index: 4;
    margin: -0.25rem -0.25rem 0;
    padding: 0.25rem;
    background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(248, 251, 252, 0.92));
    border-radius: 18px;
}

.vm-barcode-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
}

.vm-barcode-table-shell {
    max-height: 60vh;
    overflow: auto;
    border: 1px solid var(--vm-border);
    border-radius: 16px;
    background: #fff;
}

    .vm-barcode-table-shell .vm-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(248, 251, 252, 0.98);
        box-shadow: inset 0 -1px 0 var(--vm-border);
    }

    .vm-barcode-table-shell .vm-table td,
    .vm-barcode-table-shell .vm-table th {
        padding: 0.85rem 0.9rem;
    }

.vm-checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 54px;
    padding: 0.95rem 1rem;
    border: 1px solid var(--vm-border);
    border-radius: 14px;
    background: #fff;
}

    .vm-checkbox-card .form-check-input {
        margin-top: 0;
        flex: 0 0 auto;
    }

    .vm-checkbox-card .form-check-label {
        margin: 0;
        font-weight: 700;
        color: var(--vm-text);
    }

.vm-label-designer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vm-label-designer-summary {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(17, 184, 200, 0.12);
    border: 1px solid rgba(17, 184, 200, 0.25);
    color: var(--vm-primary-dark);
    font-weight: 800;
    font-size: 0.9rem;
}

.vm-label-preview-shell {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    padding: 1rem;
    border-radius: 18px;
    border: 1px dashed rgba(40, 73, 107, 0.18);
    background:
        radial-gradient(circle at top right, rgba(17, 184, 200, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 250, 0.95));
}

.vm-label-preview {
    position: relative;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid rgba(40, 73, 107, 0.2);
    box-shadow: 0 16px 32px rgba(40, 73, 107, 0.12);
    overflow: hidden;
}

.vm-label-preview-stockcode,
.vm-label-preview-product,
.vm-label-preview-price {
    position: absolute;
    text-align: center;
    color: #0d2333;
    overflow: hidden;
}

.vm-label-preview-stockcode {
    font-weight: 800;
    letter-spacing: 0.03em;
}

.vm-label-preview-product {
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vm-label-preview-price {
    font-weight: 900;
}

.vm-label-preview-barcode {
    --vm-preview-module-width: 2;
    position: absolute;
}

.vm-label-preview-bars {
    height: 100%;
    width: 100%;
    border: 1px solid #101010;
    background:
        repeating-linear-gradient(
            90deg,
            #0d0d0d 0,
            #0d0d0d calc(var(--vm-preview-module-width) * 1px),
            #ffffff calc(var(--vm-preview-module-width) * 1px),
            #ffffff calc(var(--vm-preview-module-width) * 2px),
            #0d0d0d calc(var(--vm-preview-module-width) * 2px),
            #0d0d0d calc(var(--vm-preview-module-width) * 4px),
            #ffffff calc(var(--vm-preview-module-width) * 4px),
            #ffffff calc(var(--vm-preview-module-width) * 5px)
        );
}

.vm-label-preview-barcode-value {
    margin-top: 0.25rem;
    text-align: center;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: #0d2333;
}

.vm-table-compact th,
.vm-table-compact td {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 0.58rem 0.55rem;
}

.vm-table-compact th a {
    color: inherit;
    text-decoration: none;
}

.vm-table-compact th a:hover {
    color: var(--vm-primary);
}

.vm-zero-row td {
    color: var(--vm-text-soft);
}

/* Pagination */
.pagination .page-link {
    border-radius: 10px;
    margin: 0 0.1rem;
    border-color: var(--vm-border);
    color: var(--vm-secondary);
    font-weight: 700;
    box-shadow: none;
}

    .pagination .page-link:hover {
        background: var(--vm-surface-soft);
        color: var(--vm-primary-dark);
        border-color: var(--vm-primary);
    }

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--vm-primary), var(--vm-primary-dark));
    border-color: transparent;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #98a2b3;
    background: #fff;
    border-color: var(--vm-border);
}

/* Badges */
.vm-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.vm-badge-success {
    background: var(--vm-success-bg);
    color: var(--vm-success-text);
    border: 1px solid var(--vm-success-border);
}

.vm-badge-warning {
    background: var(--vm-warning-bg);
    color: var(--vm-warning-text);
    border: 1px solid var(--vm-warning-border);
}

.vm-badge-danger {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.vm-badge-pending {
    background: var(--vm-info-bg);
    color: var(--vm-info-text);
    border: 1px solid var(--vm-info-border);
}

/* Dashboard */
.vm-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.vm-metric {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--vm-border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--vm-shadow);
}

.vm-metric-label {
    color: var(--vm-text-soft);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.vm-metric-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--vm-text);
}

.vm-metric-note {
    margin-top: 0.5rem;
    color: var(--vm-text-soft);
    font-size: 0.9rem;
}

.vm-trend-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(17, 184, 200, 0.16), rgba(127, 221, 228, 0.06)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
    box-shadow: var(--vm-shadow);
}

.vm-trend-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(23, 50, 77, 0.08);
    color: var(--vm-secondary);
    font-size: 0.78rem;
    font-weight: 800;
}

.vm-trend-headline {
    font-size: 1.65rem;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--vm-navy);
}

.vm-trend-subcopy {
    margin: 0;
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-trend-stat-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.vm-trend-stat {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.85rem;
    min-width: 0;
}

.vm-trend-stat-label {
    display: block;
    color: var(--vm-text-soft);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.vm-trend-stat-value {
    display: block;
    color: var(--vm-navy);
    font-size: 1rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.vm-trend-card {
    overflow: hidden;
}

.vm-trend-chart-shell {
    position: relative;
}

.vm-trend-chart-surface {
    position: relative;
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(127, 221, 228, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 247, 0.92));
    padding: 0.6rem;
}

.vm-trend-y-label {
    position: absolute;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #6b7c93;
    font-size: 0.7rem;
    font-weight: 700;
    pointer-events: none;
}

.vm-trend-chart {
    width: 100%;
    height: auto;
    display: block;
}

.vm-trend-grid-line {
    stroke: rgba(16, 42, 67, 0.09);
    stroke-width: 1;
    stroke-dasharray: 6 6;
}

.vm-trend-area {
    fill: rgba(17, 184, 200, 0.12);
}

.vm-trend-line {
    fill: none;
    stroke: var(--vm-primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 20px rgba(17, 184, 200, 0.18));
}

.vm-trend-point {
    fill: #fff;
    stroke: var(--vm-primary-dark);
    stroke-width: 3;
    cursor: pointer;
    transition: transform 0.15s ease, fill 0.15s ease, stroke 0.15s ease;
}

.vm-trend-point:hover,
.vm-trend-point:focus,
.vm-trend-point.is-active {
    fill: var(--vm-primary);
    stroke: #ffffff;
    transform: scale(1.18);
    outline: none;
}

.vm-trend-axis-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.8rem;
    color: var(--vm-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.vm-trend-focus-label {
    color: var(--vm-text-soft);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.vm-trend-focus-value {
    color: var(--vm-navy);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.vm-trend-focus-period {
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vm-dashboard-hero {
    border-radius: 24px;
    padding: 1rem;
    background:
        radial-gradient(circle at top right, rgba(127, 221, 228, 0.22), transparent 26%),
        linear-gradient(135deg, #6d62df 0%, #5e58d0 42%, #4b4fbf 100%);
    box-shadow: 0 24px 50px rgba(34, 42, 114, 0.22);
    color: #ffffff;
}

.vm-dashboard-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vm-dashboard-kicker,
.vm-dashboard-panel-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.vm-dashboard-panel-eyebrow {
    color: var(--vm-text-soft);
}

.vm-dashboard-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
}

.vm-dashboard-title-block {
    min-width: 0;
}

.vm-dashboard-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    line-height: 1.05;
    font-weight: 800;
}

.vm-dashboard-subcopy {
    margin: 0.35rem 0 0;
    max-width: 60rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.vm-dashboard-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 999px;
    padding: 0.45rem 0.75rem 0.45rem 0.45rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.vm-dashboard-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f4ff 100%);
    color: #4b4fbf;
    font-weight: 800;
    font-size: 0.92rem;
    box-shadow: 0 12px 22px rgba(23, 26, 96, 0.18);
}

.vm-dashboard-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.vm-dashboard-user-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
}

.vm-dashboard-user-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
}

.vm-dashboard-filter-panel {
    margin-top: 0.25rem;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.vm-dashboard-filter-label {
    color: rgba(255, 255, 255, 0.78);
}

.vm-dashboard-filter-input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.14);
}

.vm-dashboard-apply-button {
    border: 0;
    border-radius: 14px;
    padding: 0.7rem 0.95rem;
    background: linear-gradient(135deg, #ffffff 0%, #edf0ff 100%);
    color: #4b4fbf;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(23, 26, 96, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vm-dashboard-apply-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(23, 26, 96, 0.2);
}

.vm-dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.vm-dashboard-stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 0.9rem 0.95rem 0.85rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 42, 67, 0.07);
    box-shadow: var(--vm-shadow-sm);
}

.vm-dashboard-stat-card::before {
    content: "";
    position: absolute;
    inset: auto -20% -35% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(127, 221, 228, 0.1);
    pointer-events: none;
}

.vm-dashboard-stat-card-top {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    z-index: 1;
}

.vm-dashboard-stat-label {
    color: var(--vm-text-soft);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vm-dashboard-stat-value {
    margin-top: 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--vm-navy);
    line-height: 1.1;
}

.vm-dashboard-stat-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.95rem;
}

.vm-dashboard-stat-note {
    position: relative;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    z-index: 1;
}

.vm-dashboard-stat-note-up {
    color: #067647;
}

.vm-dashboard-stat-note-down {
    color: #b42318;
}

.vm-dashboard-stat-note-muted {
    color: var(--vm-text-soft);
}

.vm-dashboard-stat-card--indigo .vm-dashboard-stat-icon {
    background: linear-gradient(135deg, #7b6ef3 0%, #5e58d0 100%);
}

.vm-dashboard-stat-card--sky .vm-dashboard-stat-icon {
    background: linear-gradient(135deg, #11b8c8 0%, #2f8d9a 100%);
}

.vm-dashboard-stat-card--amber .vm-dashboard-stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.vm-dashboard-stat-card--violet .vm-dashboard-stat-icon {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.vm-dashboard-chip-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
}

.vm-dashboard-chip {
    border-radius: 14px;
    padding: 0.72rem 0.85rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(16, 42, 67, 0.08);
    box-shadow: var(--vm-shadow-sm);
}

.vm-dashboard-chip-label {
    color: var(--vm-text-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vm-dashboard-chip-value {
    margin-top: 0.3rem;
    color: var(--vm-navy);
    font-size: 0.92rem;
    font-weight: 800;
}

.vm-dashboard-chip--success {
    background: linear-gradient(180deg, rgba(236, 253, 243, 0.96), rgba(255, 255, 255, 0.96));
}

.vm-dashboard-chip--warning {
    background: linear-gradient(180deg, rgba(255, 250, 235, 0.96), rgba(255, 255, 255, 0.96));
}

.vm-dashboard-chip--neutral {
    background: rgba(255, 255, 255, 0.88);
}

.vm-dashboard-panel {
    overflow: hidden;
}

.vm-dashboard-panel-primary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.94));
}

.vm-dashboard-panel-header,
.vm-dashboard-table-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.vm-dashboard-panel-title {
    margin: 0.2rem 0 0;
    color: var(--vm-navy);
    font-size: 1.15rem;
    font-weight: 800;
}

.vm-dashboard-panel-copy {
    color: var(--vm-text-soft);
    font-size: 0.86rem;
}

.vm-dashboard-panel-badge {
    flex: 0 0 auto;
}

.vm-dashboard-chart-shell {
    position: relative;
}

.vm-dashboard-chart-surface {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(16, 42, 67, 0.08);
    background:
        radial-gradient(circle at top right, rgba(127, 221, 228, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 250, 0.96));
    padding: 0.65rem;
}

.vm-dashboard-y-label {
    position: absolute;
    left: 0.8rem;
    transform: translateY(-50%);
    color: #6b7c93;
    font-size: 0.66rem;
    font-weight: 700;
    pointer-events: none;
}

.vm-dashboard-chart {
    width: 100%;
    height: auto;
    display: block;
}

.vm-dashboard-grid-line {
    stroke: rgba(16, 42, 67, 0.09);
    stroke-width: 1;
    stroke-dasharray: 6 6;
}

.vm-dashboard-area {
    fill: url(#vmDashboardTrendFill);
}

.vm-dashboard-line {
    fill: none;
    stroke: #5e58d0;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 20px rgba(94, 88, 208, 0.18));
}

.vm-dashboard-point {
    fill: #ffffff;
    stroke: #5e58d0;
    stroke-width: 3;
    cursor: pointer;
    transition: transform 0.15s ease, fill 0.15s ease, stroke 0.15s ease;
}

.vm-dashboard-point:hover,
.vm-dashboard-point:focus,
.vm-dashboard-point.is-active {
    fill: #5e58d0;
    stroke: #ffffff;
    transform: scale(1.16);
    outline: none;
}

.vm-dashboard-axis-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
    color: var(--vm-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.vm-dashboard-market-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.85rem;
}

.vm-dashboard-market-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 42, 67, 0.08);
    background: rgba(255, 255, 255, 0.82);
    color: var(--vm-text);
    font-size: 0.8rem;
    font-weight: 700;
}

.vm-dashboard-market-legend-swatch {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.vm-dashboard-market-legend-name {
    white-space: nowrap;
}

.vm-dashboard-market-legend-value {
    color: var(--vm-text-soft);
    font-weight: 800;
    white-space: nowrap;
}

.vm-dashboard-market-line {
    fill: none;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 18px rgba(16, 42, 67, 0.10));
}

.vm-dashboard-market-point {
    fill: #ffffff;
    stroke-width: 3;
    transition: transform 0.15s ease, fill 0.15s ease;
}

.vm-dashboard-market-point:hover {
    fill: currentColor;
    transform: scale(1.12);
}

.vm-dashboard-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vm-dashboard-bar-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 115px;
    gap: 0.65rem;
    align-items: center;
}

.vm-dashboard-bar-label {
    color: var(--vm-text);
    font-size: 0.86rem;
    font-weight: 700;
}

.vm-dashboard-bar-figure {
    color: var(--vm-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.vm-dashboard-bar-track {
    grid-column: 1 / -1;
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.06);
}

.vm-dashboard-bar-fill {
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #11b8c8 0%, #5e58d0 100%);
    box-shadow: 0 8px 14px rgba(94, 88, 208, 0.16);
}

.vm-dashboard-table-title {
    font-weight: 700;
    color: var(--vm-text);
}

.vm-dashboard-table-subtext {
    margin-top: 0.2rem;
    color: var(--vm-text-soft);
    font-size: 0.76rem;
}

@media (max-width: 1199.98px) {
    .vm-dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-dashboard-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .vm-dashboard-hero {
        padding: 0.9rem;
    }

    .vm-dashboard-title-row {
        flex-direction: column;
    }

    .vm-dashboard-user-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .vm-dashboard-stat-grid,
    .vm-dashboard-chip-grid {
        grid-template-columns: 1fr;
    }

    .vm-dashboard-panel-header,
    .vm-dashboard-table-header {
        flex-direction: column;
    }

    .vm-dashboard-bar-card {
        grid-template-columns: 1fr;
    }
}

.vm-trend-insights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vm-trend-insight-item {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.66);
    padding: 0.85rem 0.95rem;
    color: var(--vm-text);
    font-weight: 600;
}

/* Public landing page */
.vm-landing-page {
    position: relative;
    overflow: hidden;
    padding: 1rem 0 3rem;
}

.vm-landing-page::before,
.vm-landing-page::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    filter: blur(14px);
    opacity: 0.32;
    pointer-events: none;
    z-index: 0;
}

.vm-landing-page::before {
    top: -8rem;
    right: -10rem;
    background: radial-gradient(circle, rgba(17, 184, 200, 0.38) 0%, rgba(17, 184, 200, 0.08) 55%, transparent 72%);
    animation: vm-landing-float 14s ease-in-out infinite;
}

.vm-landing-page::after {
    bottom: 8rem;
    left: -11rem;
    background: radial-gradient(circle, rgba(127, 221, 228, 0.36) 0%, rgba(127, 221, 228, 0.06) 58%, transparent 75%);
    animation: vm-landing-float 18s ease-in-out infinite reverse;
}

.vm-landing-page > * {
    position: relative;
    z-index: 1;
}

.vm-landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(16px);
}

.vm-landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.vm-landing-logo {
    width: 190px;
    height: auto;
    display: block;
}

.vm-landing-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.vm-landing-brand-copy span {
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vm-navy);
}

.vm-landing-brand-copy small {
    color: var(--vm-text-soft);
    font-size: 0.82rem;
}

.vm-landing-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.vm-landing-nav a {
    color: var(--vm-text-soft);
    font-weight: 700;
    font-size: 0.95rem;
}

.vm-landing-nav a:hover {
    color: var(--vm-primary-dark);
}

.vm-landing-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vm-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.35rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.vm-landing-hero-copy,
.vm-landing-spotlight,
.vm-landing-section,
.vm-landing-cta {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--vm-shadow);
}

.vm-landing-hero-copy {
    padding: 2.35rem;
    overflow: hidden;
    position: relative;
}

.vm-landing-hero-copy::before {
    content: "";
    position: absolute;
    inset: auto -8rem -7rem auto;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 184, 200, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.vm-landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--vm-primary-dark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vm-landing-hero-copy h1,
.vm-landing-section-heading h2,
.vm-landing-cta h2 {
    margin: 0;
    color: var(--vm-navy);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.vm-landing-hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.vm-landing-hero-text {
    margin: 1.25rem 0 0;
    max-width: 58ch;
    color: var(--vm-text-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.vm-landing-hero-actions,
.vm-landing-spotlight-footer,
.vm-landing-plan-actions,
.vm-landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.vm-landing-hero-actions {
    margin-top: 1.6rem;
}

.vm-landing-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.vm-landing-proof-card {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.86);
}

.vm-landing-proof-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--vm-navy);
    font-size: 1.5rem;
    font-weight: 900;
}

.vm-landing-proof-card span {
    color: var(--vm-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.vm-landing-spotlight {
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(16, 42, 67, 0.98), rgba(29, 58, 90, 0.96));
    color: #fff;
    overflow: hidden;
    position: relative;
}

.vm-landing-spotlight::before {
    content: "";
    position: absolute;
    top: -7rem;
    right: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 221, 228, 0.24) 0%, transparent 70%);
    pointer-events: none;
}

.vm-landing-spotlight h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.vm-landing-spotlight p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.vm-landing-spotlight-ribbon,
.vm-landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.95rem;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-landing-spotlight-ribbon {
    background: rgba(127, 221, 228, 0.16);
    color: #dffbff;
}

.vm-landing-badge {
    background: rgba(245, 158, 11, 0.14);
    color: #f9e7be;
}

.vm-landing-spotlight-price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.vm-landing-spotlight-price span,
.vm-landing-spotlight-price small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.95rem;
}

.vm-landing-spotlight-price strong {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.vm-landing-spotlight-list {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.vm-landing-spotlight-list div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.vm-landing-spotlight-list i,
.vm-landing-checklist i {
    color: var(--vm-accent);
}

.vm-landing-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.vm-landing-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 42, 67, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: var(--vm-text);
    font-size: 0.84rem;
    font-weight: 700;
}

.vm-landing-section {
    padding: 1.6rem;
    margin-bottom: 1.5rem;
}

.vm-landing-section-heading {
    max-width: 72ch;
    margin-bottom: 1.25rem;
}

.vm-landing-section-heading h2 {
    font-size: clamp(2rem, 3vw, 3.15rem);
    margin-bottom: 0.8rem;
}

.vm-landing-section-heading p,
.vm-landing-split-copy p,
.vm-landing-faq-card p,
.vm-landing-stack-card p {
    color: var(--vm-text-soft);
    line-height: 1.72;
    margin-bottom: 0;
}

.vm-landing-feature-grid,
.vm-landing-faq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.vm-landing-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.vm-landing-feature-card,
.vm-landing-faq-card,
.vm-landing-stack-card,
.vm-landing-showcase-card,
.vm-landing-workflow-card {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    padding: 1.2rem;
}

.vm-landing-feature-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 0.95rem;
    background: linear-gradient(135deg, rgba(17, 184, 200, 0.18), rgba(127, 221, 228, 0.08));
    color: var(--vm-primary-dark);
    font-size: 1.2rem;
}

.vm-landing-feature-card h3,
.vm-landing-faq-card h3,
.vm-landing-showcase-card h3,
.vm-landing-workflow-card h3 {
    margin: 0 0 0.55rem;
    color: var(--vm-navy);
    font-size: 1.06rem;
    font-weight: 900;
}

.vm-landing-showcase-card p,
.vm-landing-workflow-card p {
    color: var(--vm-text-soft);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

.vm-landing-showcase-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.vm-landing-showcase-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--vm-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.vm-landing-showcase-card li::before {
    content: "•";
    color: var(--vm-primary-dark);
    font-weight: 900;
    line-height: 1;
}

.vm-landing-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1rem;
}

.vm-landing-split-copy {
    padding: 0.3rem 0.1rem;
}

.vm-landing-split-copy h2 {
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 3.1vw, 3rem);
}

.vm-landing-checklist {
    list-style: none;
    padding: 0;
    margin: 1.35rem 0 0;
    display: grid;
    gap: 0.85rem;
}

.vm-landing-checklist li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--vm-text);
    font-weight: 600;
    line-height: 1.55;
}

.vm-landing-stack {
    display: grid;
    gap: 0.95rem;
}

.vm-landing-stack-label,
.vm-landing-plan-code {
    color: var(--vm-text-soft);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-landing-stack-value {
    margin: 0.3rem 0 0.65rem;
    color: var(--vm-navy);
    font-size: 1.2rem;
    font-weight: 900;
}

.vm-landing-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vm-landing-plan-card {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--vm-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vm-landing-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(16, 42, 67, 0.12);
    border-color: rgba(17, 184, 200, 0.24);
}

.vm-landing-plan-card.is-featured {
    border-color: rgba(17, 184, 200, 0.34);
    box-shadow: 0 0 0 1px rgba(17, 184, 200, 0.12), 0 24px 44px rgba(17, 184, 200, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 250, 251, 0.9));
}

.vm-landing-plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.vm-landing-plan-top h3 {
    margin: 0 0 0.3rem;
    color: var(--vm-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

.vm-landing-plan-price {
    text-align: right;
}

.vm-landing-plan-price span,
.vm-landing-plan-price small {
    display: block;
    color: var(--vm-text-soft);
    font-weight: 700;
}

.vm-landing-plan-price strong {
    display: block;
    color: var(--vm-primary-dark);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.1rem 0;
}

.vm-landing-plan-copy {
    color: var(--vm-text-soft);
    line-height: 1.7;
    margin: 0;
}

.vm-landing-plan-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.vm-landing-plan-metrics span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.04);
    border: 1px solid rgba(16, 42, 67, 0.07);
    color: var(--vm-text);
    font-size: 0.84rem;
    font-weight: 700;
}

.vm-landing-plan-actions {
    margin-top: auto;
}

.vm-landing-workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vm-landing-workflow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    margin-bottom: 0.95rem;
    background: linear-gradient(135deg, rgba(17, 184, 200, 0.18), rgba(127, 221, 228, 0.08));
    color: var(--vm-primary-dark);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.vm-landing-faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vm-landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.98), rgba(17, 184, 200, 0.86));
    color: #fff;
}

.vm-landing-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 0.55rem;
}

.vm-landing-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.7;
}

.vm-landing-cta .vm-button {
    background: linear-gradient(135deg, #ffffff, #ecfeff);
    color: var(--vm-navy);
    box-shadow: none;
}

.vm-landing-cta .vm-download-button {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.vm-landing-cta .vm-download-button:hover {
    background: rgba(255, 255, 255, 0.18);
}

@keyframes vm-landing-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 18px, 0) scale(1.03);
    }
}

@media (max-width: 1199.98px) {
    .vm-landing-feature-grid,
    .vm-landing-showcase-grid,
    .vm-landing-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-landing-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-landing-workflow-grid {
        grid-template-columns: 1fr;
    }

    .vm-landing-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .vm-landing-header,
    .vm-landing-cta,
    .vm-landing-split {
        grid-template-columns: 1fr;
    }

    .vm-landing-header,
    .vm-landing-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-landing-nav,
    .vm-landing-actions {
        justify-content: flex-start;
    }

    .vm-landing-brand {
        width: 100%;
    }

    .vm-landing-logo {
        width: 160px;
    }

    .vm-landing-hero-copy,
    .vm-landing-spotlight,
    .vm-landing-section,
    .vm-landing-cta {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .vm-landing-header {
        gap: 0.85rem;
    }

    .vm-landing-nav {
        gap: 0.7rem 1rem;
    }

    .vm-landing-hero-copy h1 {
        max-width: none;
        font-size: clamp(2.4rem, 11vw, 3.5rem);
    }

    .vm-landing-proof-grid,
    .vm-landing-feature-grid,
    .vm-landing-showcase-grid,
    .vm-landing-plan-grid,
    .vm-landing-faq-grid,
    .vm-landing-workflow-grid {
        grid-template-columns: 1fr;
    }

    .vm-landing-plan-top,
    .vm-landing-spotlight-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-landing-plan-price,
    .vm-landing-spotlight-price {
        text-align: left;
    }

    .vm-landing-plan-actions,
    .vm-landing-spotlight-footer,
    .vm-landing-cta-actions {
        width: 100%;
    }

    .vm-landing-plan-actions > *,
    .vm-landing-spotlight-footer > *,
    .vm-landing-cta-actions > * {
        width: 100%;
        justify-content: center;
    }

    .vm-landing-page {
        padding-top: 0.35rem;
    }
}

/* Details / Info blocks */
.vm-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.vm-detail-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 252, 0.96));
    border: 1px solid rgba(219, 229, 232, 0.95);
    border-radius: 18px;
    padding: 0.85rem;
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.04);
}

.vm-detail-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 252, 0.98));
    border: 1px solid rgba(219, 229, 232, 0.95);
    border-radius: 18px;
    padding: 0.85rem;
    height: 100%;
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.04);
}

.vm-detail-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--vm-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.vm-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vm-text);
}

/* Markets */
.vm-market-list,
.vm-market-admin-list,
.vm-stall-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.vm-stall-list {
    gap: 0.6rem;
}

.vm-market-block {
    border: 1px solid rgba(219, 229, 232, 0.95);
    border-radius: 18px;
    padding: 0.85rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 252, 0.98));
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.04);
}

.vm-market-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.vm-market-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--vm-text);
}

.vm-market-subtitle {
    color: var(--vm-text-soft);
    font-size: 0.86rem;
    margin-top: 0.2rem;
}

.vm-stall-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(219, 229, 232, 0.95);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.vm-stall-name {
    font-weight: 700;
    color: var(--vm-text);
}

.vm-market-admin-card {
    border: 1px solid rgba(219, 229, 232, 0.95);
    border-radius: 18px;
    padding: 1rem 1rem 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 252, 0.98));
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.04);
}

.vm-market-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.vm-market-admin-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vm-navy);
    margin-bottom: 0.2rem;
}

.vm-market-admin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-market-admin-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.vm-market-admin-divider {
    height: 1px;
    background: rgba(10, 27, 52, 0.08);
    margin: 1rem 0;
}

/* Login */
.vm-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.vm-login-brand-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(16, 42, 67, 0.96), rgba(20, 69, 97, 0.92)), linear-gradient(135deg, #17324d 0%, #0f7f8a 100%);
    color: #fff;
    padding: 4rem;
    display: flex;
    align-items: flex-end;
}

    .vm-login-brand-panel::before,
    .vm-login-brand-panel::after {
        content: "";
        position: absolute;
        border-radius: 32px;
        transform: rotate(-35deg);
        opacity: 0.22;
    }

    .vm-login-brand-panel::before {
        width: 420px;
        height: 420px;
        background: linear-gradient(135deg, var(--vm-primary), transparent);
        top: -120px;
        right: -80px;
    }

    .vm-login-brand-panel::after {
        width: 380px;
        height: 380px;
        background: linear-gradient(135deg, var(--vm-accent), transparent);
        bottom: -160px;
        left: -100px;
    }

.vm-login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.vm-login-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.vm-login-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.72;
    margin-bottom: 1rem;
}

.vm-login-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 1rem;
}

.vm-login-copy {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
}

.vm-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.vm-login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 229, 232, 0.9);
    border-radius: 28px;
    box-shadow: var(--vm-shadow);
    padding: 2rem;
}

    .vm-login-card h1 {
        font-size: 1.75rem;
        font-weight: 800;
        margin: 0 0 0.35rem;
    }

.vm-login-subtitle {
    color: var(--vm-text-soft);
    margin-bottom: 1.75rem;
}

/* Public signup */
.vm-signup-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: start;
}

.vm-signup-hero {
    padding: 1rem 0.25rem;
}

.vm-signup-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--vm-primary-dark);
    margin-bottom: 0.85rem;
}

.vm-signup-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-copy {
    color: var(--vm-text-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.vm-signup-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vm-signup-feature {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    color: var(--vm-text);
    font-weight: 600;
}

.vm-signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.vm-signup-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vm-signup-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vm-signup-section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-section-copy {
    margin: 0;
    color: var(--vm-text-soft);
}

.vm-signup-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vm-signup-plan-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 18px;
    padding: 1.1rem 1.05rem 1rem;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.vm-signup-plan-card:hover {
    border-color: rgba(17, 184, 200, 0.5);
    box-shadow: var(--vm-shadow-sm);
    transform: translateY(-1px);
}

.vm-signup-plan-card.is-selected {
    border-color: var(--vm-primary);
    box-shadow: 0 0 0 4px rgba(17, 184, 200, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.vm-signup-plan-card.is-popular {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.18), 0 14px 30px rgba(245, 158, 11, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 232, 0.88));
}

.vm-signup-plan-card.is-popular.is-selected {
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.vm-signup-plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vm-signup-plan-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.vm-signup-plan-top > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.vm-signup-plan-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-plan-copy {
    margin-top: 0.3rem;
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-signup-plan-price {
    text-align: right;
    color: var(--vm-secondary);
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.1;
}

.vm-signup-plan-price span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--vm-text-soft);
}

.vm-signup-plan-limits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.vm-signup-plan-limits span,
.vm-signup-plan-modules {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vm-text-soft);
}

.vm-signup-plan-limits span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.04);
    border: 1px solid rgba(16, 42, 67, 0.07);
    color: var(--vm-text);
}

.vm-signup-plan-limits i,
.vm-signup-plan-modules i,
.vm-signup-plan-flag i {
    font-size: 0.95rem;
    line-height: 1;
    color: var(--vm-primary-dark);
}

.vm-signup-plan-modules {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.45;
}

.vm-signup-plan-modules span {
    color: var(--vm-text-soft);
}

.vm-signup-plan-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vm-signup-plan-flag-popular {
    background: rgba(245, 158, 11, 0.14);
    color: #9a5b00;
}

.vm-signup-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.vm-signup-addon-card {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vm-signup-addon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.vm-signup-addon-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-addon-price {
    color: var(--vm-secondary);
    font-weight: 700;
    font-size: 0.92rem;
}

.vm-signup-addon-qty {
    max-width: 180px;
}

.vm-signup-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.vm-signup-actions .vm-button {
    width: auto;
    min-width: 220px;
}

.vm-debug-pre {
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid var(--vm-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    color: var(--vm-text);
    font-size: 0.85rem;
    margin: 0 0 1rem;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .vm-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-trend-hero {
        grid-template-columns: 1fr;
    }

    .vm-signup-plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .vm-login-page {
        grid-template-columns: 1fr;
    }

    .vm-signup-shell {
        grid-template-columns: 1fr;
    }

    .vm-signup-addon-grid {
        grid-template-columns: 1fr;
    }

    .vm-login-brand-panel {
        min-height: 300px;
        padding: 2.5rem 2rem;
    }

    .vm-sidebar {
        display: none;
    }

    .vm-mobile-nav-shell {
        display: block;
    }

    .vm-topbar,
    .vm-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .vm-detail-grid {
        grid-template-columns: 1fr;
    }

    .vm-trend-stat-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    html[data-page="/Pos/Index"] .vm-topbar-title,
    html[data-page="/Pos/Index"] .vm-status-dot,
    html[data-page="/Pos/Index"] .vm-status-text:not(.ms-3),
    html[data-page="/Pos/Index"] .vm-topbar-actions .vm-download-button:not(.vm-logout-button) {
        display: none;
    }

    html[data-page="/Pos/Index"] .vm-topbar {
        justify-content: flex-end;
        min-height: 0;
        padding-top: 0.4rem;
        padding-bottom: 0.2rem;
    }

    html[data-page="/Pos/Index"] .vm-page-header {
        margin-bottom: 0.8rem;
    }

    html[data-page="/Pos/Index"] .vm-page-copy {
        display: none;
    }

    html[data-page="/Pos/Index"] .vm-pos-main > .vm-card:last-of-type {
        display: none;
    }

    .vm-metrics {
        grid-template-columns: 1fr;
    }

    .vm-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1rem;
    }

    .vm-mobile-nav-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-mobile-nav-current {
        text-align: left;
    }

    .vm-page-title {
        font-size: 1.6rem;
    }

    .vm-card-body {
        padding: 0.9rem;
    }

    .vm-barcode-action-bar {
        position: static;
        margin: 0;
        padding: 0;
    }

    .vm-barcode-action-row {
        padding: 0.85rem;
    }

    .vm-barcode-table-shell {
        max-height: none;
    }

    .vm-pos-layout {
        grid-template-columns: 1fr;
    }

    .vm-pos-sticky-card {
        position: static;
        top: auto;
    }

    .vm-pos-quick-add-bar {
        position: sticky;
        top: 0.45rem;
        z-index: 3;
        margin-bottom: 0.75rem;
        padding: 0.8rem;
    }

    .vm-pos-main {
        order: 1;
    }

    .vm-pos-sidebar {
        order: 2;
        margin-bottom: 0.5rem;
    }

    .vm-pos-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .vm-page-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .vm-page-header-actions > * {
        width: 100%;
    }

    .vm-page-header-actions-primary,
    .vm-page-header-actions-secondary {
        min-width: 0;
    }

    .vm-pos-network-badge,
    .vm-pos-header-actions .vm-download-button {
        width: 100%;
        justify-content: center;
    }

    .vm-pos-product-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .vm-pos-product-row .vm-button-inline {
        width: 100%;
    }

    .vm-pos-search-results {
        max-height: 34vh;
    }

    .vm-pos-cart-shell {
        max-height: 34vh;
    }

    .vm-pos-total-row {
        padding: 0.8rem 0.9rem;
    }

    .vm-stall-item,
    .vm-market-header,
    .vm-market-admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-signup-plan-top,
    .vm-signup-addon-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-market-admin-actions {
        width: 100%;
    }

    .vm-trend-headline {
        font-size: 1.55rem;
    }

    .vm-trend-focus-value {
        font-size: 1.55rem;
    }
}

/* VendX Me 2026 design system ------------------------------------------------ */
:root {
    --vm-bg: #f7f8fa;
    --vm-surface: #ffffff;
    --vm-surface-soft: #f3f6f9;
    --vm-border: #dfe4ea;
    --vm-text: #071a35;
    --vm-text-soft: #607087;
    --vm-primary: #087ff5;
    --vm-primary-dark: #075cc4;
    --vm-secondary: #071a35;
    --vm-accent: #00dca8;
    --vm-navy: #071a35;
    --vm-shadow: 0 8px 24px rgba(7, 26, 53, 0.06);
    --vm-shadow-sm: 0 3px 12px rgba(7, 26, 53, 0.05);
    --vm-radius-lg: 12px;
    --vm-radius-md: 9px;
    --vm-radius-sm: 7px;
    --vm-font: Inter, "Segoe UI", Arial, sans-serif;
}

body {
    background: var(--vm-bg);
    color: var(--vm-text);
    font-size: 14px;
}

::selection {
    color: #fff;
    background: var(--vm-primary);
}

.vm-shell {
    background: var(--vm-bg);
}

.vm-sidebar {
    width: 216px;
    padding: 0;
    color: var(--vm-text);
    background: #fff;
    border-right: 1px solid var(--vm-border);
    box-shadow: none;
}

.vm-sidebar-top {
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    margin: 0;
    border-bottom: 1px solid var(--vm-border);
}

.vm-brand-logo {
    width: 170px;
    max-width: 100%;
    max-height: 43px;
    object-fit: contain;
    object-position: left center;
}

.vm-nav {
    gap: 18px;
    padding: 18px 12px 12px;
    margin: 0;
}

.vm-nav-section {
    gap: 6px;
}

.vm-nav-section-title {
    padding: 0 7px;
    color: #8290a3;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.vm-nav-section-links {
    gap: 3px;
}

.vm-nav-link {
    min-height: 36px;
    gap: 9px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #3e4f66;
    font-size: 0.78rem;
    font-weight: 600;
}

.vm-nav-link:hover {
    color: var(--vm-primary-dark);
    background: #f3f8ff;
}

.vm-nav-link.active {
    color: #064caa;
    background: linear-gradient(90deg, #e8f2ff 0%, #effcf9 100%);
    border-color: #d8e9ff;
}

.vm-nav-icon {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    padding: 4px;
    color: #53657c;
    background: #fff;
    border: 1px solid #d7dee7;
    border-radius: 5px;
    font-size: 0.72rem;
}

.vm-nav-link.active .vm-nav-icon {
    color: #fff;
    background: linear-gradient(145deg, #00cfa4, #087ff5);
    border-color: transparent;
}

.vm-sidebar-footer {
    padding: 12px;
    background: #fff;
    border-top: 1px solid var(--vm-border);
}

.vm-release-card {
    padding: 0;
    border: 0;
}

.vm-release-label,
.vm-release-date {
    color: #8290a3;
}

.vm-release-version {
    color: var(--vm-text);
}

.vm-release-link {
    color: var(--vm-primary-dark);
}

.vm-main {
    background: #fff;
}

.vm-topbar {
    min-height: 64px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--vm-border);
    backdrop-filter: blur(12px);
}

.vm-topbar-title {
    font-size: 0.98rem;
    font-weight: 750;
}

.vm-topbar-actions {
    gap: 8px;
    font-size: 0.75rem;
}

.vm-status-dot {
    width: 7px;
    height: 7px;
    background: var(--vm-accent);
    box-shadow: 0 0 0 3px rgba(0, 220, 168, 0.12);
}

.vm-user-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding-left: 8px;
    border-left: 1px solid var(--vm-border);
}

.vm-user-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--vm-text);
    background: #fff;
    border: 1px solid #cad3de;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
}

.vm-user-name {
    max-width: 190px;
    overflow: hidden;
    color: #314158;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vm-content {
    width: 100%;
    max-width: none;
    padding: 28px 32px 48px;
}

.vm-page-header {
    padding: 0 0 20px;
    margin-bottom: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.vm-page-header::before {
    display: none;
}

.vm-page-title,
.vm-dashboard-title,
.vm-trend-headline {
    color: var(--vm-text);
    letter-spacing: -0.035em;
}

.vm-page-title {
    font-size: 1.48rem;
}

.vm-page-copy,
.vm-muted {
    color: var(--vm-text-soft);
}

.vm-card,
.vm-dashboard-panel,
.vm-dashboard-stat-card,
.vm-trend-card,
.vm-pos-main,
.vm-pos-sidebar {
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius-md);
    background: #fff;
    box-shadow: none;
}

.vm-card:hover,
.vm-dashboard-stat-card:hover {
    border-color: #c8d3df;
    box-shadow: var(--vm-shadow-sm);
}

.vm-card-body {
    padding: 20px;
}

.vm-input,
.form-control,
.form-select {
    min-height: 39px;
    color: var(--vm-text);
    background-color: #fff;
    border-color: #cfd7e1;
    border-radius: 6px;
    box-shadow: none;
}

.vm-input:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--vm-primary);
    box-shadow: 0 0 0 3px rgba(8, 127, 245, 0.1);
}

.vm-label {
    color: #35465c;
    font-size: 0.76rem;
}

.vm-button,
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #075fc8, #087ff5);
    border: 1px solid #075fc8;
    border-radius: 6px;
    box-shadow: none;
}

.vm-button:hover,
.btn-primary:hover {
    color: #fff;
    background: #075fc8;
    border-color: #064fa7;
    transform: none;
}

.vm-download-button,
.vm-process-button,
.vm-help-button,
.vm-logout-button,
.btn-outline-primary,
.btn-outline-secondary {
    min-height: 34px;
    padding: 7px 11px;
    color: #34465d;
    background: #fff;
    border: 1px solid #c7d0dc;
    border-radius: 6px;
    box-shadow: none;
}

.vm-download-button:hover,
.vm-process-button:hover,
.vm-help-button:hover,
.vm-logout-button:hover {
    color: var(--vm-primary-dark);
    background: #f5f9ff;
    border-color: #9ebce3;
    transform: none;
}

.vm-table {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.vm-table thead th,
.table thead th {
    padding-top: 11px;
    padding-bottom: 11px;
    color: #56667a;
    background: #f7f8fa;
    border-top: 1px solid var(--vm-border);
    border-bottom: 1px solid #d7dde5;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vm-table tbody td,
.table tbody td {
    padding-top: 13px;
    padding-bottom: 13px;
    color: #23354c;
    border-color: #e5e9ee;
    vertical-align: middle;
}

.vm-table tbody tr:hover,
.table-hover tbody tr:hover {
    background: #f8fbff;
}

.vm-table a:not(.vm-button):not(.vm-download-button),
.table a:not(.btn) {
    color: var(--vm-primary-dark);
    font-weight: 650;
}

.vm-badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
}

.vm-badge-success {
    color: #087653;
    background: #e7f9f2;
    border-color: #b7ead9;
}

.vm-dashboard-hero,
.vm-trend-hero {
    color: var(--vm-text);
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.vm-dashboard-stat-card::before {
    height: 3px;
    background: linear-gradient(90deg, var(--vm-accent), var(--vm-primary));
}

.vm-dashboard-stat-icon {
    color: var(--vm-primary-dark) !important;
    background: #edf6ff !important;
}

.vm-login-page {
    min-height: 100vh;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 32px 20px;
}

.vm-login-brand-panel {
    display: none;
}

.vm-login-form-panel {
    width: 100%;
    min-height: 0;
    padding: 0;
    display: grid;
    place-items: center;
}

.vm-login-logo {
    width: min(260px, 80%);
    max-height: 78px;
    object-fit: contain;
    filter: none;
}

.vm-login-brand-link {
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
}

.vm-login-card {
    width: min(100%, 460px);
    padding: 38px 40px;
    border: 1px solid var(--vm-border);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(7, 26, 53, 0.07);
}

@media (max-width: 575.98px) {
    .vm-login-page {
        padding: 20px 14px;
    }

    .vm-login-card {
        padding: 30px 24px;
    }
}

.vm-landing-page {
    color: var(--vm-text);
    background: #fff;
}

html[data-page="/Index"] .vm-content {
    max-width: none;
    width: 100%;
}

html[data-page="/Auth/Login"] .vm-content {
    padding: 0;
}

.vm-landing-header {
    background: rgba(255, 255, 255, 0.96);
    border-color: var(--vm-border);
    box-shadow: none;
}

.vm-landing-logo {
    width: 190px;
    max-height: 48px;
    object-fit: contain;
}

.vm-landing-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 220, 168, 0.12), transparent 28%),
        linear-gradient(180deg, #f7fbff, #fff);
}

.vm-landing-kicker,
.vm-dashboard-kicker,
.vm-dashboard-panel-eyebrow {
    color: var(--vm-primary-dark);
}

.vm-landing-spotlight {
    background: var(--vm-navy);
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .vm-content {
        padding: 20px 18px 36px;
    }

    .vm-mobile-nav-shell {
        display: block;
        padding: 10px 12px 0;
        background: #fff;
    }

    .vm-mobile-nav {
        border-radius: 7px;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {
    .vm-topbar {
        padding: 10px 14px;
    }

    .vm-status-dot,
    .vm-status-text,
    .vm-user-name,
    .vm-topbar-title {
        display: none;
    }

    .vm-user-menu {
        border-left: 0;
    }

    .vm-content {
        padding-inline: 14px;
    }
}

