﻿:root {
    --vf-topbar-height: 60px;
    --vf-sidebar-width: 280px;
    --vf-bg: #071126;
    --vf-panel: #0d1a35;
    --vf-panel-soft: #132447;
    --vf-border: rgba(162, 187, 255, 0.14);
    --vf-text: #eef4ff;
    --vf-muted: #97a8cb;
    --vf-accent: #3a7bff;
    --vf-accent-soft: rgba(58, 123, 255, 0.16);
    --vf-success: #1fd18b;
    --vf-card-radius: 4px;
    --vf-card-padding: 6px;
}

html,
body {
    min-height: 100%;
}

body.vf-body {
    background:
        radial-gradient(circle at top right, rgba(58, 123, 255, 0.20), transparent 28%),
        linear-gradient(180deg, #06101f 0%, #09162d 100%);
    color: var(--vf-text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
}

.vf-shell {
    min-height: 100vh;
    display: block;
    padding-top: var(--vf-topbar-height);
}

.vf-mobile-bar {
    display: none;
}

.vf-sidebar {
    position: fixed;
    top: var(--vf-topbar-height);
    left: 0;
    bottom: 0;
    width: var(--vf-sidebar-width);
    padding: 24px 18px;
    overflow-y: auto;
    background: rgba(3, 9, 21, 0.76);
    border-right: 1px solid var(--vf-border);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vf-sidebar__brand,
.vf-sidebar__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vf-sidebar__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vf-sidebar__logo,
.vf-sidebar__avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vf-accent) 0%, #1850ca 100%);
    color: #fff;
    font-size: 1.2rem;
}

.vf-sidebar__title {
    font-weight: 700;
}

.vf-sidebar-backdrop {
    display: none;
}

.vf-sidebar__subtitle,
.vf-sidebar__user-role {
    color: var(--vf-muted);
    font-size: 0.9rem;
}

.vf-sidebar__nav {
    gap: 8px;
}

.vf-sidebar__nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--vf-muted);
    padding: 12px 14px;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vf-sidebar__nav .nav-link:hover,
.vf-sidebar__nav .nav-link.active {
    background: var(--vf-accent-soft);
    color: var(--vf-text);
}

.vf-sidebar__submenu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: -2px 0 4px 22px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.vf-sidebar__nav .vf-sidebar__sublink {
    gap: 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.93rem;
}

