
/* Estilos personalizados para el botón y la animación */

/* 1. Animación de "Glow" para el botón */
@keyframes glow-animation {
    0% { box-shadow: 0 0 5px #8b3bf9, 0 0 10px #8b3bf9; }
    50% { box-shadow: 0 0 20px #8b3bf9, 0 0 30px #8b3bf9; }
    100% { box-shadow: 0 0 5px #8b3bf9, 0 0 10px #8b3bf9; }
}

.btn-flotante-gcp {
    position: fixed;
    bottom: 2rem;
    left: 2rem; 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #453368;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    z-index: 1050;
    /* Aplicamos la animación de glow */
    animation: glow-animation 3s infinite ease-in-out;
}

.btn-flotante-gcp:hover {
    transform: translateY(-5px) scale(1.1);
    /* Aumentamos el glow en hover */
    animation-play-state: paused; /* Pausamos la animación base para dar prioridad a la del hover */
    box-shadow: 0 0 25px #8b3bf9, 0 0 40px #8b3bf9;
}

.btn-flotante-gcp img {
    padding: 12px;
}

/* 2. Estilos para un Tooltip más bonito */
.tooltip .tooltip-inner {
    margin-left: 10px;
    background-color: #453368;
    border: 1px solid #8b3bf9;
    color: #e0e0e0;
    padding: 10px 20px;
    max-width: 320px !important; 
    width: max-content; 
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(191, 66, 244, 0.5);
    text-align: center;
}

.tooltip .tooltip-arrow {
    margin-left: 10px;
}

.tooltip .tooltip-arrow::before {
    border-right-color: #8b3bf9 !important; /* Color de la flecha a juego con el borde */
}