/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-tb5wnpi7q7] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-tb5wnpi7q7] {
    flex: 1;
    background-color: #f9f9f9;
}

.sidebar[b-tb5wnpi7q7] {
    background: linear-gradient(135deg, #800000 0%, #600000 100%);
    box-shadow: 2px 0 10px rgba(128, 0, 0, 0.2);
}

.top-row[b-tb5wnpi7q7] {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-bottom: 1px solid #f9f9f9;
    justify-content: flex-start;
    height: 4rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(128, 0, 0, 0.1);
}

.header-content h6[b-tb5wnpi7q7] {
    font-weight: 600;
    color: #800000;
    letter-spacing: 0.5px;
    margin: 0;
}

.top-row[b-tb5wnpi7q7]  a, .top-row[b-tb5wnpi7q7]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: #800000;
    font-weight: 500;
}

.top-row[b-tb5wnpi7q7]  a:hover, .top-row[b-tb5wnpi7q7]  .btn-link:hover {
    color: #600000;
    text-decoration: none;
}

@media (max-width: 640.98px) {
    .top-row[b-tb5wnpi7q7] {
        justify-content: space-between;
    }

    .top-row[b-tb5wnpi7q7]  a, .top-row[b-tb5wnpi7q7]  .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar[b-tb5wnpi7q7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-tb5wnpi7q7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-tb5wnpi7q7]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

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

#blazor-error-ui[b-tb5wnpi7q7] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(220, 53, 69, 0.3);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    font-weight: 500;
}

#blazor-error-ui .error-text[b-tb5wnpi7q7] {
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-tb5wnpi7q7] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
}

#blazor-error-ui .dismiss:hover[b-tb5wnpi7q7] {
    color: white;
}

#blazor-error-ui .reload[b-tb5wnpi7q7] {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

#blazor-error-ui .reload:hover[b-tb5wnpi7q7] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0igfo1yrqn] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:checked[b-0igfo1yrqn] {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.top-row[b-0igfo1yrqn] {
    min-height: 4rem;
    background: linear-gradient(135deg, #800000 0%, #600000 100%);
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.2);
    position: relative;
}

.navbar-brand[b-0igfo1yrqn] {
    font-size: 1.3rem;
    font-weight: 600;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text[b-0igfo1yrqn] {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-0igfo1yrqn] {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
    margin-left: 0.25rem;
}

/* Icon Styling */
.bi[b-0igfo1yrqn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    color: currentColor;
}

/* Navigation Items */
.nav-item[b-0igfo1yrqn] {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.nav-item:first-of-type[b-0igfo1yrqn] {
    padding-top: 1.5rem;
}

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

.nav-item[b-0igfo1yrqn]  .nav-link {
    color: #e8e9ef;
    background: none;
    border: none;
    border-radius: 8px;
    height: 3rem;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0.125rem 0;
    font-weight: 500;
}

.nav-item[b-0igfo1yrqn]  a.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 3px solid rgba(255, 255, 255, 0.8);
}

.nav-item[b-0igfo1yrqn]  .nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: white;
    transform: translateX(4px);
}

.nav-text[b-0igfo1yrqn] {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-scrollable[b-0igfo1yrqn] {
    display: none;
}

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

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

    .nav-scrollable[b-0igfo1yrqn] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
