/* _content/Sunflower.Client.Core/PageLayouts/BlankLayout.razor.rz.scp.css */
.page[b-ek7ap416ll] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ek7ap416ll] {
    flex: 1;
}

.sidebar[b-ek7ap416ll] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ek7ap416ll] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ek7ap416ll]  a, .top-row[b-ek7ap416ll]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-ek7ap416ll]  a:hover, .top-row[b-ek7ap416ll]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-ek7ap416ll]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-ek7ap416ll] {
        justify-content: space-between;
    }

        .top-row[b-ek7ap416ll]  a, .top-row[b-ek7ap416ll]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-ek7ap416ll] {
        flex-direction: row;
    }

    .sidebar[b-ek7ap416ll] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ek7ap416ll] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-ek7ap416ll]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-ek7ap416ll], article[b-ek7ap416ll] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ek7ap416ll] {
    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-ek7ap416ll] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Sunflower.Client.Core/PageLayouts/IconNavMenu.razor.rz.scp.css */
.navbar-toggler[b-r6cfcw0vhu] {
    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-r6cfcw0vhu] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-r6cfcw0vhu] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-r6cfcw0vhu] {
    font-size: 1.1rem;
}

.bi[b-r6cfcw0vhu] {
    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-r6cfcw0vhu] {
    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-r6cfcw0vhu] {
    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-r6cfcw0vhu] {
    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-scrollable[b-r6cfcw0vhu] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-r6cfcw0vhu] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-r6cfcw0vhu] {
        display: none;
    }

    .nav-scrollable[b-r6cfcw0vhu] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

@media (max-width: 640.98px) {
    .sidebar-nav[b-r6cfcw0vhu] {
        position: fixed !important;
        left: 0;
        top: var(--navbar-height, 4.25rem);
        bottom: 0;
        width: 16rem !important;
        height: auto !important;
        flex-direction: column !important;
        border-radius: 0;
        z-index: 1090;
        background: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        transform: translateX(-110%);
        transition: transform 0.3s ease-in-out;
    }

    /* When parent .Rssidebar has .expanded class, expand the sidebar-nav */
    .Rssidebar.expanded .sidebar-nav[b-r6cfcw0vhu] {
        transform: translateX(0) !important;
    }

    .sidebar-nav.expanded[b-r6cfcw0vhu] {
        transform: translateX(0) !important;
    }

    .sidebar-nav ul[b-r6cfcw0vhu] {
        flex-direction: column !important;
        width: 100%;
        justify-content: flex-start;
        gap: 0;
    }

    .sidebar-nav ul li[b-r6cfcw0vhu] {
        width: 100%;
        height: auto;
    }

    .sidebar-nav ul li a[b-r6cfcw0vhu] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1rem 0.75rem !important;
        border-bottom: 1px solid #dee2e6;
        border-left: none;
        gap: 0.5rem;
    }

    .sidebar-nav ul li a i[b-r6cfcw0vhu] {
        font-size: 1.5rem;
        margin-right: 0 !important;
    }

    .sidebar-nav ul li a span[b-r6cfcw0vhu] {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .sidebar-nav ul li a:hover[b-r6cfcw0vhu] {
        background-color: #f8f9fa;
    }

    .sidebar-nav ul li a.active[b-r6cfcw0vhu] {
        background-color: #f8f9fa;
        border-bottom: 3px solid #0d6efd;
    }

    /* Fix home button on mobile - remove height constraint */
    .sidebar-nav ul li[style*="height"][b-r6cfcw0vhu] {
        height: auto !important;
    }

    .sidebar-nav ul li[style*="height"] a[b-r6cfcw0vhu] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1rem 0.75rem !important;
    }

    .sidebar-nav ul li[style*="height"] a i[b-r6cfcw0vhu] {
        font-size: 1.5rem !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
        color: #0d6efd;
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .sidebar-nav ul li[style*="height"] a span[b-r6cfcw0vhu] {
        font-size: 0.85rem;
        font-weight: 500;
    }
}