.vf-sidebar__logout {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffc0cb;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 156, 177, 0.16);
    background: rgba(255, 99, 132, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vf-sidebar__logout:hover {
    color: #ffdbe2;
    background: rgba(255, 99, 132, 0.14);
    border-color: rgba(255, 156, 177, 0.26);
}

.vf-main {
    min-height: calc(100vh - var(--vf-topbar-height));
    margin-left: var(--vf-sidebar-width);
    padding: 24px;
    transition: margin-left 0.28s ease;
}

.vf-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.vf-page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.vf-page-subtitle,
.vf-muted {
    color: var(--vf-muted);
}

.vf-text-link {
    color: var(--vf-text);
}

.vf-text-link:hover,
.vf-text-link:focus {
    color: var(--vf-accent);
}

.vf-card {
    background: linear-gradient(180deg, rgba(12, 27, 54, 0.92), rgba(8, 19, 40, 0.92));
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-card-radius);
    padding: var(--vf-card-padding);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.vf-stat-card {
    height: 100%;
}

.vf-stat-card__label {
    color: var(--vf-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.vf-stat-card__value {
    margin-top: 10px;
    font-size: 2rem;
    font-weight: 700;
}

.vf-grid-placeholder {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--vf-border);
    border-radius: 12px;
    color: var(--vf-muted);
    background: rgba(255, 255, 255, 0.02);
}

.vf-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vf-login__panel {
    width: 100%;
    max-width: 460px;
}

.vf-form-label {
    color: var(--vf-muted);
    font-size: 0.9rem;
}

.vf-input,
.vf-input:focus {
    background: rgba(18, 34, 67, 0.86);
    border-color: var(--vf-border);
    color: var(--vf-text);
}

.vf-input::placeholder {
    color: #7183a9;
}

.vf-footer-note {
    color: var(--vf-muted);
    font-size: 0.9rem;
}

.vf-eyebrow {
    margin-bottom: 8px;
    color: #7fb0ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vf-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vf-metric-card__label {
    color: var(--vf-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vf-metric-card__value {
    margin-top: 12px;
    font-size: 2.2rem;
    font-weight: 700;
}

.vf-filter-card {
    padding: var(--vf-card-padding);
}

.vf-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vf-muted);
    font-size: 0.78rem;
}

.vf-card > form[method="get"].vf-form-grid,
.vf-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: end;
}

.vf-card > form[method="get"].vf-form-grid > div,
.vf-filter-grid > div {
    min-width: 0;
}

.vf-card > form[method="get"].vf-form-grid .vf-form-label,
.vf-filter-grid .vf-form-label {
    display: block;
    margin-bottom: 6px;
    color: var(--vf-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vf-card > form[method="get"].vf-form-grid .vf-input,
.vf-filter-grid .vf-input {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.92rem;
}

.vf-card > form[method="get"].vf-form-grid .vf-form-grid__full,
.vf-card > form[method="get"].vf-form-grid .vf-filter-grid__actions,
.vf-filter-grid .vf-form-grid__full,
.vf-filter-grid .vf-filter-grid__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.vf-card > form[method="get"].vf-form-grid .vf-form-grid__full .btn,
.vf-card > form[method="get"].vf-form-grid .vf-filter-grid__actions .btn,
.vf-filter-grid .vf-form-grid__full .btn,
.vf-filter-grid .vf-filter-grid__actions .btn {
    min-width: 132px;
}

@media (max-width: 1200px) {
    .vf-card > form[method="get"].vf-form-grid,
    .vf-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .vf-card > form[method="get"].vf-form-grid,
    .vf-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .vf-card > form[method="get"].vf-form-grid,
    .vf-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vf-card > form[method="get"].vf-form-grid .vf-form-grid__full,
    .vf-card > form[method="get"].vf-form-grid .vf-filter-grid__actions,
    .vf-filter-grid .vf-form-grid__full,
    .vf-filter-grid .vf-filter-grid__actions {
        justify-content: stretch;
    }

    .vf-card > form[method="get"].vf-form-grid .vf-form-grid__full .btn,
    .vf-card > form[method="get"].vf-form-grid .vf-filter-grid__actions .btn,
    .vf-filter-grid .vf-form-grid__full .btn,
    .vf-filter-grid .vf-filter-grid__actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

.vf-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 24px;
}

.vf-side-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vf-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--vf-text);
    --bs-table-border-color: var(--vf-border);
    --bs-table-hover-color: var(--vf-text);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}

.vf-table thead th {
    color: var(--vf-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom-width: 1px;
}

.vf-table td,
.vf-table th {
    padding-top: 16px;
    padding-bottom: 16px;
    background: transparent;
}

.vf-table-number {
    font-size: 1.1rem;
    font-weight: 700;
}

.vf-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vf-status--scheduled {
    background: rgba(127, 176, 255, 0.16);
    border-color: rgba(127, 176, 255, 0.28);
    color: #b6d1ff;
}

.vf-status--confirmed {
    background: rgba(31, 209, 139, 0.16);
    border-color: rgba(31, 209, 139, 0.26);
    color: #7ff0c0;
}

.vf-status--progress {
    background: rgba(255, 196, 74, 0.16);
    border-color: rgba(255, 196, 74, 0.3);
    color: #ffd86c;
}

.vf-status--completed {
    background: rgba(151, 168, 203, 0.18);
    border-color: rgba(151, 168, 203, 0.3);
    color: #dce4f4;
}

.vf-status--cancelled {
    background: rgba(255, 99, 132, 0.16);
    border-color: rgba(255, 99, 132, 0.3);
    color: #ffacc0;
}

.vf-status--pink {
    background: rgba(255, 120, 191, 0.16);
    border-color: rgba(255, 120, 191, 0.3);
    color: #ffb8df;
}

.vf-status--navy {
    background: rgba(86, 125, 255, 0.16);
    border-color: rgba(86, 125, 255, 0.3);
    color: #bfd0ff;
}

.vf-status--violet {
    background: rgba(170, 118, 255, 0.16);
    border-color: rgba(170, 118, 255, 0.3);
    color: #d6bdff;
}

.vf-status--teal {
    background: rgba(58, 200, 186, 0.16);
    border-color: rgba(58, 200, 186, 0.3);
    color: #9cece3;
}

.vf-status--orange {
    background: rgba(255, 145, 77, 0.16);
    border-color: rgba(255, 145, 77, 0.3);
    color: #ffc49e;
}

.vf-empty-state {
    padding: 32px 12px;
    text-align: center;
    color: var(--vf-muted);
}

.vf-occupancy-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.vf-occupancy-toolbar__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vf-occupancy-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vf-occupancy-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vf-border);
    color: var(--vf-muted);
    font-size: 0.9rem;
}

.vf-occupancy-legend__item strong {
    color: var(--vf-text);
}

.vf-occupancy-legend__swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.vf-occupancy-legend__swatch--available {
    background: #1fd18b;
}

.vf-occupancy-legend__swatch--occupied {
    background: #ff6b6b;
}

.vf-occupancy-legend__swatch--reserved {
    background: #ffd166;
}

.vf-occupancy-legend__swatch--cleaning {
    background: #58a6ff;
}

.vf-occupancy-legend__swatch--unavailable {
    background: #8e9dbd;
}

.vf-occupancy-groups {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vf-occupancy-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vf-occupancy-group__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.vf-occupancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 14px;
}

.vf-occupancy-tile {
    min-height: 128px;
    border-radius: 16px;
    border: 1px solid transparent;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vf-occupancy-tile__status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
}

