.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.sidebar {
    background-color: #1e1e2d;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.top-row {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
}

main {
    margin-left: 250px;
}

.nav-scrollable {
    display: block;
    overflow-y: auto;
    height: calc(100vh - 3.5rem);
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-link {
    color: #9a9ca5;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-link:hover {
    background-color: #2b2d42;
    color: white;
}

.nav-link.active {
    background-color: #4361ee;
    color: white;
}

.bi {
    margin-right: 0.75rem;
    width: 1.5rem;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}