
*{
    box-sizing:border-box;
    font-family: 'Montserrat', 'Montserrat Black', 'Montserrat ExtraBold', 'Montserrat ExtraLight', 'Montserrat Light', 'Montserrat Medium', 'Montserrat SemiBold', 'Montserrat Thin'sans-serif;
}
body{
    
}

.ayoan_whatsapp_row {
    margin-right: -15px;
    margin-left: -15px;
}
.ayoan_whatsapp_full:before,
.ayoan_whatsapp_full:after,
.ayoan_whatsapp_clearfix:before,
.ayoan_whatsapp_clearfix:after,
.ayoan_whatsapp_container:before,
.ayoan_whatsapp_container:after,
.ayoan_whatsapp_row:before,
.ayoan_whatsapp_row:after{
    display: table;
    content: " ";
}
.ayoan_whatsapp_full:after,
.ayoan_whatsapp_clearfix:after,
.ayoan_whatsapp_container:after,
.ayoan_whatsapp_row:after{
    clear: both;
}

.ayoan_whatsapp_container{
    width: 1170px;
    margin: 0 auto;
}
.ayoan_whatsapp_scroll1::-webkit-scrollbar {
    width: 7px;
}

.ayoan_whatsapp_scroll1::-webkit-scrollbar-track {
    background: #ccc;
}

.ayoan_whatsapp_scroll1::-webkit-scrollbar-thumb {
    background: #9c9c9c;
}

.ayoan_whatsapp_full{
    position:relative;
    width: 100%;
    display: block;
}


.ayoan_whatsapp_chatbox_container{
    /*border: 1px solid #000;*/
    position: fixed;
    bottom: 0px;
    /* height: 550px; */
    right: 22px;
    width: 340px;
    font-size: 13px;
    z-index: 9998;
    pointer-events: none;
}
.ayoan_whatsapp_chatbox_container .ayoan_whatsapp_chatbox{
    /*border: 1px solid #000;*/
    position: relative;
    top: 0;
    /*height: 450px;*/
}

.ayoan_whatsapp_chatbox_container .rs-openChat,
.ayoan_whatsapp_chatbox_container button,
.ayoan_whatsapp_chatbox_container .rs-openChatBtn {
    pointer-events: auto;
}

.ayoan_whatsapp_chatbox .widget-wrapper{
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 13px;
    box-shadow: 0 16px 42px rgba(29, 38, 32, .16);
}

.ayoan_whatsapp_chatbox .widget-header{
    display: flex;
    flex-direction: row;
    background: #3cb743;
    padding: 15px 18px;
    /*height: 105px;*/
    border-radius: 13px 13px 0 0;
}
.ayoan_whatsapp_chatbox .widget-header .col-1{
    /*border: 1px solid;*/
}
.ayoan_whatsapp_chatbox .widget-header .col-1 .header-icon{
    width: 28px;
    height: 28px;
    opacity: 1;
}
.ayoan_whatsapp_chatbox .widget-header .col-2{
    flex-grow: 1;
    color: #fff;
    padding-left: 12px;
}
.ayoan_whatsapp_chatbox .widget-header .col-2 .header-title{
    font-size: 16px;
    margin-bottom: 4px;
    opacity: 1;
    font-weight: 600;
}
.ayoan_whatsapp_chatbox .widget-header .col-2 .header-content{
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .3px;
    opacity: .8;
    line-height: 1.5;
}

