
#chat{
    position: fixed;
    /* border: 5px solid red;
    width: 30vw;
    height: 90vh; */
    right: 35px;
    bottom: 35px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 99;
    border-radius: 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    padding:10px;
    box-sizing:border-box;
    backdrop-filter:blur(10px);
    transition:all 0.3s ease-in-out;
    opacity: 1;
    width: 0px !important;
    height: 0px !important;
    opacity: 0 !important;
    z-index: 9998;
}
#chat.admin{
    position:initial;
    width: 100%;
    overflow: scroll;
}

.close{
    width: 0px !important;
    height: 0px !important;
    opacity: 0 !important;
}

#chat.open{
    width: 450px!important;
    height: 90vh !important;
    opacity: 1 !important;
}
@media screen and (max-width:750px){
    #chat.open{
     width: 90vw!important;
    }
}

#chat .tag{
    background: rgb(85,143,205);    
    background: linear-gradient(153deg, rgba(85,143,205,1) 0%, rgba(128,125,187,1) 50%, rgba(201,101,104,1) 100%);
    color:#fff;
    border-radius: 20px;
    padding: 5px;
    margin: 5px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}

#chat .system{
    display:none;
}

#chat .assistant{
    width: 80%;
    background: lightgray;
    border-radius: 50px 50px 50px 0px;
    margin-left: 10%;
}
#chat .piece{
    /*
    background: lightgray;
    border-radius: 50px 50px 50px 0px;*/
    width: 100%;
    display: inline-flex;
    overflow: scroll;
}
#chat .piece>div{
 display: flex;
}
#chat .piece>div{
 display: flex;
}
#chat .piece>div>div{
        width: 150px;
    display: flex
;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    flex: 0 0 auto;
    margin-right:10px;
}
#chat .piece>div>div>img{
     width: 100%;
}

#chat .user{
    width: 90%;
    margin-left:10%;
    background:#3498db;
    border-radius: 50px 50px 0px 50px;
    color:#fff;
    background: rgb(58,152,158);
    background: linear-gradient(56deg, rgba(58,152,158,1) 0%, rgba(74,105,141,1) 100%);
}
#chat .reflexion{
    width: 80%;
    background: lightgray;
    border-radius: 50px 50px 50px 0px;
    background-image:url(svg/loading.gif);
    background-repeat: no-repeat;
    background-size: auto 100%;
    height:64px;
    background-position:center;
    margin-left: 10%;
}
#chat .notloading{
    display:none;
}
#chat  .loading{
    display:block;
}

#chat ul,#chat ol{
    /*list-style: none;
    padding: 0px;*/
    
}
#chat ul{
    /*border-bottom: 1px solid #333;*/
}
#chat  img{
    width: 100px;
    border-radius: 20px;
}
#chat #conversation{
    height: calc(90vh - 140px);
    overflow: scroll;
    border-radius: 30px 30px 0px 0px;
}
#conversation{
    position: relative;
}
#conversation::after {
    content: "l'IA peut faire des erreurs";
    position: absolute;
    width: 100%;
    display: block;
    color: black;
    text-align: center;
    font-size: 10px;
}
#conversation>div{
    position: relative;
}
.rond {
    width: 40px;
    height: 40px;
    background: red;
    position: absolute;
    border-radius: 50%;
    bottom: -20px;
}
.rondassistant,.rondreflexion{
    background: linear-gradient(153deg, rgb(85, 143, 205) 0%, rgb(128, 125, 187) 50%, rgb(201, 101, 104) 100%);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}
.rondassistant::before,.rondreflexion::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(svg/robot-head.svg) no-repeat center;
    background-size: 80% auto;
    
}
.rondpiece,.rondsystem{
    display: none;
}
.ronduser {
    right: 0px;
    display: none;
}
#chat a{
    cursor: pointer;
    color:inherit;
}

#chat .chatbtn{
    background: #5E8BC9;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:all ease-in-out 0.3s;
    margin-top: auto;
}
#chat .chatbtn:hover{
    background:#B76A7C;
}

.fixed-action-btn{
    background: rgb(85,143,205);    
    background: linear-gradient(153deg, rgba(85,143,205,1) 0%, rgba(128,125,187,1) 50%, rgba(201,101,104,1) 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: fixed;
    right: 9px;
    bottom: 93px;
    display: flex;
    z-index: 9999;
    justify-content:center;
    align-items:center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    cursor:pointer;
}

.fixed-action-btn svg{
    width: 55%;
    fill:#fff;
}
.btns{
    display:flex;
}
.btn-pill{
    background: rgb(85,143,205);    
    background: linear-gradient(153deg, rgba(85,143,205,1) 0%, rgba(128,125,187,1) 50%, rgba(201,101,104,1) 100%);
    border-radius: 27px;
    width: 50%;
    display: flex;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3)!important;
    text-align: center;
    justify-content: center;
    height: 45px;
    align-items: center;
    color: #fff !important;
    cursor:pointer;
}

.btn-pill.notfinish{
    display:none
}
.btn-reload{
    background:#eee;
    border-radius: 27px;
    width: 45px;
    display: flex;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3)!important;
    text-align: center;
    justify-content: center;
    height: 45px;
    align-items: center;
    color: #fff !important;
    cursor:pointer;
    margin-left:30px;
}

.btn-reload svg{
    width: 50%;
    fill:#aaa;
}

.demandechat{
    border-radius: 25px;
    border: 1px solid #ddd;
    resize: none;
    width: 100%;
}
.dial{
    padding:20px;
    margin-bottom:10px;
}
.dial p{
    margin: 0px;
    padding: 0px;

}


.multicolor-glow {
    animation: glow-animation 3s infinite;
}

@keyframes glow-animation {
    0% {
        box-shadow: -5px 0 5px #ff6f61, 0 -5px 5px #86a8e7, 5px 0 5px #6be883, 0 5px 5px #9b59b6;
    }
    25% {
        box-shadow: 0 0 5px #ff6f61, 5px -5px 5px #86a8e7, 5px 5px 5px #6be883, 0 0 5px #9b59b6;
    }
    50% {
        box-shadow: 5px 0 5px #ff6f61, 5px 0 5px #86a8e7, 0 5px 5px #6be883, 5px 0 5px #9b59b6;
    }
    75% {
        box-shadow: 0 5px 5px #ff6f61, 5px 5px 5px #86a8e7, 0 0 5px #6be883, 0 0 5px #9b59b6;
    }
    100% {
        box-shadow: 0 -5px 5px #ff6f61, 0 5px 5px #86a8e7, -5px 0 5px #6be883, -5px 5px 5px #9b59b6;
    }
}