/* Estilos para el botón flotante de chat */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6a0dad 0%, #9b59b6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

.chat-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.chat-button:active {
    transform: translateY(0);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(106, 13, 173, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0);
    }
}

.chat-button.pulse {
    animation: pulse 1.5s infinite;
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .chat-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}