.ayoan_whatsapp_chatbox .widget-body{
    /*height: 345px;*/
    padding: 8px 8px 14px;
    border-radius: 0 0 10px 10px;
}
.ayoan_whatsapp_chatbox .widget-body .body-title{
    /*border: 1px solid #000;*/
    padding: 7px 10px 9px;
    color: #aaa;
    font-weight: 300;
    font-size: 11px;
    /*height: 40px;*/
}
.ayoan_whatsapp_chatbox .widget-body .body-content{
    /*border: 1px solid #000;*/
    height: 224px;
    overflow-x:hidden;
    overflow-y:auto;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list{
    /*border: 1px solid #000;*/
    height: 100%;
    margin: 0;
    padding: 0 7px;

}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item{
    margin-bottom: 8px;
    background: #f1f4f7;
    border-radius: 5px;
    border-left: 3px solid #aaa;
    display: flex;
    min-height: 66px;
    padding: 3px 0;

}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item:last-child{
    margin-bottom: 0px;

}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item.active{
    border-left: 3px solid #3cb743;

}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-1{
    padding: 10px;
    width: 62px;
    min-width: 62px;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .user-pro-pic-wrapper{
    border-radius: 100%;
    overflow: hidden;
    /* object-fit: cover; */
    width: 42px;
    height: 42px;

}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .user-pro-pic-wrapper .user-pro-pic{
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%;

}

.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-2{
    flex-grow: 1;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: break-word;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-2 .list-title{
    font-size: 13px;
    color: #222;
    font-weight: 400;
    margin-bottom: 2px;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-2 .list-content{
    font-size: 10px;
    color: #aaa;
    margin-bottom: 5px;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-2 .list-latest-text{
    color: #e6ac0a;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-2 .list-latest-text:empty{
    display: none;
}

.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-3{
    width: 42px;
    min-width: 42px;
    text-align: center;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-3 .list-icon-wrapper .list-icon{
    width: 22px;
    height: 22px;
    margin-top: 20px;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-3 .list-icon-wrapper .list-icon path{
    fill: #aaa;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item.active .col-3 .list-icon-wrapper .list-icon path{
    fill: #3cb743;
}

.ayoan_whatsapp_chatbox_container .widget-close-btn-row{
    /*border: 1px solid #000;*/
    position: relative;
    height: 72px;
    text-align: right;
    background: transparent !important;
}
.ayoan_whatsapp_chatbox_container .widget-close-btn{
    background: #25d366;
    border: 4px solid #fff;
    width: 54px;
    height: 54px;
    padding: 9px;
    border-radius: 100%;
    margin-top: 10px;
    box-shadow: 0 10px 28px rgba(18, 96, 53, .28), 0 3px 8px rgba(0,0,0,.16);
    outline: none !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ayoan_whatsapp_chatbox_container .widget-close-btn:hover {
    background: #1fbd59 !important;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 32px rgba(18, 96, 53, .34), 0 4px 10px rgba(0,0,0,.18);
}
.ayoan_whatsapp_chatbox_container .widget-close-btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(37,211,102,.25), 0 10px 28px rgba(18,96,53,.28);
}
.ayoan_whatsapp_chatbox_container .widget-close-btn .icon{
    width: 30px;
    height: 30px;
    margin: auto;
    display: block;
}

.ayoan_whatsapp_chatbox_container .widget-close-btn .close-icon{
    width: 23px;
    height: 23px;
    margin: auto;
}

#myButton,
#myButton > .ayoan_whatsapp_chatbox_container,
#myButton .rs-openChatBtn.widget-close-btn-row {
    background: transparent !important;
}

#myButton .rs-openChatBtn.widget-close-btn-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

#myButton .rs-openChatBtn.widget-close-btn-row::before {
    content: attr(data-wa-label);
    position: absolute;
    top: calc(50% - 7px);
    right: 68px;
    display: block;
    padding: 9px 13px 9px 16px;
    border: 1px solid rgba(37,211,102,.2);
    border-radius: 16px;
    background: linear-gradient(135deg,#fff 25%,#f4fff8 100%);
    color: #314139;
    box-shadow: inset 3px 0 #25d366, 0 10px 26px rgba(20,55,37,.14), 0 2px 6px rgba(0,0,0,.06);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    white-space: nowrap;
    transform: translateY(-50%);
    pointer-events: none;
    min-width: 148px;
    text-align: center;
}

#myButton .rs-openChatBtn.widget-close-btn-row::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: calc(50% - 10px);
    right: 64px;
    width: 9px;
    height: 9px;
    border-top: 1px solid rgba(37,211,102,.14);
    border-right: 1px solid rgba(37,211,102,.14);
    background: #f7fff9;
    transform: rotate(45deg);
    filter: drop-shadow(2px -1px 2px rgba(20,55,37,.05));
    pointer-events: none;
}

#myButton .rs-openChatBtn.widget-close-btn-row.wa-label-animate::before {
    animation: waLabelSwap .48s ease both;
}

@keyframes waLabelSwap {
    0% { opacity: 0; transform: translateY(calc(-50% + 7px)); }
    100% { opacity: 1; transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    #myButton .rs-openChatBtn.widget-close-btn-row.wa-label-animate::before { animation: none; }
}

#myButton .rs-openChatBtn.widget-close-btn-row .widget-close-btn {
    margin-top: 0;
    transform: none;
}

#myButton .rs-openChatBtn.widget-close-btn-row .widget-close-btn:hover {
    transform: scale(1.04);
}

#myButton .rs-openChatBtn.widget-close-btn-row .widget-close-btn:active {
    transform: scale(.97);
}

@media (max-width: 575px) {
    .ayoan_whatsapp_container {
        width: 100%;
    }

    .ayoan_whatsapp_chatbox_container {
        right: 10px;
        bottom: 4px;
        width: calc(100vw - 20px);
        max-width: 400px;
    }

    .ayoan_whatsapp_chatbox .widget-header {
        padding: 15px 17px;
    }

    .ayoan_whatsapp_chatbox .widget-body {
        padding: 8px 7px 15px;
    }

    .ayoan_whatsapp_chatbox .widget-body .body-content {
        height: min(224px, 38vh);
    }

    .ayoan_whatsapp_chatbox .widget-body .body-content .user-list {
        padding: 0 7px;
    }

    .ayoan_whatsapp_chatbox_container .widget-close-btn-row {
        height: 66px;
    }

    .ayoan_whatsapp_chatbox_container .widget-close-btn {
        width: 50px;
        height: 50px;
        padding: 8px;
        margin-top: 8px;
    }

    #myButton .rs-openChatBtn.widget-close-btn-row::before {
        right: 64px;
        padding: 9px 12px 9px 15px;
        font-size: 11px;
    }

    #myButton .rs-openChatBtn.widget-close-btn-row::after {
        right: 60px;
    }
}
