/* _content/Tobiso.Web.App/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-a1rrkoplw3] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-a1rrkoplw3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Tobiso.Web.App/Components/Layout/NavMenu.razor.rz.scp.css */
#MyNavBar[b-19qsqa9t8n] {
    height: 99vh;
    /* Ensure it takes full height */
    width: 285px;
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #ffad8f;
    display: flex;
    flex-direction: column;
    z-index: 1040;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.scrollable-menu[b-19qsqa9t8n] {
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(100vh - 2rem);
    /* Adjust height to enable scrolling */
    scrollbar-width: auto;
    /* For Firefox */
    scrollbar-color: #ff9c66 #ffad8f;
    /* For Firefox */
}

/* For Webkit browsers (Chrome, Safari) */
.scrollable-menu[b-19qsqa9t8n]::-webkit-scrollbar {
    width: 8px;
}

.scrollable-menu[b-19qsqa9t8n]::-webkit-scrollbar-thumb {
    background-color: #ff9c66;
    border-radius: 10px;
}

.scrollable-menu[b-19qsqa9t8n]::-webkit-scrollbar-track {
    background-color: #ffad8f;
}

nav[b-19qsqa9t8n] {
    position: fixed;
}
.nav[b-19qsqa9t8n] {
    padding: 0;
}

#MyNavBar .nav-link[b-19qsqa9t8n] {
    color: #160703;
    padding: 0.8rem 0 0.8rem 0;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 250px;
    border-radius: 10px;
}

.nav-link-content[b-19qsqa9t8n] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    gap: 0.5rem;
}
a:has(.navImg)[b-19qsqa9t8n] {
    margin-left: 15px;
    margin-right: 15px;
    text-align: center;
    border-bottom: 3px solid #ff9c66;
}
.navImg[b-19qsqa9t8n] {
    transition: all 0.3s ease;
    padding: 7px;
    border-radius: 10px;
}

.navImg:hover[b-19qsqa9t8n],
#MyNavBar .nav-link:hover[b-19qsqa9t8n] {
    transform: scale(1.05);
    text-decoration: none;
}
#MyNavBar .nav-link:hover[b-19qsqa9t8n] {
    background-color: #ff9c66;
}

.navImg:active[b-19qsqa9t8n],
#MyNavBar .nav-link:active[b-19qsqa9t8n] {
    transform: scale(0.95);
}

.navbar-toggler:hover[b-19qsqa9t8n] {
    border: none;
    background-color: transparent;
}

.main-content[b-19qsqa9t8n] {
    margin-left: 250px;
    padding: 0;
}

.version-info[b-19qsqa9t8n] {
    margin-top: auto;
    padding: 1rem;
    padding-right: 0;
    text-align: right;
    font-size: 0.8rem;
    color: #741f00;
    border-top: 3px solid #ff9c66;
    margin-left: 15px;
    margin-right: 15px;
}

.mobile-header[b-19qsqa9t8n] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 47px;
    right: 0;
    z-index: 1040;
    background-color: #ffad8f;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-menu[b-19qsqa9t8n] {
    position: fixed;
    top: 70px;
    right: -350px;
    width: 300px;
    height: calc(100vh - 70px);
    background-color: #ffad8f;
    padding: 1rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1040;
    margin-top: 9px;
    /* For Firefox */
    scrollbar-color: #ff9c66 #ffad8f;
    /* For Firefox */
}

/* For Webkit browsers (Chrome, Safari) */
.mobile-menu[b-19qsqa9t8n]::-webkit-scrollbar {
    width: 12px;
}

.mobile-menu[b-19qsqa9t8n]::-webkit-scrollbar-thumb {
    background-color: #ff9c66;
    border-radius: 10px;
}

.mobile-menu[b-19qsqa9t8n]::-webkit-scrollbar-track {
    background-color: #ffad8f;
}

.mobile-menu.show[b-19qsqa9t8n] {
    right: 0;
}
.nav-item[b-19qsqa9t8n] {
    text-align: center;
}
.close-menu[b-19qsqa9t8n] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.navbar-toggler[b-19qsqa9t8n] {
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.navbar-toggler:hover[b-19qsqa9t8n] {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    #MyNavBar[b-19qsqa9t8n] {
        display: none;
    }

    .mobile-header[b-19qsqa9t8n] {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .main-content[b-19qsqa9t8n] {
        margin-left: 0;
        margin-top: 70px;
    }

    .mobile-menu .nav-link[b-19qsqa9t8n] {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }

    .mobile-menu .nav-link:hover[b-19qsqa9t8n] {
        background-color: #ff9c66;
        transform: translateX(5px);
    }

    .mobile-menu .nav-link-content[b-19qsqa9t8n] {
        justify-content: flex-start;
    }

    .mobile-menu[b-19qsqa9t8n] {
        scrollbar-width: auto;
        /* For Firefox */
    }

    .mobile-menu[b-19qsqa9t8n]::-webkit-scrollbar {
        width: 16px;
    }
    a:has(.navImg)[b-19qsqa9t8n] {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        border: none !important;
    }
}

.openNav[b-19qsqa9t8n] {
    visibility: hidden;
    color: #220b00;
}

.switch[b-19qsqa9t8n] {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input[b-19qsqa9t8n] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-19qsqa9t8n] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffcab7;
    transition: 0.4s;
    border-radius: 34px;
}

.slider[b-19qsqa9t8n]:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider[b-19qsqa9t8n] {
    background-color: #942700;
}

input:checked + .slider[b-19qsqa9t8n]:before {
    transform: translateX(14px);
}

#MyNavBar .nav-text[b-19qsqa9t8n] {
    color: #160703;
    padding: 0.8rem 0 0.8rem 0;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 170px;
    border-radius: 10px;
}
