@font-face {
    font-family: 'Unimed Sans';
    src: url(../fonts/unimedsans-regular-webfont.ttf);
}

:root {
    --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --chat-bg: #fff;
    --left-msg-bg: linear-gradient(to right, #4b79a1, #283e51);
    --right-msg-bg: #ececec;
}

div.posso-ajudar {
    cursor: pointer;
    transition: all ease 1s;
}

.chat {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 386px;
    border-radius: 10px;
    height: calc(100% - 100px);
    background: var(--chat-bg);
    box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
    display: none;
    transition: all ease 1s;
}

.chat-header {
    display: flex;
    justify-content: center;
    padding: 4px;
    border-radius: 10px 10px 0px 0px;
    background-color: #eee;
    color: #666;
}

.chat-header-title p {
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: #ddd;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.msg {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.msg:last-of-type {
    margin: 0;
}

.msg-img {
    width: 44px;
    height: 60px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.msg-bubble {
    max-width: 180px;
    padding: 6px;
    border-radius: 6px;
    background: #00995D;
}

.msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msg-info-name {
    margin-right: 10px;
    font-weight: bold;
}

.msg-info-time {
    font-size: 0.85rem;
}

.msg-text {
    line-height: 1rem;
}

.left-msg .msg-bubble {
    color: #fff;
    border-bottom-left-radius: 0;
}

.right-msg {
    flex-direction: row-reverse;
}

.right-msg .msg-bubble {
    background: var(--right-msg-bg);
    color: #000;
    border-bottom-right-radius: 0;
}

.right-msg .msg-img {
    margin: 0 0 0 10px;
}

.chat-inputarea {
    display: flex;
    padding: 6px;
    background: #edc18d;
    border-radius: 0px 0px 10px 10px;
}

.chat-inputarea * {
    border: none;
    border-radius: 3px;
    font-size: 1em;
}

.chat-input {
    padding: 2px;
    flex: 1;
    background: transparent;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.chat-btn,
.chat-btn-close {
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
}

.chat-btn {
    color: #666;
    margin-left: 5px;
}

.chat-btn-close {
    border: none;
    right: auto;
    color: #666;
}

.chat-body {
    background-color: #fcfcfe;
}

.btn-redirect {
    color: #B1D34B;
}