.recomended-products{
    cursor: pointer;
}
.recomended-products:hover{
    background: #f9f9f9;
}

.chat-box, .chat-box-footer button {
    background: var(--custom-admin-primary-color);
    border-radius: 15px;
    color: white;
}

.chat-box {
    max-height: 480px;
    width: 385px;
    position: fixed;
    display: flex;
    flex-direction: column;
    z-index: 999;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    right: 0;
    bottom: 0;
    margin: 15px;
    visibility: hidden;
}

.chat-box-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    font-size: 14px;
    padding: 6px 0 3px 0;
}

.chat-box-header span {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin-left: 15px;
    color: white;
    position: relative;
    top: 1px;
    font-size: 17px;
}

.chat-box-header{
    cursor: pointer;
}
.chat-box-header #close-chat-bot {
    cursor: pointer;
    margin-left: auto;
    margin-right: 15px;
}

.chat-box-body {
    background: #f5f5f5;
    height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
}

.chat-box-body-send, .chat-box-body-receive {
    padding: 4px 14px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.015);
    margin-bottom: 14px;
    clear: both;
    max-width: 270px;
}

.chat-box-body-send {
    float: right;
    background: #73737321;
    border: 1px solid #c7c7c7;
    border-radius: 15px 15px 0 15px;
}

.chat-box-body-receive {
    float: left;
    background: white;
    border: 1px solid #d7d7d7;
    border-radius: 15px 15px 15px 0;
}

.chat-box-body div {
    word-break: break-word;
    color: black;
    font-size: 15px;
}

.chat-box-body span {
    float: right;
    color: #777;
    font-size: 10px;
}

.chat-box-body::-webkit-scrollbar {
    width: 5px;
    opacity: 0;
}

.chat-box-footer {
    display: flex;
    padding-bottom: 2px;
}

.chat-box-footer button {
    border: none;
    padding: 16px;
    font-size: 14px;
    cursor: pointer;
}

.chat-box-footer button:focus {
    outline: none;
}

.chat-box-footer textarea {
    padding: 8px;
    border: none;
    border-radius: 10px;
    margin: 10px 10px 10px 2px;
    color: black;
    width: 100%;
    max-height: 100px;
    resize: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}
.chat-box-footer textarea::-webkit-scrollbar {
    display: none;
}

.chat-box-footer textarea:focus {
    outline: none;
}

.chat-box-footer .send {
    cursor: pointer;
    font-size: 18px;
    padding: 0px 16px 0 5px;
}

.chat-button {
    padding: 15px;
    background: var(--custom-admin-primary-color);
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 15px;
    border-radius: 50px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    cursor: pointer;
    z-index: 9;
}
.chat-button:hover{
    background: var(--custom-admin-primary-color-hovered);
    font-size: 17px;
}
#chat-button-text{
    color: white;
}

.modal-chatbox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-chatbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 18rem;
    border-radius: 0.5rem;
}

.modal-chatbox-close-button {
    float: right;
    width: 29px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: lightgray;
}

#addExtra{
    display: none;
}

.close-button:hover {
    background-color: darkgray;
}

.show-modal-chatbox {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
    z-index: 1000;
}

.max-attachs{
    max-width: 200px;
    max-height: 200px;
}
.buttons-sizer{
    padding: 6px 8px;
    border-radius: 15px;
}

@media (max-width: 992px) {
    .chat-box {
        max-height: 480px;
        width: 350px;
    }
    .chat-box-footer textarea {
        padding: 7px;
        margin: 8px 8px 8px 2px;
    }
    .chat-box-footer .send {
        top: 19px;
        font-size: 18px;
        padding: 3px 13px 0 3px;
    }
    .chat-box-body-send, .chat-box-body-receive {
        max-width: 230px;
    }
}
@media (max-width: 767px) {
    .chat-box {
        max-height: 100vh;
        width: 100%;
        height: 100%;
        margin: 0;
        right: 0;
        border-radius: initial;
    }
    .chat-box-body {
        height: 100%;
    }
    .chat-box-footer textarea {
        padding: 7px;
        margin: 8px 12px 8px 2px;
    }
    .chat-box-footer .send {
        top: 19px;
        font-size: 18px;
        padding: 3px 15px 0 0;
    }
    .chat-box-body-send, .chat-box-body-receive {
        max-width: 300px;
    }
}

@media (max-width: 400px) {
    .chat-box-body-send, .chat-box-body-receive {
        max-width: 230px;
    }
}
