/* _content/SasegWeb/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-iewugjvt2g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-iewugjvt2g] {
    flex: 1;
}

.sidebar[b-iewugjvt2g] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-iewugjvt2g] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-iewugjvt2g]  a, .top-row[b-iewugjvt2g]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-iewugjvt2g]  a:hover, .top-row[b-iewugjvt2g]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-iewugjvt2g]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-iewugjvt2g] {
        justify-content: space-between;
    }

    .top-row[b-iewugjvt2g]  a, .top-row[b-iewugjvt2g]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-iewugjvt2g] {
        flex-direction: row;
    }

    .sidebar[b-iewugjvt2g] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-iewugjvt2g] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-iewugjvt2g]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-iewugjvt2g], article[b-iewugjvt2g] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-iewugjvt2g] {
    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-iewugjvt2g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/SasegWeb/Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================
   LINKS DEL MEN� (BASE GENERAL)
   ============================ */
.nav-link[b-8ihwytd1ux] {
    color: #d7d7d7;
    background-color: transparent;
    border-radius: 6px;
    height: 3rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ============================
   HOVER SOLO PARA MEN�S PRINCIPALES
   (Inicio, P�lizas, etc)
   ============================ */
.menu-title:hover[b-8ihwytd1ux],
.nav-item > .nav-link:hover[b-8ihwytd1ux] {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ============================
   T�TULOS PADRE
   ============================ */
.menu-title[b-8ihwytd1ux] {
    cursor: default;
}

/* ============================
   CONTENEDOR CON SUBMEN�
   ============================ */
.menu-hover[b-8ihwytd1ux] {
    position: relative;
}

/* ============================
   SUBMEN� OCULTO
   ============================ */
.submenu[b-8ihwytd1ux] {
    display: none;
    margin-left: 0.5rem;
}

/* ============================
   MOSTRAR SUBMEN� AL HOVER
   ============================ */
.menu-hover:hover > .submenu[b-8ihwytd1ux] {
    display: block;
}

/* ============================
   SUBMEN�
   ============================ */
.submenu .nav-link[b-8ihwytd1ux] {
    padding-left: 2.5rem;
    width: 100%;
    color: #4da3ff;
}

    /* ============================
   EFECTO SOLO EN SUBMEN�S
   ============================ */
    .submenu .nav-link:hover[b-8ihwytd1ux] {
        background-color: rgba(255, 255, 255, 0.18);
        color: #ffffff;
        box-shadow: inset 4px 0 0 #4da3ff;
    }

/* ============================
   DESACTIVAR ACTIVE / FOCUS BLAZOR
   ============================ */
.nav-link.active[b-8ihwytd1ux],
.nav-link:focus[b-8ihwytd1ux],
.nav-link:active[b-8ihwytd1ux] {
    background-color: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

/* Sidebar sin pasarse del viewport */
.nav-scrollable[b-8ihwytd1ux] {
    height: calc(100vh - 3.5rem); /* altura real del top-row */
    display: flex;
    flex-direction: column;
}

    /* El nav interno ocupa todo */
    .nav-scrollable nav[b-8ihwytd1ux] {
        flex: 1;
    }


