/* /Layout/MainLayout.razor.rz.scp.css */
.main-container[b-39qqxuozsz] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    box-sizing: border-box;
}

.top-bar[b-39qqxuozsz] {
	margin-bottom:10px;
    --top-bar-height: 3.5rem;
    background-color: rgb(20 1 1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: var(--top-bar-height);
    height: var(--top-bar-height);
    overflow: visible;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.logo-section[b-39qqxuozsz] {
    --logo-overhang: 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: flex-start;
    height: calc(var(--top-bar-height) + var(--logo-overhang));
    margin-bottom: calc(-1 * var(--logo-overhang));
    padding: 0.35rem 1.25rem 0.35rem 1rem;
    box-sizing: border-box;
    background-color: var(--mud-palette-primary);
    cursor: pointer;
    user-select: none;
    margin-left: 2%;
    position: relative;
    z-index: 2;
    border-radius: 5px;
}

.logo-row[b-39qqxuozsz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon[b-39qqxuozsz] {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.logo-text[b-39qqxuozsz] {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-left: -10px;
    margin-top: 7px;
}

.logo-subtitle[b-39qqxuozsz] {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.9;
}

.environment-badge[b-39qqxuozsz] {
    background-color: var(--mud-palette-warning);
    color: var(--mud-palette-black);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    line-height: 1;
    text-transform: uppercase;
	position:fixed;
	margin-left:6rem;
}

.top-bar-right[b-39qqxuozsz] {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 1rem;
    padding: 0.35rem 0;
}

.user-info[b-39qqxuozsz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.user-info:hover[b-39qqxuozsz] {
    opacity: 0.9;
}

.user-icon[b-39qqxuozsz] {
    width: 35px;
    height: 35px;
}

.user-details[b-39qqxuozsz] {
    display: flex;
    flex-direction: column;
}

.user-name[b-39qqxuozsz] {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.2;
}

.user-location[b-39qqxuozsz] {
    font-size: .8rem;
    opacity: 0.8;
    line-height: 1.2;
	text-align: center;
}

.task-icon[b-39qqxuozsz] {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-icon svg[b-39qqxuozsz] {
    width: 35px;
    height: 35px;
}

.task-badge[b-39qqxuozsz] {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--mud-palette-error);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid var(--mud-palette-success);
}

.logout-icon[b-39qqxuozsz] {
    color: inherit;
}

.logout-icon:hover[b-39qqxuozsz],
.task-icon:hover[b-39qqxuozsz] {
    opacity: 0.8;
}

.main-content[b-39qqxuozsz] {
    flex: 1;
    overflow-y: auto;
    background-color: var(--mud-palette-background);
}

/* API error dialog: block all interaction in routed content (inert is primary; this supports older browsers). */
.main-content.main-content--api-error-locked[b-39qqxuozsz] {
    pointer-events: none;
    user-select: none;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-vr0l7neven] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-vr0l7neven] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-vr0l7neven] {
    font-size: 1.1rem;
}

.bi[b-vr0l7neven] {
    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-vr0l7neven] {
    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-vr0l7neven] {
    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-vr0l7neven] {
    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-item[b-vr0l7neven] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-vr0l7neven] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-vr0l7neven] {
        padding-bottom: 1rem;
    }

    .nav-item[b-vr0l7neven]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-vr0l7neven]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-vr0l7neven]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-vr0l7neven] {
        display: none;
    }

    .collapse[b-vr0l7neven] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-vr0l7neven] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
