
#ai-toggle-btn{
    position: fixed;
    right: 16px;
    bottom: 16px;
    height: 30px;
    width: 290px;
    color: #fff;
    background-color: var(--main);
    cursor: pointer;
    z-index: 40;
    border: 1px solid #fff;
    transition: all 0.2s ease-in-out;
}

#cont-ai-chat{

    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--main);
    border: 0px solid #fff;
    height: 0px;
    width: 290px;
    z-index: 40;
    overflow-y: hidden;
    transition: all 0.2s ease-in-out;

    h2{
        margin-top: 0;
        padding: 12px 0;
        width: 100%;
        font-size: 0.9rem;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.5);
        text-align: center;
        font-weight: 500;
    }

    .content::-webkit-scrollbar{
        width: 5px;
        background-color: unset;
    }

    .content::-webkit-scrollbar-thumb{
        background-color: rgba(255, 255, 255, 0.1);
    }

    .content{
        margin: 6px 0px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 90%;
        overflow-y: auto;
        
        ::-webkit-scrollbar{
            width: 2px;
        }

        .mess{
            display: flex;
            flex-direction: row;
            align-items: center;
            padding: 8px;
            box-sizing: border-box;
            font-size: 0.8rem;
            height: auto;
            min-height: 30px;
            width: 90%;
            background-color: var(--amarillo_claro);
            color: #fff;
            flex-shrink: 0;

            .dots{
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 4px;

                .dot:nth-child(1){
                    animation-delay: 0.1s;
                }
                .dot:nth-child(2){
                    animation-delay: 0.3s;
                }
                .dot:nth-child(3){
                    animation-delay: 0.5s;
                }

                .dot{
                    height: 5px;
                    width: 5px;
                    border-radius: 50%;
                    background-color: var(--main);
                    animation: dot-float 1s infinite linear;
                }
            }
        }

        .mess.r{
            flex-direction: column;
            text-align: start;
            color: var(--main);
            
            strong{
                text-align: start;
                font-weight: 700;
            }
        }
        
        .mess.l{
            margin-left: 10%;
            background-color: rgba(255, 255, 255, 0.1);
            justify-content: end;
        }

        .mess.fit{
            width: fit-content;
        }
    
    }

    .bottom{
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 90%;
        gap: 8px;

        input{
            margin: 8px 0;
            padding: 8px 0;
            text-indent: 8px;
            background: unset;
            font-size: 0.75rem;
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--veige);
            width: 90%;
            color: #fff;
        }

        button{
            height: 34px;
            width: 34px;
            background-color: var(--veige);
            border: 1px solid var(--veige);
            color: var(--main);
        }

        button:hover{
            cursor: pointer;
            background-color: unset;
            color: var(--veige);
        }
    }

}

@keyframes dot-float {
    
    0%{
        transform: translateY(0px);
    }
    
    25%{
        transform: translateY(-2px);
    }

    75%{
        transform: translateY(2px);
    }

    100%{
        transform: translateY(0px);
    }
}

@media(max-width:600px){
    
}