/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-jgkgqnwtpw] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-jgkgqnwtpw] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar[b-jgkgqnwtpw] {
    background-image: linear-gradient(180deg, #052767 0%, #3a0647 70%);
    flex-shrink: 0; /* Prevents sidebar from shrinking */
    transition: width 0.3s ease;
    position: relative; /* For sidebar-collapse-toggle positioning */
}

.sidebar-collapsed[b-jgkgqnwtpw] {
    width: 70px !important;
}

.top-row[b-jgkgqnwtpw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevents top row from shrinking */
    position: relative;
}

    .top-row[b-jgkgqnwtpw]  a, .top-row[b-jgkgqnwtpw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-jgkgqnwtpw]  a:hover, .top-row[b-jgkgqnwtpw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-jgkgqnwtpw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.app-title[b-jgkgqnwtpw] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3a0647;
    padding-left: 1rem;
    white-space: nowrap; /* Prevents title from wrapping */
}

article[b-jgkgqnwtpw] {
    flex: 1;
    overflow-x: auto; /* Handle horizontal overflow */
}

/* Fixed sidebar collapse toggle button */
.sidebar-collapse-toggle[b-jgkgqnwtpw] {
    position: absolute;
    bottom: 20px;
    right: -16px;
    background-color: #f0f0f0;
    border: 1px solid #d6d5d5;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 20;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.sidebar-collapse-toggle:hover[b-jgkgqnwtpw] {
    background-color: #e0e0e0;
}

.sidebar-collapse-toggle .bi[b-jgkgqnwtpw] {
    width: 16px;
    height: 16px;
    margin: 0;
    background-size: cover;
}

.sidebar-collapse-toggle .bi-chevron-left[b-jgkgqnwtpw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233a0647' class='bi bi-chevron-left' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.sidebar-collapse-toggle .bi-chevron-right[b-jgkgqnwtpw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233a0647' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Mobile styles */
@media (max-width: 640.98px) {
    .top-row[b-jgkgqnwtpw] {
        justify-content: space-between;
        padding: 0.5rem 1rem !important;
    }

    .top-row[b-jgkgqnwtpw]  a, .top-row[b-jgkgqnwtpw]  .btn-link {
        margin-left: 0;
    }
    
    .app-title[b-jgkgqnwtpw] {
        padding-left: 0;
    }
    
    article[b-jgkgqnwtpw] {
        padding: 0.5rem !important;
    }
    
    .sidebar-collapsed[b-jgkgqnwtpw] {
        width: auto !important;
    }
    
    .sidebar-collapse-toggle[b-jgkgqnwtpw] {
        display: none; /* Hide on mobile */
    }
}

/* Desktop styles */
@media (min-width: 641px) {
    .page[b-jgkgqnwtpw] {
        flex-direction: row;
    }

    .sidebar[b-jgkgqnwtpw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        min-width: 70px; /* Minimum width when collapsed */
        overflow: hidden; /* Prevent content from overflowing */
    }

    .top-row[b-jgkgqnwtpw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-jgkgqnwtpw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    article[b-jgkgqnwtpw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-hrdfkmlz9t] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    cursor: pointer;
}

.navbar-toggler:focus[b-hrdfkmlz9t] {
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.25);
}

.top-row[b-hrdfkmlz9t] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
}

.navbar-brand[b-hrdfkmlz9t] {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icon styling */
.icon-container[b-hrdfkmlz9t] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.bi[b-hrdfkmlz9t] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    top: -1px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bi-house-door-fill-nav-menu[b-hrdfkmlz9t] {
    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-search-nav-menu[b-hrdfkmlz9t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.bi-envelope-check-nav-menu[b-hrdfkmlz9t] {
    background-image: url("data:image/svg+xml,%3Csvg class='w-6 h-6 text-gray-800 dark:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 11H4m15.5 5a.5.5 0 0 0 .5-.5V8a1 1 0 0 0-1-1h-3.75a1 1 0 0 1-.829-.44l-1.436-2.12a1 1 0 0 0-.828-.44H8a1 1 0 0 0-1 1M4 9v10a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1h-3.75a1 1 0 0 1-.829-.44L9.985 8.44A1 1 0 0 0 9.157 8H5a1 1 0 0 0-1 1Z'/%3E%3C/svg%3E");
}

.bi-envelope-exclamation-nav-menu[b-hrdfkmlz9t] {
    background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-4m5-13v4a1 1 0 0 1-1 1H5m0 6h9m0 0-2-2m2 2-2 2'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-hrdfkmlz9t] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.nav-item[b-hrdfkmlz9t] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-hrdfkmlz9t] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-hrdfkmlz9t] {
    padding-bottom: 1rem;
}

.nav-item[b-hrdfkmlz9t]  a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item[b-hrdfkmlz9t]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-hrdfkmlz9t]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Nav container - never show scrollbars */
.nav-scrollable[b-hrdfkmlz9t] {
    width: 100%;
    position: relative;
    overflow: hidden !important;
    height: auto;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* Hide scrollbar for Webkit browsers */
.nav-scrollable[b-hrdfkmlz9t]::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.nav-menu-container[b-hrdfkmlz9t] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Enhanced collapsed menu styling - Hide text completely */
:global(.sidebar-collapsed) .nav-text[b-hrdfkmlz9t] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

:global(.sidebar-collapsed) .nav-item[b-hrdfkmlz9t] {
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    justify-content: center;
}

:global(.sidebar-collapsed) .nav-item[b-hrdfkmlz9t]  a {
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    display: flex;
}

:global(.sidebar-collapsed) .icon-container[b-hrdfkmlz9t] {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 32px;
    height: 32px;
}

:global(.sidebar-collapsed) .bi[b-hrdfkmlz9t] {
    transform: scale(1.2);
}

/* Mobile-specific styles */
@media (max-width: 640.98px) {
    .nav-scrollable[b-hrdfkmlz9t] {
        display: none; /* Hidden by default on mobile */
        background-color: #052767;
        position: absolute;
        left: 0;
        right: 0;
        top: 3.5rem;
        z-index: 1000;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .collapse[b-hrdfkmlz9t] {
        display: none;
    }
    
    .nav-scrollable:not(.collapse)[b-hrdfkmlz9t] {
        display: block;
    }
}

/* Desktop styles */
@media (min-width: 641px) {
    .navbar-toggler[b-hrdfkmlz9t] {
        display: none;
    }

    .collapse[b-hrdfkmlz9t] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-hrdfkmlz9t] {
        /* No scrollbars ever */
        height: auto;
        max-height: calc(100vh - 3.5rem - 60px); /* Space for collapse button */
        flex-direction: column;
    }
}