.vf-occupancy-tile__number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.vf-occupancy-tile__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vf-occupancy-tile__code {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.88;
}

.vf-occupancy-tile__name {
    font-size: 0.85rem;
    line-height: 1.2;
}

.vf-occupancy-tile--available {
    background: linear-gradient(180deg, rgba(31, 209, 139, 0.24), rgba(8, 68, 49, 0.92));
    border-color: rgba(31, 209, 139, 0.36);
}

.vf-occupancy-tile--occupied {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.24), rgba(104, 25, 25, 0.92));
    border-color: rgba(255, 107, 107, 0.34);
}

.vf-occupancy-tile--reserved {
    background: linear-gradient(180deg, rgba(255, 209, 102, 0.24), rgba(110, 78, 16, 0.92));
    border-color: rgba(255, 209, 102, 0.36);
}

.vf-occupancy-tile--cleaning {
    background: linear-gradient(180deg, rgba(88, 166, 255, 0.24), rgba(15, 56, 110, 0.92));
    border-color: rgba(88, 166, 255, 0.34);
}

.vf-occupancy-tile--unavailable {
    background: linear-gradient(180deg, rgba(142, 157, 189, 0.24), rgba(44, 54, 77, 0.92));
    border-color: rgba(142, 157, 189, 0.32);
}

.vf-mini-list,
.vf-alert-stack,
.vf-check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vf-mini-list__item,
.vf-alert-box,
.vf-check-list__item,
.vf-summary-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vf-mini-list__item,
.vf-alert-box,
.vf-summary-list__item {
    padding: 14px 16px;
    border: 1px solid var(--vf-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.vf-alert-box__icon,
.vf-section-heading__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 123, 255, 0.14);
    color: #8eb7ff;
}

.vf-form-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#vfPageLoadingBar {
    position: fixed;
    top: var(--vf-topbar-height);
    left: 0;
    height: 3px;
    width: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1048;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.24);
    transform: translateX(0);
    transition: opacity 0.2s ease;
}

#vfPageLoadingBar.is-loading {
    opacity: 1;
    animation: vfPageLoadingBarProgress 1.15s ease-in-out infinite;
}

@keyframes vfPageLoadingBarProgress {
    0% {
        left: 0;
        width: 0;
    }

    30% {
        left: 0;
        width: 42%;
    }

    65% {
        left: 32%;
        width: 52%;
    }

    100% {
        left: 100%;
        width: 0;
    }
}

.vf-form-section + .vf-form-section {
    padding-top: 24px;
    border-top: 1px solid var(--vf-border);
}

.vf-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.vf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vf-textarea {
    min-height: 150px;
    resize: vertical;
}

.vf-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--vf-border);
}

.vf-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vf-summary-list__item span {
    color: var(--vf-muted);
    font-size: 0.78rem;
}

.vf-summary-list__item strong {
    text-align: right;
}

.vf-check-list__item {
    justify-content: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--vf-text);
}

.vf-check-list__item i {
    color: var(--vf-success);
}

.vf-summary-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vf-border);
}

.vf-metric-card__value--small {
    font-size: 1.45rem;
    line-height: 1.3;
}

.vf-route-timeline,
.vf-checkin-board,
.vf-load-list,
.vf-report-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vf-checkin-quick-card {
    margin-bottom: 24px;
}

.vf-quick-checkin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(180px, 0.7fr) minmax(220px, 0.9fr) minmax(180px, 0.7fr);
    gap: 16px;
    align-items: end;
}

.vf-quick-checkin-actions {
    display: flex;
    align-items: end;
}

.vf-pax-stepper .btn {
    min-width: 46px;
}

.vf-pax-stepper .form-control {
    font-weight: 700;
}

.vf-quick-checkin-feedback {
    margin-top: 16px;
    margin-bottom: 0;
}

.vf-route-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.vf-route-step__marker {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vf-border);
}

.vf-route-step__content {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--vf-border);
    background: rgba(255, 255, 255, 0.03);
}

.vf-route-step--live .vf-route-step__marker {
    background: rgba(255, 196, 74, 0.14);
    color: #ffd36f;
}

.vf-route-step--done .vf-route-step__marker {
    background: rgba(31, 209, 139, 0.14);
    color: #68efbb;
}

.vf-route-step--pending .vf-route-step__marker {
    color: #9bc0ff;
}

