@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* _content/corpusEdit/Shared/MainLayout.razor.rz.scp.css */
.page[b-az7l230gh0] {
    min-height: 100vh;
    background: #f7f9fc;
    color: #1f2937;
}

.app-header[b-az7l230gh0] {
    position: sticky;
    top: 0;
    z-index: 25;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.18);
}

.header-left[b-az7l230gh0],
.header-right[b-az7l230gh0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.header-left[b-az7l230gh0] {
    overflow: hidden;
}

.site-name[b-az7l230gh0] {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-name[b-az7l230gh0] {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-right[b-az7l230gh0] {
    gap: 1rem;
}

.auth-links[b-az7l230gh0] {
    display: flex;
    align-items: center;
}

.auth-links[b-az7l230gh0]  a {
    color: #fff;
    text-decoration: none;
    margin-left: 0.5rem;
}

.auth-links[b-az7l230gh0]  a:hover {
    color: #dbeafe;
}

.auth-links[b-az7l230gh0]  .btn-link {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.menu-toggle[b-az7l230gh0] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.45rem;
    cursor: pointer;
}

.menu-toggle span[b-az7l230gh0] {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.menu-backdrop[b-az7l230gh0] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 15;
}

.menu-backdrop.open[b-az7l230gh0] {
    opacity: 1;
    pointer-events: auto;
}

.menu-panel[b-az7l230gh0] {
    position: fixed;
    top: 4rem;
    right: 1rem;
    width: min(92vw, 320px);
    max-height: calc(100vh - 5rem);
    overflow: hidden;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    transform: translateY(-0.75rem);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 20;
}

.menu-panel.open[b-az7l230gh0] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.main-content[b-az7l230gh0] {
    padding: 1rem;
}

.content[b-az7l230gh0] {
    background: #fff;
    border-radius: 0.75rem;
    min-height: calc(100vh - 6rem);
}

@media (max-width: 640.98px) {
    .app-header[b-az7l230gh0] {
        padding: 0.75rem 0.9rem;
    }

    .page-name[b-az7l230gh0] {
        display: none;
    }

    .header-right[b-az7l230gh0] {
        gap: 0.5rem;
    }

    .auth-links[b-az7l230gh0] {
        font-size: 0.9rem;
    }

    .menu-panel[b-az7l230gh0] {
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
    }
}
/* _content/corpusEdit/Shared/NavMenu.razor.rz.scp.css */
.nav-menu[b-ubby655qa7] {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 0.75rem;
}

.nav-list[b-ubby655qa7] {
    list-style: none;
    margin: 0;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item[b-ubby655qa7] {
    padding: 0;
}

.nav-item[b-ubby655qa7]  a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    color: #1f2937;
    border-radius: 0.6rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.2;
}

.nav-item[b-ubby655qa7]  a.active,
.nav-item[b-ubby655qa7]  a:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.oi[b-ubby655qa7] {
    width: 1.2rem;
    font-size: 1rem;
}

.navbar-toggler[b-ubby655qa7] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ubby655qa7] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ubby655qa7] {
    font-size: 1.1rem;
}

.nav-item[b-ubby655qa7] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ubby655qa7] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ubby655qa7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ubby655qa7]  a {
        color: darkblue;
        border-radius: 4px;
        height: auto;
        display: flex;
        align-items: center;
        line-height: 1rem;
    }

        .nav-item[b-ubby655qa7]  a.active {
            background-color: rgba(192,192,192,0.25);
            color: black;
        }

        .nav-item[b-ubby655qa7]  a:hover {
            background-color: rgba(192,192,192,0.1);
            color: cornflowerblue;
        }

@media (min-width: 641px) {
    .navbar-toggler[b-ubby655qa7] {
        display: none;
    }

    .collapse[b-ubby655qa7] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
