@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* _content/OnlinePath/Components/Layout/MainLayout.razor.rz.scp.css */
/* ===============================
   ROOT LAYOUT
   =============================== */
/*.page {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
    background: #f8fafc;*/ /* ERP light background */
/*}

.text-white {
    text-align: center;
}*/

/* ===============================
   TOP HEADER (FIXED – SINGLE)
   =============================== */
/*.top-row {
    position: fixed;
    top: 0;
    left: 250px;
    width: calc(100% - 250px);
    height: 56px;*/
    /* ERP linear gradient */
    /*background: linear-gradient(135deg, #38bdf8, #6366f1);
    border-bottom: 1px solid rgba(15,23,42,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 1500;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}*/

/* ===============================
   MENU BUTTON
   =============================== */
/*.menu-btn {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #ffffff;
}
.menu-arrow i {
    font-size: 0.9rem;
}*/


/* ===============================
   SIDEBAR (ERP STYLE)
   =============================== */
/*.sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;*/
    /* linear but subtle */
    /*background: linear-gradient(180deg, #0f172a, #1e293b);
    overflow-y: auto;
    z-index: 1400;
    box-shadow: 4px 0 18px rgba(0,0,0,.25);
}*/

    /* ===============================
   SIDEBAR LINKS
   =============================== */
    /*.sidebar .nav-link {
        color: rgba(255,255,255,.85);
        padding: 12px 18px;
        border-radius: 8px;
        margin: 4px 10px;
        transition: all .2s ease;
        font-weight: 500;
    }

        .sidebar .nav-link:hover {
            background: rgba(56,189,248,.18);*/ /* sky hover */
            /*color: #ffffff;
        }

        .sidebar .nav-link.active {
            background: linear-gradient(135deg, #38bdf8, #6366f1);
            color: #ffffff;
            font-weight: 600;
        }*/

/* ===============================
   MAIN CONTENT
   =============================== */
/*main {
    flex: 1;
    margin-left: 250px;
    padding-top: 56px;
    overflow-y: auto;
    background: #ffffff;
}*/

/* ===============================
   SIDEBAR STATES
   =============================== */
/*.sidebar-open {
    display: block;
}

.sidebar-close {
    display: none;
}*/

/* ===============================
   DESKTOP / LAPTOP
   =============================== */
/*@media (min-width: 768px) {

    .menu-btn {
        display: none;
    }

    .sidebar-open,
    .sidebar-close {
        display: block;
        width: 250px;
        left: 0;
    }
}*/

/* ===============================
   MOBILE (PHONE)
   =============================== */
/*@media (max-width: 767px) {

    main {
        margin-left: 0;
    }

    .top-row {
        left: 0;
        width: 100%;
    }

    .sidebar {
        width: 72%;
        left: -100%;
        top: 56px;
        transition: left 0.3s ease;
        background: linear-gradient(180deg, #0f172a, #1e293b);
    }

    .sidebar-open {
        left: 0;
    }

    .sidebar-close {
        display: none;
    }

    .sidebar .navbar-brand,
    .sidebar .top-row,
    .sidebar .navbar-toggler {
        display: none !important;
    }

    .sidebar-open .nav-link,
    .sidebar-open .nav-link span,
    .sidebar-open .nav-item {
        color: #ffffff !important;
    }

    .sidebar-open .bi {
        color: #38bdf8 !important;
    }

    .sidebar-open .nav-link:hover {
        background: rgba(56,189,248,.25);
        color: #ffffff !important;
    }

    .sidebar-open .nav-link.active {
        background: rgba(56,189,248,.45);
        color: #ffffff !important;
    }
}*/



/* ===============================
   ROOT LAYOUT
================================= */
.page[b-pyyyzugmx1] {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background: #f4f6fb;
}

