@import '_content/ZXingBlazor/ZXingBlazor.bundle.scp.css';

/* _content/RxProPocket.web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-gdto1lsb6g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-gdto1lsb6g] {
    flex: 1;
}

.sidebar[b-gdto1lsb6g] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-gdto1lsb6g] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-gdto1lsb6g]  a, .top-row[b-gdto1lsb6g]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-gdto1lsb6g]  a:hover, .top-row[b-gdto1lsb6g]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-gdto1lsb6g]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-gdto1lsb6g] {
        justify-content: space-between;
    }

    .top-row[b-gdto1lsb6g]  a, .top-row[b-gdto1lsb6g]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-gdto1lsb6g] {
        flex-direction: row;
    }

    .sidebar[b-gdto1lsb6g] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-gdto1lsb6g] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-gdto1lsb6g]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-gdto1lsb6g], article[b-gdto1lsb6g] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-gdto1lsb6g] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-gdto1lsb6g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/RxProPocket.web/Components/Layout/NavMenu.razor.rz.scp.css */
.page[b-9b2vn00s7g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9b2vn00s7g] {
    flex: 1;
}

.sidebar[b-9b2vn00s7g] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    z-index: 200;
    position: relative;
}

.top-row[b-9b2vn00s7g] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-9b2vn00s7g]  a, .top-row[b-9b2vn00s7g]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-9b2vn00s7g]  a:hover, .top-row[b-9b2vn00s7g]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-9b2vn00s7g]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

#blazor-error-ui[b-9b2vn00s7g] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-9b2vn00s7g] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ==================== Base Styles ==================== */
.navbar-toggler[b-9b2vn00s7g] {
    display: none;
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: none;
    background: transparent;
    z-index: 301;
}

.navbar-toggle-label[b-9b2vn00s7g] {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 301;
    flex-direction: column;
    justify-content: space-around;
}

.navbar-toggle-label span[b-9b2vn00s7g] {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

#nav-toggle:checked ~ .navbar-toggle-label span:nth-child(1)[b-9b2vn00s7g] {
    transform: rotate(45deg) translate(10px, 10px);
}

#nav-toggle:checked ~ .navbar-toggle-label span:nth-child(2)[b-9b2vn00s7g] {
    opacity: 0;
}

#nav-toggle:checked ~ .navbar-toggle-label span:nth-child(3)[b-9b2vn00s7g] {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-brand[b-9b2vn00s7g] {
    font-size: 1.1rem;
}

.bi[b-9b2vn00s7g] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    flex-shrink: 0;
}

/* Bootstrap Icons */
.bi-house-door-fill[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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-box-seam-fill[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5 8 5.961 14.154 3.5 8.186 1.113zM15 4.239l-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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");
}

.bi-person-fill[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-graph-up[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0V0Zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07Z'/%3E%3C/svg%3E");
}

.bi-upc-scan[b-9b2vn00s7g] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 1a.5.5 0 0 0-.5.5v3a.5.5 0 0 1-1 0v-3A1.5 1.5 0 0 1 1.5 0h3a.5.5 0 0 1 0 1h-3zM11 .5a.5.5 0 0 1 .5-.5h3A1.5 1.5 0 0 1 16 1.5v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 1-.5-.5zM.5 11a.5.5 0 0 1 .5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 1 0 1h-3A1.5 1.5 0 0 1 0 14.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a1.5 1.5 0 0 1-1.5 1.5h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 1 .5-.5zM3 4.5a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7zm2 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-7zm3 0a.5.5 0 0 1 1 0v7a.5.5 0 0 1-1 0v-7z'/%3E%3C/svg%3E");
}

/* ==================== Nav Item Styles ==================== */
.nav-item[b-9b2vn00s7g] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.nav-item:first-of-type[b-9b2vn00s7g] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-9b2vn00s7g] {
    padding-bottom: 1rem;
}

.nav-item[b-9b2vn00s7g]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    padding: 0 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-item[b-9b2vn00s7g]  a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

.nav-item[b-9b2vn00s7g]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ==================== Submenu Styles ==================== */
.has-submenu[b-9b2vn00s7g] {
    position: relative;
}

.nav-link-wrapper[b-9b2vn00s7g] {
    cursor: pointer;
    position: relative;
}

.nav-link-wrapper .nav-link.parent-link[b-9b2vn00s7g] {
    position: relative;
    padding-right: 2.5rem;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.nav-link-wrapper .nav-link.parent-link:hover[b-9b2vn00s7g] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.submenu-arrow[b-9b2vn00s7g] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.7;
    pointer-events: none;
}

.submenu-arrow.rotated[b-9b2vn00s7g] {
    transform: translateY(-50%) rotate(180deg);
}

.submenu-arrow svg[b-9b2vn00s7g] {
    width: 14px;
    height: 14px;
}

.submenu[b-9b2vn00s7g] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.submenu.show[b-9b2vn00s7g] {
    max-height: 500px;
    padding: 0.25rem 0;
}

