/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hdrg582kzj] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: var(--brand-gradient);
    background-attachment: fixed;
}

/* --- Full-width header: brand on the left --- */
.page-header[b-hdrg582kzj] {
    display: flex;
    align-items: center;
    min-height: 4.5rem;
    position: relative;
    z-index: 1;
}

.brand-text[b-hdrg582kzj] {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar-brand[b-hdrg582kzj] {
    display: flex;
    align-items: center;
}

main[b-hdrg582kzj] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content[b-hdrg582kzj] {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    min-height: 0;
}

.app-footer[b-hdrg582kzj] {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    background-image: var(--brand-gradient);
    background-attachment: fixed;
}

/* --- Mobile: full-bleed content, no rounding --- */
@media (max-width: 640.98px) {
    .content[b-hdrg582kzj] {
        border-radius: 0;
    }
}

/* --- Desktop: inset the content card so the gradient frames it --- */
@media (min-width: 641px) {
    main[b-hdrg582kzj] {
        padding: 0 1.5rem 1.5rem;
    }

    article[b-hdrg582kzj] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

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