.vf-checkin-row,
.vf-report-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr) minmax(160px, 0.6fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--vf-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.vf-checkin-row.is-hover,
.vf-report-list__item:hover {
    transform: translateY(-1px);
    border-color: rgba(127, 176, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.vf-checkin-row__main,
.vf-checkin-row__meta,
.vf-checkin-row__status,
.vf-checkin-row__actions {
    min-width: 0;
}

.vf-checkin-row__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vf-load-item {
    padding: 16px 18px;
    border: 1px solid var(--vf-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.vf-loadbar-track {
    width: 100%;
    height: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.vf-loadbar {
    height: 100%;
    border-radius: 8px;
}

.vf-loadbar--stable {
    background: linear-gradient(90deg, #2b7fff 0%, #67b2ff 100%);
}

.vf-loadbar--warning {
    background: linear-gradient(90deg, #f0a522 0%, #ffd36f 100%);
}

.vf-loadbar--critical {
    background: linear-gradient(90deg, #f0566b 0%, #ff9cb1 100%);
}

.vf-report-list__item {
    grid-template-columns: minmax(0, 1fr) auto;
    color: var(--vf-text);
}

@media (max-width: 991.98px) {
    .vf-topbar__brand {
        display: none;
        padding-left: 0;
    }

    .vf-shell {
        padding-top: 0;
    }

    .vf-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 1035;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px;
        background: rgba(3, 9, 21, 0.92);
        border-bottom: 1px solid var(--vf-border);
        backdrop-filter: blur(14px);
    }

    .vf-mobile-bar__brand {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
        min-width: 0;
    }

    .vf-mobile-bar__logo {
        display: block;
        width: 156px;
        max-width: 100%;
        max-height: 44px;
        height: auto;
        object-fit: contain;
    }

    .vf-mobile-bar__toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .vf-main {
        margin-left: 0;
        min-height: auto;
    }

    .vf-topbar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 24px;
        padding: 18px 18px 16px;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__item--alerts {
        justify-self: stretch;
    }

    .vf-topbar__alerts,
    .vf-topbar__prefs,
    .vf-topbar__prefs-card,
    .vf-topbar__logout {
        width: 100%;
        max-width: 100%;
    }

    .vf-topbar__actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    .vf-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1045;
        width: min(320px, calc(100vw - 32px));
        max-width: 100%;
        border-right: 1px solid var(--vf-border);
        border-bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.24s ease;
        overflow-y: auto;
        box-shadow: 24px 0 48px rgba(0, 0, 0, 0.32);
        background: rgba(3, 9, 21, 0.96);
        backdrop-filter: blur(16px);
    }

    body.vf-sidebar-open {
        overflow: hidden;
    }

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

    .vf-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        display: block;
        opacity: 0;
        pointer-events: none;
        background: rgba(3, 9, 21, 0.52);
        transition: opacity 0.24s ease;
    }

    body.vf-sidebar-open .vf-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    body.vf-body[data-vf-theme="light"] .vf-mobile-bar {
        background: rgba(255, 255, 255, 0.94);
        border-bottom-color: rgba(58, 90, 148, 0.14);
        box-shadow: 0 10px 18px rgba(44, 73, 124, 0.1);
    }

    body.vf-body[data-vf-theme="light"] .vf-topbar {
        background: rgba(255, 255, 255, 0.88);
    }

    body.vf-body[data-vf-theme="light"] .vf-sidebar {
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 24px 0 48px rgba(44, 73, 124, 0.16);
    }

    body.vf-body[data-vf-theme="light"] .vf-sidebar-backdrop {
        background: rgba(20, 33, 61, 0.18);
    }
}
@media (max-width: 767.98px) {
    .vf-topbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: -18px -18px 18px;
        padding: 14px 18px 16px;
        border-radius: 0;
    }

    .vf-topbar__item {
        grid-column: auto;
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__prefs-card {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
        width: 100%;
    }

    .vf-topbar__logout {
        justify-content: center;
        width: 100%;
    }
}

.vf-form-grid__full {
    grid-column: 1 / -1;
}

.vf-origin-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vf-origin-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1.4fr) minmax(120px, 0.5fr) minmax(140px, 0.5fr);
    gap: 16px;
    align-items: end;
    padding: 16px;
    border: 1px solid var(--vf-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.vf-origin-row__action {
    display: flex;
    align-items: end;
}

.vf-origin-total {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--vf-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.vf-origin-total.is-valid {
    border-color: rgba(31, 209, 139, 0.26);
    background: rgba(31, 209, 139, 0.08);
}

.vf-origin-total.is-invalid {
    border-color: rgba(255, 99, 132, 0.24);
    background: rgba(255, 99, 132, 0.08);
}
body.vf-body,
.vf-sidebar,
.vf-card,
.vf-input,
.vf-mini-list__item,
.vf-alert-box,
.vf-summary-list__item,
.vf-route-step__content,
.vf-route-step__marker,
.vf-load-item,
.vf-checkin-row,
.vf-report-list__item,
.vf-origin-row,
.vf-origin-total {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vf-login__card {
    padding: 32px;
}

.vf-login__brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.vf-login__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.vf-login__subtitle {
    max-width: 44ch;
    margin-bottom: 28px;
}

.vf-login__preferences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vf-login__meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--vf-border);
    color: var(--vf-muted);
    font-size: 0.94rem;
}

.vf-login__meta i {
    color: var(--vf-accent);
}

.vf-login__card .alert {
    border-radius: 14px;
}

body.vf-body[data-vf-theme="light"] {
    --vf-bg: #eef4ff;
    --vf-panel: #ffffff;
    --vf-panel-soft: #f4f7ff;
    --vf-border: rgba(58, 90, 148, 0.18);
    --vf-text: #14213d;
    --vf-muted: #60708f;
    --vf-accent: #2d6bff;
    --vf-accent-soft: rgba(45, 107, 255, 0.12);
    --vf-success: #149865;
    background:
        radial-gradient(circle at top right, rgba(45, 107, 255, 0.16), transparent 24%),
        linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
    color: var(--vf-text);
}

body.vf-body[data-vf-theme="light"] .vf-sidebar {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset -1px 0 0 var(--vf-border);
}

body.vf-body[data-vf-theme="light"] .vf-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.96));
    box-shadow: 0 18px 40px rgba(44, 73, 124, 0.12);
}

body.vf-body[data-vf-theme="light"] .vf-grid-placeholder,
body.vf-body[data-vf-theme="light"] .vf-mini-list__item,
body.vf-body[data-vf-theme="light"] .vf-alert-box,
body.vf-body[data-vf-theme="light"] .vf-summary-list__item,
body.vf-body[data-vf-theme="light"] .vf-route-step__content,
body.vf-body[data-vf-theme="light"] .vf-checkin-row,
body.vf-body[data-vf-theme="light"] .vf-report-list__item,
body.vf-body[data-vf-theme="light"] .vf-load-item,
body.vf-body[data-vf-theme="light"] .vf-summary-note,
body.vf-body[data-vf-theme="light"] .vf-origin-row,
body.vf-body[data-vf-theme="light"] .vf-origin-total {
    background: rgba(45, 107, 255, 0.04);
}

body.vf-body[data-vf-theme="light"] .vf-route-step__marker,
body.vf-body[data-vf-theme="light"] .vf-loadbar-track {
    background: rgba(20, 33, 61, 0.06);
}

body.vf-body[data-vf-theme="light"] .vf-input,
body.vf-body[data-vf-theme="light"] .vf-input:focus {
    background: #ffffff;
    border-color: rgba(58, 90, 148, 0.22);
    color: var(--vf-text);
    box-shadow: none;
}

body.vf-body[data-vf-theme="light"] .vf-input::placeholder {
    color: #8090ad;
}

body.vf-body[data-vf-theme="light"] .vf-sidebar__nav .nav-link,
body.vf-body[data-vf-theme="light"] .vf-sidebar__subtitle,
body.vf-body[data-vf-theme="light"] .vf-sidebar__user-role,
body.vf-body[data-vf-theme="light"] .vf-muted,
body.vf-body[data-vf-theme="light"] .vf-page-subtitle,
body.vf-body[data-vf-theme="light"] .vf-form-label,
body.vf-body[data-vf-theme="light"] .vf-footer-note,
body.vf-body[data-vf-theme="light"] .vf-inline-note,
body.vf-body[data-vf-theme="light"] .vf-summary-list__item span,
body.vf-body[data-vf-theme="light"] .vf-table thead th,
body.vf-body[data-vf-theme="light"] .vf-stat-card__label,
body.vf-body[data-vf-theme="light"] .vf-metric-card__label {
    color: var(--vf-muted);
}

body.vf-body[data-vf-theme="light"] .vf-sidebar__nav .nav-link:hover,
body.vf-body[data-vf-theme="light"] .vf-sidebar__nav .nav-link.active {
    color: var(--vf-text);
}

body.vf-body[data-vf-theme="light"] .vf-sidebar__submenu {
    border-left-color: rgba(28, 36, 55, 0.12);
}

body.vf-body[data-vf-theme="light"] .vf-sidebar__logout {
    color: #b3294b;
    background: rgba(220, 53, 69, 0.06);
    border-color: rgba(220, 53, 69, 0.14);
}

body.vf-body[data-vf-theme="light"] .vf-sidebar__logout:hover {
    color: #8b1836;
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
}

body.vf-body[data-vf-theme="light"] .btn-outline-light {
    color: var(--vf-text);
    border-color: var(--vf-border);
    background: transparent;
}

body.vf-body[data-vf-theme="light"] .btn-outline-light:hover,
body.vf-body[data-vf-theme="light"] .btn-outline-light:focus,
body.vf-body[data-vf-theme="light"] .btn-outline-light:active {
    color: var(--vf-text);
    border-color: rgba(45, 107, 255, 0.22);
    background: var(--vf-accent-soft);
}

body.vf-body[data-vf-theme="light"] .vf-status {
    box-shadow: none;
}

body.vf-body[data-vf-theme="light"] .vf-status--scheduled {
    background: rgba(45, 107, 255, 0.1);
    border-color: rgba(45, 107, 255, 0.2);
    color: #245fbe;
}

body.vf-body[data-vf-theme="light"] .vf-status--confirmed {
    background: rgba(22, 163, 102, 0.1);
    border-color: rgba(22, 163, 102, 0.2);
    color: #1f7d57;
}

body.vf-body[data-vf-theme="light"] .vf-status--progress {
    background: rgba(244, 170, 0, 0.1);
    border-color: rgba(244, 170, 0, 0.2);
    color: #ad6e00;
}

body.vf-body[data-vf-theme="light"] .vf-status--completed {
    background: rgba(116, 129, 156, 0.1);
    border-color: rgba(116, 129, 156, 0.18);
    color: #5e687b;
}

body.vf-body[data-vf-theme="light"] .vf-status--cancelled {
    background: rgba(216, 78, 113, 0.1);
    border-color: rgba(216, 78, 113, 0.18);
    color: #a33d56;
}

body.vf-body[data-vf-theme="light"] .vf-status--pink {
    background: rgba(223, 90, 166, 0.1);
    border-color: rgba(223, 90, 166, 0.18);
    color: #b14584;
}

body.vf-body[data-vf-theme="light"] .vf-status--navy {
    background: rgba(52, 86, 201, 0.1);
    border-color: rgba(52, 86, 201, 0.18);
    color: #2f4ca6;
}

body.vf-body[data-vf-theme="light"] .vf-status--violet {
    background: rgba(136, 84, 208, 0.1);
    border-color: rgba(136, 84, 208, 0.18);
    color: #7442ad;
}

body.vf-body[data-vf-theme="light"] .vf-status--teal {
    background: rgba(19, 153, 143, 0.1);
    border-color: rgba(19, 153, 143, 0.18);
    color: #0e7c73;
}

body.vf-body[data-vf-theme="light"] .vf-status--orange {
    background: rgba(232, 126, 28, 0.1);
    border-color: rgba(232, 126, 28, 0.18);
    color: #ad620f;
}

body.vf-body[data-vf-theme="light"] .text-bg-light {
    color: var(--vf-text) !important;
    background-color: rgba(45, 107, 255, 0.08) !important;
    border: 1px solid var(--vf-border);
}

body.vf-body[data-vf-theme="light"] .alert-info {
    color: #0c558e;
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.16);
}

body.vf-body[data-vf-theme="light"] .alert-danger {
    color: #8a1833;
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.16);
}

@media (max-width: 991.98px) {
    .vf-topbar__brand {
        display: none;
        padding-left: 0;
    }

    .vf-shell {
        padding-top: 0;
    }

    .vf-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 1035;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px;
        background: rgba(3, 9, 21, 0.92);
        border-bottom: 1px solid var(--vf-border);
        backdrop-filter: blur(14px);
    }

    .vf-mobile-bar__brand {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
        min-width: 0;
    }

    .vf-mobile-bar__logo {
        display: block;
        width: 156px;
        max-width: 100%;
        max-height: 44px;
        height: auto;
        object-fit: contain;
    }

    .vf-mobile-bar__toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .vf-main {
        margin-left: 0;
        min-height: auto;
    }

    .vf-topbar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 24px;
        padding: 18px 18px 16px;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__item--alerts {
        justify-self: stretch;
    }

    .vf-topbar__alerts,
    .vf-topbar__prefs,
    .vf-topbar__prefs-card,
    .vf-topbar__logout {
        width: 100%;
        max-width: 100%;
    }

    .vf-topbar__actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    .vf-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1045;
        width: min(320px, calc(100vw - 32px));
        max-width: 100%;
        border-right: 1px solid var(--vf-border);
        border-bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.24s ease;
        overflow-y: auto;
        box-shadow: 24px 0 48px rgba(0, 0, 0, 0.32);
        background: rgba(3, 9, 21, 0.96);
        backdrop-filter: blur(16px);
    }

    body.vf-sidebar-open {
        overflow: hidden;
    }

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

    .vf-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        display: block;
        opacity: 0;
        pointer-events: none;
        background: rgba(3, 9, 21, 0.52);
        transition: opacity 0.24s ease;
    }

    body.vf-sidebar-open .vf-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 767.98px) {
    .vf-topbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: -18px -18px 18px;
        padding: 14px 18px 16px;
        border-radius: 0;
    }

    .vf-topbar__item {
        grid-column: auto;
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__prefs-card {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
        width: 100%;
    }

    .vf-topbar__logout {
        justify-content: center;
        width: 100%;
    }
}
.vf-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    display: grid;
    grid-template-columns: var(--vf-sidebar-width) minmax(150px, 0.8fr) minmax(170px, 0.95fr) minmax(220px, 1.1fr) auto;
    gap: 10px;
    align-items: stretch;
    margin: 0;
    padding: 9px 16px 6px;
    border-color: var(--vf-border);
    border-style: solid;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(6, 16, 31, 0.9);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(18px);
}