.submenu-link[b-9b2vn00s7g] {
    padding-left: 2.5rem !important;
    height: 2.5rem !important;
    line-height: 2.5rem !important;
    font-size: 0.85rem !important;
    margin: 0.125rem 0.5rem !important;
    border-radius: 4px !important;
}

.submenu-link .bi[b-9b2vn00s7g] {
    width: 1rem !important;
    height: 1rem !important;
    margin-right: 0.5rem !important;
}

.submenu-link:hover[b-9b2vn00s7g] {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.submenu-link.active[b-9b2vn00s7g] {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.nav-text[b-9b2vn00s7g] {
    transition: opacity 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== Navigation Overlay ==================== */
.nav-overlay[b-9b2vn00s7g] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ==================== Mobile Styles ==================== */
@media (max-width: 640px) {
    .page[b-9b2vn00s7g] {
        flex-direction: column;
    }

    .sidebar[b-9b2vn00s7g] {
        width: 100%;
        height: auto;
        position: relative;
    }

    .navbar-toggler[b-9b2vn00s7g] {
        display: block;
    }

    .navbar-toggle-label[b-9b2vn00s7g] {
        display: flex;
    }

    .top-row[b-9b2vn00s7g] {
        justify-content: space-between;
        background-color: rgba(0, 0, 0, 0.4);
        position: relative;
        z-index: 200;
    }

    .top-row[b-9b2vn00s7g]  a, .top-row[b-9b2vn00s7g]  .btn-link {
        margin-left: 0;
    }

    /* Mobile: Slide-in side menu */
    .nav-scrollable[b-9b2vn00s7g] {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 250;
        padding-top: 3.5rem;
    }

    #nav-toggle:checked ~ .nav-scrollable[b-9b2vn00s7g] {
        left: 0;
    }

    /* Show overlay when menu is open */
    #nav-toggle:checked ~ .nav-overlay[b-9b2vn00s7g] {
        display: block;
        opacity: 1;
    }

    .nav-item[b-9b2vn00s7g] {
        padding-bottom: 0.25rem;
    }

    .submenu-link[b-9b2vn00s7g] {
        padding-left: 2rem !important;
    }

    /* Show submenu on mobile */
    .has-submenu .submenu.show[b-9b2vn00s7g] {
        display: block;
        max-height: 500px;
        padding: 0.25rem 0;
    }

    .has-submenu .submenu:not(.show)[b-9b2vn00s7g] {
        display: none;
        max-height: 0;
        padding: 0;
    }
}

/* ==================== Desktop Styles ==================== */
@media (min-width: 641px) {
    .page[b-9b2vn00s7g] {
        flex-direction: row;
    }

    .sidebar[b-9b2vn00s7g] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: visible;
    }

    .navbar-toggler[b-9b2vn00s7g] {
        display: none;
    }

    .navbar-toggle-label[b-9b2vn00s7g] {
        display: none;
    }

    .nav-overlay[b-9b2vn00s7g] {
        display: none !important;
    }

    .top-row[b-9b2vn00s7g] {
        position: sticky;
        top: 0;
        z-index: 1;
        justify-content: flex-end;
    }

    .top-row.auth[b-9b2vn00s7g]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-9b2vn00s7g], article[b-9b2vn00s7g] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .nav-scrollable[b-9b2vn00s7g] {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: calc(100vh - 3.5rem) !important;
        overflow-y: auto !important;
        transition: none !important;
        z-index: auto !important;
        padding-top: 0 !important;
        left: auto !important;
    }

    /* Desktop: Hover to expand submenu */
    .has-submenu:hover .submenu[b-9b2vn00s7g] {
        max-height: 500px;
        padding: 0.25rem 0;
    }

    .has-submenu:hover .submenu-arrow[b-9b2vn00s7g] {
        transform: translateY(-50%) rotate(180deg);
    }

    /* When sidebar is collapsed */
    .sidebar:not(:hover) .nav-menu[data-expanded="false"] .nav-text[b-9b2vn00s7g] {
        opacity: 0;
        width: 0;
    }

    .sidebar:not(:hover) .nav-menu[data-expanded="false"] .submenu-arrow[b-9b2vn00s7g] {
        opacity: 0;
        width: 0;
    }

    .sidebar:not(:hover) .nav-menu[data-expanded="false"] .submenu[b-9b2vn00s7g] {
        display: none;
    }

    .sidebar:not(:hover) .nav-menu[data-expanded="false"] .nav-link[b-9b2vn00s7g] {
        justify-content: center;
        padding: 0.75rem 0.5rem;
    }

    .sidebar:not(:hover) .nav-menu[data-expanded="false"] .bi[b-9b2vn00s7g] {
        margin-right: 0;
    }
}

/* ==================== Scrollbar Styles ==================== */
.nav-scrollable[b-9b2vn00s7g]::-webkit-scrollbar {
    width: 0.5rem;
}

.nav-scrollable[b-9b2vn00s7g]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.nav-scrollable[b-9b2vn00s7g]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
}

.nav-scrollable[b-9b2vn00s7g]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
