.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Contenido del tooltip (oculto por defecto) */
.tooltip-content {
    visibility: hidden;
    width: 200px;
    height: 200px;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 10px;
    position: absolute;
    z-index: 100;
    bottom: 120%;
    left: 70%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Flecha decorativa */
.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

/* Mostrar tooltip al pasar el ratón */
.tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Imagen dentro del tooltip */
.qr-imagek {
    width: 200px !important;
    height: 200px !important;
    border-radius: 8px !important;
}