/* _content/vectris/App.razor.rz.scp.css */
.loading-text[b-f5ykpcigag] {
    color: #D32F2F;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    overflow: hidden;
    border-right: .15em solid #D32F2F;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing-b-f5ykpcigag 1.5s steps(30, end), blink-caret-b-f5ykpcigag .75s step-end infinite;
}

@keyframes typing-b-f5ykpcigag {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret-b-f5ykpcigag {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: #D32F2F;
    }
}

.scanner-line[b-f5ykpcigag] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(211, 47, 47, 0.2);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
    animation: scan-b-f5ykpcigag 3s linear infinite;
    z-index: 9999;
}

@keyframes scan-b-f5ykpcigag {
    from {
        top: 0%
    }

    to {
        top: 100%
    }
}
/* _content/vectris/Shared/MainLayout.razor.rz.scp.css */
/* thin vertical trigger */
.drawer-trigger[b-kzxp73ybha] {
    position: fixed;
    left: 0;
    top: 40%;
    width: 18px;
    height: 80px;

    background: #1e293b;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0 6px 6px 0;
    cursor: pointer;

    z-index: 1300;
}

/* drawer width */
.vectris-drawer[b-kzxp73ybha] {
    width: 260px;
}

/* ensure content uses full width */
.vectris-main[b-kzxp73ybha] {
    padding: 16px;
}

/* thin invisible trigger (left edge) */
.nav-trigger[b-kzxp73ybha] {
    position: fixed;
    left: 0;
    top: 0;
    width: 6px;
    height: 100vh;

    z-index: 1000;
}

/* nav wrapper */
.nav-container[b-kzxp73ybha] {
    position: fixed;
    top: 0;
    left: 0;

    width: 250px;
    height: 100vh;

    transform: translateX(-100%);
    transition: transform 0.2s ease;

    z-index: 1100;

    pointer-events: none; /* CRITICAL: prevent blocking */
}

/* visible */
.nav-container.open[b-kzxp73ybha] {
    transform: translateX(0);
    pointer-events: auto;
}

/* content */
.main-content[b-kzxp73ybha] {
    padding: 16px;
}

/* thin trigger at very top */
.top-trigger[b-kzxp73ybha] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1000;
}

/* navbar container */
.top-nav[b-kzxp73ybha] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
    z-index: 1100;
    pointer-events: none; /* CRITICAL */
}

    /* visible */
    .top-nav.open[b-kzxp73ybha] {
        transform: translateY(0);
        pointer-events: auto;
    }

/* page content */
.main-content[b-kzxp73ybha] {
    padding: 16px;
}
/* _content/vectris/Shared/NavMenu.razor.rz.scp.css */
/* =========================
   NAVBAR LIGHT MODE
========================= */
.navbar-light-mode[b-k0clpz6xot] {
    background: linear-gradient(180deg, rgba(240,242,245,0.98), rgba(220,225,235,0.97)) !important;
    border-bottom: 1px solid rgba(0,0,0,0.10);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

    /* Text colors for light mode */
    .navbar-light-mode .nav-link[b-k0clpz6xot],
    .navbar-light-mode .navbar-brand[b-k0clpz6xot],
    .navbar-light-mode .logo-icon[b-k0clpz6xot] {
        color: #1a1d21 !important;
    }

    /* Dropdown in light mode */
    .navbar-light-mode .dropdown-menu[b-k0clpz6xot] {
        background: linear-gradient(180deg, rgba(240,242,245,0.99), rgba(225,230,240,0.99));
        border: 1px solid rgba(0,0,0,0.10);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.6);
    }

    .navbar-light-mode .dropdown-item[b-k0clpz6xot] {
        color: #1a1d21 !important;
    }

        .navbar-light-mode .dropdown-item:hover[b-k0clpz6xot] {
            background: rgba(220, 53, 69, 0.12);
            color: #7a0010 !important;
        }

    /* Right icons in light mode */
    .navbar-light-mode .text-white[b-k0clpz6xot],
    .navbar-light-mode .nav-link.text-white[b-k0clpz6xot] {
        color: #1a1d21 !important;
    }

    .navbar-light-mode .text-danger[b-k0clpz6xot] {
        color: #dc3545 !important;
    }

/* =========================
   NAVBAR DARK MODE (explicit, matches original)
========================= */
.navbar-dark-mode[b-k0clpz6xot] {
    background: linear-gradient(180deg, rgba(26,29,33,0.98), rgba(15,23,42,0.95)) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
/* =========================
   TOP NAVBAR
========================= */
.top-row-container[b-k0clpz6xot] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto; /* allow for wrap if multiple rows */
    z-index: 2000;
    cursor: default;
}

