﻿.chat__bot {
    position: fixed;
    bottom: 25px;
    right: 10px;
    /*padding: 8px;*/
    cursor: pointer;
    /*border-radius: 50%;*/
    width: 65px;
    height: 65px;
    /*background-color: #FFF;*/
    /*border: 2px solid #2300FF !important;*/
    /*    box-shadow: 6px 11px 28px 0px rgb(0 0 0 / 10%);
    -webkit-box-shadow: 6px 11px 28px 0px rgb(0 0 0 / 10%);
    -moz-box-shadow: 6px 11px 28px 0px rgb(0 0 0 / 10%);*/
    z-index: 2000;
}
.hour__container {
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-right: 5px;
    align-items: center;
}
.bot .hour__container img {
    width: 100%;
    max-width: 25px;
    margin-bottom: 10px;
}
 .fa__robot {
    width: 100%;
    max-width: 35px;
    align-self: center;
}
.costumer .hour__container img {
    display: none;
}
.chat__bot__count {
    border-radius: 50%;
    text-align: center;
    position: relative;
    top: -72px;
    left: 32px;
    height: 20px;
    width: 20px;
    font-size: 10px;
    color: #FFF;
    background-color: #29009F;
    border: 1px solid #FFF;
    display: none;
    justify-content: center;
    align-items: center;
}
.chat__bot img {
    height: 100%;
    width: 100%;
}
.document img {
    width: 100%;
}
.document div.message__info {
    color: #0e00c4;
    cursor: pointer;
}
.document div.message__info:hover {
    text-decoration: underline;
}
.chat__bot__container {
    display: none;
    background-color: #FFF;
    /*padding: 15px;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: fixed;
    bottom: 25px;
    right: 15px;
    width: 400px;
    height: calc(100% - 150px);
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 46%);
    -webkit-box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 46%);
    -moz-box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 46%);
    overflow: hidden;
    z-index: 2000;
    flex-direction: column;
}

.chat__header {
    display: flex;
    padding: 18px;
    justify-content: space-between;
    background-color: #00ED7B !important;
    font-size: 1rem;
    align-items: center;
}

.chat__header img {
    width: 200px;
}

.icons__close i {
    cursor: pointer;
    margin: 0 5px;
    font-size:18px;
}
.message__title__default {
    text-align: center;
    font-size: 22px;
    color: #5c5c5c;
}
.message__description__default {
    text-align: center;
    font-size: 14px;
    color: #5c5c5c;
}
.margin__top__6 {
    margin-top: 6px !important;
}
.chat__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat__messages {
    flex-direction: column;
    display: flex;
    padding: 20px;
    overflow: auto;
    overflow-x: hidden;
    height: calc(100% - 135px);
}

    .chat__messages::-webkit-scrollbar {
        width: 4px;
    }

    .chat__messages::-webkit-scrollbar-track {
        background: transparent;
    }

    .chat__messages::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }

    .chat__messages .date__info {
        text-align: center;
        margin: 10px 0;
    }

    .chat__messages .message {
        display: flex;
        margin: 5px 0;
    }

    .chat__messages .message__info {
        padding: 10px 20px;
        word-break: break-word;
        border-radius: 25px;
    }

    .chat__messages .hour__info {
        font-size: 12px;
        align-self: end;
    }


    .chat__messages .costumer .hour__info {
        margin-left: 5px;
    }
/*
    .chat__messages .bot .hour__info {
    }*/

.message.costumer {
    align-self: end;
}

.message.bot {
    color: #565A62;
    align-self: start;
    flex-direction: row-reverse;
}

    .message.bot .message__info {
        background-color: #F4F6F8;
    }

.chat__actions {
    padding: 15px;
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 25px;
    width: 100%;
    background-color: #FFF;
    max-width: 400px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.bot + .bot .message__info {
    border-bottom-left-radius: 0!important;
}

.chat__actions i {
    color: #2300FF;
    font-size: 18px;
    cursor: pointer;
}

    .chat__actions input {
        margin: 0 10px;
        flex: 1;
        border-radius: 10px;
        border: 1px solid #d9d9d9;
        background-color: #F4F6F8;
        height: 35px !important;
        color: #565A62;
        padding: 0 10px;
    }

.message__option__container {
    display: flex;
    flex-wrap: wrap;
}
    .message__option__container div {
        margin: 2px;
        word-break: break-word;
        align-items: center;
        justify-content: center;
        display: flex;
        white-space: normal;
        min-width: 100px;
    }
    .message__option {
        flex: 1;
        text-align: center;
        padding: 5px;
        background-color: #F4F6F8;
        border-radius: 5px;
        cursor: pointer;
    }
        .message__option:hover {
            background-color: #2300FF !important;
            color: #FFF!important;
            cursor: pointer;
        }
        .message__option a {
            text-decoration: underline;
        }
            .message__option a:focus {
                color: #0e00c4;
            }
            .message__option a:hover {
                color: #FFF !important;
            }
        .loader__message {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 10px 0 0;
        }

.pulse-text {
    animation: pulse 1s infinite;
    display: inline-block; 
}
/*

.message.bot {
    animation: typing 3s steps(30, end) forwards, blink 2s step-end 1 forwards;
    max-width: 0;
}

@keyframes typing {
    from {
        max-width: 0;
    }

    to {
        max-width: 100%;
    }
}

@keyframes blink {
    0%, 49% {
        border-color: black;
    }

    50%, 100% {
        border-color: transparent;
    }
}
*/

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}