/* _content/LYNProduccion.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-wtdn8a834b] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-wtdn8a834b] {
    flex: 1;
}

.sidebar[b-wtdn8a834b] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar-overlay[b-wtdn8a834b] {
    display: none;
}

.top-row[b-wtdn8a834b] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3rem;
    display: flex;
    align-items: center;
}

.top-row[b-wtdn8a834b]  a, .top-row[b-wtdn8a834b]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
}

.top-row[b-wtdn8a834b]  a:hover, .top-row[b-wtdn8a834b]  .btn-link:hover {
    text-decoration: underline;
}

/* Mobile/Tablet: sidebar oculto por defecto */
@media (max-width: 767.98px) {
    .sidebar[b-wtdn8a834b] {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1050;
        transition: left 0.3s ease;
    }

    .sidebar-open .sidebar[b-wtdn8a834b] {
        left: 0;
    }

    .sidebar-overlay[b-wtdn8a834b] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }

    .sidebar-open .sidebar-overlay[b-wtdn8a834b] {
        display: block;
    }

    .top-row[b-wtdn8a834b] {
        position: sticky;
        top: 0;
        z-index: 100;
        height: 2.75rem;
    }

    .content[b-wtdn8a834b] {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Desktop: sidebar visible */
@media (min-width: 768px) {
    .page[b-wtdn8a834b] {
        flex-direction: row;
    }

    .sidebar[b-wtdn8a834b] {
        width: 220px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-wtdn8a834b] {
        position: sticky;
        top: 0;
        z-index: 1;
        height: 3rem;
    }

    .top-row[b-wtdn8a834b], article[b-wtdn8a834b] {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-wtdn8a834b] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-wtdn8a834b] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/LYNProduccion.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-w8gtkd7vt5] {
    display: none;
}

.top-row[b-w8gtkd7vt5] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-w8gtkd7vt5] {
    font-size: 1.1rem;
}

.bi[b-w8gtkd7vt5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-w8gtkd7vt5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-w8gtkd7vt5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-w8gtkd7vt5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-w8gtkd7vt5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-w8gtkd7vt5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-w8gtkd7vt5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-w8gtkd7vt5]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-w8gtkd7vt5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-w8gtkd7vt5]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-w8gtkd7vt5] {
    display: block;
    height: calc(100vh - 3.5rem);
    overflow-y: auto;
}
/* _content/LYNProduccion.Web/Components/Pages/Produccion.razor.rz.scp.css */
.card[b-yfetxew3jb] {
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.selected-row[b-yfetxew3jb] {
    background-color: #e8f0fe !important;
}

.cursor-pointer[b-yfetxew3jb] {
    cursor: pointer;
}

.fade-in[b-yfetxew3jb] {
    animation: fadeIn-b-yfetxew3jb 0.3s;
}

@keyframes fadeIn-b-yfetxew3jb {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Tabla compacta para móvil */
.compact-table th[b-yfetxew3jb],
.compact-table td[b-yfetxew3jb] {
    padding: 0.35rem 0.4rem;
    font-size: 0.85rem;
    vertical-align: middle;
}

.compact-table .badge[b-yfetxew3jb] {
    font-size: 0.75rem;
    padding: 0.2em 0.5em;
}

.compact-table input.form-control-sm[b-yfetxew3jb] {
    padding: 0.2rem 0.3rem;
    font-size: 0.85rem;
}

.compact-table .btn-sm[b-yfetxew3jb] {
    font-size: 0.8rem;
}

/* Eficiencia bar */
.eficiencia-bar[b-yfetxew3jb] {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #f8f9fa !important;
}

/* Mobile específico */
@media (max-width: 575.98px) {
    .compact-table th[b-yfetxew3jb],
    .compact-table td[b-yfetxew3jb] {
        padding: 0.25rem 0.3rem;
        font-size: 0.8rem;
    }

    .compact-table input.form-control-sm[b-yfetxew3jb] {
        padding: 0.15rem 0.2rem;
        font-size: 0.8rem;
        min-width: 60px !important;
    }

    .form-label[b-yfetxew3jb] {
        font-size: 0.75rem;
    }
}
