.csc-chat-window {
    border: 1px solid #ddd;
    padding: 15px;
    max-width: auto;
}
.chat-user {
    display: flex;
    text-align: right;
    
    justify-content: flex-end;
}
.chat-admin {
    display: flex;
    text-align: left;
    
    justify-content: flex-start;
}
.chat_window_admin .chat-admin{
    justify-content: flex-end;
    text-align: right;
}
.chat_window_admin .chat-user{
    justify-content: flex-start;
    text-align: left;
}
.msg-wrap{
    width: 75%;
}
.msg-wrap small{
    display: block;
    margin-bottom: 15px;
}
.msg-text {
    margin-bottom: 10px;
}
.chat-user .msg-text{
    background: #e0f7fa;
    color: #000;
    border-radius: 25px 0 25px 25px;
    box-shadow: -2px 2px 2px #12343414;
    padding: 15px 25px;
    display: inline-block;
    line-height: 1.4;
    word-break: break-word;
}
.chat-admin .msg-text{
    background: #ffe0b2;
    color: #000;
    border-radius: 0 25px 25px 25px;
    box-shadow: 2px 2px 2px #00000014;
    padding: 15px 25px;
    display: inline-block;
    line-height: 1.4;
    word-break: break-word;
}

.chat_window_admin .chat-user .msg-text{
    border-radius: 0 25px 25px 25px;
}
.chat_window_admin .chat-admin .msg-text{
    border-radius: 25px 0 25px 25px;
}


.msg-text p{
    margin-bottom: 14px;
}
.msg-text p:last-child{
    margin: 0;
}

.chat-send-box {
    margin-top: 20px;
    padding: 15px 120px 15px 15px;
    background: #fff;
    width: 100%;
    position: relative;
    border-top: 1px solid #ddd;
}
#csc-chat-form-admin{
    margin-top: 20px;
    padding: 15px 120px 15px 15px;
    background: #fff;
    position: relative;
    border-top: 1px solid #ddd;
}
#csc-chat-form-admin textarea,
.chat-send-box textarea {
    resize: none;
    background: transparent;
    min-height: 25px;
    max-height: 100px;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    padding: 0;
    border: 1px solid transparent;
    box-shadow: none;
}
#csc-chat-form-admin button,
.chat-send-box button {
    color: #fff;
    background: #00ced1;
    padding: 0;
    width: 100px;
    height: 45px;
    border-radius: 10px;
    position: absolute;
    border: none;
    right: 16px;
    top: calc(50% - 23px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
}




.chat_userlist_wrap h1{
    padding: 20px 25px;
    line-height: 1.2;
    font-size: 25px;
    font-weight: 600;
    color: #000000;
}
.chat_userlist_wrap li {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}
.chat_userlist_wrap li a{
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    display: block;
    font-weight: bold;
}
.chat_userlist_wrap li:hover{
    background: #fff;
    color: #000;
    box-shadow: 0 0 10px #00000009;
}

@media screen and (max-width: 375px) {
    .chat-send-box {
        padding: 15px 90px 15px 15px;
    }
    .chat-send-box button {
        width: 70px;
        height: 44px;
    }
    .chat-send-box button svg{
        display: none;
    }
}