﻿.floating-help-bubble-wrapper {
    position: fixed;
    right: 35px;
    bottom: 50px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floating-help-bubble {
    position: relative;
    width: 68px;
    height: 68px;
    border: 2px solid #7A1F3D;
    border-radius: 50%;
    background-color: #e7e5e5;
    background-image: url('/img/Home/Icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.2s ease;
    z-index: 1;
}

    .floating-help-bubble:hover {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    }

    .floating-help-bubble::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        z-index: -1;
        animation: multiPulse 3s infinite;
    }

@keyframes multiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 31, 61, 0.5), 0 0 0 0 rgba(122, 31, 61, 0.4), 0 0 0 0 rgba(122, 31, 61, 0.3);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(122, 31, 61, 0), 0 0 0 40px rgba(122, 31, 61, 0), 0 0 0 60px rgba(122, 31, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(122, 31, 61, 0), 0 0 0 0 rgba(122, 31, 61, 0);
    }
}

/* Menú */
.floating-help-menu {
    margin-bottom: 12px;
    min-width: 280px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

/* Item del menú - QUITAR OUTLINE EN TODOS LOS ESTADOS */
.floating-help-menu-item,
.floating-help-menu-item:focus,
.floating-help-menu-item:focus-visible,
.floating-help-menu-item:active,
.floating-help-menu-item:hover,
.floating-help-menu-item:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    text-decoration: none !important;
    color: inherit;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Fondo para el texto - SIN OUTLINE */
.menu-text,
.menu-text:focus,
.menu-text:active {
    background-color: #f0f0f0;
    padding: 13px 15px;
    font-weight: bold;
    border: 3px solid #b8964a !important;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #2b2b2b;
    text-decoration: none !important;
    flex: 1;
    outline: none !important;
    box-shadow: none !important;
}

/* Círculo contenedor del icono - SIN OUTLINE */
.menu-icon-circle,
.menu-icon-circle:focus,
.menu-icon-circle:active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #7A1F3D;
    border-radius: 50%;
    flex-shrink: 0;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Imagen SVG del icono */
.icon-right,
.icon-right:focus {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Hover states */
.floating-help-menu-item:hover .menu-text {
    background-color: #e0e0e0;
    color: #7A1F3D;
}

/* Estado activo */
.floating-help-bubble-wrapper.active .floating-help-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* FUERZA BRUTA - Por si todo lo demás falla */
* {
    -webkit-tap-highlight-color: transparent;
}

a {
    outline: none !important;
}

    a:-webkit-any-link {
        outline: none !important;
        text-decoration: none !important;
    }

    a:focus,
    a:focus-visible,
    a:active {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }
