/* _content/LOG.Talleres/Shared/MainLayout.razor.rz.scp.css */
.page[b-ma573tcooc] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

main[b-ma573tcooc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Vital para que los text-truncate y tablas no estiren la pantalla */
}

.sidebar[b-ma573tcooc] {
    background-image: linear-gradient(180deg, #365f93 0%, #4477b9 80%);
    z-index: 100;
}

/* Header superior adaptativo */
.top-row[b-ma573tcooc] {
    background-color: #b4afaf;
    border-bottom: 1px solid #9e9a9a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem; /* Permite crecer verticalmente si el espacio aprieta */
    height: auto;
}

/* Ajuste del nombre del usuario */
.user-name[b-ma573tcooc] {
    font-size: 0.95rem;
    color: #1a1a1a;
    max-width: 100%;
}

/* Ajustes de botones */
.header-actions .btn[b-ma573tcooc] {
    font-size: 0.825rem;
    padding: 0.35rem 0.65rem;
}

/* PUNTOS DE QUIEBRE (RESPONSIVO) */

@media (max-width: 640.98px) {
    /* Ajustes espec�ficos para tel�fonos */
    .top-row[b-ma573tcooc] {
        flex-wrap: wrap; /* Si la pantalla es muy angosta, se acomoda sin romper */
        gap: 0.5rem;
    }

    .user-name[b-ma573tcooc] {
        font-size: 0.85rem;
        max-width: 45vw; /* Ocupa como m�ximo el 45% del ancho de pantalla del cel */
    }

    .header-actions .btn[b-ma573tcooc] {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
}

@media (min-width: 641px) {
    .page[b-ma573tcooc] {
        flex-direction: row;
    }

    .sidebar[b-ma573tcooc] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ma573tcooc] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .user-name[b-ma573tcooc] {
        font-size: 1.1rem;
        max-width: 400px;
    }
}
/* _content/LOG.Talleres/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-l70xc1wd77] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-l70xc1wd77] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-l70xc1wd77] {
    font-size: 1.1rem;
}

.oi[b-l70xc1wd77] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-l70xc1wd77] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-l70xc1wd77] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-l70xc1wd77] {
        padding-bottom: 1rem;
    }

    .nav-item[b-l70xc1wd77]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item[b-l70xc1wd77]  a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item[b-l70xc1wd77]  a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }

@media (min-width: 641px) {
    .navbar-toggler[b-l70xc1wd77] {
        display: none;
    }

    .collapse[b-l70xc1wd77] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/* Para que el submen� no se vea transparente y tenga buen contraste */
.dropdown-menu[b-l70xc1wd77] {
    background-color: white;
    border: none;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 8px;
    min-width: 210px; /* <--- Ancho m�nimo garantizado */
    width: max-content; /* <--- Crece seg�n el texto m�s largo */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1050; /* Asegura que flote sobre otros elementos */
}

.dropdown-item[b-l70xc1wd77] {
    color: #333 !important;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    white-space: nowrap; /* <--- ESTO evita el doble rengl�n */
    font-size: 0.85rem;
}

    .dropdown-item:hover[b-l70xc1wd77] {
        background-color: #f8f9fa;
        color: #000 !important;
    }

    /* Ajuste para el icono en submen�s */
    .dropdown-item .oi[b-l70xc1wd77] {
        width: 1.5rem;
        color: #555;
    }

/* Animaci�n simple para que no aparezca de golpe */
.dropdown-menu.show[b-l70xc1wd77] {
    display: block;
    animation: fadeIn-b-l70xc1wd77 0.2s ease-in;
}

@keyframes fadeIn-b-l70xc1wd77 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
