/* Estilo con tarjetas en HORIZONTAL y COLOR */
.popover {
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', Arial, sans-serif;
    max-width: 380px;
    padding: 0;
    overflow: hidden;
}

.popover-header {
    background: linear-gradient(135deg, #2f4a8a 0%, #1c242d 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 20px;
    margin: 0;
    border-bottom: none;
    letter-spacing: 0.5px;
    text-align: center;
}

.popover-body {
    padding: 20px;
    background: #f8f9ff;
}

/* Contenedor principal - horizontal */
.estadisticas-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

/* Estilo de cada tarjeta - con colores diferentes */
.estadistica-tarjeta {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    background: white;
    padding: 15px 5px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.estadistica-tarjeta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Colores específicos para cada tarjeta */
.estadistica-tarjeta:nth-child(1) {
    background: linear-gradient(135deg,  #007c5d 0%, #00fec7 100%);
}

.estadistica-tarjeta:nth-child(2) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.estadistica-tarjeta:nth-child(3) {
    background: linear-gradient(135deg, #ec5f00 0%, #fca65f 100%);
}

/* Etiqueta dentro de la tarjeta */
.estadistica-label {
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* Valor dentro de la tarjeta - GRANDE y blanco */
.estadistica-valor {
    font-weight: 700;
    color: white;
    font-size: 28px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Línea de actualización con reloj */
.actualizacion {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Icono de reloj */
.actualizacion i {
    color: #667eea;
    font-size: 14px;
}

/* Estilo para el botón/ancla en el footer */
/*
#estadisticasBtn {
    color: #667eea;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #667eea;
    border-radius: 20px;
    transition: all 0.3s;
    background: white;
}

#estadisticasBtn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#estadisticasBtn:hover i {
    color: white;
}

#estadisticasBtn i {
    font-size: 16px;
    color: #667eea;
    transition: color 0.3s;
}
*/