@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-uu3a5g9rth] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-uu3a5g9rth] {
    flex: 1;
}

.sidebar[b-uu3a5g9rth] {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #1C2541;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.top-row[b-uu3a5g9rth] {
    background-color: #212A45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-uu3a5g9rth]  a,
.top-row[b-uu3a5g9rth]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-uu3a5g9rth]  a:hover,
.top-row[b-uu3a5g9rth]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-uu3a5g9rth]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}




@media (max-width: 640.98px)
/* and  (max-device-aspect-ratio: 1/1) */
    {

    /* celular */
    .top-row:not(.auth)[b-uu3a5g9rth] {
        display: none;
    }

    .top-row.auth[b-uu3a5g9rth] {
        justify-content: space-between;
    }

    .top-row[b-uu3a5g9rth]  a,
    .top-row[b-uu3a5g9rth]  .btn-link {
        margin-left: 0;
    }

    .page[b-uu3a5g9rth] {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .contenido-barra[b-uu3a5g9rth] {
        justify-content: flex-start !important;
        margin-left: 0 !important;
        padding-left: 5px !important;
    }



    .contenido-ayuda[b-uu3a5g9rth] {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin-left: auto !important;
        /* Fuerza a la derecha */
    }

    .principal-page[b-uu3a5g9rth] {
        min-height: 200vh !important;
    }

    .principal[b-uu3a5g9rth] {
        min-height: 150vh !important;
    }
}

@media (min-width: 641px)
/* and (min-device-aspect-ratio: 1/1) */
    {

    /* escritorio */
    .page[b-uu3a5g9rth] {
        flex-direction: row;
    }


    .contenido-barra[b-uu3a5g9rth] {
        justify-content: flex-end !important;
        margin-left: auto !important;
    }

    .sidebar[b-uu3a5g9rth] {
        width: 280px;
        min-width: 280px;
        height: 100vh;
        position: sticky;
        top: 0;
        left: 0;
        bottom: 0;
        padding: 5px;
        resize: horizontal;
        overflow: hidden;
    }

    .top-row[b-uu3a5g9rth] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-uu3a5g9rth]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-uu3a5g9rth],
    article[b-uu3a5g9rth] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }


}

.navbar[b-uu3a5g9rth] {
    background-color: #212A45 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.barra-menu[b-uu3a5g9rth] {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
}

.oculta-icono[b-uu3a5g9rth] {
    display: flex;
    align-items: center;
    height: 100%;
}

.contenido-barra[b-uu3a5g9rth] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    color: white;
}

.contenido-barra[b-uu3a5g9rth]  span,
.contenido-barra[b-uu3a5g9rth]  div {
    color: white;
}

.contenido-ayuda[b-uu3a5g9rth] {
    margin-left: auto;
    padding-right: 20px;
}

.contenido-ayuda a[b-uu3a5g9rth] {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.2s;
}

.contenido-ayuda a:hover[b-uu3a5g9rth] {
    color: white !important;
}

/* Ajustes para componentes dentro de navbar oscura */
.contenido-barra[b-uu3a5g9rth]  .btn-outline-secondary,
.contenido-barra[b-uu3a5g9rth]  .btn-light {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.contenido-barra[b-uu3a5g9rth]  .icono-cog i {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contenido-barra[b-uu3a5g9rth]  .icono-cog:hover i {
    color: white !important;
}

.icon-menu-arrow button[b-uu3a5g9rth] {
    background-color: #3b82f6 !important;
    border: none !important;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-m5mbyqgvhg] {
    /*background-color: rgba(255, 255, 255, 0.1);*/
}

.top-row[b-m5mbyqgvhg] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.bottom-row[b-m5mbyqgvhg] {
    position: absolute;
    bottom: 0;
    padding-bottom: 10px;
    text-align: right;
    width: 100%;
    padding-right: 28px;
}

.icon-menu-arrow[b-m5mbyqgvhg] {
    text-align: right;
}

.navbar-brand[b-m5mbyqgvhg] {
    font-size: 1.1rem;
}


.nav-item[b-m5mbyqgvhg] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-m5mbyqgvhg] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-m5mbyqgvhg] {
        padding-bottom: 1rem;
    }

    .nav-item[b-m5mbyqgvhg]  a {
        color: #d7d7d7;
        /*border-radius: 1.25rem;*/
        /*border-radius: 4px;*/
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item[b-m5mbyqgvhg]  a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item[b-m5mbyqgvhg]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

@media (min-width: 641px ) /*and (min-device-aspect-ratio: 1/1) */ {
    .navbar-toggler[b-m5mbyqgvhg] {
        display: none;
    }

    .collapse[b-m5mbyqgvhg] {
        /*   Never collapse the sidebar for wide screens */
        display: block;
    }
}