.vf-topbar__item,
.vf-topbar__actions {
    min-width: 0;
}
.vf-topbar__brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    padding-left: 16px;
}

.vf-topbar__sidebar-toggle {
    display: none;
}

.vf-topbar__brand-mark {
    width: 156px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.vf-topbar__brand-image {
    width: 100%;
    max-width: 156px;
    max-height: 44px;
    height: auto;
    margin-left: -8px;
    object-fit: contain;
    background: transparent;
}

.vf-topbar__brand-initials {
    color: var(--vf-text);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.vf-topbar__brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vf-topbar__brand-title {
    color: var(--vf-text);
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vf-topbar__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 1px 0;
}

.vf-topbar__item--alerts {
    align-items: center;
    justify-self: start;
}

.vf-topbar__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--vf-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vf-topbar__label .bi {
    font-size: 0.72rem;
    line-height: 1;
}

.vf-topbar__value {
    color: var(--vf-text);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vf-topbar__alerts {
    width: 250px;
    max-width: 100%;
    border-radius: 8px;
}

.vf-topbar__alert {
    display: inline-flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 42px;
    padding: 5px 12px;
    border: 1px solid var(--vf-border);
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.3;
}

.vf-topbar__alert span:last-child {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vf-topbar__alert--neutral {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 8px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--vf-muted);
    font-size: 0.8rem;
    line-height: 1.1;
}

.vf-topbar__alert--neutral .bi {
    font-size: 0.78rem;
}

.vf-topbar__alert--success {
    background: rgba(31, 209, 139, 0.12);
    border-color: rgba(31, 209, 139, 0.18);
    color: #83f3c7;
}

.vf-topbar__alert--warning {
    background: rgba(255, 196, 74, 0.12);
    border-color: rgba(255, 196, 74, 0.18);
    color: #ffd36f;
}

.vf-topbar__alert--danger {
    background: rgba(255, 99, 132, 0.12);
    border-color: rgba(255, 99, 132, 0.18);
    color: #ffb1bf;
}

.vf-topbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.vf-topbar__prefs {
    margin: 0;
}

.vf-topbar__prefs-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(116px, 1fr));
    gap: 6px;
    align-items: center;
    width: 250px;
    min-width: 250px;
    max-width: 100%;
    padding: 5px 6px;
    border: 1px solid var(--vf-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.vf-topbar__prefs-field {
    display: flex;
    min-width: 0;
}

.vf-topbar__prefs-control {
    position: relative;
    width: 100%;
}

.vf-topbar__prefs-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--vf-muted);
    font-size: 0.78rem;
    pointer-events: none;
    z-index: 1;
}

.vf-topbar__select,
.vf-topbar__select:focus {
    min-width: 0;
    height: 30px;
    padding-top: 0.18rem;
    padding-bottom: 0.18rem;
    padding-left: 2rem;
    font-size: 0.72rem;
    box-shadow: none;
}

.vf-topbar__logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    justify-content: center;
    padding: 5px 12px;
    white-space: nowrap;
}

