.chat-container{
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 5000;
    width:auto;
    height:auto;
    display: none;
}

.chat-window{
    background: rgba(255, 255, 255, 1);
    border-radius:10px;
    flex-direction:column;
    box-shadow:0 10px 10px rgba(0,0,0,0.4);
    overflow:hidden;
    width:500px;
    height:92vh;
    right: 70px;
    display: none;
    position: absolute;
    translate: 0 0;
}

@keyframes chatAnimationOpen {
    0%   {
        width:0;
        height:0;
        translate: 600px 120vh;
        opacity: 0;
    }
    100% {
        width:500px;
        height:92vh;
        translate: 0 0;
        opacity: 1;
    }
}

@keyframes chatAnimationClose {
    0%   {
        width:500px;
        height:92vh;
        translate: 0 0;
        opacity: 1;
        display: flex;
    }
    100% {
        width:0;
        height:0;
        translate: 600px 120vh;
        opacity: 0;
        display: none;
    }
}

.active_chat{
    animation-name: chatAnimationOpen;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    display: flex;
}

.inactive_chat{
    animation-name: chatAnimationClose;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
}

.chat-container .chat-window a, .chat-container .chat-window a:active, .chat-container .chat-window a:visited{
    color: #78d2ff;
}

.chat-container .chat-window a:hover{
    color: #ffffff;
}

.chat-container .chat-header{
    padding:5px 15px;
    background-color:#003086;
    background: linear-gradient(90deg, rgba(0, 48, 134, 1) 0%, rgba(74, 114, 189, 1) 100%);
    /* background-image: url('/assets/img/chatbot/background.jpg'); */
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    font-size:18px;
    font-weight:bold;
    border-bottom:2px solid #fff;
    color: #cccccc;
}

.chat-container .chat-messages{
    flex:1;
    padding:20px;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.chat-container .message{
    max-width:80%;
    padding:12px 16px;
    border-radius:10px;
    line-height:1.4;
    font-size:14px;
}

.chat-container .user{
    align-self:flex-end;
    background:#2563eb;
    color: #eeeeee;
}

.chat-container .bot{
    align-self:flex-start;
    background: #263953;
    color: #eeeeee;
}

.chat-container .chat-input{
    display:flex;
    padding:14px;
    background:#eeeeee;
    border-top:2px solid #ffffff;
}

.chat-container .chat-input input{
    flex:1;
    padding:12px;
    border-radius:8px;
    border:1px solid #e5e5e5;
    outline:none;
    background:#ffffff;
    color:#333333;
    font-size:14px;
}

.chat-container .chat-input button{
    margin-left:10px;
    padding:12px 18px;
    border:none;
    border-radius:8px;
    background:#2563eb;
    color:white;
    font-weight:bold;
    cursor:pointer;
}

.chat-container .chat-input button:hover{
    background:#1d4ed8;
}

.chat-container .typing{
    font-size:12px;
    opacity:0.6;
    margin-left:6px;
}

.chat-container .chat-window-toggle {
    background: #b71765;
    color: #fff;
    cursor: pointer;
    width: 64px;
    height: 64px;
    border-radius: 50% 50%;
    transition: transform 15s ease, background 15s ease;
    flex: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    font-size: 2em;
}

.chat-container .chat-window-toggle > .iconBot {
    font-size: 0.5em;
    position: absolute;
    top: 0;
    right: 0;
    text-shadow: 1px 1px 0 #b71765;
    color: #ffffff;
}

.chat-container .chat-window-toggle:hover, .chat-container .chat-window-toggle:focus {
    background: #91104f;
    transform: scale(1.05)
}

.chat-container .chat-window-toggle:active {
    background: #70093b;
    transform: scale(.95)
}

.chat-window-transition-enter-active, .chat-window-transition-leave-active {
    transition: transform 15s ease, opacity 15s ease
}

.chat-window-transition-enter-from, .chat-window-transition-leave-to {
    opacity: 0;
    transform: scale(0)
}

.chat-window-toggle-transition-enter-active, .chat-window-toggle-transition-leave-active {
    transition: opacity 15s ease
}

.chat-window-toggle-transition-enter-from, .chat-window-toggle-transition-leave-to {
    opacity: 0
}

/* -------------------------------------------------------------------------------------------------------------------*/
/* -------------------------------------------------------------------------------------------------------------------*/

.woot-widget-bubble{
    overflow: visible !important;
}

.woot-widget-bubble.unread-notification::after{
    width: 15px !important;
    height: 15px !important;
}
