﻿.icono-chatbot {
    position: fixed;
    bottom: 40px;
    right: 20px;
    display: flex;
    gap: 25px;
    z-index: 1000;
}

    .icono-chatbot li {
        position: relative;
        list-style: none;
        width: 60px;
        height: 60px;
        background: #fff;
        border-radius: 60px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transition: 0.5s;
    }

        .icono-chatbot li:hover {
            width: 180px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
        }

        .icono-chatbot li::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 60px;
            background: linear-gradient(45deg, var(--i), var(--j));
            opacity: 0;
            transition: 0.5s;
        }

        .icono-chatbot li:hover::before {
            opacity: 1;
        }

        .icono-chatbot li::after {
            content: "";
            position: absolute;
            top: 10px;
            width: 100%;
            height: 100%;
            border-radius: 60px;
            background: linear-gradient(45deg, var(--i), var(--j));
            transition: 0.5s;
            filter: blur(15px);
            z-index: -1;
            opacity: 0;
        }

        .icono-chatbot li:hover::after {
            opacity: 0.5;
        }

        .icono-chatbot li .icon {
            color: #777;
            font-size: 1.75em;
            transition: 0.5s;
            transition-delay: 0.25s;
        }

        .icono-chatbot li:hover .icon {
            transform: scale(0);
            color: #fff;
            transition-delay: 0s;
        }

        .icono-chatbot li .title {
            position: absolute;
            color: #fff;
            font-size: 1.1em;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transform: scale(0);
            transition: 0.5s;
            transition-delay: 0s;
        }

        .icono-chatbot li:hover .title {
            transform: scale(1);
            transition-delay: 0.25s;
        }

/* Estilo del chat para que flote */
#contenedorChat {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 400px;
    max-height: 35rem;
    z-index: 999;
    transition: all 0.3s ease;
}
    #contenedorChat.collapsed-card {
        height: auto;
        max-height: unset;
        overflow: hidden;
        bottom: 20px !important;
        right: 20px;
    }
    #contenedorChat .card-body,
    #contenedorChat .card-footer {
        transition: max-height 0.3s ease;
    }