#chat_ico{
    width: 70px;
    position: fixed;
    /*bottom: 10px;*/
    bottom: 20px;
    right: 10px;
    z-index:25;
    cursor: pointer; 
    transform: scale(1);
    transform-origin: bottom right;
    transition: bottom 400ms ease;
}
.pulse_animation{
    animation-delay: 4s;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 3; /* ripete 3 volte */
}
@keyframes pulse{
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}
body.chat_opened{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.chat_view{
    position: fixed; 
    width: 100%; 
    height: 100dvh; 
    z-index: 70; 
    top: 0; 
    left: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: 400ms ease;
}
.chat_opened .chat_view{
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
}
.chat_view .filter{
    background-color: rgba(37,186,194,.5); 
    position: absolute; 
    z-index: 1; 
    width: 100%; 
    height: 100%;
}
.chat_view .chat_box{
    background-color: white; 
    position: absolute;
    z-index: 5;
    overflow: hidden;
    background: #fff;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
}
.chat_view .msgUser{
	float:right; 
	background: #0084ff; 
	color: #fff; 
	padding: 8px 12px; 
	border-radius: 5px; 
	display: inline-block; 
	margin-bottom: 15px; 
	text-align: right;
}
.chat_view .msgBot{
	background: #e0e0e0; 
	padding: 8px 12px; 
	border-radius: 5px; 
	display: inline-block;
	margin-bottom: 15px;
}
.chat_view .msgBot a{
    text-decoration: underline;
    color: #0084ff;
}
.chat_view .chat_header{
    background-color: var(--blue);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.chat_view .chat_header img{
    align-self: center;
}
.chat_view .chat_content{
    overflow-y: scroll;
    padding: 0 20px;
}
.chat_view .chat_content ul{
    list-style-type: none;
}
.chat_view .wrap_input{
    border-top: 1px solid #ccc; 
    display: flex;
}
.chat_view .wrap_input #msg{
    font-family: inherit;
    background-color: rgba(0,132,255,.05);
    flex: 1; 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 5px;
}
.chat_view .wrap_input button{
    margin-left: 10px; 
    border: none;
    background: #0084ff; 
    color: #fff; 
    border-radius: 5px; 
    cursor: pointer;
}
.chat_view .wrap_ai_info{
    padding: 10px 0;
    text-align: center;
}




