/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-m2gu3xmh22] {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100dvh;
}

main[b-m2gu3xmh22] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0; /* Prevent overflow issues */
}

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

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

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

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

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

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

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

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

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

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

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

/*    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
*/
}

.rnm-top-row[b-m2gu3xmh22] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: var(--top-row-height);
}

.content[b-m2gu3xmh22] {
    /*position: relative;
    flex: 1 1 auto;*/ /* Make article expand to fill available space */
    /*min-height: 0;*/ /* Prevent overflow issues */
    /*overflow: auto;*/ /* Optional: scroll if content overflows */
    /*padding-top: 1.1rem;*/
    position: absolute;
    top: var(--top-row-height);
    bottom: var(--bottom-row-height);
    left: 0;
    right: 0;
    overflow: auto; /* Optional: scroll if content overflows */
    padding-top: 1.1rem;
}

    .content[b-m2gu3xmh22]::before {
        content: "";
        position: absolute;
        inset: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/EscudoG.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.03;
        z-index: 0;
        pointer-events: none;
    }


    /* Ensure content stays above the background */
    .content > *[b-m2gu3xmh22] {
        position: relative;
        z-index: 1;
    }

    .content.expanded[b-m2gu3xmh22] {
        /* Example: make it take all available space */
        height: calc(100vh - var(--top-row-height));
        /* Adjust as needed based on your layout */
    }
/* /Shared/Alert.razor.rz.scp.css */
.alert-bar[b-xf1kf0u9zs] {
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: fixed;
    height: 50px;
    width: 100%;
    background-color: #FFF3CD;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: auto; /* auto = Alert itself can receive events */
    border: 1px solid #FFE69C;
    border-radius: 8px;
    color: #664D03;
}