/* =========================
   NAVBAR
========================= */
.navbar-horizontal[b-k0clpz6xot] {
    background: linear-gradient(180deg, rgba(26,29,33,0.98), rgba(15,23,42,0.95));
    backdrop-filter: blur(10px);
    height: auto; /* allow height to expand for second row */
    display: flex;
    align-items: center;
    position: relative;
    top: -100%;
    opacity: 0;
    transition: top 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    font-size: 0.9rem;
    padding: 0.4rem 0; /* vertical spacing */
}

/* Reveal navbar on hover for desktop */
.top-row-container:hover .navbar-horizontal[b-k0clpz6xot] {
    top: 0;
    opacity: 1;
}

.top-row-container:not(:hover) .navbar-horizontal[b-k0clpz6xot] {
    transition: top 2s cubic-bezier(.4,0,.2,1), opacity 0.75s ease;
    transition-delay: 0.15s;
}

/* =========================
   MAIN MENU CONTAINER
========================= */
.nav-horizontal-links .main-menus[b-k0clpz6xot] {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* allow overflow items to wrap */
    gap: 0.5rem; /* spacing between menu items */
    align-content: flex-end; /* second row aligns at bottom */
}

/* =========================
   DROPDOWN MENU
========================= */
.dropdown-menu[b-k0clpz6xot] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 12px 12px;
    min-width: 240px;
    padding: 0.4rem 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
    z-index: 3000;
    animation: dropdownFade-b-k0clpz6xot 0.18s ease;
    color: #ffffff !important;
}

/* Dropdown items */
.dropdown-item[b-k0clpz6xot] {
    color: #ffffff !important;
    cursor: pointer;
    font-weight: 500;
}

    .dropdown-item:hover[b-k0clpz6xot] {
        background: rgba(220, 53, 69, 0.18);
        color: #ffeded !important;
    }

/* Show dropdown on hover */
.nav-item.dropdown:hover > .dropdown-menu[b-k0clpz6xot] {
    display: block;
}

/* Dropdown animation */
@keyframes dropdownFade-b-k0clpz6xot {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   SUB-SUB DROPDOWN SUPPORT
========================= */
.dropdown-submenu[b-k0clpz6xot] {
    position: relative;
}

    /* Second-level menu */
    .dropdown-submenu > .dropdown-menu[b-k0clpz6xot] {
        top: 0;
        left: 100%;
        border-radius: 12px;
        display: none;
        min-width: 220px;
        z-index: 4000;
        white-space: nowrap;
    }

    /* Show sub-sub menu on hover */
    .dropdown-submenu:hover > .dropdown-menu[b-k0clpz6xot] {
        display: block;
    }

    /* Flip if submenu overflows viewport */
    .dropdown-submenu.dropdown-menu-flip > .dropdown-menu[b-k0clpz6xot] {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 0.2rem;
    }

/* =========================
   MOBILE FALLBACK
========================= */
@media (max-width: 768px) {
    .navbar-horizontal[b-k0clpz6xot] {
        top: 0 !important;
        opacity: 1 !important;
        box-shadow: none;
        height: auto;
    }

    .nav-horizontal-links .main-menus[b-k0clpz6xot] {
        flex-wrap: nowrap;
        flex-direction: column;
        align-content: flex-start;
        gap: 0;
    }

    .dropdown-menu[b-k0clpz6xot] {
        position: static;
        display: block; /* always visible on mobile */
        box-shadow: none;
        margin-top: 0.35rem;
    }

    .dropdown-submenu > .dropdown-menu[b-k0clpz6xot] {
        position: static;
        margin-left: 0;
        display: block;
    }
}

/* Ensure the menu aligns to the right edge of the parent when this class is present */
.dropdown-menu-end[b-k0clpz6xot] {
    left: auto !important;
    right: 0 !important;
}

/* Fix for the sub-menus within the settings dropdown */
/* Since they are on the far right, they should open to the LEFT to stay on screen */
.settings-dropdown .dropdown-submenu > .dropdown-menu[b-k0clpz6xot] {
    left: auto;
    right: 100%;
    margin-left: 0;
}

/* =========================
   NAV ITEM ICONS & LINKS
========================= */
.nav-link[b-k0clpz6xot] {
    white-space: nowrap;
}

/* Ensure third-level menus in the main navigation open to the right */
.main-menus .dropdown-submenu > .dropdown-menu[b-k0clpz6xot] {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
}

.main-menus .dropdown-submenu:hover > .dropdown-menu[b-k0clpz6xot] {
    display: block;
}

/* Add the arrow automatically to any sub-menu parent */
.dropdown-submenu > .dropdown-toggle[b-k0clpz6xot]::after {
    content: "▶";
    font-family: "bootstrap-icons";
    float: right;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Keep navbar visible while interacting with dropdowns */
.top-row-container:hover .navbar-horizontal[b-k0clpz6xot],
.navbar-horizontal:hover[b-k0clpz6xot],
.navbar-horizontal:has(.dropdown-menu:hover)[b-k0clpz6xot] {
    top: 0;
    opacity: 1;
}

