@charset "UTF-8";
._scroll {
    overflow: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

._scroll::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

/*正常情况下滑块的样式*/
._scroll::-webkit-scrollbar-thumb {
    background-color: #1EC862;
    border-radius: 0px;
}

/*鼠标悬浮在该类指向的控件上时滑块的样式*/
._scroll:hover::-webkit-scrollbar-thumb {
    background-color: #1EC862;
    border-radius: 0px;
}

/*鼠标悬浮在滑块上时滑块的样式*/
._scroll::-webkit-scrollbar-thumb:hover {
    background-color: #1EC862;
}

/*正常时候的主干部分*/
._scroll::-webkit-scrollbar-track {
    border-radius: 0px;
    background: #010302;
}

/*鼠标悬浮在滚动条上的主干部分*/
._scroll::-webkit-scrollbar-track:hover {
    background: #010302;
}

.message-enter-from {
    opacity: 0;
    transform: translateY(20px);
}

.message-enter-active {
    transition: all 0.3s ease;
    transition-delay: 0.1s;
}

.message-leave-to {
    opacity: 0;
    transform: translateY(-20px);
}

.message-leave-active {
    transition: all 0.3s ease;
    transition-delay: 0.1s;
}

.chat-btn {
    position: fixed;
    bottom: 25px;
    width: 120px;
    height: 120px;
    right: 25px;
    z-index: 555;
    cursor: pointer;
    border-radius: 50%;
}

.chat-btn img {
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
    width: 100%;
    height: 100%;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.chat-container {
    width: 600px;
    height: 871px;
    background: #2d2d2d;
    box-shadow: -20px -20px 30px 0px rgba(0, 0, 0, 0.59);
    border-radius: 32px 32px 32px 32px;
    position: fixed;
    bottom: 50px;
    left: 50px;
    overflow: hidden;
    z-index: 555;
    opacity: 0;
    transition: 0.3s ease;
    transform: translateY(0px);
    visibility: hidden;
}

.chat-container.show-chat {
    opacity: 1;
    transform: translateY(-10px);
    visibility: visible;
}

.chat-container .chat-close {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    color: #dddddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-container .chat-close:hover i {
    color: #fff;
}

.chat-container .chat-close i {
    transition: 0.3s ease;
    font-size: 24px;
}

.chat-container .chat-list {
    width: 100%;
    height: calc(100% - 64px);
    margin-top: 64px;
    box-sizing: border-box;
    padding-bottom: 100px;
}

.chat-container .chat-list .item {
    width: calc(100% - 90px);
    margin-left: 45px;
    background: #3f3f3f;
    margin-bottom: 36px;
    border-radius: 18px;
    padding: 16px;
    box-sizing: border-box;
    line-height: 24px;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    position: relative;
    word-break: break-all;
}

.chat-container .chat-list .item .shape {
    width: 16px;
    height: 60px;
    background: #3f3f3f;
    position: absolute;
    left: -16px;
    top: 0px;
    overflow: hidden;
}

.chat-container .chat-list .item .shape:before {
    content: '';
    width: 500px;
    height: 500px;
    background: #2d2d2d;
    position: absolute;
    right: 0px;
    top: -50px;
    border-radius: 96px;
}

.chat-container .chat-list .left {
    border-top-left-radius: 0px;
}

.chat-container .chat-list .right {
    border-top-right-radius: 0px;
}

.chat-container .chat-list .self {
    background: #1EC862;
}

.chat-container .chat-list .self .shape {
    left: unset;
    right: -16px;
    background: #1EC862;
}

.chat-container .chat-list .self .shape:before {
    color: #1EC862;
    left: 0px;
    right: unset;
}

.chat-container .msg-bar {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 90%;
    height: 70px;
    background: #555555;
    box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
    border-radius: 16px 16px 16px 16px;
    *zoom: 1;
    box-sizing: border-box;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.chat-container .msg-bar:before, .chat-container .msg-bar:after {
    content: " ";
    display: table;
}

.chat-container .msg-bar:after {
    clear: both;
}

.chat-container .msg-bar .icon {
    width: 32px;
    height: 32px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-container .msg-bar .icon i {
    font-size: 20px;
    color: #fff;
}

.chat-container .msg-bar .input {
    float: left;
    /*width: calc(100% - 32px * 3 - 8px);*/
    width: calc(100%);
}

.chat-container .msg-bar #msg-input {
    height: 100%;
    width: 100%;
}

.chat-container .msg-bar #msg-input input {
    width: 100%;
    height: 100%;
    background: none;
    outline: none;
    border: none;
    box-shadow: none;
    color: #fff;
}

.chat-container .msg-bar #msg-input input {
    font-size: 16px;
}


/* 新增：气泡下方状态条样式 */
.msg-status-below {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 8px;
    margin-left: 0;
    font-size: 18px;
    color: #bbb;
    min-height: 24px;

    width: 90%;
    position: absolute;
    bottom: -26px;
}

.stat-span {
    font-size: 18px;
    vertical-align: middle;
}


.stat-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    border: 2px solid #ccc;
    border-top: 2px solid #1EC862;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stat-success::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background: url('../images/icon/ic_success.svg') no-repeat center/contain;
    vertical-align: middle;
}

.stat-error::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background: url('../images/icon/ic_fail.svg') no-repeat center/contain;
    vertical-align: middle;
}

.chat-container .chat-list .self .msg-status-below {
    justify-content: start;

}

/*# sourceMappingURL=chat.css.map */