/* ===============================
   SIDEBAR
================================= */
.sidebar[b-pyyyzugmx1] {
    width: 250px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    box-shadow: 5px 0 25px rgba(0,0,0,.35);
    overflow-y: auto;
    transition: 0.3s ease;
    z-index: 1400;
}

    /* Sidebar Scroll */
    .sidebar[b-pyyyzugmx1]::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar[b-pyyyzugmx1]::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }

    /* ===============================
   SIDEBAR LINKS
================================= */
    .sidebar .nav-link[b-pyyyzugmx1] {
        color: rgba(255,255,255,.85);
        padding: 12px 18px;
        margin: 6px 12px;
        border-radius: 10px;
        font-weight: 500;
        transition: all 0.25s ease;
        background: rgba(255,255,255,0.05);
    }

        .sidebar .nav-link:hover[b-pyyyzugmx1] {
            background: linear-gradient(135deg,#3b82f6,#6366f1);
            transform: translateX(4px);
            box-shadow: 0 6px 14px rgba(0,0,0,.25);
            color: #fff !important;
        }

        .sidebar .nav-link.active[b-pyyyzugmx1] {
            background: linear-gradient(135deg,#4f46e5,#6366f1);
            box-shadow: 0 8px 18px rgba(0,0,0,.35);
            font-weight: 600;
            color: #fff !important;
        }

/* ===============================
   TOP BAR
================================= */
.top-row[b-pyyyzugmx1] {
    position: fixed;
    top: 0;
    left: 250px;
    width: calc(100% - 250px);
    height: 60px;
    background: linear-gradient(135deg,#4f46e5,#3b82f6);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1500;
}

    /* Topbar Text 3D */
    .top-row .navbar-brand[b-pyyyzugmx1] {
        font-weight: 700;
        font-size: 18px;
        color: white !important;
        text-shadow: 1px 1px 0 rgba(0,0,0,0.2), 2px 2px 6px rgba(0,0,0,0.3);
    }

/* ===============================
   MENU BUTTON
================================= */
.menu-btn[b-pyyyzugmx1] {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #ffffff;
}

/* ===============================
   MAIN CONTENT
================================= */
main[b-pyyyzugmx1] {
    flex: 1;
    margin-left: 250px;
    padding-top: 60px;
    overflow-y: auto;
    background: #ffffff;
}

/* ===============================
   MOBILE (PHONE)
================================= */
@media (max-width: 767px) {

    /* Topbar full width */
    .top-row[b-pyyyzugmx1] {
        left: 0;
        width: 100%;
    }

    /* Main reset */
    main[b-pyyyzugmx1] {
        margin-left: 0;
    }

    /* Sidebar hidden by default */
    .sidebar[b-pyyyzugmx1] {
        width: 75%;
        left: -100%;
        top: 60px;
        transition: left 0.3s ease;
    }

    /* When open */
    .sidebar-open[b-pyyyzugmx1] {
        left: 0;
    }

    .sidebar-close[b-pyyyzugmx1] {
        left: -100%;
    }

    /* Show menu button */
    .menu-btn[b-pyyyzugmx1] {
        display: block;
    }
}

/* ===============================
   DESKTOP FIX
================================= */
@media (min-width: 768px) {

    .sidebar-open[b-pyyyzugmx1],
    .sidebar-close[b-pyyyzugmx1] {
        left: 0;
        width: 250px;
    }

    .menu-btn[b-pyyyzugmx1] {
        display: none;
    }
}

/* _content/OnlinePath/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ek47g2pal4] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ek47g2pal4] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ek47g2pal4] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ek47g2pal4] {
    font-size: 1.1rem;
}

.bi[b-ek47g2pal4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ek47g2pal4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ek47g2pal4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ek47g2pal4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ek47g2pal4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ek47g2pal4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ek47g2pal4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ek47g2pal4]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-ek47g2pal4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ek47g2pal4]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ek47g2pal4] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ek47g2pal4] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ek47g2pal4] {
        display: none;
    }

    .nav-scrollable[b-ek47g2pal4] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