body.vf-body[data-vf-theme="light"] .vf-topbar {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 18px rgba(44, 73, 124, 0.1);
}

body.vf-body[data-vf-theme="light"] .vf-topbar__alert--neutral {
    background: rgba(45, 107, 255, 0.03);
    border-color: rgba(58, 90, 148, 0.14);
    color: var(--vf-muted);
}

body.vf-body[data-vf-theme="light"] .vf-topbar__alert--neutral .bi {
    font-size: 0.78rem;
}

body.vf-body[data-vf-theme="light"] .vf-topbar__prefs-card {
    background: rgba(45, 107, 255, 0.04);
    border-color: rgba(58, 90, 148, 0.14);
}

body.vf-body[data-vf-theme="light"] .vf-topbar__alert--success {
    color: #0f7a52;
}

body.vf-body[data-vf-theme="light"] .vf-topbar__alert--warning {
    color: #9a6300;
}

body.vf-body[data-vf-theme="light"] .vf-topbar__alert--danger {
    color: #9d1735;
}

@media (max-width: 1199.98px) {
    .vf-topbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__actions {
        justify-content: space-between;
    }
}

@media (min-width: 1200px) {
    .vf-sidebar {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.28s ease, visibility 0.28s ease;
    }

    .vf-topbar {
        transition: grid-template-columns 0.28s ease, padding-left 0.28s ease;
    }

    .vf-topbar__sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
        border: 1px solid var(--vf-border);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        color: var(--vf-muted);
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.28s ease;
    }

    .vf-topbar__sidebar-toggle:hover {
        background: var(--vf-accent-soft);
        border-color: rgba(58, 123, 255, 0.24);
        color: var(--vf-text);
    }

    .vf-topbar__sidebar-toggle .bi {
        font-size: 1rem;
        line-height: 1;
    }

    body.vf-sidebar-desktop-collapsed .vf-sidebar {
        transform: translateX(calc(-1 * var(--vf-sidebar-width)));
        visibility: hidden;
        pointer-events: none;
    }

    body.vf-sidebar-desktop-collapsed .vf-main {
        margin-left: 0;
    }

    body.vf-sidebar-desktop-collapsed .vf-topbar {
        grid-template-columns: max-content minmax(150px, 0.8fr) minmax(170px, 0.95fr) minmax(220px, 1.1fr) auto;
    }

    body.vf-sidebar-desktop-collapsed .vf-topbar__brand {
        padding-left: 0;
    }

    body.vf-sidebar-desktop-collapsed .vf-topbar__sidebar-toggle {
        transform: translateX(-4px);
    }

    body.vf-body[data-vf-theme="light"] .vf-topbar__sidebar-toggle {
        background: rgba(45, 107, 255, 0.04);
        border-color: rgba(58, 90, 148, 0.14);
    }
}