@media (min-width: 641px) {
    .sidebar-nav[b-r6cfcw0vhu] {
        position: sticky !important;
        width: 5.5rem !important;
        height: 100vh !important;
        top: 0 !important;
        left: 0 !important;
        flex-direction: column !important;
        border-radius: 0 .75rem .75rem 0;
    }

        .sidebar-nav ul[b-r6cfcw0vhu] {
            flex-direction: column !important;
            width: auto;
            justify-content: flex-start;
        }
}
/* _content/Sunflower.Client.Core/PageLayouts/MainLayout.razor.rz.scp.css */

:root[b-mlx3xb2kd3] {
    --navbar-height: 6rem; /* match your design */
    --sidebar-width: 5.5rem; /* your compact sidebar */
}

/* Overall page frame */
.page[b-mlx3xb2kd3] {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* Main column stacks navbar and content */
.main-column[b-mlx3xb2kd3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
}

.main-column:has(.workspace-content)[b-mlx3xb2kd3] {
    overflow-y: hidden;
}

/* NAVBAR always at top */
.top-row[b-mlx3xb2kd3] {
    position: sticky;
    top: 0;
    z-index: 1100; /* ABOVE sidebar */
    min-height: var(--navbar-height);
    overflow: visible; /* Let dropdowns overflow */
    flex-shrink: 0; /* Don't shrink navbar */
}

.top-row .container-fluid[b-mlx3xb2kd3] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1101;
}

.searchbar-tab-shell[b-mlx3xb2kd3] {
    flex: 1 1 0;
    min-width: 0;
}

.user-session-status[b-mlx3xb2kd3] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 3.25rem;
}

.session-countdown[b-mlx3xb2kd3] {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
}

@media (min-width: 992px) {
    #topNav[b-mlx3xb2kd3] {
        min-width: 0;
    }

    #topNav > .navbar-nav[b-mlx3xb2kd3] {
        flex: 0 0 auto;
        margin-right: 0 !important;
    }

    #topNav > .searchbar-tab-shell[b-mlx3xb2kd3] {
        flex: 1 1 auto;
    }

    #topNav > .d-flex.align-items-center.ms-auto[b-mlx3xb2kd3] {
        flex: 0 0 auto;
        margin-left: 0 !important;
    }
}

.home-height[b-mlx3xb2kd3] {
    height: var(--navbar-height);    
}

/* Sidebar under navbar */
.Rssidebar[b-mlx3xb2kd3] {
    width: var(--sidebar-width);
    position: sticky;
    top: var(--navbar-height);
    z-index: 1050; /* BELOW navbar */
    min-height: calc(100vh - var(--navbar-height));
    height: calc(100vh - var(--navbar-height));
    background: #fff;
    box-shadow: 0 0 10px #eee;
    overflow-y: auto;
}

/* Desktop sidebar styling */
@media (min-width: 641px) {
    .Rssidebar[b-mlx3xb2kd3] {
        position: sticky;
        top: var(--navbar-height);
        left: 0;
        transform: none !important;
        width: var(--sidebar-width);
    }
}

