@import 'EdubaWare.WebApp.Client.12os2kflrc.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cm380ureqy] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
}

main[b-cm380ureqy] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

article.content[b-cm380ureqy] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 1.1rem;
}

.sidebar.radzen-themed-sidebar[b-cm380ureqy] {
    background: var(--rz-sidebar-background-color, #2c5aa0);
    color: var(--rz-sidebar-color, #ffffff);
    border-right: var(--rz-sidebar-border, 1px solid var(--rz-border-color));
}

.top-row.radzen-themed-header[b-cm380ureqy] {
    background: var(--rz-header-background-color, #ffffff);
    border-bottom: var(--rz-header-border, 1px solid var(--rz-border-color));
    color: var(--rz-header-color, #495057);
    justify-content: flex-end;
    height: 4.6rem;
    display: flex;
    align-items: center;
}

.content.radzen-themed-content[b-cm380ureqy] {
    background: var(--rz-body-background-color, #ffffff);
    color: var(--rz-body-color, #495057);
}

    .top-row[b-cm380ureqy]  a, .top-row[b-cm380ureqy]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--rz-text-color, #495057);
    }

    .top-row[b-cm380ureqy]  a:hover, .top-row[b-cm380ureqy]  .btn-link:hover {
        text-decoration: underline;
        color: var(--rz-primary);
    }

    .top-row[b-cm380ureqy]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-cm380ureqy] {
        max-height: 2rem;
    }

    .top-row[b-cm380ureqy]  a, .top-row[b-cm380ureqy]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-cm380ureqy] {
        flex-direction: row;
    }

    .sidebar[b-cm380ureqy] {
        width: 280px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-cm380ureqy] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-cm380ureqy]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-cm380ureqy], article[b-cm380ureqy] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-cm380ureqy] {
    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-cm380ureqy] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Radzen-themed navigation menu */
.navbar-toggler[b-jxmxzcsyyr] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--rz-sidebar-color, white);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--rz-border-color, 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 var(--rz-button-background-color, rgba(255, 255, 255, 0.1));
    border-radius: var(--rz-border-radius);
}

.navbar-toggler:checked[b-jxmxzcsyyr] {
    background-color: var(--rz-button-background-color-hover, rgba(255, 255, 255, 0.5));
}

.top-row[b-jxmxzcsyyr] {
    min-height: 4.6rem;
    background-color: var(--rz-primary-darker, rgba(0,0,0,0.4));
    color: var(--rz-sidebar-color, white);
}

.navbar-brand[b-jxmxzcsyyr] {
    font-size: 1.1rem;
    color: var(--rz-sidebar-color, white) !important;
    text-decoration: none !important;
}

.navbar-brand:hover[b-jxmxzcsyyr] {
    color: var(--rz-sidebar-color, white) !important;
}

.bi[b-jxmxzcsyyr] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.nav-item[b-jxmxzcsyyr] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-jxmxzcsyyr] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-jxmxzcsyyr] {
    padding-bottom: 1rem;
}

.nav-item[b-jxmxzcsyyr]  .nav-link {
    color: var(--rz-sidebar-color, #ffffff);
    background: none;
    border: none;
    border-radius: var(--rz-border-radius, 4px);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    text-decoration: none !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-item[b-jxmxzcsyyr]  a.active {
    background-color: var(--rz-primary-light, rgba(255,255,255,0.37));
    color: var(--rz-sidebar-color, white);
}

.nav-item[b-jxmxzcsyyr]  .nav-link:hover {
    background-color: var(--rz-primary-lighter, rgba(255,255,255,0.1));
    color: var(--rz-sidebar-color, white);
}

/* Custom menu styles */
.admin-menu[b-jxmxzcsyyr], .user-menu[b-jxmxzcsyyr] {
    color: var(--rz-sidebar-color, #ffffff) !important;
    background: none;
    border: none;
    border-radius: var(--rz-border-radius, 4px);
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    text-decoration: none !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.admin-menu:hover[b-jxmxzcsyyr], .user-menu:hover[b-jxmxzcsyyr] {
    background-color: var(--rz-primary-lighter, rgba(255,255,255,0.1));
}

.admin-submenu .nav-item[b-jxmxzcsyyr], .user-submenu .nav-item[b-jxmxzcsyyr] {
    padding-left: 1rem !important;
    margin-left: 1rem;
    border-left: 2px solid var(--rz-primary-light, rgba(255,255,255,0.2));
}

.admin-toggle[b-jxmxzcsyyr], .user-toggle[b-jxmxzcsyyr] {
    margin-left: auto;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-scrollable[b-jxmxzcsyyr] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-jxmxzcsyyr] {
    display: block;
}

@media (max-width: 640px) {
    .navbar-toggler:checked ~ .nav-scrollable[b-jxmxzcsyyr] {
        display: block;
        max-height: 16rem;
        overflow-y: auto;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-jxmxzcsyyr] {
        display: none;
    }

    .nav-scrollable[b-jxmxzcsyyr] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 4.6rem);
        overflow-y: auto;
    }
}
