/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-4ntlz8ci4h] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--lms-cream, #FBF8F4);
}

main[b-4ntlz8ci4h] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-4ntlz8ci4h] {
    background: #FFFFFF;
    border-right: 1px solid var(--lms-border, #E4DCD3);
}

.top-row[b-4ntlz8ci4h] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    height: 3.75rem;
    background: rgba(251, 248, 244, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--lms-border, #E4DCD3);
}

.role-chip[b-4ntlz8ci4h] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--lms-green-soft, #E3EFE6);
    color: var(--lms-green-dark, #245830);
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.user-box[b-4ntlz8ci4h] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: right;
    min-width: 0;
}

.user-name[b-4ntlz8ci4h] {
    font-weight: 700;
    color: var(--lms-heading, #4C311F);
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-mail[b-4ntlz8ci4h] {
    color: var(--lms-muted, #6B5C50);
    font-size: .75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640.98px) {
    .top-row[b-4ntlz8ci4h] {
        justify-content: space-between;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .user-mail[b-4ntlz8ci4h] {
        display: none;
    }
}

@media (min-width: 641px) {
    .page[b-4ntlz8ci4h] {
        flex-direction: row;
    }

    .sidebar[b-4ntlz8ci4h] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-4ntlz8ci4h] {
        position: sticky;
        top: 0;
        z-index: 2;
    }

        .top-row[b-4ntlz8ci4h], article[b-4ntlz8ci4h] {
            padding-left: 2rem !important;
            padding-right: 2rem !important;
        }

    .user-name[b-4ntlz8ci4h] {
        max-width: 18rem;
    }

    .user-mail[b-4ntlz8ci4h] {
        max-width: 18rem;
    }
}

#blazor-error-ui[b-4ntlz8ci4h] {
    color-scheme: light only;
    background: #FBF2DE;
    border-top: 1px solid #EBD5A4;
    color: #6B4E13;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(76, 49, 31, .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-4ntlz8ci4h] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-nsb500pe8b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    height: 3.75rem;
    padding: 0 1rem;
    border-bottom: 1px solid var(--lms-border, #E4DCD3);
}

.brand[b-nsb500pe8b] {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    min-width: 0;
}

.brand-mark[b-nsb500pe8b] {
    font-size: 1.5rem;
    line-height: 1;
}

.brand-text[b-nsb500pe8b] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.brand-name[b-nsb500pe8b] {
    font-weight: 700;
    color: var(--lms-heading, #4C311F);
    font-size: 1.05rem;
}

.brand-sub[b-nsb500pe8b] {
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lms-muted, #6B5C50);
}

.navbar-toggler-state[b-nsb500pe8b] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.navbar-toggler[b-nsb500pe8b] {
    display: block;
    flex-shrink: 0;
    padding: 0;
    cursor: pointer;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--lms-border, #E4DCD3);
    border-radius: 999px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236B5C50' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center/1.25rem no-repeat, #fff;
}

    .navbar-toggler-state:checked ~ .brand-row .navbar-toggler[b-nsb500pe8b] {
        background-color: var(--lms-green-soft, #E3EFE6);
    }

    .navbar-toggler-state:focus-visible ~ .brand-row .navbar-toggler[b-nsb500pe8b] {
        outline: 2px solid var(--lms-green, #2D6A3D);
        outline-offset: 2px;
    }

.nav-scrollable[b-nsb500pe8b] {
    display: none;
    padding: .75rem .75rem 2rem;
}

.navbar-toggler-state:checked ~ .nav-scrollable[b-nsb500pe8b] {
    display: block;
}

.nav-group[b-nsb500pe8b] {
    padding: 1rem .75rem .3rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #A2938A;
}

.nav-item[b-nsb500pe8b] {
    font-size: .95rem;
}

    .nav-item[b-nsb500pe8b]  .nav-link,
    .nav-item .nav-link-button[b-nsb500pe8b] {
        display: flex;
        align-items: center;
        gap: .65rem;
        width: 100%;
        color: var(--lms-muted, #6B5C50);
        font-weight: 600;
        border-radius: 999px;
        padding: .5rem .75rem;
        line-height: 1.3;
        text-decoration: none;
        border: none;
        background: none;
        text-align: left;
    }

        .nav-item[b-nsb500pe8b]  .nav-link i,
        .nav-item .nav-link-button i[b-nsb500pe8b] {
            font-size: 1.05rem;
            width: 1.2rem;
            text-align: center;
            flex-shrink: 0;
        }

        .nav-item[b-nsb500pe8b]  .nav-link:hover,
        .nav-item .nav-link-button:hover[b-nsb500pe8b] {
            background: var(--lms-cream-deep, #F5EFE7);
            color: var(--lms-heading, #4C311F);
        }

        .nav-item[b-nsb500pe8b]  .nav-link.active {
            background: var(--lms-green-soft, #E3EFE6);
            color: var(--lms-green-dark, #245830);
        }

            .nav-item[b-nsb500pe8b]  .nav-link.active i {
                color: var(--lms-green, #2D6A3D);
            }

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

    .nav-scrollable[b-nsb500pe8b] {
        display: block;
        height: calc(100vh - 3.75rem);
        overflow-y: auto;
    }
}