@media (max-width: 991.98px) {
    .vf-topbar__brand {
        display: none;
        padding-left: 0;
    }

    .vf-shell {
        padding-top: 0;
    }

    .vf-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 1035;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px;
        background: rgba(3, 9, 21, 0.92);
        border-bottom: 1px solid var(--vf-border);
        backdrop-filter: blur(14px);
    }

    .vf-mobile-bar__brand {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
        min-width: 0;
    }

    .vf-mobile-bar__logo {
        display: block;
        width: 156px;
        max-width: 100%;
        max-height: 44px;
        height: auto;
        object-fit: contain;
    }

    .vf-mobile-bar__toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .vf-main {
        margin-left: 0;
        min-height: auto;
    }

    .vf-topbar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 24px;
        padding: 18px 18px 16px;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__item--alerts {
        justify-self: stretch;
    }

    .vf-topbar__alerts,
    .vf-topbar__prefs,
    .vf-topbar__prefs-card,
    .vf-topbar__logout {
        width: 100%;
        max-width: 100%;
    }

    .vf-topbar__actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    .vf-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1045;
        width: min(320px, calc(100vw - 32px));
        max-width: 100%;
        border-right: 1px solid var(--vf-border);
        border-bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.24s ease;
        overflow-y: auto;
        box-shadow: 24px 0 48px rgba(0, 0, 0, 0.32);
        background: rgba(3, 9, 21, 0.96);
        backdrop-filter: blur(16px);
    }

    body.vf-sidebar-open {
        overflow: hidden;
    }

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

    .vf-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1040;
        display: block;
        opacity: 0;
        pointer-events: none;
        background: rgba(3, 9, 21, 0.52);
        transition: opacity 0.24s ease;
    }

    body.vf-sidebar-open .vf-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 767.98px) {
    .vf-topbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: -18px -18px 18px;
        padding: 14px 18px 16px;
        border-radius: 0;
    }

    .vf-topbar__item {
        grid-column: auto;
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__prefs-card {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
        width: 100%;
    }

    .vf-topbar__logout {
        justify-content: center;
        width: 100%;
    }
}






























