/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ghoeaf27td] {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background-color: #cfd8dc;
    padding: 2rem;
    gap: 2rem;
    overflow-x: hidden;
}

.sidebar[b-ghoeaf27td] {
    width: 32vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    min-height: fit-content;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

main[b-ghoeaf27td] {
    flex: 1;
    display: flex; /* Agregado */
    flex-direction: column; /* Agregado */
}

.content-2[b-ghoeaf27td] {
    flex: 1; /* Agregado */
    display: flex; /* Agregado */
    flex-direction: column; /* Agregado */
}

article[b-ghoeaf27td] {
    flex: 1; /* Agregado */
    display: flex; /* Agregado */
    flex-direction: column; /* Agregado */
}

@media (max-width: 768px) {
    .page[b-ghoeaf27td] {
        flex-direction: column;
        padding: 1rem;
    }

    .sidebar[b-ghoeaf27td] {
        width: 100%;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.app-brand[b-00g3n0ia7t] {
    background-color: #FF5722;
    padding: 1rem;
    height: 118px;
    display: flex;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.navbar-brand[b-00g3n0ia7t] {
    color: white !important;
    font-size: 1.1rem;
    padding: 0;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    margin-left: auto;
}

    .navbar-brand img[b-00g3n0ia7t] {
        height: 54px;
        

    }

.nav-menu[b-00g3n0ia7t] {
    padding: 1rem 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 0px 0px 20px 20px;
    min-height: calc(100% - 118px);
}

.nav-items[b-00g3n0ia7t] {
    flex-grow: 1;
    padding-left: 10px;
}

.nav-item[b-00g3n0ia7t] {
    margin: 0;
}

.nav-link[b-00g3n0ia7t] {
    color: #666 !important;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .nav-link i[b-00g3n0ia7t] {
        font-size: 1.1rem;
        color: #757575;
        opacity: 0.8;
        padding-right: 8px;
    }
    .nav-link img[b-00g3n0ia7t] {
        font-size: 1.1rem;
        color: #757575;
        opacity: 0.8;
        padding-right: 8px;
    }
        .nav-link img:hover[b-00g3n0ia7t] {
            font-size: 1.1rem;
            color: #FF5722;
            opacity: 0.8;
            padding-right: 8px;
        }
    .nav-link span[b-00g3n0ia7t] {
        font-size: 1.1rem;
        color: #757575;
        opacity: 0.8;
    }
        .nav-link span:hover[b-00g3n0ia7t] {
            font-size: 1.1rem;
            color: #FF5722;
            opacity: 0.8;
        }
    .nav-link:hover[b-00g3n0ia7t] {
        background-color: rgba(0,0,0,0.02);
        color: #FF5722 !important;
    }

    .nav-link.active[b-00g3n0ia7t] {
        color: #FF5722 !important;
        background-color: transparent;
    }

        .nav-link.active i[b-00g3n0ia7t] {
            color: #FF5722;
        }

.nav-bottom[b-00g3n0ia7t] {
    padding-top: 0.5rem;
    padding-left: 10px;
    border-top: 1px solid #eee;
}
.powered-logo-container[b-00g3n0ia7t] {
    text-align:center;
}
    .powered-logo[b-00g3n0ia7t]{
    padding-top: 20px;        
    padding-bottom: 20px;        
    width:17vh;
}
    .nav-bottom .nav-link[b-00g3n0ia7t] {
        font-size: 13px;
        padding: 0.6rem 1.5rem;
    }

@media (max-width: 768px) {
    .nav-menu[b-00g3n0ia7t] {
        min-height: auto;
    }
}
/* /Pages/Caracterizacion/Caracterizacion.razor.rz.scp.css */
/* Header Styles */
.header[b-srj551wsvp] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.title-section h1[b-srj551wsvp] {
    font-size: 1.5rem;
    margin: 0;
    color: #37474F;
}

/* Date Filter Styles */
.date-filter[b-srj551wsvp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    position: relative;
}

.date-display[b-srj551wsvp] {
    background-color: rgba(255, 87, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #FF5722;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .date-display:hover[b-srj551wsvp] {
        background-color: rgba(255, 87, 34, 0.15);
    }

/* DatePicker Popup Styles */
.date-picker-container[b-srj551wsvp] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.date-picker-overlay[b-srj551wsvp] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.date-picker-popup[b-srj551wsvp] {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
}

.date-range-inputs[b-srj551wsvp] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input-group[b-srj551wsvp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-input-group label[b-srj551wsvp] {
        color: #666;
        font-size: 0.875rem;
    }

.date-picker-actions[b-srj551wsvp] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Stats Container Styles */
.stats-container[b-srj551wsvp] {
    background: #597685;
    height: 180px;
    border-radius: 8px;
}

.stats[b-srj551wsvp] {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-card[b-srj551wsvp] {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 25vh;
    height: 210px;
    margin-left: auto;
    margin-right: auto;
}

    .stats-card:hover[b-srj551wsvp],
    .stats-card.active[b-srj551wsvp] {
        background-color: #FF5722;
    }

        .stats-card:hover .stats-number[b-srj551wsvp],
        .stats-card:hover .stats-info h3[b-srj551wsvp],
        .stats-card:hover .stats-subtitle[b-srj551wsvp],
        .stats-card.active .stats-number[b-srj551wsvp],
        .stats-card.active .stats-info h3[b-srj551wsvp],
        .stats-card.active .stats-subtitle[b-srj551wsvp] {
            color: white;
        }

.stats-content[b-srj551wsvp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.stats-icon[b-srj551wsvp] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

    .stats-icon img[b-srj551wsvp] {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

.stats-info[b-srj551wsvp] {
    flex: 1;
}

    .stats-info h3[b-srj551wsvp] {
        font-size: 1rem;
        color: #666;
        margin: 0 0 0.5rem 0;
        transition: color 0.3s ease;
    }

.stats-number[b-srj551wsvp] {
    font-size: 1.95rem;
    font-weight: 800;
    color: #FF5722;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}
/* Stats Sidebar Styles */
.stats-sidebar[b-srj551wsvp] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-right: 37px;
}

.stats-item[b-srj551wsvp] {
    color: white;
    font-weight: bold;
    font-size: 0.950rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

    .stats-item:hover[b-srj551wsvp] {
        opacity: 1;
    }

    .stats-item.active[b-srj551wsvp] {
        color: #FF5722;
        opacity: 1;
        font-weight: bold;
        position: relative;
    }

        .stats-item.active[b-srj551wsvp]:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #FF5722;
        }
.stats-subtitle[b-srj551wsvp] {
    font-size: 0.875rem;
    color: #999;
    transition: color 0.3s ease;
}
/* Control Mapeo Styles */


/* Mejoras en el contenedor de filtros */
.control-filters[b-srj551wsvp] {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    width: 25vh;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    /* Estilizado del scroll */
    scrollbar-width: thin;
    scrollbar-color: auto;
    
}
    /* Estilos para WebKit (Chrome, Safari, etc.) */
    .control-filters[b-srj551wsvp]::-webkit-scrollbar {
        width: 8px;
    }

    .control-filters[b-srj551wsvp]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .control-filters[b-srj551wsvp]::-webkit-scrollbar-thumb {
        background: #FF5722;
        border-radius: 4px;
    }

        .control-filters[b-srj551wsvp]::-webkit-scrollbar-thumb:hover {
            background: #F4511E;
        }
    .control-filters h3[b-srj551wsvp] {
        color: #37474F;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #f5f5f5;
    }
.content-buttons-show .floating-filters[b-srj551wsvp] {
    position: absolute;
    top: calc(10% + 8px);
    height: 500px;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    animation: slideDown-b-srj551wsvp 0.2s ease-out;
}
@keyframes slideDown-b-srj551wsvp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo activo para el botón cuando el panel está abierto */
.control-btn.active[b-srj551wsvp] {
    background-color: #e0e0e0;
}

/* Overlay para cerrar al hacer clic fuera */
.filter-overlay[b-srj551wsvp] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}
/* Checkboxes modernos */
.filter-checkbox[b-srj551wsvp] {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s;
}

    .filter-checkbox:hover[b-srj551wsvp] {
        background-color: rgba(255, 87, 34, 0.05);
    }

    .filter-checkbox input[type="checkbox"][b-srj551wsvp] {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #ddd;
        border-radius: 6px;
        margin-right: 12px;
        cursor: pointer;
        position: relative;
        transition: all 0.2s;
    }

        .filter-checkbox input[type="checkbox"]:checked[b-srj551wsvp] {
            background-color: #FF5722;
            border-color: #FF5722;
        }

            .filter-checkbox input[type="checkbox"]:checked[b-srj551wsvp]::after {
                content: '';
                position: absolute;
                left: 6px;
                top: 2px;
                width: 5px;
                height: 10px;
                border: solid white;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

    .filter-checkbox label[b-srj551wsvp] {
        color: #37474F;
        font-size: 0.9rem;
        cursor: pointer;
        font-weight: 500;
        flex: 1;
    }

/* Mejoras en la tabla */
.control-table[b-srj551wsvp] {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow-y: auto;
    scrollbar-color:auto;
    scrollbar-width: thin;
}

.table-header[b-srj551wsvp] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5f5f5;
}

.header-info h3[b-srj551wsvp] {
    color: #37474F;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sub-info[b-srj551wsvp] {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

    .sub-info p[b-srj551wsvp] {
        margin: 0.25rem 0;
    }

.export-btn[b-srj551wsvp] {
    background: #FF5722;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.2);
}

    .export-btn:hover[b-srj551wsvp] {
        background: #F4511E;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3);
    }
.control-table .table-container[b-srj551wsvp] {
    max-height: calc(100% - 120px);
    overflow-y: auto;
    position: relative; /* Importante para elementos sticky */
}
/* Tabla moderna */
.table-container[b-srj551wsvp] {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    /* Estilizado del scroll */
    scrollbar-width: thin;
    scrollbar-color: auto;
}
    /* Estilos para WebKit (Chrome, Safari, etc.) */
    .table-container[b-srj551wsvp]::-webkit-scrollbar {
        width: 8px;
        height: 8px; /* Para el scroll horizontal */
    }

    .table-container[b-srj551wsvp]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .table-container[b-srj551wsvp]::-webkit-scrollbar-thumb {
        background: #FF5722;
        border-radius: 4px;
    }

        .table-container[b-srj551wsvp]::-webkit-scrollbar-thumb:hover {
            background: #F4511E;
        }

    /* Para la esquina donde se encuentran los scrolls */
    .table-container[b-srj551wsvp]::-webkit-scrollbar-corner {
        background: #f1f1f1;
    }
table[b-srj551wsvp] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
thead[b-srj551wsvp] {
    position: sticky;
    top: 0;
    z-index: 10;
    transition: box-shadow 0.3s ease;
}
.table-container:not(:hover) th[b-srj551wsvp] {
    box-shadow: none;
}
th[b-srj551wsvp] {
    background: #f8fafc;
    color: #37474F;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 10;
    /* Añadir sombra sutil para indicar que es un elemento fijo */
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
}

td[b-srj551wsvp] {
    padding: 1rem 1.5rem;
    color: #4a5568;
    font-size: 0.85rem;
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s;
}

tbody tr:hover td[b-srj551wsvp] {
    background: #f8fafc;
}

.totals-row td[b-srj551wsvp] {
    background: #f8fafc;
    font-weight: 600;
    color: #37474F;
}



/* Responsive adjustments */
@media (max-width: 1200px) {
    .control-filters[b-srj551wsvp] {
        width: 250px;
    }
}
/* Chart Section Styles */
.content-section[b-srj551wsvp] {
    position: relative;
    background: #cfd8dc;
    border-radius: 8px;
    margin-top: 7.7vh;
    height: calc(85vh - 280px);
    display: flex;
    gap: 1rem;
  
}
    /* Estilos para el mapa cuando está solo */
    .content-section .map-section[b-srj551wsvp] {
        flex: 1;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        transition: flex 0.3s ease;
    }
    .content-section .chart-section[b-srj551wsvp],
    .content-section .control-table[b-srj551wsvp] {
        display: none; /* Oculto por defecto */
        width: 0; /* Asegura que no ocupe espacio cuando está oculto */
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    /* Estilos cuando están visibles */
  
    .content-section.with-details .control-table[b-srj551wsvp] {
        flex: 0 0 100%;
        width: 65%;
        background: white;
        border-radius: 12px;
        padding: 1.75rem;
        height: 100%;
        display: block;
        opacity: 1;
    }
    .content-section.with-details .chart-section[b-srj551wsvp] {
        flex: 0 0 35%;
        width: 35%;
        background: white;
        border-radius: 12px;
        padding: 1.75rem;
        height: 100%;
        display: block;
        opacity: 1;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: auto;
    }


    .content-section.with-details .map-section[b-srj551wsvp] {
        flex: 1 1 30%;
        min-width: 300px;
    }

.content-buttons-show[b-srj551wsvp] {
    display: inline-flex;
    width:100%;
    gap: 2px;
}

#btn-chart[b-srj551wsvp]{
    margin-left: auto;
}
.chart-section h3[b-srj551wsvp] {
    font-size: 1rem;
    color: #37474F;
    margin-bottom: 0.5rem;
}

.chart-container[b-srj551wsvp] {

    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
}

.chart-bar[b-srj551wsvp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.bar-container[b-srj551wsvp] {
    position: relative;
    flex-grow: 1;
    height: 20px;
}

.bar-background[b-srj551wsvp] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E0E0E0;
    border-radius: 4px;
}

.bar[b-srj551wsvp] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #FF5722;
    border-radius: 4px;
    transition: width 0.3s ease;
    max-width: 100%; /* Añadir esta propiedad para limitar el ancho máximo */
}

.date[b-srj551wsvp] {
    min-width: 60px;
    font-size: 0.875rem;
    color: #666;
}

.count[b-srj551wsvp] {
    min-width: 30px;
    font-size: 0.875rem;
    color: #333;
    font-weight: bold;
}

/* Map Section */


#googleMap[b-srj551wsvp] {
    height: 100%;
    width: 100%;
}


/* Media Queries */
@media (max-width: 1200px) {
    .content-section[b-srj551wsvp] {
        height: calc(100vh - 350px);
    }

    .chart-section[b-srj551wsvp] {
        width: 35%;
    }

    .content-section.with-chart .map-section[b-srj551wsvp] {
        flex: 0 0 65%;
    }
}

@media (max-width: 768px) {
    .content-section[b-srj551wsvp] {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 300px);
    }

    .chart-section[b-srj551wsvp] {
        width: 100%;
        height: 300px;
    }

    .map-section[b-srj551wsvp] {
        height: 400px;
    }

    .content-section.with-chart .map-section[b-srj551wsvp] {
        flex: none;
        width: 100%;
    }

    .header[b-srj551wsvp] {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .date-picker-popup[b-srj551wsvp] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
    }
}
/* SPINNER */
.loading-overlay[b-srj551wsvp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner[b-srj551wsvp] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 87, 34, 0.1);
    border-left-color: #FF5722;
    border-radius: 50%;
    animation: spin-b-srj551wsvp 1s linear infinite;
}

.loading-content[b-srj551wsvp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-text[b-srj551wsvp] {
    color: #FF5722;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: pulse-b-srj551wsvp 1.5s ease-in-out infinite;
}

@keyframes spin-b-srj551wsvp {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-srj551wsvp {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.view-toggle-controls[b-srj551wsvp] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.view-toggle-button[b-srj551wsvp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

    .view-toggle-button:hover[b-srj551wsvp] {
        background-color: #f3f4f6;
    }

    .view-toggle-button.active[b-srj551wsvp] {
        background-color: #2563eb;
        color: white;
        border-color: #2563eb;
    }

    .view-toggle-button i[b-srj551wsvp] {
        font-size: 1.2rem;
    }

.section-controls[b-srj551wsvp] {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 1000;
    background: white;
    padding: 3px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.control-btn[b-srj551wsvp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

    .control-btn:hover[b-srj551wsvp] {
        background-color: rgba(255, 87, 34, 0.1);
        color: #FF5722;
    }

    .control-btn.active[b-srj551wsvp] {
        background-color: #FF5722;
        color: white;
    }
    .control-btn.active-download[b-srj551wsvp] {
        color: #816d6d;
        opacity: 0; /* Oculto por defecto */
        visibility: hidden; /* Oculto por defecto */
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

/* Mostrar el botón cuando estamos en la vista de tabla */
.control-table .control-btn.active-download[b-srj551wsvp] {
    opacity: 1;
    visibility: visible;
}

.control-btn i[b-srj551wsvp] {
    font-size: 1rem;
}

.table-loading-overlay[b-srj551wsvp] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(2px);
}

.table-loading-content[b-srj551wsvp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.table-spinner[b-srj551wsvp] {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 87, 34, 0.1);
    border-left-color: #FF5722;
    border-radius: 50%;
    animation: table-spin-b-srj551wsvp 1s linear infinite;
}

.table-loading-text[b-srj551wsvp] {
    color: #FF5722;
    font-size: 0.875rem;
    font-weight: 500;
    animation: table-pulse-b-srj551wsvp 1.5s ease-in-out infinite;
}

@keyframes table-spin-b-srj551wsvp {
    to {
        transform: rotate(360deg);
    }
}

@keyframes table-pulse-b-srj551wsvp {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}
.download-spinner[b-srj551wsvp] {
    animation: spin-b-srj551wsvp 1s linear infinite;
}

@keyframes spin-b-srj551wsvp {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.control-btn:disabled[b-srj551wsvp] {
    opacity: 1;
    cursor: not-allowed;
}

    .control-btn:disabled .download-spinner[b-srj551wsvp] {
        color: #FF5722;
    }

#dailyProgressChart[b-srj551wsvp] {
    padding: 9px;
}
.total-row[b-srj551wsvp] {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #212529;
}

.total-value[b-srj551wsvp] {
    color: #212529;
}
/* /Pages/Home.razor.rz.scp.css */
/* Header Styles */
.header[b-u9317t91d6] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.title-section h1[b-u9317t91d6] {
    font-size: 1.5rem;
    margin: 0;
    color: #37474F;
}

/* Date Filter Styles */
.date-filter[b-u9317t91d6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    position: relative;
}

.date-display[b-u9317t91d6] {
    background-color: rgba(255, 87, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #FF5722;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .date-display:hover[b-u9317t91d6] {
        background-color: rgba(255, 87, 34, 0.15);
    }

/* DatePicker Popup Styles */
.date-picker-container[b-u9317t91d6] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.date-picker-overlay[b-u9317t91d6] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.date-picker-popup[b-u9317t91d6] {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
}

.date-range-inputs[b-u9317t91d6] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input-group[b-u9317t91d6] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-input-group label[b-u9317t91d6] {
        color: #666;
        font-size: 0.875rem;
    }

.date-picker-actions[b-u9317t91d6] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Stats Container Styles */
.stats-container[b-u9317t91d6] {
    background: #597685;
    height: 235px;
    border-radius: 8px;
}

.stats[b-u9317t91d6] {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-card[b-u9317t91d6] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30vh;
    height: 239px;
    margin-left: auto;
    margin-right: auto;
}

    .stats-card:hover[b-u9317t91d6],
    .stats-card.active[b-u9317t91d6] {
        background-color: #FF5722;
    }

        .stats-card:hover .stats-number[b-u9317t91d6],
        .stats-card:hover .stats-info h3[b-u9317t91d6],
        .stats-card:hover .stats-subtitle[b-u9317t91d6],
        .stats-card.active .stats-number[b-u9317t91d6],
        .stats-card.active .stats-info h3[b-u9317t91d6],
        .stats-card.active .stats-subtitle[b-u9317t91d6] {
            color: white;
        }

.stats-content[b-u9317t91d6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.stats-icon[b-u9317t91d6] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

    .stats-icon img[b-u9317t91d6] {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

.stats-info[b-u9317t91d6] {
    flex: 1;
}

    .stats-info h3[b-u9317t91d6] {
        font-size: 1rem;
        color: #666;
        margin: 0 0 0.5rem 0;
        transition: color 0.3s ease;
    }

.stats-number[b-u9317t91d6] {
    font-size: 1.95rem;
    font-weight: 800;
    color: #FF5722;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.stats-subtitle[b-u9317t91d6] {
    font-size: 0.875rem;
    color: #999;
    transition: color 0.3s ease;
}

/* Stats Sidebar Styles */
.stats-sidebar[b-u9317t91d6] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-item[b-u9317t91d6] {
    color: white;
    font-weight: bold;
    font-size: 0.950rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

    .stats-item:hover[b-u9317t91d6] {
        opacity: 1;
    }

    .stats-item.active[b-u9317t91d6] {
        color: #FF5722;
        opacity: 1;
    }
/* Contenedor principal para filtro/mapa */
.content-section[b-u9317t91d6] {
    background: white;
    border-radius: 8px;
    margin-top: 6vh;
    height: 100%;
}

/* Estilos para el mapa */
.map-section[b-u9317t91d6] {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.content-section .map-section canvas[b-u9317t91d6]{
    border-radius: 8px;
}
#googleMap[b-u9317t91d6] {
    height: 100%;
    width: 100%;
}

/* Filter Section Styles - Updated */
.filter-section[b-u9317t91d6] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.filter-grid[b-u9317t91d6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.filter-input[b-u9317t91d6] {
    width: 100%;
}
.scene-section[b-u9317t91d6] {
    width: 100%;
    height: 100%;
    position: relative;
}
    .filter-input select[b-u9317t91d6] {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        border: none;
        background-color: #F5F7F9;
        color: #666;
        font-size: 14px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: calc(100% - 1rem) center;
        cursor: pointer;
    }

        .filter-input select:focus[b-u9317t91d6] {
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
        }

        .filter-input select:hover[b-u9317t91d6] {
            background-color: #ECEEF0;
        }

.filter-button[b-u9317t91d6] {
    grid-column: 2;
    justify-self: end;
    align-self: end;
    background-color: #FF5722;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .filter-button:hover[b-u9317t91d6] {
        background-color: #F4511E;
    }

    .filter-button i[b-u9317t91d6] {
        font-size: 16px;
    }

/* Media Queries */
@media (max-width: 1200px) {
    .stats-container[b-u9317t91d6] {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-sidebar[b-u9317t91d6] {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header[b-u9317t91d6] {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .date-picker-popup[b-u9317t91d6] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
    }

    .filter-grid[b-u9317t91d6] {
        grid-template-columns: 1fr;
    }

    .filter-button[b-u9317t91d6] {
        grid-column: 1;
        justify-self: stretch;
        margin-top: 1rem;
    }
}
/* /Pages/Laboratorio/Laboratorio.razor.rz.scp.css */
/* Header Styles */
.header[b-vxq7n7xg0c] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.title-section h1[b-vxq7n7xg0c] {
    font-size: 1.5rem;
    margin: 0;
    color: #37474F;
}

/* Date Filter Styles */
.date-filter[b-vxq7n7xg0c] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    position: relative;
}

.date-display[b-vxq7n7xg0c] {
    background-color: rgba(255, 87, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #FF5722;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .date-display:hover[b-vxq7n7xg0c] {
        background-color: rgba(255, 87, 34, 0.15);
    }

/* DatePicker Popup Styles */
.date-picker-container[b-vxq7n7xg0c] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.date-picker-overlay[b-vxq7n7xg0c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.date-picker-popup[b-vxq7n7xg0c] {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
}

.date-range-inputs[b-vxq7n7xg0c] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input-group[b-vxq7n7xg0c] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-input-group label[b-vxq7n7xg0c] {
        color: #666;
        font-size: 0.875rem;
    }

.date-picker-actions[b-vxq7n7xg0c] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Stats Container Styles */
.stats-container[b-vxq7n7xg0c] {
    background: #597685;
    height: 190px; /* Altura reducida para que las tarjetas sobresalgan */
    border-radius: 8px;
    
    margin-bottom: 60px; /* Espacio para las tarjetas que sobresalen */
    position: relative;
}

.stats[b-vxq7n7xg0c] {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
}

.stats-card[b-vxq7n7xg0c] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: calc(25% - 0.75rem); /* Ancho fijo para 4 tarjetas con gap */
    height: 200px; /* Altura suficiente para que sobresalga */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 35px; /* Hace que la tarjeta sobresalga */
    position: relative;
    z-index: 5; /* Para asegurar que la tarjeta esté sobre el fondo */
    transform: translateY(0); /* Para la animación de hover */
    transition: transform 0.3s ease, background-color 0.3s ease;
}
    .stats-card:hover[b-vxq7n7xg0c] {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }
.stats-cards-page:nth-child(2) .stats-card[b-vxq7n7xg0c] {
    flex: 0 0 calc(25% - 0.75rem); /* Ancho fijo como las otras tarjetas */
    margin-left: auto;
    margin-right: auto;
}
/* Ocultar la página que no está activa */
.stats-cards-page:nth-child(1)[b-vxq7n7xg0c] {
    opacity: var(--page1-opacity, 1);
    visibility: var(--page1-visibility, visible);
    z-index: var(--page1-zindex, 10);
}

.stats-cards-page:nth-child(2)[b-vxq7n7xg0c] {
    opacity: var(--page2-opacity, 1);
    visibility: var(--page2-visibility, visible);
    z-index: var(--page2-zindex, 10);
}


.stats-card:hover[b-vxq7n7xg0c],
.stats-card.active[b-vxq7n7xg0c] {
    background-color: #FF5722;
}
        .stats-card:hover .stats-number[b-vxq7n7xg0c],
        .stats-card:hover .stats-info h3[b-vxq7n7xg0c],
        .stats-card:hover .stats-subtitle[b-vxq7n7xg0c],
        .stats-card.active .stats-number[b-vxq7n7xg0c],
        .stats-card.active .stats-info h3[b-vxq7n7xg0c],
        .stats-card.active .stats-subtitle[b-vxq7n7xg0c] {
            color: white;
        }

.stats-content[b-vxq7n7xg0c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    width: 100%;
}


.stats-icon[b-vxq7n7xg0c] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

    .stats-icon img[b-vxq7n7xg0c] {
        width: 64px; /* Ajustado al tamaño original */
        height: 64px;
        object-fit: contain;
    }

.stats-info[b-vxq7n7xg0c] {
    flex: 1;
    width: 100%;
}

    .stats-info h3[b-vxq7n7xg0c] {
        font-size: 1rem;
        color: #666;
        margin: 0 0 0.5rem 0;
        transition: color 0.3s ease;
    }
.stats-number[b-vxq7n7xg0c] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FF5722;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.stats-subtitle[b-vxq7n7xg0c] {
    font-size: 0.875rem;
    color: #999;
    transition: color 0.3s ease;
}

/* Stats Sidebar Styles */
.stats-sidebar[b-vxq7n7xg0c] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 20;
}

.stats-item[b-vxq7n7xg0c] {
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}
.dual-view-container[b-vxq7n7xg0c] {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    overflow: hidden;
}

    .stats-item:hover[b-vxq7n7xg0c] {
        opacity: 1;
    }

    .stats-item.active[b-vxq7n7xg0c] {
        color: #FF5722;
        opacity: 1;
    }
/* Contenedor principal para filtro/mapa */
/*.content-section {
    margin-top: 45px;*/ /* Ajustar según sea necesario */
/*}*/

@media (max-width: 992px) {
    .stats-cards-page[b-vxq7n7xg0c] {
        flex-wrap: wrap;
    }

    .stats-card[b-vxq7n7xg0c] {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .stats-sidebar[b-vxq7n7xg0c] {
        flex-direction: row;
        top: auto;
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        justify-content: center;
        gap: 2rem;
    }
}
@media (max-width: 576px) {
    .stats-card[b-vxq7n7xg0c] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Estilos para el mapa */
.map-container[b-vxq7n7xg0c] {
    display: flex;
    flex-direction: column;
}

.map-section[b-vxq7n7xg0c] {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.google-map-container[b-vxq7n7xg0c] {
    flex: 1;
    min-height: 400px;
    position: relative;
}

    .google-map-container #googleMap[b-vxq7n7xg0c] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
    }

.google-map-container-chart[b-vxq7n7xg0c] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

    .google-map-container-chart #googleMap[b-vxq7n7xg0c] {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }
@media (max-width: 992px) {
    .dual-view-container[b-vxq7n7xg0c] {
        flex-direction: column;
    }

    .table-container.with-chart[b-vxq7n7xg0c] {
        max-width: 100%;
    }

    .chart-container-side[b-vxq7n7xg0c] {
        max-height: 50vh;
    }
}
#googleMap[b-vxq7n7xg0c] {
    height: 100%;
    width: 100%;
}
/* Estilos para el modal de gráfico */
.chart-modal[b-vxq7n7xg0c] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    width: 700px;
    max-width: 90%;
    height: 500px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.chart-modal-header[b-vxq7n7xg0c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: grab;
}

    .chart-modal-header h5[b-vxq7n7xg0c] {
        margin: 0;
        font-size: 1rem;
        color: #495057;
    }

.close-modal-btn[b-vxq7n7xg0c] {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
}

    .close-modal-btn:hover[b-vxq7n7xg0c] {
        color: #dc3545;
    }

.chart-modal-body[b-vxq7n7xg0c] {
    flex: 1;
    padding: 15px;
    overflow: hidden;
    position: relative;
}

    .chart-modal-body canvas[b-vxq7n7xg0c] {
        width: 100%;
        height: 100%;
    }

.chart-modal-footer[b-vxq7n7xg0c] {
    padding: 10px 15px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
}

.modal-backdrop[b-vxq7n7xg0c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
}
.map-section.full-width[b-vxq7n7xg0c] {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
/* Filter Section Styles - Updated */
.filter-section[b-vxq7n7xg0c] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.filter-grid[b-vxq7n7xg0c] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.filter-input[b-vxq7n7xg0c] {
    width: 100%;
}

    .filter-input select[b-vxq7n7xg0c] {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        border: none;
        background-color: #F5F7F9;
        color: #666;
        font-size: 14px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: calc(100% - 1rem) center;
        cursor: pointer;
    }

        .filter-input select:focus[b-vxq7n7xg0c] {
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
        }

        .filter-input select:hover[b-vxq7n7xg0c] {
            background-color: #ECEEF0;
        }

.filter-button[b-vxq7n7xg0c] {
    grid-column: 2;
    justify-self: end;
    align-self: end;
    background-color: #FF5722;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .filter-button:hover[b-vxq7n7xg0c] {
        background-color: #F4511E;
    }

    .filter-button i[b-vxq7n7xg0c] {
        font-size: 16px;
    }

/* Media Queries */
@media (max-width: 1200px) {
    .stats-container[b-vxq7n7xg0c] {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-sidebar[b-vxq7n7xg0c] {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header[b-vxq7n7xg0c] {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .date-picker-popup[b-vxq7n7xg0c] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
    }

    .filter-grid[b-vxq7n7xg0c] {
        grid-template-columns: 1fr;
    }

    .filter-button[b-vxq7n7xg0c] {
        grid-column: 1;
        justify-self: stretch;
        margin-top: 1rem;
    }
}
/* SPINNER */
.loading-overlay[b-vxq7n7xg0c] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner[b-vxq7n7xg0c] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 87, 34, 0.1);
    border-left-color: #FF5722;
    border-radius: 50%;
    animation: spin-b-vxq7n7xg0c 1s linear infinite;
}

.loading-content[b-vxq7n7xg0c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-text[b-vxq7n7xg0c] {
    color: #FF5722;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: pulse-b-vxq7n7xg0c 1.5s ease-in-out infinite;
}

@keyframes spin-b-vxq7n7xg0c {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-vxq7n7xg0c {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}
/*FIN SPINNER */
.content-section.with-details[b-vxq7n7xg0c] {
    display: grid;
    grid-template-columns: 100%;
    gap: 1rem;
    background-color: unset;
}

.chart-layout[b-vxq7n7xg0c] {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1.5rem;
    height: 100%;
    min-height: 0;
}

.chart-content[b-vxq7n7xg0c] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Para evitar desbordamiento */
}

.chart-section[b-vxq7n7xg0c] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-section-chart[b-vxq7n7xg0c] {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 95%;
    min-height: 0;
    transition: flex 0.3s ease;
}

.content-section .map-section[b-vxq7n7xg0c] {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: flex 0.3s ease;
}

.content-section .chart-section[b-vxq7n7xg0c] {
    display: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Cuando se muestra el detalle */


.content-section.with-details .chart-section[b-vxq7n7xg0c] {
    flex: 0 0 35%;
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    max-height: 52vh;
    display: block;
    opacity: 1;
}

/* Botones de control */
.content-buttons-show[b-vxq7n7xg0c] {
    display: inline-flex;
    width: 100%;
    gap: 2px;
    margin-bottom: 1rem;
}

.control-btn[b-vxq7n7xg0c] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

    .control-btn:hover[b-vxq7n7xg0c] {
        background-color: rgba(255, 87, 34, 0.1);
        color: #FF5722;
    }

    .control-btn.active[b-vxq7n7xg0c] {
        background-color: #FF5722;
        color: white;
    }

/* Gráfico de barras */
.chart-container[b-vxq7n7xg0c] {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: auto;
    margin-top: 1rem;
    max-height: calc(100% - 100px);
}

.chart-bar[b-vxq7n7xg0c] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.bar-container[b-vxq7n7xg0c] {
    position: relative;
    flex-grow: 1;
    height: 20px;
}

.bar-background[b-vxq7n7xg0c] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E0E0E0;
    border-radius: 4px;
}

.bar[b-vxq7n7xg0c] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #FF5722;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.date[b-vxq7n7xg0c] {
    min-width: 60px;
    font-size: 0.875rem;
    color: #666;
}

.count[b-vxq7n7xg0c] {
    min-width: 30px;
    font-size: 0.875rem;
    color: #333;
    font-weight: bold;
}

.table-container[b-vxq7n7xg0c] {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 60vh;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
    .table-container.with-chart[b-vxq7n7xg0c] {
        flex: 1;
        max-width: 60%;
        overflow-x: auto;
    }
.chart-container-side[b-vxq7n7xg0c] {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chart-actions[b-vxq7n7xg0c] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.chart-wrapper canvas[b-vxq7n7xg0c] {
    width: 100%;
    height: 100%;
}
.chart-wrapper[b-vxq7n7xg0c] {
    flex: 1;
    min-height: 300px;
    position: relative;
}
table[b-vxq7n7xg0c] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
thead[b-vxq7n7xg0c] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}
.card-body .row[b-vxq7n7xg0c] {
    margin-right: 0;
    margin-left: 0;
}
.form-group input[b-vxq7n7xg0c] {
    width: 100%;
}
th[b-vxq7n7xg0c] {
    background: #f8fafc;
    color: #37474F;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 10;
    /* Añadir sombra sutil para indicar que es un elemento fijo */
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

td[b-vxq7n7xg0c] {
    padding: 1rem 1.5rem;
    color: #4a5568;
    font-size: 0.85rem;
    border-bottom: 1px solid #edf2f7;
}

.table-container:not(:hover) th[b-vxq7n7xg0c] {
    box-shadow: none;
}
.totals-row td[b-vxq7n7xg0c] {
    font-weight: bold;
    background: #f8fafc;
}

tbody tr:hover td[b-vxq7n7xg0c] {
    background: #f8fafc;
}

/* Container para la tabla con altura fija */
.fixed-height-table-container[b-vxq7n7xg0c] {
    /*height: calc(100vh - 350px);*/
    max-height: 249px;
    overflow-y: auto;
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
    /* Mantener el encabezado de la tabla fijo */
    .fixed-height-table-container table[b-vxq7n7xg0c] {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }


    .fixed-height-table-container thead[b-vxq7n7xg0c] {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #f8fafc;
    }

    .fixed-height-table-container th[b-vxq7n7xg0c] {
        padding: 10px 12px;
        font-weight: 600;
        color: #37474F;
        text-align: left;
        border-bottom: 2px solid #edf2f7;
        box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
        white-space: nowrap;
    }

    .fixed-height-table-container td[b-vxq7n7xg0c] {
        padding: 8px 12px;
        border-bottom: 1px solid #edf2f7;
        white-space: nowrap;
        font-size: 0.85rem;
    }

/* Mejoras en el formulario QA/QC */
.qaqc-params[b-vxq7n7xg0c] {
    padding: 0.75rem;
}
/* Ventana flotante del gráfico */
.floating-chart-popup[b-vxq7n7xg0c] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 1200px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.popup-header[b-vxq7n7xg0c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #edf2f7;
}

    .popup-header h5[b-vxq7n7xg0c] {
        margin: 0;
        font-size: 1.1rem;
        color: #37474F;
    }

.close-popup-btn[b-vxq7n7xg0c] {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

    .close-popup-btn:hover[b-vxq7n7xg0c] {
        background: #f1f5f9;
        color: #FF5722;
    }

.popup-body[b-vxq7n7xg0c] {
    flex: 1;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    min-height: 400px;
}

    .popup-body canvas[b-vxq7n7xg0c] {
        width: 100%;
        height: 100%;
    }

.popup-footer[b-vxq7n7xg0c] {
    padding: 0.75rem 1rem;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: flex-end;
}

.popup-overlay[b-vxq7n7xg0c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* Arreglos responsivos */
@media (max-width: 768px) {
    .params-row[b-vxq7n7xg0c] {
        flex-direction: column;
    }

    .floating-chart-popup[b-vxq7n7xg0c] {
        width: 95%;
        max-height: 90vh;
    }

    .fixed-height-table-container[b-vxq7n7xg0c] {
        height: calc(100vh - 400px);
    }
}
.params-row[b-vxq7n7xg0c] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.form-group[b-vxq7n7xg0c] {
    margin-bottom: 0.5rem;
}

.button-group[b-vxq7n7xg0c] {
    display: flex;
    gap: 0.5rem;
}

.btn[b-vxq7n7xg0c] {
    white-space: nowrap;
}

.modal-overlay[b-vxq7n7xg0c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content[b-vxq7n7xg0c] {
    background: white;
    border-radius: 8px;
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-vxq7n7xg0c] {
    padding: 1rem;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3[b-vxq7n7xg0c] {
        margin: 0;
        color: #2d3748;
        font-size: 1.25rem;
    }

.close-btn[b-vxq7n7xg0c] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
}

    .close-btn:hover[b-vxq7n7xg0c] {
        color: #2d3748;
    }

.modal-body[b-vxq7n7xg0c] {
    padding: 1.5rem;
}

.filter-grid[b-vxq7n7xg0c] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.filter-row[b-vxq7n7xg0c] {
    margin-bottom: 1rem;
}

    .filter-row label[b-vxq7n7xg0c] {
        display: block;
        margin-bottom: 0.5rem;
        color: #4a5568;
        font-weight: 500;
    }
    /* Estilos específicos para los selects múltiples */
    .filter-row select[multiple][b-vxq7n7xg0c] {
        width: 100%;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        max-height: 200px;
        overflow-y: auto;
        padding: 0;
    }

        .filter-row select[multiple] option[b-vxq7n7xg0c] {
            position: relative;
            padding: 8px 12px;
            margin: 0;
            border-bottom: 1px solid #f0f0f0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            transition: background-color 0.2s;
        }

            /* Estilo para opciones seleccionadas */
            .filter-row select[multiple] option:checked[b-vxq7n7xg0c] {
                background: linear-gradient(#FF5722, #FF5722);
                color: white;
            }

            /* Estilo para opciones al pasar el mouse */
            .filter-row select[multiple] option:hover[b-vxq7n7xg0c] {
                background-color: #fff5f2;
            }

.filter-actions[b-vxq7n7xg0c] {
    grid-column: 1 / -1;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Estilos para el scrollbar del select */
.filter-row select[multiple][b-vxq7n7xg0c]::-webkit-scrollbar {
    width: 8px;
}

.filter-row select[multiple][b-vxq7n7xg0c]::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.filter-row select[multiple][b-vxq7n7xg0c]::-webkit-scrollbar-thumb {
    background-color: #FF5722;
    border-radius: 4px;
    border: 2px solid #f7fafc;
}

    .filter-row select[multiple][b-vxq7n7xg0c]::-webkit-scrollbar-thumb:hover {
        background-color: #F4511E;
    }

.filter-button[b-vxq7n7xg0c] {
    background: #FF5722;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

    .filter-button:hover[b-vxq7n7xg0c] {
        background: #F4511E;
    }

.clear-button[b-vxq7n7xg0c] {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

    .clear-button:hover[b-vxq7n7xg0c] {
        background: #cbd5e0;
    }
/* Estilos para el carrusel manteniendo la distribución original */
.stats-carousel-container[b-vxq7n7xg0c] {
    position: relative;
    width: 100%;
    overflow: hidden;
    grid-column: 1 / span 4;
}

.stats-cards-wrapper[b-vxq7n7xg0c] {
    width: 100%;
    overflow: hidden;
}

.stats-cards-container[b-vxq7n7xg0c] {
    flex: 1;
    margin: 0 40px; /* Espacio para los botones de navegación */
    position: relative;
}

.stats-cards-slider[b-vxq7n7xg0c] {
    display: flex;
    transition: transform 0.4s ease;
    width: 200%; /* Para 2 páginas */
    height: 100%;
    position: relative;
} 
.stats-cards-page[b-vxq7n7xg0c] {
    flex: 0 0 50%; /* Cada página ocupa 1/2 del slider */
    display: flex;
    gap: 1rem; /* Espacio entre tarjetas como en la primera imagen */
    justify-content: space-between;
    padding: 0;
    position: relative;
}
/* Estructura de grid para mantener la distribución original */
.stats-grid[b-vxq7n7xg0c] {
    display: flex;
    width: 100%;
}

.stats-page[b-vxq7n7xg0c] {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

    /* La segunda página del carrusel solo tiene una tarjeta centrada */
    .stats-page:nth-child(2)[b-vxq7n7xg0c] {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .stats-page:nth-child(2) .stats-card[b-vxq7n7xg0c] {
            width: calc(25% - 1rem); /* Igual a las otras tarjetas */
        }

/* Botones de navegación del carrusel */
.carousel-nav[b-vxq7n7xg0c] {
    position: absolute;
    top: 80px; /* Centrado verticalmente en la parte visible */
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #FF5722;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .carousel-nav:hover[b-vxq7n7xg0c] {
        background: white;
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }

.carousel-prev[b-vxq7n7xg0c] {
    left: 10px;
}

.carousel-next[b-vxq7n7xg0c] {
    right: 10px;
}


/* Indicadores del carrusel */
.carousel-indicators[b-vxq7n7xg0c] {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot[b-vxq7n7xg0c] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .carousel-dot.active[b-vxq7n7xg0c] {
        background-color: #FF5722;
        transform: scale(1.2);
    }

/* Ajuste para mantener la barra lateral en su posición original */
.stats[b-vxq7n7xg0c] {
    position: relative;
    padding-bottom: 2rem; /* Espacio para los indicadores */
}

.stats-sidebar[b-vxq7n7xg0c] {
    /* Mantener la posición original */
    grid-column: 5;
    position: relative;
    height: 100%;
    z-index: 5;
}


/* En la tercera página, la tarjeta debe estar centrada */
.stats-cards-page:nth-child(3) .stats-card[b-vxq7n7xg0c] {
    flex: 0 0 270px; /* Ancho fijo para la tarjeta única */
    margin: 0 auto;
}

/* Media queries para responsividad */
@media (max-width: 1200px) {
    .stats-page[b-vxq7n7xg0c] {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-carousel-container[b-vxq7n7xg0c] {
        grid-column: 1 / span 2;
    }

    .stats-sidebar[b-vxq7n7xg0c] {
        grid-column: auto;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .stats-page[b-vxq7n7xg0c] {
        grid-template-columns: 1fr;
    }

    .stats-sidebar[b-vxq7n7xg0c] {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }
}
/* /Pages/Mina/Mina.razor.rz.scp.css */
/* Header Styles */
.header[b-gi45m07n6k] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.title-section h1[b-gi45m07n6k] {
    font-size: 1.5rem;
    margin: 0;
    color: #37474F;
}

/* Date Filter Styles */
.date-filter[b-gi45m07n6k] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    position: relative;
}

.date-display[b-gi45m07n6k] {
    background-color: rgba(255, 87, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #FF5722;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .date-display:hover[b-gi45m07n6k] {
        background-color: rgba(255, 87, 34, 0.15);
    }

/* DatePicker Popup Styles */
.date-picker-container[b-gi45m07n6k] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.date-picker-overlay[b-gi45m07n6k] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.date-picker-popup[b-gi45m07n6k] {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
}

.date-range-inputs[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input-group[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-input-group label[b-gi45m07n6k] {
        color: #666;
        font-size: 0.875rem;
    }

.date-picker-actions[b-gi45m07n6k] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Stats Container Styles */
.stats-container[b-gi45m07n6k] {
    background: #597685;
    height: 235px;
    border-radius: 8px;
}

.stats[b-gi45m07n6k] {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-card[b-gi45m07n6k] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30vh;
    height: 239px;
}

    .stats-card:hover[b-gi45m07n6k],
    .stats-card.active[b-gi45m07n6k] {
        background-color: #FF5722;
    }

        .stats-card:hover .stats-number[b-gi45m07n6k],
        .stats-card:hover .stats-info h3[b-gi45m07n6k],
        .stats-card:hover .stats-subtitle[b-gi45m07n6k],
        .stats-card.active .stats-number[b-gi45m07n6k],
        .stats-card.active .stats-info h3[b-gi45m07n6k],
        .stats-card.active .stats-subtitle[b-gi45m07n6k] {
            color: white;
        }

.stats-content[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.stats-icon[b-gi45m07n6k] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

    .stats-icon img[b-gi45m07n6k] {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

.stats-info[b-gi45m07n6k] {
    flex: 1;
}

    .stats-info h3[b-gi45m07n6k] {
        font-size: 1rem;
        color: #666;
        margin: 0 0 0.5rem 0;
        transition: color 0.3s ease;
    }

.stats-number[b-gi45m07n6k] {
    font-size: 1.95rem;
    font-weight: 800;
    color: #FF5722;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.stats-subtitle[b-gi45m07n6k] {
    font-size: 0.875rem;
    color: #999;
    transition: color 0.3s ease;
}

/* Stats Sidebar Styles */
.stats-sidebar[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-item[b-gi45m07n6k] {
    color: white;
    font-weight: bold;
    font-size: 0.950rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

    .stats-item:hover[b-gi45m07n6k] {
        opacity: 1;
    }

    .stats-item.active[b-gi45m07n6k] {
        color: #FF5722;
        opacity: 1;
    }
/* Contenedor principal para filtro/mapa */
.content-section[b-gi45m07n6k] {
    background: white;
    border-radius: 8px;
    margin-top: 6vh;
    height: 100%;
}

/* Estilos para el mapa */
.map-container[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
}

.map-section[b-gi45m07n6k] {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.google-map-container[b-gi45m07n6k] {
    flex: 1;
    min-height: 400px;
    position: relative;
}

    .google-map-container #googleMap[b-gi45m07n6k] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
    }

.google-map-container-chart[b-gi45m07n6k] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

    .google-map-container-chart #googleMap[b-gi45m07n6k] {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

#googleMap[b-gi45m07n6k] {
    height: 100%;
    width: 100%;
}

.map-section.full-width[b-gi45m07n6k] {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
/* Filter Section Styles - Updated */
.filter-section[b-gi45m07n6k] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.filter-grid[b-gi45m07n6k] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.filter-input[b-gi45m07n6k] {
    width: 100%;
}

    .filter-input select[b-gi45m07n6k] {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        border: none;
        background-color: #F5F7F9;
        color: #666;
        font-size: 14px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: calc(100% - 1rem) center;
        cursor: pointer;
    }

        .filter-input select:focus[b-gi45m07n6k] {
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
        }

        .filter-input select:hover[b-gi45m07n6k] {
            background-color: #ECEEF0;
        }

.filter-button[b-gi45m07n6k] {
    grid-column: 2;
    justify-self: end;
    align-self: end;
    background-color: #FF5722;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .filter-button:hover[b-gi45m07n6k] {
        background-color: #F4511E;
    }

    .filter-button i[b-gi45m07n6k] {
        font-size: 16px;
    }

/* Media Queries */
@media (max-width: 1200px) {
    .stats-container[b-gi45m07n6k] {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-sidebar[b-gi45m07n6k] {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header[b-gi45m07n6k] {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .date-picker-popup[b-gi45m07n6k] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
    }

    .filter-grid[b-gi45m07n6k] {
        grid-template-columns: 1fr;
    }

    .filter-button[b-gi45m07n6k] {
        grid-column: 1;
        justify-self: stretch;
        margin-top: 1rem;
    }
}
/* SPINNER */
.loading-overlay[b-gi45m07n6k] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner[b-gi45m07n6k] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 87, 34, 0.1);
    border-left-color: #FF5722;
    border-radius: 50%;
    animation: spin-b-gi45m07n6k 1s linear infinite;
}

.loading-content[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-text[b-gi45m07n6k] {
    color: #FF5722;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: pulse-b-gi45m07n6k 1.5s ease-in-out infinite;
}

@keyframes spin-b-gi45m07n6k {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-gi45m07n6k {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}
/*FIN SPINNER */
.content-section.with-details[b-gi45m07n6k] {
    display: grid;
    grid-template-columns: 100%;
    gap: 1rem;
    background-color: unset;
}

.chart-layout[b-gi45m07n6k] {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1.5rem;
    height: 100%;
    min-height: 0;
}

.chart-content[b-gi45m07n6k] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Para evitar desbordamiento */
}

.chart-section[b-gi45m07n6k] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-section-chart[b-gi45m07n6k] {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 95%;
    min-height: 0;
    transition: flex 0.3s ease;
}

.content-section .map-section[b-gi45m07n6k] {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: flex 0.3s ease;
}

.content-section .chart-section[b-gi45m07n6k] {
    display: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Cuando se muestra el detalle */


.content-section.with-details .chart-section[b-gi45m07n6k] {
    flex: 0 0 35%;
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    max-height: 52vh;
    display: block;
    opacity: 1;
}

/* Botones de control */
.content-buttons-show[b-gi45m07n6k] {
    display: inline-flex;
    width: 100%;
    gap: 2px;
    margin-bottom: 1rem;
}

.control-btn[b-gi45m07n6k] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

    .control-btn:hover[b-gi45m07n6k] {
        background-color: rgba(255, 87, 34, 0.1);
        color: #FF5722;
    }

    .control-btn.active[b-gi45m07n6k] {
        background-color: #FF5722;
        color: white;
    }

/* Gráfico de barras */
.chart-container[b-gi45m07n6k] {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: auto;
    margin-top: 1rem;
    max-height: calc(100% - 100px);
}

.chart-bar[b-gi45m07n6k] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.bar-container[b-gi45m07n6k] {
    position: relative;
    flex-grow: 1;
    height: 20px;
}

.bar-background[b-gi45m07n6k] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E0E0E0;
    border-radius: 4px;
}

.bar[b-gi45m07n6k] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #FF5722;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.date[b-gi45m07n6k] {
    min-width: 60px;
    font-size: 0.875rem;
    color: #666;
}

.count[b-gi45m07n6k] {
    min-width: 30px;
    font-size: 0.875rem;
    color: #333;
    font-weight: bold;
}

.table-container[b-gi45m07n6k] {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: auto;
    max-height: calc(100% - 100px);
    margin-top: 1rem;
}

table[b-gi45m07n6k] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th[b-gi45m07n6k] {
    background: #f8fafc;
    color: #37474F;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid #edf2f7;
}

td[b-gi45m07n6k] {
    padding: 1rem 1.5rem;
    color: #4a5568;
    font-size: 0.85rem;
    border-bottom: 1px solid #edf2f7;
}

.totals-row td[b-gi45m07n6k] {
    font-weight: bold;
    background: #f8fafc;
}

tbody tr:hover td[b-gi45m07n6k] {
    background: #f8fafc;
}




.modal-overlay[b-gi45m07n6k] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content[b-gi45m07n6k] {
    background: white;
    border-radius: 8px;
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-gi45m07n6k] {
    padding: 1rem;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3[b-gi45m07n6k] {
        margin: 0;
        color: #2d3748;
        font-size: 1.25rem;
    }

.close-btn[b-gi45m07n6k] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
}

    .close-btn:hover[b-gi45m07n6k] {
        color: #2d3748;
    }

.modal-body[b-gi45m07n6k] {
    padding: 1.5rem;
}

.filter-grid[b-gi45m07n6k] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.filter-row[b-gi45m07n6k] {
    margin-bottom: 1rem;
}

    .filter-row label[b-gi45m07n6k] {
        display: block;
        margin-bottom: 0.5rem;
        color: #4a5568;
        font-weight: 500;
    }
    /* Estilos específicos para los selects múltiples */
    .filter-row select[multiple][b-gi45m07n6k] {
        width: 100%;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        max-height: 200px;
        overflow-y: auto;
        padding: 0;
    }

        .filter-row select[multiple] option[b-gi45m07n6k] {
            position: relative;
            padding: 8px 12px;
            margin: 0;
            border-bottom: 1px solid #f0f0f0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            transition: background-color 0.2s;
        }

            /* Estilo para opciones seleccionadas */
            .filter-row select[multiple] option:checked[b-gi45m07n6k] {
                background: linear-gradient(#FF5722, #FF5722);
                color: white;
            }

            /* Estilo para opciones al pasar el mouse */
            .filter-row select[multiple] option:hover[b-gi45m07n6k] {
                background-color: #fff5f2;
            }

.filter-actions[b-gi45m07n6k] {
    grid-column: 1 / -1;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Estilos para el scrollbar del select */
.filter-row select[multiple][b-gi45m07n6k]::-webkit-scrollbar {
    width: 8px;
}

.filter-row select[multiple][b-gi45m07n6k]::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.filter-row select[multiple][b-gi45m07n6k]::-webkit-scrollbar-thumb {
    background-color: #FF5722;
    border-radius: 4px;
    border: 2px solid #f7fafc;
}

    .filter-row select[multiple][b-gi45m07n6k]::-webkit-scrollbar-thumb:hover {
        background-color: #F4511E;
    }

.filter-button[b-gi45m07n6k] {
    background: #FF5722;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

    .filter-button:hover[b-gi45m07n6k] {
        background: #F4511E;
    }

.clear-button[b-gi45m07n6k] {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

    .clear-button:hover[b-gi45m07n6k] {
        background: #cbd5e0;
    }
/* /Pages/Procesamiento/Procesamiento.razor.rz.scp.css */
/* Header Styles */
.header[b-a3827bob2w] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.title-section h1[b-a3827bob2w] {
    font-size: 1.5rem;
    margin: 0;
    color: #37474F;
}

/* Date Filter Styles */
.date-filter[b-a3827bob2w] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    position: relative;
}

.date-display[b-a3827bob2w] {
    background-color: rgba(255, 87, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #FF5722;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .date-display:hover[b-a3827bob2w] {
        background-color: rgba(255, 87, 34, 0.15);
    }

/* DatePicker Popup Styles */
.date-picker-container[b-a3827bob2w] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.date-picker-overlay[b-a3827bob2w] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.date-picker-popup[b-a3827bob2w] {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
}

.date-range-inputs[b-a3827bob2w] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input-group[b-a3827bob2w] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-input-group label[b-a3827bob2w] {
        color: #666;
        font-size: 0.875rem;
    }

.date-picker-actions[b-a3827bob2w] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Stats Container Styles */
.stats-container[b-a3827bob2w] {
    background: #597685;
    height: 235px;
    border-radius: 8px;
}
.stats[b-a3827bob2w] {
    
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-card[b-a3827bob2w] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30vh;
    height: 239px;
}

    .stats-card:hover[b-a3827bob2w],
    .stats-card.active[b-a3827bob2w] {
        background-color: #FF5722;
    }

        .stats-card:hover .stats-number[b-a3827bob2w],
        .stats-card:hover .stats-info h3[b-a3827bob2w],
        .stats-card:hover .stats-subtitle[b-a3827bob2w],
        .stats-card.active .stats-number[b-a3827bob2w],
        .stats-card.active .stats-info h3[b-a3827bob2w],
        .stats-card.active .stats-subtitle[b-a3827bob2w] {
            color: white;
        }

.stats-content[b-a3827bob2w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.stats-icon[b-a3827bob2w] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

    .stats-icon img[b-a3827bob2w] {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

.stats-info[b-a3827bob2w] {
    flex: 1;
}

    .stats-info h3[b-a3827bob2w] {
        font-size: 1rem;
        color: #666;
        margin: 0 0 0.5rem 0;
        transition: color 0.3s ease;
    }

.stats-number[b-a3827bob2w] {
    font-size: 1.95rem;
    font-weight: 800;
    color: #FF5722;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.stats-subtitle[b-a3827bob2w] {
    font-size: 0.875rem;
    color: #999;
    transition: color 0.3s ease;
}

/* Stats Sidebar Styles */
.stats-sidebar[b-a3827bob2w] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-item[b-a3827bob2w] {
    color: white;
    font-weight: bold;
    font-size: 0.950rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

    .stats-item:hover[b-a3827bob2w] {
        opacity: 1;
    }

    .stats-item.active[b-a3827bob2w] {
        color: #FF5722;
        opacity: 1;
    }
/* Contenedor principal para filtro/mapa */
.content-section[b-a3827bob2w] {
    background: white;
    border-radius: 8px;
    margin-top: 6vh;
    height: 100%;
}

/* Estilos para el mapa */
.map-container[b-a3827bob2w] {
   
    display: flex;
    flex-direction: column;
}
.map-section[b-a3827bob2w] {
    width: 100%;
    height:100%;
    border-radius: 8px;
    overflow: hidden;
}
.google-map-container[b-a3827bob2w] {
    flex: 1;
    min-height: 400px;
    position: relative;
}
    .google-map-container #googleMap[b-a3827bob2w] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
    }
.google-map-container-chart[b-a3827bob2w] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

    .google-map-container-chart #googleMap[b-a3827bob2w] {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }
#googleMap[b-a3827bob2w] {
    height: 100%;
    width: 100%;
}
.map-section.full-width[b-a3827bob2w] {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
/* Filter Section Styles - Updated */
.filter-section[b-a3827bob2w] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.filter-grid[b-a3827bob2w] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.filter-input[b-a3827bob2w] {
    width: 100%;
}

    .filter-input select[b-a3827bob2w] {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 4px;
        border: none;
        background-color: #F5F7F9;
        color: #666;
        font-size: 14px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: calc(100% - 1rem) center;
        cursor: pointer;
    }

        .filter-input select:focus[b-a3827bob2w] {
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
        }

        .filter-input select:hover[b-a3827bob2w] {
            background-color: #ECEEF0;
        }

.filter-button[b-a3827bob2w] {
    grid-column: 2;
    justify-self: end;
    align-self: end;
    background-color: #FF5722;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .filter-button:hover[b-a3827bob2w] {
        background-color: #F4511E;
    }

    .filter-button i[b-a3827bob2w] {
        font-size: 16px;
    }

/* Media Queries */
@media (max-width: 1200px) {
    .stats-container[b-a3827bob2w] {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-sidebar[b-a3827bob2w] {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header[b-a3827bob2w] {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .date-picker-popup[b-a3827bob2w] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
    }

    .filter-grid[b-a3827bob2w] {
        grid-template-columns: 1fr;
    }

    .filter-button[b-a3827bob2w] {
        grid-column: 1;
        justify-self: stretch;
        margin-top: 1rem;
    }
}
/* SPINNER */
.loading-overlay[b-a3827bob2w] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner[b-a3827bob2w] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 87, 34, 0.1);
    border-left-color: #FF5722;
    border-radius: 50%;
    animation: spin-b-a3827bob2w 1s linear infinite;
}

.loading-content[b-a3827bob2w] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-text[b-a3827bob2w] {
    color: #FF5722;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: pulse-b-a3827bob2w 1.5s ease-in-out infinite;
}

@keyframes spin-b-a3827bob2w {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-a3827bob2w {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}
/*FIN SPINNER */
.content-section.with-details[b-a3827bob2w] {
    display: grid;
    grid-template-columns: 100%;
    gap: 1rem;
    background-color: unset;
}
.chart-layout[b-a3827bob2w] {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 1.5rem;
    height: 100%;
    min-height: 0;
}
.chart-content[b-a3827bob2w] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Para evitar desbordamiento */
}
.chart-section[b-a3827bob2w] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.map-section-chart[b-a3827bob2w] {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 95%;
    min-height: 0;
    transition: flex 0.3s ease;
}
.content-section .map-section[b-a3827bob2w] {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: flex 0.3s ease;
}

.content-section .chart-section[b-a3827bob2w] {
    display: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Cuando se muestra el detalle */


    .content-section.with-details .chart-section[b-a3827bob2w] {
        flex: 0 0 35%;
        width: 100%;
        background: white;
        border-radius: 12px;
        padding: 1.75rem;
        max-height: 52vh;
        display: block;
        opacity: 1;
   
    }

/* Botones de control */
.content-buttons-show[b-a3827bob2w] {
    display: inline-flex;
    width: 100%;
    gap: 2px;
    margin-bottom: 1rem;
}

.control-btn[b-a3827bob2w] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

    .control-btn:hover[b-a3827bob2w] {
        background-color: rgba(255, 87, 34, 0.1);
        color: #FF5722;
    }

    .control-btn.active[b-a3827bob2w] {
        background-color: #FF5722;
        color: white;
    }

/* Gráfico de barras */
.chart-container[b-a3827bob2w] {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: auto;
    margin-top: 1rem;
    max-height: calc(100% - 100px);
}

.chart-bar[b-a3827bob2w] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.bar-container[b-a3827bob2w] {
    position: relative;
    flex-grow: 1;
    height: 20px;
}

.bar-background[b-a3827bob2w] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E0E0E0;
    border-radius: 4px;
}

.bar[b-a3827bob2w] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #FF5722;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.date[b-a3827bob2w] {
    min-width: 60px;
    font-size: 0.875rem;
    color: #666;
}

.count[b-a3827bob2w] {
    min-width: 30px;
    font-size: 0.875rem;
    color: #333;
    font-weight: bold;
}
.table-container[b-a3827bob2w] {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: auto;
    max-height: calc(100% - 100px);
    margin-top: 1rem;
    position: relative; /* Importante para elementos sticky */
}

table[b-a3827bob2w] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
thead[b-a3827bob2w] {
    position: sticky;
    top: 0;
    z-index: 10;
}
th[b-a3827bob2w] {
    background: #f8fafc;
    color: #37474F;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 10;
    /* Añadir sombra sutil para indicar que es un elemento fijo */
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}
.table-container:not(:hover) th[b-a3827bob2w] {
    box-shadow: none;
}
td[b-a3827bob2w] {
    padding: 1rem 1.5rem;
    color: #4a5568;
    font-size: 0.85rem;
    border-bottom: 1px solid #edf2f7;
}

.totals-row td[b-a3827bob2w] {
    font-weight: bold;
    background: #f8fafc;
}

tbody tr:hover td[b-a3827bob2w] {
    background: #f8fafc;
}




.modal-overlay[b-a3827bob2w] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content[b-a3827bob2w] {
    background: white;
    border-radius: 8px;
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header[b-a3827bob2w] {
    padding: 1rem;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3[b-a3827bob2w] {
        margin: 0;
        color: #2d3748;
        font-size: 1.25rem;
    }

.close-btn[b-a3827bob2w] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
}

    .close-btn:hover[b-a3827bob2w] {
        color: #2d3748;
    }

.modal-body[b-a3827bob2w] {
    padding: 1.5rem;
}
.filter-grid[b-a3827bob2w] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem;
}
.filter-row[b-a3827bob2w] {
    margin-bottom: 1rem;
}
    .filter-row label[b-a3827bob2w] {
        display: block;
        margin-bottom: 0.5rem;
        color: #4a5568;
        font-weight: 500;
    }
/* Estilos específicos para los selects múltiples */
    .filter-row select[multiple][b-a3827bob2w] {
        width: 100%;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        max-height: 200px;
        overflow-y: auto;
        padding: 0;
    }

        .filter-row select[multiple] option[b-a3827bob2w] {
            position: relative;
            padding: 8px 12px;
            margin: 0;
            border-bottom: 1px solid #f0f0f0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        /* Estilo para opciones seleccionadas */
        .filter-row select[multiple] option:checked[b-a3827bob2w] {
            background: linear-gradient(#FF5722, #FF5722);
            color: white;
        }

        /* Estilo para opciones al pasar el mouse */
        .filter-row select[multiple] option:hover[b-a3827bob2w] {
            background-color: #fff5f2;
        }

.filter-actions[b-a3827bob2w] {
    grid-column: 1 / -1;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Estilos para el scrollbar del select */
.filter-row select[multiple][b-a3827bob2w]::-webkit-scrollbar {
    width: 8px;
}

.filter-row select[multiple][b-a3827bob2w]::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.filter-row select[multiple][b-a3827bob2w]::-webkit-scrollbar-thumb {
    background-color: #FF5722;
    border-radius: 4px;
    border: 2px solid #f7fafc;
}

    .filter-row select[multiple][b-a3827bob2w]::-webkit-scrollbar-thumb:hover {
        background-color: #F4511E;
    }

.filter-button[b-a3827bob2w] {
    background: #FF5722;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

    .filter-button:hover[b-a3827bob2w] {
        background: #F4511E;
    }

.clear-button[b-a3827bob2w] {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

    .clear-button:hover[b-a3827bob2w] {
        background: #cbd5e0;
    }

/* /Shared/DateRangePicker.razor.rz.scp.css */
.date-filter[b-xttslghnih] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    position: relative;
}

.date-display[b-xttslghnih] {
    background-color: rgba(255, 87, 34, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #FF5722;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .date-display:hover[b-xttslghnih] {
        background-color: rgba(255, 87, 34, 0.15);
    }

/* DatePicker Popup Styles */
.date-picker-container[b-xttslghnih] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.date-picker-overlay[b-xttslghnih] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.date-picker-popup[b-xttslghnih] {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 300px;
}

.date-range-inputs[b-xttslghnih] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input-group[b-xttslghnih] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .date-input-group label[b-xttslghnih] {
        color: #666;
        font-size: 0.875rem;
    }

    .date-input-group input[b-xttslghnih] {
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 0.5rem;
        font-size: 0.875rem;
    }

.date-picker-actions[b-xttslghnih] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn[b-xttslghnih] {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary[b-xttslghnih] {
    background: #f5f5f5;
    color: #666;
}

    .btn-secondary:hover[b-xttslghnih] {
        background: #e0e0e0;
    }

.btn-primary[b-xttslghnih] {
    background: #FF5722;
    color: white;
}

    .btn-primary:hover[b-xttslghnih] {
        background: #F4511E;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .date-picker-popup[b-xttslghnih] {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
    }

    .date-filter[b-xttslghnih] {
        width: 100%;
    }

    .date-display[b-xttslghnih] {
        flex: 1;
        justify-content: center;
    }
}
/* /Shared/LoadingOverlay.razor.rz.scp.css */
.loading-overlay[b-eba59a1sga] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner[b-eba59a1sga] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 87, 34, 0.1);
    border-left-color: #FF5722;
    border-radius: 50%;
    animation: spin-b-eba59a1sga 1s linear infinite;
}

.loading-content[b-eba59a1sga] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-text[b-eba59a1sga] {
    color: #FF5722;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: pulse-b-eba59a1sga 1.5s ease-in-out infinite;
}

@keyframes spin-b-eba59a1sga {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-b-eba59a1sga {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}
/* /Shared/ViewToggleControls.razor.rz.scp.css */
.view-toggle-controls[b-bm7toxvf5x] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.view-toggle-button[b-bm7toxvf5x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

    .view-toggle-button:hover[b-bm7toxvf5x] {
        background-color: #e5e7eb;
    }

    .view-toggle-button.active[b-bm7toxvf5x] {
        background-color: #2563eb;
        color: white;
    }

    .view-toggle-button i[b-bm7toxvf5x] {
        font-size: 1.2rem;
    }
