@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-9j1n43of6h] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-9j1n43of6h] {
    flex: 1;
}

.sidebar[b-9j1n43of6h] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-9j1n43of6h] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-9j1n43of6h]  a, .top-row[b-9j1n43of6h]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-9j1n43of6h]  a:hover, .top-row[b-9j1n43of6h]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-9j1n43of6h]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-9j1n43of6h] {
        justify-content: space-between;
    }

    .top-row[b-9j1n43of6h]  a, .top-row[b-9j1n43of6h]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-9j1n43of6h] {
        flex-direction: row;
    }

    .sidebar[b-9j1n43of6h] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-9j1n43of6h] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-9j1n43of6h]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-9j1n43of6h], article[b-9j1n43of6h] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-9j1n43of6h] {
    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-9j1n43of6h] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */

/* User dropdown (authorized state) */
.user-button[b-orakf3e90b] {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem; /* py-2 px-3 */
    border: 1px solid #dee2e6; /* Bootstrap default border */
    border-radius: 50rem; /* rounded-pill */
    transition: background-color 0.2s ease-in-out;
    line-height: 1.5;
}

    /* Optional hover effect */
    .user-button:hover[b-orakf3e90b] {
        background-color: rgba(0, 0, 0, 0.03);
        text-decoration: none;
    }

/* Login button (not authorized) */
.login-button[b-orakf3e90b] {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    border-radius: 50rem;
    transition: background-color 0.2s ease-in-out;
    line-height: 1.5;
}

    /* Optional login button hover */
    .login-button:hover[b-orakf3e90b] {
        background-color: var(--bs-primary);
        color: #fff;
        text-decoration: none;
    }