.vf-topbar__panel {
    display: contents;
}

.vf-topbar__drawer-tab,
.vf-topbar__drawer-close {
    display: none;
}

@media (max-width: 991.98px) {
    .vf-topbar {
        position: relative;
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        overflow: visible;
        z-index: 1034;
    }

    .vf-topbar__panel {
        position: absolute;
        top: -26px;
        left: 8px;
        right: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
        padding: 16px;
        border: 1px solid var(--vf-border);
        border-radius: 0 0 18px 18px;
        background: rgba(6, 16, 31, 0.98);
        box-shadow: 0 22px 38px rgba(0, 0, 0, 0.22);
        transform: translateY(-18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
    }

    .vf-topbar__drawer-tab {
        position: absolute;
        top: -26px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 24px;
        border: 1px solid var(--vf-border);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background: rgba(6, 16, 31, 0.96);
        color: var(--vf-muted);
        box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    }

    .vf-topbar__drawer-close {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: -10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 28px;
        border: 1px solid var(--vf-border);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.03);
        color: var(--vf-muted);
    }

    .vf-topbar__item--alerts,
    .vf-topbar__actions {
        grid-column: 1 / -1;
    }

    .vf-topbar__item {
        min-width: 0;
    }

    .vf-topbar__alerts,
    .vf-topbar__prefs,
    .vf-topbar__prefs-card,
    .vf-topbar__logout {
        width: 100%;
        max-width: 100%;
    }

    .vf-topbar__actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.vf-topbar-open .vf-topbar__panel {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.vf-topbar-open .vf-topbar__drawer-tab {
        opacity: 0;
        pointer-events: none;
    }

    body.vf-body[data-vf-theme="light"] .vf-topbar__panel {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 38px rgba(44, 73, 124, 0.16);
    }

    body.vf-body[data-vf-theme="light"] .vf-topbar__drawer-tab {
        background: rgba(255, 255, 255, 0.96);
        border-color: rgba(58, 90, 148, 0.14);
    }

    body.vf-body[data-vf-theme="light"] .vf-topbar__drawer-close {
        background: rgba(45, 107, 255, 0.04);
        border-color: rgba(58, 90, 148, 0.14);
    }
}

@media (max-width: 767.98px) {
    .vf-topbar__panel {
        left: 6px;
        right: 6px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vf-topbar__prefs-card {
        grid-template-columns: 1fr 1fr;
    }
}