.workspace-content[b-mlx3xb2kd3] {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Chrome, Edge, Safari */
/*.content::-webkit-scrollbar {
    width: 16px;*/ /* vertical scrollbar width */
    /*height: 16px;*/ /* horizontal scrollbar height */
/*}

.content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
}

.content::-webkit-scrollbar-track {
    background: #f1f1f1;
}*/


/* Navbar icon + label consistency */
.nav-label[b-mlx3xb2kd3] {
    display: block;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
    color: #fff;
    line-height: 1.1;
}

.nav-icon[b-mlx3xb2kd3] {
    font-size: 2.5rem;
    line-height: 1;
    color: #fff !important;
}

.nav-toggle-btn[b-mlx3xb2kd3] {
    font-size: 2.5rem;
    line-height: 1;
}

/* Navbar nav item structure for desktop */
.navbar-nav .nav-item[b-mlx3xb2kd3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.navbar-nav .nav-item .nav-label[b-mlx3xb2kd3] {
    order: -1;
    font-size: 0.9rem;
}

.navbar-nav .nav-item .nav-icon[b-mlx3xb2kd3] {
    order: 0;
}

/* Dropdown spacing */
.navbar .dropdown-menu[b-mlx3xb2kd3] {
    min-width: 220px;
    max-width: calc(100vw - 1rem);
    left: 0 !important; /* Start from left side of trigger */
    right: auto !important; /* Remove right alignment */
}

/* Exception: User and Settings dropdowns use responsive alignment */
#userDropdown ~ .dropdown-menu[b-mlx3xb2kd3],
#settingsDropdown ~ .dropdown-menu[b-mlx3xb2kd3],
.responsive-dropdown[b-mlx3xb2kd3] {
    left: auto !important;
    right: auto !important;
}

@media (max-width: 640.98px) {
    .navbar .dropdown-menu[b-mlx3xb2kd3] {
        min-width: auto;
        max-width: 100%;
    }
}

/* Mobile behavior */
@media (max-width: 640.98px) {
    :root[b-mlx3xb2kd3] {
        --navbar-height: 4.25rem;
        --sidebar-width: 100%;
    }

    /* smaller on mobile */
    .page[b-mlx3xb2kd3] {
        flex-direction: column;
        position: relative;
    }

    .main-column[b-mlx3xb2kd3] {
        min-width: 100%;
    }

    /* Sidebar becomes off-canvas style drawer - HIDDEN by default */
    .Rssidebar[b-mlx3xb2kd3] {
        position: fixed !important;
        left: 0;
        top: var(--navbar-height);
        bottom: 0;
        height: auto !important;
        min-height: auto;
        width: 16rem !important;
        z-index: 1090;
        overflow-y: auto;
        background: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    }

    /* Sidebar visibility is controlled by transform in IconNavMenu.razor.css */

    /* Sidebar styling is handled by IconNavMenu.razor.css */

    /* Sidebar backdrop */
    .page[b-mlx3xb2kd3] {
        position: relative;
    }

    .page[b-mlx3xb2kd3]::before {
        content: '';
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1085;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
    }

    .page:has(.Rssidebar.expanded)[b-mlx3xb2kd3]::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Backdrop click to close sidebar */
    .page[b-mlx3xb2kd3]::before {
        cursor: pointer;
    }

    /* Navbar collapse */
    .navbar-collapse[b-mlx3xb2kd3] {
        overflow-y: auto;
        max-height: calc(100vh - var(--navbar-height) - 3.5rem);
    }

    #topNav > .searchbar-tab-shell[b-mlx3xb2kd3] {
        width: 100%;
        flex: 1 1 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Default mobile nav structure */
    .navbar-nav[b-mlx3xb2kd3] {
        flex-direction: column !important;
        gap: 1rem;
    }

    .navbar-nav .nav-item[b-mlx3xb2kd3] {
        width: 100%;
        text-align: center;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .navbar-nav .nav-item .nav-label[b-mlx3xb2kd3] {
        display: block;
        order: -1;
        font-size: 0.8rem;
        font-weight: 600;
        color: #fff;
        margin: 0;
    }

    .navbar-nav .nav-item .nav-icon[b-mlx3xb2kd3],
    .navbar-nav .nav-item .nav-link[b-mlx3xb2kd3] {
        display: block;
        text-align: center;
        font-size: 1.5rem !important;
        color: #fff !important;
        padding: 0;
        order: 0;
    }

    #topNav > .navbar-nav[b-mlx3xb2kd3] {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
        align-items: start;
        gap: 0.75rem;
        width: 100%;
    }

    #topNav > .navbar-nav .nav-item[b-mlx3xb2kd3] {
        width: auto;
        min-width: 0;
        margin: 0 !important;
    }

    #topNav > .navbar-nav .nav-item.dropdown:has(.dropdown-menu.show)[b-mlx3xb2kd3] {
        grid-column: 1 / -1;
    }

    #topNav > .navbar-nav .nav-item .nav-label[b-mlx3xb2kd3] {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Dropdown menus should not be positioned end on mobile */
    .dropdown-menu[b-mlx3xb2kd3] {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
    }

    .dropdown-menu.show[b-mlx3xb2kd3] {
        display: block;
    }

    .dropdown-item[b-mlx3xb2kd3] {
        padding: 0.5rem 2rem;
        font-size: 0.9rem;
    }

    /* Content padding on mobile */
    .content[b-mlx3xb2kd3] {
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .page[b-mlx3xb2kd3] {
        padding: 0;
    }

    .nav-label[b-mlx3xb2kd3] {
        font-size: 0.9rem;
    }

    .nav-icon[b-mlx3xb2kd3], .nav-toggle-btn[b-mlx3xb2kd3] {
        font-size: 1.75rem;
    }

    /* User icon sizing */
    .user-icon[b-mlx3xb2kd3] {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .user-session-status[b-mlx3xb2kd3] {
        min-width: 2.75rem;
    }

    .session-countdown[b-mlx3xb2kd3] {
        font-size: 0.68rem;
    }

    /* Reduce navbar padding */
    .top-row .container-fluid[b-mlx3xb2kd3] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .me-4[b-mlx3xb2kd3] {
        margin-right: 0.5rem !important;
    }

    .ms-auto[b-mlx3xb2kd3] {
        margin-left: auto;
    }

    /* Hide labels on very small screens */
    @media (max-width: 480px) {
        .nav-label[b-mlx3xb2kd3] {
            display: none;
        }

        .navbar-nav .nav-item[b-mlx3xb2kd3] {
            text-align: center;
        }
    }
}

/* Tablet behavior */
@media (min-width: 641px) and (max-width: 991.98px) {
    .navbar-nav[b-mlx3xb2kd3] {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-label[b-mlx3xb2kd3] {
        font-size: 0.85rem;
    }

    .nav-icon[b-mlx3xb2kd3] {
        font-size: 2rem;
    }

    .content[b-mlx3xb2kd3] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}



/* _content/Sunflower.Client.Core/PageLayouts/RouteLoadingPage.razor.rz.scp.css */
.route-loading-page[b-t2cnb01lxa] {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 2000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: radial-gradient(circle at 15% 20%, rgba(13, 110, 253, 0.10), transparent 26rem), linear-gradient(180deg, #f7fbff 0%, #eef5ff 48%, #ffffff 100%);
}

.route-loading-panel[b-t2cnb01lxa] {
    width: 100%;
    height: 100%;
    padding: 1rem;
    box-shadow: none;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

.route-loading-grid[b-t2cnb01lxa] {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

.route-loading-card[b-t2cnb01lxa] {
    min-width: 0;
    min-height: 0;
    padding: 1.25rem;
    border: 1px solid #dbe5f0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.64);
}

.route-loading-card-wide[b-t2cnb01lxa] {
    grid-row: 1 / span 2;
}

.route-loading-card span[b-t2cnb01lxa],
.route-loading-card strong[b-t2cnb01lxa],
.route-loading-card em[b-t2cnb01lxa] {
    display: block;
    border-radius: 0;
    background: linear-gradient(90deg, #dbe4ee 25%, #f5f8fb 42%, #dbe4ee 70%);
    background-size: 220% 100%;
    animation: route-loading-shimmer-b-t2cnb01lxa 1.35s ease-in-out infinite;
}

.route-loading-card span[b-t2cnb01lxa] {
    width: 30%;
    height: 0.9rem;
}

.route-loading-card strong[b-t2cnb01lxa] {
    width: 88%;
    height: 1.15rem;
    margin-top: 1.75rem;
}

.route-loading-card em[b-t2cnb01lxa] {
    width: 55%;
    height: 0.9rem;
    margin-top: 1rem;
}

@keyframes route-loading-shimmer-b-t2cnb01lxa {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}

@media (max-width: 768px) {
    .route-loading-panel[b-t2cnb01lxa] {
        padding: 0.5rem;
    }

    .route-loading-grid[b-t2cnb01lxa] {
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr 1fr;
    }

    .route-loading-card-wide[b-t2cnb01lxa] {
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .route-loading-card span[b-t2cnb01lxa],
    .route-loading-card strong[b-t2cnb01lxa],
    .route-loading-card em[b-t2cnb01lxa] {
        animation: none;
    }
}




/*.route-loading-page {
    position: fixed;
    inset: 0;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    display: flex;
    place-items: center;
    padding: 1.5rem;*/
    /*background:
        radial-gradient(circle at 15% 20%, rgba(13, 110, 253, 0.12), transparent 26rem),
        linear-gradient(180deg, #f7fbff 0%, #eef5ff 48%, #ffffff 100%);*/
/*}

.route-loading-panel {
    width: min(100vw, 100%);
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.12);
}

.route-loading-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.route-loading-logo {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background: #0d6efd;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
}

.route-loading-title {
    color: #172033;
    font-size: 1.15rem;
    font-weight: 800;
}

.route-loading-subtitle {
    color: #64748b;
    font-size: 0.92rem;
}

.route-loading-progress {
    height: 0.45rem;
    margin: 1.2rem 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.route-loading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    animation: route-loading-sweep 1.15s ease-in-out infinite;
}

.route-loading-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 0.75rem;
}

.route-loading-card {
    min-height: 7rem;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background: #f8fafc;
}

.route-loading-card-wide {
    grid-row: span 2;
}

.route-loading-card span,
.route-loading-card strong,
.route-loading-card em {
    display: block;
    height: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 42%, #e2e8f0 70%);
    background-size: 220% 100%;
    animation: route-loading-shimmer 1.35s ease-in-out infinite;
}

.route-loading-card span {
    width: 35%;
}

.route-loading-card strong {
    width: 76%;
    height: 1rem;
    margin-top: 1.4rem;
}

.route-loading-card em {
    width: 58%;
    margin-top: 0.7rem;
}

@keyframes route-loading-sweep {
    0% {
        transform: translateX(-115%);
    }

    100% {
        transform: translateX(260%);
    }
}

@keyframes route-loading-shimmer {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}

@media (max-width: 640px) {
    .route-loading-page {
        padding: 1rem;
    }

    .route-loading-grid {
        grid-template-columns: 1fr;
    }

    .route-loading-card-wide {
        grid-row: auto;
    }
}*/
/* _content/Sunflower.Client.Core/PageLayouts/RoutePageLayout.razor.rz.scp.css */

:root[b-drur5jh32n] {
    --navbar-height: 6rem; /* match your design */
    --sidebar-width: 5.5rem; /* your compact sidebar */
}

/* Overall page frame */
.page[b-drur5jh32n] {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* Main column stacks navbar and content */
.main-column[b-drur5jh32n] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
}

    .main-column:has(.workspace-content)[b-drur5jh32n] {
        overflow-y: hidden;
    }

/* NAVBAR always at top */
.top-row[b-drur5jh32n] {
    position: sticky;
    top: 0;
    z-index: 1100; /* ABOVE sidebar */
    min-height: var(--navbar-height);
    overflow: visible; /* Let dropdowns overflow */
    flex-shrink: 0; /* Don't shrink navbar */
}

    .top-row .container-fluid[b-drur5jh32n] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: relative;
        z-index: 1101;
    }

.searchbar-tab-shell[b-drur5jh32n] {
    flex: 1 1 0;
    min-width: 0;
}

.user-session-status[b-drur5jh32n] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 3.25rem;
}

.session-countdown[b-drur5jh32n] {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
}

@media (min-width: 992px) {
    #topNav[b-drur5jh32n] {
        min-width: 0;
    }

        #topNav > .navbar-nav[b-drur5jh32n] {
            flex: 0 0 auto;
            margin-right: 0 !important;
        }

        #topNav > .searchbar-tab-shell[b-drur5jh32n] {
            flex: 1 1 auto;
        }

        #topNav > .d-flex.align-items-center.ms-auto[b-drur5jh32n] {
            flex: 0 0 auto;
            margin-left: 0 !important;
        }
}

.home-height[b-drur5jh32n] {
    height: var(--navbar-height);
}

/* Sidebar under navbar */
.Rssidebar[b-drur5jh32n] {
    width: var(--sidebar-width);
    position: sticky;
    top: var(--navbar-height);
    z-index: 1050; /* BELOW navbar */
    min-height: calc(100vh - var(--navbar-height));
    height: calc(100vh - var(--navbar-height));
    background: #fff;
    box-shadow: 0 0 10px #eee;
    overflow-y: auto;
}

/* Desktop sidebar styling */
@media (min-width: 641px) {
    .Rssidebar[b-drur5jh32n] {
        position: sticky;
        top: var(--navbar-height);
        left: 0;
        transform: none !important;
        width: var(--sidebar-width);
    }
}

.workspace-content[b-drur5jh32n] {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Chrome, Edge, Safari */
/*.content::-webkit-scrollbar {
    width: 16px;*/ /* vertical scrollbar width */
/*height: 16px;*/ /* horizontal scrollbar height */
/*}

.content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
}

.content::-webkit-scrollbar-track {
    background: #f1f1f1;
}*/


/* Navbar icon + label consistency */
.nav-label[b-drur5jh32n] {
    display: block;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
    color: #fff;
    line-height: 1.1;
}

.nav-icon[b-drur5jh32n] {
    font-size: 2.5rem;
    line-height: 1;
    color: #fff !important;
}

.nav-toggle-btn[b-drur5jh32n] {
    font-size: 2.5rem;
    line-height: 1;
}

/* Navbar nav item structure for desktop */
.navbar-nav .nav-item[b-drur5jh32n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

    .navbar-nav .nav-item .nav-label[b-drur5jh32n] {
        order: -1;
        font-size: 0.9rem;
    }

    .navbar-nav .nav-item .nav-icon[b-drur5jh32n] {
        order: 0;
    }

/* Dropdown spacing */
.navbar .dropdown-menu[b-drur5jh32n] {
    min-width: 220px;
    max-width: calc(100vw - 1rem);
    left: 0 !important; /* Start from left side of trigger */
    right: auto !important; /* Remove right alignment */
}

/* Exception: User and Settings dropdowns use responsive alignment */
#userDropdown ~ .dropdown-menu[b-drur5jh32n],
#settingsDropdown ~ .dropdown-menu[b-drur5jh32n],
.responsive-dropdown[b-drur5jh32n] {
    left: auto !important;
    right: auto !important;
}

@media (max-width: 640.98px) {
    .navbar .dropdown-menu[b-drur5jh32n] {
        min-width: auto;
        max-width: 100%;
    }
}

/* Mobile behavior */
@media (max-width: 640.98px) {
    :root[b-drur5jh32n] {
        --navbar-height: 4.25rem;
        --sidebar-width: 100%;
    }

    /* smaller on mobile */
    .page[b-drur5jh32n] {
        flex-direction: column;
        position: relative;
    }

    .main-column[b-drur5jh32n] {
        min-width: 100%;
    }

    /* Sidebar becomes off-canvas style drawer - HIDDEN by default */
    .Rssidebar[b-drur5jh32n] {
        position: fixed !important;
        left: 0;
        top: var(--navbar-height);
        bottom: 0;
        height: auto !important;
        min-height: auto;
        width: 16rem !important;
        z-index: 1090;
        overflow-y: auto;
        background: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    }

    /* Sidebar visibility is controlled by transform in IconNavMenu.razor.css */

    /* Sidebar styling is handled by IconNavMenu.razor.css */

    /* Sidebar backdrop */
    .page[b-drur5jh32n] {
        position: relative;
    }

        .page[b-drur5jh32n]::before {
            content: '';
            position: fixed;
            top: var(--navbar-height);
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1085;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease-in-out;
        }

        .page:has(.Rssidebar.expanded)[b-drur5jh32n]::before {
            opacity: 1;
            pointer-events: auto;
        }

        /* Backdrop click to close sidebar */
        .page[b-drur5jh32n]::before {
            cursor: pointer;
        }

    /* Navbar collapse */
    .navbar-collapse[b-drur5jh32n] {
        overflow-y: auto;
        max-height: calc(100vh - var(--navbar-height) - 3.5rem);
    }

    #topNav > .searchbar-tab-shell[b-drur5jh32n] {
        width: 100%;
        flex: 1 1 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Default mobile nav structure */
    .navbar-nav[b-drur5jh32n] {
        flex-direction: column !important;
        gap: 1rem;
    }

        .navbar-nav .nav-item[b-drur5jh32n] {
            width: 100%;
            text-align: center;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
        }

            .navbar-nav .nav-item .nav-label[b-drur5jh32n] {
                display: block;
                order: -1;
                font-size: 0.8rem;
                font-weight: 600;
                color: #fff;
                margin: 0;
            }

            .navbar-nav .nav-item .nav-icon[b-drur5jh32n],
            .navbar-nav .nav-item .nav-link[b-drur5jh32n] {
                display: block;
                text-align: center;
                font-size: 1.5rem !important;
                color: #fff !important;
                padding: 0;
                order: 0;
            }

    #topNav > .navbar-nav[b-drur5jh32n] {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
        align-items: start;
        gap: 0.75rem;
        width: 100%;
    }

        #topNav > .navbar-nav .nav-item[b-drur5jh32n] {
            width: auto;
            min-width: 0;
            margin: 0 !important;
        }

            #topNav > .navbar-nav .nav-item.dropdown:has(.dropdown-menu.show)[b-drur5jh32n] {
                grid-column: 1 / -1;
            }

            #topNav > .navbar-nav .nav-item .nav-label[b-drur5jh32n] {
                max-width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

    /* Dropdown menus should not be positioned end on mobile */
    .dropdown-menu[b-drur5jh32n] {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0.5rem 0;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
    }

        .dropdown-menu.show[b-drur5jh32n] {
            display: block;
        }

    .dropdown-item[b-drur5jh32n] {
        padding: 0.5rem 2rem;
        font-size: 0.9rem;
    }

    /* Content padding on mobile */
    .content[b-drur5jh32n] {
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .page[b-drur5jh32n] {
        padding: 0;
    }

    .nav-label[b-drur5jh32n] {
        font-size: 0.9rem;
    }

    .nav-icon[b-drur5jh32n], .nav-toggle-btn[b-drur5jh32n] {
        font-size: 1.75rem;
    }

    /* User icon sizing */
    .user-icon[b-drur5jh32n] {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .user-session-status[b-drur5jh32n] {
        min-width: 2.75rem;
    }

    .session-countdown[b-drur5jh32n] {
        font-size: 0.68rem;
    }

    /* Reduce navbar padding */
    .top-row .container-fluid[b-drur5jh32n] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .me-4[b-drur5jh32n] {
        margin-right: 0.5rem !important;
    }

    .ms-auto[b-drur5jh32n] {
        margin-left: auto;
    }

    /* Hide labels on very small screens */
    @media (max-width: 480px) {
        .nav-label[b-drur5jh32n] {
            display: none;
        }

        .navbar-nav .nav-item[b-drur5jh32n] {
            text-align: center;
        }
    }
}

/* Tablet behavior */
@media (min-width: 641px) and (max-width: 991.98px) {
    .navbar-nav[b-drur5jh32n] {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-label[b-drur5jh32n] {
        font-size: 0.85rem;
    }

    .nav-icon[b-drur5jh32n] {
        font-size: 2rem;
    }

    .content[b-drur5jh32n] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
