.targetasTop{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 0;
    height: 100%;
    max-height: 18vh;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.targetasTop:hover {
  transform: scale(1.05); /* agranda un poquito */
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
}

.targetaBot{
    max-height: 8vh;
    cursor: pointer;
    background-color: #2c5aa0;
    color: white;
}

.contenedorEstadisticas{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.targetaEstadistica{
    cursor: pointer;
    width: 100%;
    max-width: 11vw;
    text-align: center;
    border-left: 4px solid #2c5aa0;
}

.stat-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c5aa0;
}
        
.stat-label {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}



.tituloTargeta{
    color: #4b5563;
    font-weight: 500;
    font-size: 15px;

}

.informacionTargeta{
    font-size: 30px;
    font-weight: bold;
}

.iconoDisenoTargeta{
    color: white;
    background-color: #2c5aa0;
    font-size: 2rem;
    width: 100%;
    max-width: 4rem;
    height: 100%;
    max-height: 3rem;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.header-glass { background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 20px; margin-bottom: 30px; position: relative; } 
.header-glass::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1)); border-radius: 20px; z-index: -1; } 
.header-glass h2 { color: #2d3748; font-weight: 700; margin: 0; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }

.contenerdorGraficasTab{
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.contenedorFechas{
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.fecha-grupo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fecha-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    margin-bottom: 5px;
}

.inputFecha{
    width: 100%;
    min-width: 180px;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff;
    color: #2d3748;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.inputFecha:hover{
    border-color: #cbd5e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inputFecha:focus{
    border-color: #4a7fb8;
    box-shadow: 0 0 0 3px rgba(74, 127, 184, 0.2);
}

/* Contenedor del botón para alinearlo */
.col-3 {
    display: flex;
    align-items: flex-end; /* Alinea el botón con los inputs */
    padding-bottom: 0;
}

.btn-generar {
    width: 100%;
    height: 54px; /* Misma altura que los inputs */
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    background: #4a7fb8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 20px; /* Mismo margin-bottom que contenedorFechas */
}

.btn-generar:hover {
    background: #3d6a9e;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
}

.btn-generar:active {
    background: #355a84;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*Estilos del calendario*/
.flatpickr-calendar.inline {
    height: 300px !important;
    box-shadow: none !important;
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    .contenedorFechas {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .inputFecha {
        min-width: 100%;
    }
    
    .col-3 {
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }
    .col-3 .btn-generar {
        width: 100%;
    }
    
    .contenedorTotalReportes{
        display: flex;
        flex-direction: column;
        
    }
    #productosPorCategoria{
        max-width: 500px;
    }
    .flatpickr-calendar.inline {
        width: 100% !important;
        box-shadow: none !important;
    }
}

@media (max-width: 613px) {
    .contenedorEstadisticas{
        display: flex !important;
        flex-direction: column !important;
    }
    .targetaEstadistica{
        max-width: 100% !important;
    }
}

