/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */





.tencore-chat-button {
    width: 70px;
    height: 70px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tencore-chat-button img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50px 1rem 50px 50px;
    box-shadow: 0 0 14px 0 rgba(0,0,0,0.6);
    -webkit-box-shadow: 0 0 14px 0 rgba(0,0,0,0.6);
    -moz-box-shadow: 0 0 14px 0 rgba(0,0,0,0.6);
}

.tencore-chat-button .tencore-chat-trigger {
    width: 180px;
    position: absolute;
    top: -3rem;
    right: 0;
    padding: .25rem .5rem;
    background-color: #1d293d;
    border-radius: 5rem;
    font-size: .9rem;
    color: #fff;
    font-weight: 700;
    display: table;
}

.tencore-chat-button .tencore-chat-trigger:after {
    position: absolute;
    bottom: -6px;
    right: 1rem;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1d293d;
    content: '';
}

.tencore-chat-button .tencore-chat-trigger span {
    width: 8px;
    height: 8px;
    margin-right: .25rem;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.tencore-chat-button .tencore-chat-trigger span.offline {
    background-color: #c01d1d;
}

.tencore-chat-box {
    width: 350px;
    height: 500px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: none;
    z-index: 9999;
    overflow: hidden;
}

.tencore-chat-box .tencore-chat-header {
    padding: 1rem;
    background-color: #593160;
    font-weight: 700;
    color: #fff;
}


.tencore-chat-box .tencore-chat-message {
    padding: 1rem;
}

.tencore-chat-box .tencore-chat-frame {
    padding: 1rem;
}


.msg {
    padding: 8px;
    margin: 5px 0;
    border-radius: 8px;
    max-width: 80%;
}

.msg.visitor {
    background: #0073aa;
    color: white;
    margin-left: auto;
}

.msg.admin {
    background: #eee;
    color: #000;
}


/*
.chat-header {
    background: #0073aa;
    color: #fff;
    padding: 15px;
    font-weight: bold;
}

.chat-messages {
    height: 380px;
    padding: 15px;
    overflow-y: auto;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #ddd;
}
*/