/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-jj44in3xj2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-jj44in3xj2] {
    flex: 1;
}

/* Sidebar � dark teal glass gradient */
.sidebar[b-jj44in3xj2] {
    background: linear-gradient( 180deg, rgba(0, 70, 80, 0.95) 0%, rgba(0, 40, 50, 0.95) 70% );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    --sidebar-flyout-bg: rgb(0, 55, 65);
}

/* Top bar � frosted glass */
.top-row[b-jj44in3xj2] {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    /* Top bar links */
    .top-row[b-jj44in3xj2]  a,
    .top-row[b-jj44in3xj2]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.9);
    }

        .top-row[b-jj44in3xj2]  a:hover,
        .top-row[b-jj44in3xj2]  .btn-link:hover {
            text-decoration: underline;
        }

        /* Overflow fix */
        .top-row[b-jj44in3xj2]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/* Mobile */
@media (max-width: 640.98px) {
    .top-row[b-jj44in3xj2] {
        justify-content: space-between;
    }

        .top-row[b-jj44in3xj2]  a,
        .top-row[b-jj44in3xj2]  .btn-link {
            margin-left: 0;
        }
}

/* Desktop */
@media (min-width: 641px) {
    .page[b-jj44in3xj2] {
        flex-direction: row;
    }

    .sidebar[b-jj44in3xj2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-jj44in3xj2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-jj44in3xj2]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-jj44in3xj2],
    article[b-jj44in3xj2] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-fyrokosqp3] {
    background-color: rgba(255, 255, 255, 0.12);
}

/* Top bar */
.top-row[b-fyrokosqp3] {
    min-height: 3.5rem;
    background-color: rgba(0, 90, 100, 0.55);
    backdrop-filter: blur(12px);
}

/* Brand */
.navbar-brand[b-fyrokosqp3] {
    font-size: 1.1rem;
    color: white;
}

/* Icons */
.bi[b-fyrokosqp3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* WHITE ICONS */
.bi-house-door-fill-nav-menu[b-fyrokosqp3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' 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-fyrokosqp3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' 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-fyrokosqp3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' 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 items */
.nav-item[b-fyrokosqp3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-fyrokosqp3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-fyrokosqp3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-fyrokosqp3]  a {
        color: rgba(255, 255, 255, 0.85);
        border-radius: 6px;
        min-height: 38px;
        display: flex;
        align-items: center;
        line-height: normal;
        transition: background 0.2s ease;
    }

        /* Active item � glass teal */
        .nav-item[b-fyrokosqp3]  a.active {
            background-color: rgba(90, 220, 220, 0.35);
            backdrop-filter: blur(10px);
            color: white;
        }

        /* Hover */
        .nav-item[b-fyrokosqp3]  a:hover {
            background-color: rgba(90, 220, 220, 0.2);
            color: white;
        }
.nav-scrollable[b-fyrokosqp3] {
    overflow-x: hidden !important;
}
/* FIX header visibility */
.sidebar .top-row[b-fyrokosqp3] {
    min-height: 3.5rem;
    background-color: rgba(0, 90, 100, 0.55);
    backdrop-filter: blur(12px);
}

.navbar-dark .navbar-toggler-icon[b-fyrokosqp3] {
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.sidebar .navbar-brand[b-fyrokosqp3] {
    color: white;
}
/* Desktop */
@media (min-width: 641px) {
    .navbar-toggler[b-fyrokosqp3] {
        display: none;
    }

    .collapse[b-fyrokosqp3] {
        display: block;
    }

    .nav-scrollable[b-fyrokosqp3] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        background: rgba(0, 70, 80, 0.55);
        backdrop-filter: blur(14px);
    }
}
