@font-face {
    font-family: HarmonyOS;
    font-style: normal;
    font-display: swap;
    src: url(/assets/static/font/HarmonyOS_Sans_SC_Medium.subset.woff2) format('woff2')
}

.perfect_scrollbar, .perfect_scrollbar input, .perfect_scrollbar textarea, .perfect_scrollbar div, .perfect_scrollbar a {
    font-family: HarmonyOS;
}

.pvr_chat_button {
    z-index: 9999;
    position: fixed;
    bottom: 20px;
    right: 35px;
    background: linear-gradient(to left, #8f94fb, #4e54c8);
    box-shadow: 0 2px 30px 0 #ffd7e88c;
    border-radius: 75px;
    color: #fff;
    padding: 12px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    vertical-align: middle;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.pvr_chat_button.chat_left {
    left: 35px;
    right: unset;
}

.pvr_chat_button i {
    vertical-align: middle;
    display: inline-block;
    font-size: 15px;
}

.pvr_chat_button span {
    vertical-align: middle;
    display: inline-block;
    font-weight: 600;
}

.pvr_chat_button i + span {
    margin-left: 15px;
}

.pvr_chat_button:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    background: linear-gradient(to left, #8f94fb, #4e54c8);
    box-shadow: 0 2px 30px 0 rgba(78, 84, 200, 0.8);
}

.pvr_chat_wrapper {
    z-index: 9999;
    position: fixed;
    bottom: 75px;
    right: 35px;
    visibility: hidden;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
    background-size: 100% auto;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 20px;
}


.pvr_chat_wrapper.chat_left {
    left: 35px;
}

.pvr_chat_wrapper.active {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}

.pvr_chat_wrapper .pvr_chat_content {
    box-shadow: 0 2px 40px 0 #ffd7e88c;
    border-radius: 20px;
    position: relative;
    padding: 20px;
}

.pvr_chat_wrapper .pvr_chat_content .close_chat {
    position: absolute;
    top: 3px;
    right: 12px;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    cursor: pointer;
}

.pvr_chat_wrapper .pvr_chat_content {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .pvr-user-avatar-w {
    width: 50px;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .pvr-user-avatar-w .user-avatar {
    /*    border-radius: 40px;
        overflow: hidden;*/
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .pvr-user-avatar-w .user-avatar img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w.with-status .pvr-user-avatar-w {
    position: relative;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w.with-status .pvr-user-avatar-w:before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 2px;
    right: 2px;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 3px #fff;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w.with-status.status-green .pvr-user-avatar-w:before {
    background-color: #90be2e;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w.with-status.status-red .pvr-user-avatar-w:before {
    background-color: #e65252;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .user-name {
    padding-left: 20px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .user-title {
    color: #32d58a;
    padding: 0;
    margin-bottom: 2px;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .user-role {
    font-size: 12px;
    color: #ff8fbd;
    padding: 0;
    line-height: 24px;
}

.pvr_chat_wrapper .pvr_chat_content .pvr-user-w .user-action {
    width: 50px;
    color: #0da9ef;
    font-size: 18px;
    line-height: 24px;
}

.pvr_chat_wrapper .chat-messages {
    padding: 20px;
    height: 428px;
    position: relative;
    overflow: hidden;
}

.pvr_chat_wrapper .chat-messages .message {
    margin-bottom: 12px;
}

.pvr_chat_wrapper .chat-messages.theme_1 .message .message-content {
    color: #594939;
    padding: 10px 20px;
    background-color: #fcf6ee;
    border-radius: 20px 20px 20px 0px;
    max-width: 80%;
    font-size: 13px;
    display: inline-block;
    text-align: left;
}

.pvr_chat_wrapper .chat-messages.theme_1 .message.self .message-content {
    border-radius: 20px 20px 0px 20px;
    background-color: #e2efff;
    color: #2A4E7F;
}

.pvr_chat_wrapper .chat-messages.theme_2 .message .message-content {
    color: #FFFFFF;
    padding: 10px 20px;
    background-color: #da8d67;
    border-radius: 20px 20px 20px 0px;
    max-width: 80%;
    font-size: 13px;
    display: inline-block;
    text-align: left;
}

.pvr_chat_wrapper .chat-messages.theme_2 .message .message-time {
    color: #bbb7b7;
    font-size: 12px;
}

.pvr_chat_wrapper .chat-messages.theme_2 .message.self .message-content {
    border-radius: 20px 20px 0px 20px;
    background-color: #9281cf;
    color: #FFFFFF;
}

.pvr_chat_wrapper .chat-messages.theme_3 .message .message-content {
    color: #FFFFFF;
    padding: 10px 20px;
    background-color: #616161;
    border-radius: 20px 20px 20px 0px;
    max-width: 80%;
    font-size: 13px;
    display: inline-block;
    text-align: left;
}

.pvr_chat_wrapper .chat-messages.theme_3 .message.self .message-content {
    border-radius: 20px 20px 0px 20px;
    background-color: #689f38;
    color: #FFFFFF;
}

.pvr_chat_wrapper .chat-messages.theme_4 .message .message-content {
    color: #FFFFFF;
    padding: 10px 20px;
    background-color: #929090;
    border-radius: 20px 20px 20px 0px;
    max-width: 80%;
    font-size: 13px;
    display: inline-block;
    text-align: left;
}

/*http://www.bootstrapmb.com*/
.pvr_chat_wrapper .chat-messages.theme_4 .message.self .message-content {
    border-radius: 20px 20px 0px 20px;
    background-color: #4527a0;
    color: #FFFFFF;
}

.pvr_chat_wrapper .chat-messages .message.self {
    text-align: right;
}

.pvr_chat_wrapper .chat-messages .date-break {
    text-align: center;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 13px;
}

.pvr_chat_wrapper .chat-controls {
    padding: 10px;
    padding-top: 0px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.pvr_chat_wrapper .chat-controls .message-input {
    border: 1px solid transparent;
    background-color: transparent;
    padding: 10px;
    width: 100%;
    display: block;
    font-size: 13px;
    border-radius: 0;
    outline: none;
}

.pvr_chat_wrapper .chat-controls .message-input:focus {
    outline: none;
}

.pvr_chat_wrapper .chat-controls .chat-extra {
    text-align: left;
    padding-left: 0px;
    padding-top: 10px;
}

.pvr_chat_wrapper .chat-controls .chat-extra a {
    display: inline-block;
    margin-left: 10px;
    font-size: 16px;
    position: relative;
    color: #9368b4;
}

.pvr_chat_wrapper .chat-controls .chat-extra a .extra-tooltip {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-weight: 600;
    font-size: 0.63rem;
    text-transform: uppercase;
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    position: absolute;
    top: -20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    white-space: nowrap;
    display: none;
}

.pvr_chat_wrapper .chat-controls .chat-extra a:hover {
    text-decoration: none;
}

.pvr_chat_wrapper .chat-controls .chat-extra a:hover .extra-tooltip {
    display: block;
}

.send_message {
    float: right;
}

.pvr_chat_wrapper .material-icons {
    font-size: 18px !important;
}

.message-history {
    text-align: center;
    margin-bottom: 20px;
}

.message-history .history-show {
    font-size: 13px;
    cursor: pointer;
    color: rgb(119, 119, 119);
}

.pvr_chat_wrapper .message-emoji {
    position: absolute;
    width: 100%;
    height: 300px;
    bottom: 188px;
    left: -302px;
    display: none;
}

@media (max-width: 768px) {
    .pvr_chat_wrapper .chat-messages {
        height: calc(100vh - 400px);
    }

    .pvr_chat_wrapper .pvr_chat_content {
        width: 338px;
    }

    .pvr_chat_wrapper .message-emoji {
        position: absolute;
        width: 100%;
        height: 300px;
        bottom: 272px;
        left: 0;
        display: none;
    }
}


.bot-keywords {
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    color: #7ff336 !important;
    display: block;
}


