
/*cooper chat styles*/
.chat-container { 
    position: fixed; bottom: 40px; right: 40px; z-index: 100;
    max-width: 90%; width: 300px; text-align: right;
}
a.start-chat { 
    font-size: 2rem; background-color: var(--chat-btn-color); 
    border-radius: 25px; padding: 5px 10px; color: var(--chat-btn-text-color); 
}

.chat-box form { background-color: var(--chat-box-form-background); height: 61px; border-top: 1px solid var(--chat-box-form-border-top); }

form.enter-name { height: var(--chat-name-form-height); }

.chat-box form textarea {
    display: inline-block; width: 76%;
    padding: 5px; margin: 5px 5px 0 5px;
    font-size: .8rem; height: 50px; }

.chat-box form input[type=text] { 
    display: inline-block; width: 95%;
    padding: 5px; margin: 0 0 0 5px; 
    font-size: .8rem; height: 33px;
}

.chat-box form input[type=submit] { display: inline-block; position: relative; right: 4px; }

#next-btn { top: -8px; height: 50px; }
#send-btn { top: -19px; height: 50px; }

.chat-box {
    text-align: left;
    min-height: 300px;
    max-height: 90%;
    background-color: var(--chat-box-background);
    border: 1px solid var(--chat-box-border-color);
    border-radius: 17px 17px 0px 0px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 8px 20px 0px;
}

.enter-name div { display: inline-block; width: 80%; }
.enter-name div span { font-size: 0.8rem; display: block; margin: 3px 0 0 8px; }

.chat-window {
    height: 300px;
    max-height: 90%;
    padding: 10px;
    font-size: 0.8rem;
    overflow-y: scroll;
}

.chat-box .header {
    background-color: var(--chat-box-header-background);
    color: var(--chat-box-header-text-color);
    text-align: right;
    width: 100%;
    padding: 10px 10px;
    border-radius: 15px 15px 0px 0px;
}
.chat-message {
    position: relative;
    top: -1px;
    z-index: 100000;
    background-color: var(--chat-message-background);
    color: var(--chat-message-text-color);
    font-size: 0.8rem;
    padding: 2px 5px;
    font-weight: bold;
}

/* chat bubble avatar stuff */
img.cwp-img {
    background-position: 50% center;
    border-radius: 200px;
    width: 40px; 
    height: 40px;
    margin-top: 2px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box !important;
}

.enable-chat-window-container {
    position: fixed;
    bottom: 50px;
    right: 50px;
    color: #383838;
    font-family: var(--chat-widget-font-family, "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif);
    box-sizing: border-box !important;
    z-index: 99999999 !important;
}

.chat-widget-popup {
    animation: 0.25s ease 0s 1 normal none running fadeIn;
    -webkit-box-align: end;
    align-items: flex-end;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    margin: 0px 0px 8px;
    max-width: 317px;
    position: relative;
}

.chat-widget-popup:after {
    content: '';
    position: relative;
    top: 0px;
    right: 15px;
    margin: 0;
    /* width: 41px; */
    height: 0;
    border-top: 12px solid #fff;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    z-index: 99999;

}

.cwp-bubble {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 8px 20px 0px;
    position: relative;
    background: var(--chat-widget-background-color, #ffffff);
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    min-width: 301px;
    min-height: 72px;
    padding: 12px;
    z-index: 99999;
    justify-content: space-between;
}

.cwp-message {
    font-size: 14px;
    line-height: 24px;
    max-width: 197px;
    color: var(--chat-widget-welcome-message-text-color, #344054);
}

.chat-text-widget-container * {
    box-sizing: border-box !important;
}

button.cwp-prompt-close {
    height: 20px;
    padding: 3px;
    background-color: transparent;
    border: none;
}

.chat-window p {
    font-size: 14px;
    line-height: 30px;
    color: #3e3e3e;
    line-height: 1.3;
    margin-bottom: 10px;
}

p.sender3 { color: var(--chat-admin-text-color); }