/* /Layout/MainLayout.razor.rz.scp.css */
/*.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

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

    .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
        text-decoration: underline;
    }

    .top-row ::deep a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .top-row ::deep a, .top-row ::deep .btn-link {
        margin-left: 0;
    }
}

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

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth ::deep a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}*/
.page[b-5iej2ypep9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5iej2ypep9] {
    flex: 1;
}

@media (min-width: 641px) {
    .page[b-5iej2ypep9] {
        flex-direction: row;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-n13fmmh5v2] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-n13fmmh5v2] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-n13fmmh5v2] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-n13fmmh5v2] {
    font-size: 1.1rem;
}

.bi[b-n13fmmh5v2] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.nav-item[b-n13fmmh5v2] {
    font-size: 0.65rem !important;
    padding-bottom: 0.1rem;
}

.nav-item:first-of-type[b-n13fmmh5v2] {
    padding-top: 0.5rem;
}

.nav-item:last-of-type[b-n13fmmh5v2] {
    padding-bottom: 0.5rem;
}

.nav-item[b-n13fmmh5v2]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 2.5rem;
    display: flex;
    align-items: center;
    line-height: 2.5rem;
    width: 100%;
    font-size: 0.65rem !important;
}

.nav-item[b-n13fmmh5v2]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-n13fmmh5v2]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-n13fmmh5v2] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-n13fmmh5v2] {
    display: block;
}

/* Estilos para MudBlazor NavMenu */
[b-n13fmmh5v2] .mud-nav-item {
    font-size: 0.62rem !important;
    min-height: 22px !important;
}

[b-n13fmmh5v2] .mud-nav-group {
    margin-bottom: 0px !important;
}

/* NIVEL 1 - Icono turquesa más pequeño, más compacto */
[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-group-title {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    min-height: 28px !important;
}

[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-group-title .mud-typography {
    font-size: 0.7rem !important;
}

[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-group-title > .mud-icon-root:first-child {
    display: inline-flex !important;
    color: #43B4BB !important;
    font-size: 0.85rem !important;
    margin-right: 6px !important;
    width: 0.85rem !important;
    height: 0.85rem !important;
}

/* NIVEL 2 - SIN ícono izquierdo, con indentación, más compacto */
[b-n13fmmh5v2] .mud-nav-group .mud-nav-group > .mud-nav-group-title {
    font-size: 0.62rem !important;
    padding: 2px 12px 2px 32px !important;
    min-height: 24px !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group > .mud-nav-group-title .mud-typography {
    font-size: 0.62rem !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group > .mud-nav-group-title > .mud-icon-root:first-child {
    display: none !important;
}

/* NIVEL 1 - Icono turquesa más pequeño, más compacto */
[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-group-title {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    min-height: 28px !important;
    line-height: 1 !important;
}

[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-group-title .mud-typography {
    font-size: 0.7rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-group-title > .mud-icon-root:first-child {
    display: inline-flex !important;
    color: #43B4BB !important;
    font-size: 0.85rem !important;
    margin-right: 6px !important;
    width: 0.85rem !important;
    height: 0.85rem !important;
    align-self: center !important;
}

/* NIVEL 2 - SIN ícono izquierdo, con indentación, más compacto */
[b-n13fmmh5v2] .mud-nav-group .mud-nav-group > .mud-nav-group-title {
    font-size: 0.62rem !important;
    padding: 2px 12px 2px 32px !important;
    min-height: 24px !important;
    line-height: 1 !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group > .mud-nav-group-title .mud-typography {
    font-size: 0.62rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group > .mud-nav-group-title > .mud-icon-root:first-child {
    display: none !important;
}

/* NIVEL 3 - SIN íconos, más indentación, más compacto */
[b-n13fmmh5v2] .mud-nav-group .mud-nav-group .mud-nav-group > .mud-nav-group-title {
    font-size: 0.62rem !important;
    padding: 2px 12px 2px 44px !important;
    min-height: 22px !important;
    line-height: 1 !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group .mud-nav-group > .mud-nav-group-title .mud-typography {
    font-size: 0.62rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group .mud-nav-group > .mud-nav-group-title > .mud-icon-root {
    display: none !important;
}

/* Links finales - SIN íconos, con indentación según nivel, más compactos */
[b-n13fmmh5v2] .mud-navmenu > .mud-nav-group > .mud-nav-link {
    font-size: 0.62rem !important;
    padding: 2px 12px 2px 32px !important;
    min-height: 22px !important;
    line-height: 1 !important;
}

[b-n13fmmh5v2] .mud-nav-link {
    font-size: 0.62rem !important;
    padding: 2px 12px 2px 32px !important;
    min-height: 22px !important;
    line-height: 1 !important;
}

[b-n13fmmh5v2] .mud-nav-link .mud-typography {
    font-size: 0.62rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-n13fmmh5v2] .mud-nav-link .mud-icon-root {
    display: none !important;
}

[b-n13fmmh5v2] .mud-nav-group .mud-nav-group .mud-nav-link {
    padding-left: 44px !important;
}

/* Flecha de expansión más pequeña y alineada */
[b-n13fmmh5v2] .mud-nav-group-title .mud-nav-link-icon-default {
    font-size: 0.75rem !important;
    width: 0.75rem !important;
    height: 0.75rem !important;
    align-self: center !important;
}

@media (min-width: 641px) {
    .navbar-toggler[b-n13fmmh5v2] {
        display: none;
    }

    .nav-scrollable[b-n13fmmh5v2] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
