/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-26bfxhuooe] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-26bfxhuooe] {
    flex: 1;
}

.sidebar[b-26bfxhuooe] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-26bfxhuooe] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-26bfxhuooe]  a, .top-row[b-26bfxhuooe]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-26bfxhuooe]  a:hover, .top-row[b-26bfxhuooe]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-26bfxhuooe]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

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

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

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

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

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

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

#blazor-error-ui[b-26bfxhuooe] {
    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[b-26bfxhuooe] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Navbar brand styling to prevent cutoff */
.navbar-brand[b-26bfxhuooe] {
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
    padding: 0.5rem 0;
    min-width: fit-content;
    transition: none !important;
}

.navbar-brand:hover[b-26bfxhuooe],
.navbar-brand:focus[b-26bfxhuooe] {
    color: inherit !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Ensure navbar takes full width without overflow */
.navbar[b-26bfxhuooe] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
}

.navbar-nav-center[b-26bfxhuooe] {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
    justify-content: center;
}

.navbar-controls[b-26bfxhuooe] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand[b-26bfxhuooe] {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .nav-link[b-26bfxhuooe] {
        font-size: 0.9rem;
        margin-right: 0.5rem !important;
    }
}

@media (max-width: 640px) {
    .navbar-brand[b-26bfxhuooe] {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .nav-link[b-26bfxhuooe] {
        font-size: 0.8rem;
        margin-right: 0.25rem !important;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Reorder columns on desktop so image is on the left */
.hero-section .row[b-6oeblazq9o] {
    flex-direction: row-reverse;
}

@media (max-width: 991.98px) {
    .hero-section .row[b-6oeblazq9o] {
        flex-direction: column;
    }
}
