/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-5gb0gjham5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5gb0gjham5] {
    flex: 1;
}

.sidebar[b-5gb0gjham5] {
    background: linear-gradient(180deg, #000000, #0a0a0a, #111); /* Deep layered black */
    color: #dcdcdc; /* Softer light gray text */
    border-right: 1px solid #1f1f1f; /* Dark gray subtle border */
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05); /* Very faint inner depth */
    padding: 15px 15px 15px 0; /* Top/right/bottom: 15px; left: 0 to flush nav items to edge */
    font-family: Arial, sans-serif;
    position: sticky;
    top: 0;
    border-radius: 0;
}

.top-row[b-5gb0gjham5] {
    background-color: #ffffff; /* White background for a clean look */

    border-bottom: 1px solid #e0e0e0; /* Light gray border for separation */
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    color: #333333; /* Dark gray text for contrast */
}

    .top-row[b-5gb0gjham5]  a, .top-row .btn-link[b-5gb0gjham5] {
        white-space: nowrap;
        margin-left: 1.5rem;
        color: #007bff; /* Blue accent for links */
        text-decoration: none;
    }

        .top-row[b-5gb0gjham5]  a:hover, .top-row .btn-link:hover[b-5gb0gjham5] {
            color: #0056b3; /* Darker blue on hover */
        }

    .top-row a:first-child[b-5gb0gjham5] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-5gb0gjham5] {
        display: none;
    }

    .top-row.auth[b-5gb0gjham5] {
        justify-content: space-between;
    }

    .top-row a[b-5gb0gjham5], .top-row .btn-link[b-5gb0gjham5] {
        margin-left: 0;
        color: #007bff; /* Maintain blue accent for smaller screens */
    }
}

@media (min-width: 641px) {
    .page[b-5gb0gjham5] {
        flex-direction: row;
    }

    .sidebar[b-5gb0gjham5] {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
        padding: 15px 15px 15px 0; /* Reinforce left: 0 in desktop mode for flush nav */
    }

    .top-row[b-5gb0gjham5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-5gb0gjham5], article[b-5gb0gjham5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
/* Navbar toggler */
/*.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}*/




/* Navbar brand */
/*.navbar-brand {
    font-size: 1.1rem;
}

.custom-dropdown-menu {
    background-color: #405067;*/ /* Change the background color for the dropdown menu */
    /*border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: width 0.3s ease;*/ /* Add a transition for smooth width change */
    /*width: auto;*/ /* Set the initial width to auto or any other value you prefer */
/*}*/


    /* Increase the width when hovering */
    /*.custom-dropdown-menu:hover {
        width: 200px;*/ /* Adjust the width as needed */
    /*}*/


/* Hover effect */
/*.hover-effect {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}*/

/* Custom card style */
/*.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }*/

/* Custom dropdown item style */
/*.custom-dropdown-menu a {
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
}*/

    /* Hover effect for dropdown items */
    /*.custom-dropdown-menu a:hover {
        background-color: #0056b3;
    }*/

/* Styling for dropdown arrow icon */
/*.custom-dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease-in-out;
}*/

/* Rotate the icon when dropdown is open */
/*.custom-dropdown-toggle.open i {
    transform: rotate(180deg);
}*/
/* Styling for dropdown arrow icon */
/*.custom-dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease-in-out;
}*/

/* Rotate the icon when dropdown is open */
/*.custom-dropdown-toggle.open i {
    transform: rotate(180deg);
}*/

/* Center-align and make text slightly bold for all nav items */
/*.nav-link {
    text-align: center;
    font-weight: 500;
    height: 2rem;
    line-height: 2rem;
}*/

/* Remove gap between nav-link items */
/*.nav-item ::deep a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 2rem;
    display: flex;
    align-items: center;
    line-height: 2rem;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}*/

    /* Add hover effect for nav-link items */
    /*.nav-item ::deep a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }*/

    /* Active nav-link style */
    /*.nav-item ::deep a.active {
        background-color: rgba(255, 255, 255, 0.25);
        color: white;
    }*/

    /* Hover effect for nav-link items */
    /*.nav-item ::deep a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .collapse {
        display: block;
    }
}*/
/* Navbar toggler */
/* Navbar toggler */
.navbar-toggler[b-54wfo4ejyk] {
    background-color: rgba(255, 255, 255, 0.1);
}
/* Navbar brand */
.navbar-brand[b-54wfo4ejyk] {
    font-size: 1.1rem;
}
/* Hover effect */
.hover-effect[b-54wfo4ejyk] {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Custom card style */
.card[b-54wfo4ejyk] {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .card:hover[b-54wfo4ejyk] {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
/* Updated font styling for nav: Use Arial to match sidebar, slightly bolder for better readability, and consistent sizing */
.nav-link[b-54wfo4ejyk], .nav-item[b-54wfo4ejyk]  a {
    font-family: Arial, sans-serif;
    font-weight: 600; /* Bolder than previous 500 for emphasis */
    font-size: 0.875rem; /* Slightly larger than 0.9rem for clarity */
    text-align: left; /* Align left for better flow in vertical nav */
}
/* Center-align and adjust height/line-height for nav items (kept for compatibility) */
.nav-link[b-54wfo4ejyk] {
    height: 2rem;
    line-height: 2rem;
}
/* Remove gap between nav-link items */
.nav-item[b-54wfo4ejyk]  a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 2rem;
    display: flex;
    align-items: center;
    line-height: 2rem;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* Prevent text wrapping to avoid height changes */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for long text to prevent width overflow */
}
    /* Add hover effect for nav-link items */
    .nav-item[b-54wfo4ejyk]  a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    /* Active nav-link style */
    .nav-item[b-54wfo4ejyk]  a.active {
        background-color: rgba(255, 255, 255, 0.25);
        color: white;
    }
    /* Hover effect for nav-link items */
    .nav-item[b-54wfo4ejyk]  a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
/* Remove left padding from nav items while keeping right padding and layout/icons intact */
.nav-item[b-54wfo4ejyk] {
    padding-left: 0;
    padding-right: 1rem; /* Maintains Bootstrap px-3 right padding equivalent */
    width: 100%; /* Ensure items don't exceed sidebar width */
}
/* Prevent horizontal scrolling: Hide x-overflow on sidebar/nav container, allow vertical scroll if needed */
.sidebar[b-54wfo4ejyk] {
    overflow-x: hidden; /* Hide horizontal overflow */
    overflow-y: auto; /* Allow vertical scrolling for long menus */
}

    .sidebar ul.nav[b-54wfo4ejyk] {
        max-width: 100%; /* Cap width to sidebar */
        overflow-x: hidden; /* Reinforce no horizontal scroll */
    }

@media (min-width: 641px) {
    .navbar-toggler[b-54wfo4ejyk] {
        display: none;
    }

    .collapse[b-54wfo4ejyk] {
        display: block;
    }
}
