
#example.ayoan-whatsapp-root,
#example.ayoan-whatsapp-root * {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.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: 100%;
    margin: 0;
}
.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: 20px;
    width: 400px;
    font-size: 14px;
}
.ayoan_whatsapp_chatbox_container .ayoan_whatsapp_chatbox{
    /*border: 1px solid #000;*/
    position: relative;
    top: 0;
    /*height: 450px;*/
}

.ayoan_whatsapp_chatbox .widget-wrapper{
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 19px rgba(0,0,0,.05);
}

.ayoan_whatsapp_chatbox .widget-header{
    display: flex;
    flex-direction: row;
    background: #3cb743;
    padding: 20px 25px;
    /*height: 105px;*/
    border-radius: 10px 10px 0 0;
}
.ayoan_whatsapp_chatbox .widget-header .col-1{
    /*border: 1px solid;*/
}
.ayoan_whatsapp_chatbox .widget-header .col-1 .header-icon{
    width: 40px;
    opacity: .8;
}
.ayoan_whatsapp_chatbox .widget-header .col-2{
    flex-grow: 1;
    color: #fff;
    padding-left: 18px;
}
.ayoan_whatsapp_chatbox .widget-header .col-2 .header-title{
    font-size: 150%;
    margin-bottom: 8px;
    opacity: .8;
}
.ayoan_whatsapp_chatbox .widget-header .col-2 .header-content{
    font-size: 90%;
    font-weight: 300;
    letter-spacing: .3px;
    opacity: .8;
    line-height: 1.5;
}

.ayoan_whatsapp_chatbox .widget-body{
    /*height: 345px;*/
    padding: 10px 10px 25px 10px;
    border-radius: 0 0 10px 10px;
}
.ayoan_whatsapp_chatbox .widget-body .body-title{
    /*border: 1px solid #000;*/
    padding: 7px 15px 13px 15px;
    color: #aaa;
    font-weight: 300;
    font-size: 90%;
    /*height: 40px;*/
}
.ayoan_whatsapp_chatbox .widget-body .body-content{
    /*border: 1px solid #000;*/
    height: 302px;
    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 15px 0 15px;

}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item{
    margin-bottom: 15px;
    background: #f1f4f7;
    border-radius: 5px;
    border-left: 3px solid #aaa;
    display: flex;
    padding: 5px 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: 15px;
    width: 80px;
    min-width: 80px;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .user-pro-pic-wrapper{
    border-radius: 100%;
    overflow: hidden;
    /* object-fit: cover; */
    width: 50px;
    height: 50px;

}
.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: 110%;
    color: #222;
    font-weight: 400;
    margin-bottom: 2px;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-2 .list-content{
    font-size: 90%;
    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: 50px;
    min-width: 50px;
    text-align: center;
}
.ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-3 .list-icon-wrapper .list-icon{
    width: 25px;
    height: 25px;
    margin-top: 28px;
}
.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:100px;
    text-align: right;
}
.ayoan_whatsapp_chatbox_container .widget-close-btn{
    background: #3cb743;
    border: none;
    padding: 20px 20px;
    border-radius: 100%;
    margin-top: 20px;
    box-shadow: 0px 20px 15px rgba(0,0,0,.1);
    outline: none !important;
}
.ayoan_whatsapp_chatbox_container .widget-close-btn .icon{
    width: 20px;
    display: block;
}


/* =========================================================
   SLP MAKİNE - Floating WhatsApp
   Global overlay + responsive positioning
   ========================================================= */
#example.ayoan-whatsapp-root,
#example {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    width: min(400px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    z-index: 2147483000 !important;
    isolation: isolate !important;
    pointer-events: none !important;
}

#example .ayoan_whatsapp_chatbox_container {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    width: min(400px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    z-index: 2147483000 !important;
    pointer-events: auto !important;
}

#example .ayoan_whatsapp_chatbox_container,
#example .ayoan_whatsapp_chatbox_container * {
    -webkit-tap-highlight-color: transparent;
}

#example .widget-close-btn-row {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
}

#example .widget-close-btn {
    width: 60px !important;
    height: 60px !important;
    padding: 17px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.22) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

#example .widget-close-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 34px rgba(0,0,0,.28) !important;
}

#example .widget-close-btn .icon {
    width: 26px !important;
    height: 26px !important;
}

#example .ayoan_whatsapp_chatbox .widget-wrapper {
    max-height: min(620px, calc(100vh - 100px));
    overflow: hidden;
}

#example .ayoan_whatsapp_chatbox .widget-body .body-content {
    max-height: 302px;
}

@media (max-width: 575.98px) {
    #example.ayoan-whatsapp-root,
    #example {
        right: 12px !important;
        bottom: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    #example .ayoan_whatsapp_chatbox_container {
        right: 12px !important;
        bottom: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    #example .widget-close-btn {
        width: 56px !important;
        height: 56px !important;
        padding: 15px !important;
    }

    #example .ayoan_whatsapp_chatbox .widget-header {
        padding: 16px 18px;
    }

    #example .ayoan_whatsapp_chatbox .widget-body {
        padding: 8px 8px 16px;
    }

    #example .ayoan_whatsapp_chatbox .widget-body .body-content {
        height: min(302px, 45vh);
        max-height: 45vh;
    }

    #example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #example .widget-close-btn {
        transition: none !important;
    }
}

/* SLP WhatsApp contact states: original layout, green accents only. */
#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item,
#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item.active {
    cursor: pointer;
    background: #f1f8f3;
    border-left: 3px solid #25D366;
    transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item:hover,
#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item.active:hover {
    background: #f1f8f3;
    border-left-color: #25D366;
    box-shadow: none;
    transform: none;
}

#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .list-title {
    color: #222;
}

#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .list-content {
    color: #4b6b57;
}

#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-3 .list-icon-wrapper .list-icon path,
#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item.active .col-3 .list-icon-wrapper .list-icon path,
#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item:hover .col-3 .list-icon-wrapper .list-icon path {
    fill: #25D366;
}

#example .ayoan_whatsapp_chatbox .widget-body .body-content .user-list .item .col-3 .list-icon-wrapper .list-icon {
    cursor: pointer;
}


/* =========================================================
   SLP MAKİNE - WhatsApp responsive hardening
   The widget must never affect the host site's layout.
   ========================================================= */
#example.ayoan-whatsapp-root {
    all: initial;
    position: fixed !important;
    inset: auto 18px 18px auto !important;
    width: 400px !important;
    max-width: calc(100vw - 36px) !important;
    z-index: 2147483000 !important;
    display: block !important;
    pointer-events: none !important;
    font-family: Roboto, Arial, sans-serif !important;
}

#example.ayoan-whatsapp-root,
#example.ayoan-whatsapp-root * {
    box-sizing: border-box !important;
}

#example.ayoan-whatsapp-root .ayoan_whatsapp_chatbox_container {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    pointer-events: auto !important;
}

#example.ayoan-whatsapp-root .ayoan_whatsapp_chatbox,
#example.ayoan-whatsapp-root .widget-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

#example.ayoan-whatsapp-root .widget-wrapper {
    overflow: hidden !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 45px rgba(0,0,0,.18) !important;
}

#example.ayoan-whatsapp-root .widget-header {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px 20px !important;
    gap: 12px !important;
    align-items: center !important;
}

#example.ayoan-whatsapp-root .widget-header .col-1 {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
}

#example.ayoan-whatsapp-root .widget-header .col-1 .header-icon {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    object-fit: contain !important;
}

#example.ayoan-whatsapp-root .widget-header .col-2 {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    padding-left: 0 !important;
}

#example.ayoan-whatsapp-root .widget-header .col-2 .header-title,
#example.ayoan-whatsapp-root .widget-header .col-2 .header-content {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

#example.ayoan-whatsapp-root .widget-header .col-2 .header-title {
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
}

#example.ayoan-whatsapp-root .widget-header .col-2 .header-content {
    font-size: 13px !important;
    line-height: 1.45 !important;
}

#example.ayoan-whatsapp-root .widget-body {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
}

#example.ayoan-whatsapp-root .widget-body .body-title {
    padding: 7px 10px 12px !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content {
    width: 100% !important;
    height: min(302px, calc(100vh - 300px)) !important;
    min-height: 150px !important;
    max-height: calc(100vh - 300px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list {
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 0 6px !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-1 {
    flex: 0 0 70px !important;
    width: 70px !important;
    min-width: 70px !important;
    padding: 10px !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .user-pro-pic-wrapper {
    width: 48px !important;
    height: 48px !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .user-pro-pic {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-2 {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 4px !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-2 .list-title,
#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-2 .list-content,
#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-2 .list-latest-text {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-3 {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
}

#example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-3 .list-icon-wrapper .list-icon {
    width: 23px !important;
    height: 23px !important;
    max-width: 23px !important;
    margin-top: 0 !important;
}

#example.ayoan-whatsapp-root .widget-close-btn-row {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 0 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

#example.ayoan-whatsapp-root .widget-close-btn {
    flex: 0 0 auto !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 15px !important;
}

#example.ayoan-whatsapp-root .widget-close-btn .icon {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    object-fit: contain !important;
}

@media (max-width: 767.98px) {
    #example.ayoan-whatsapp-root {
        right: 12px !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    #example.ayoan-whatsapp-root .widget-wrapper {
        border-radius: 12px !important;
    }

    #example.ayoan-whatsapp-root .widget-header {
        padding: 14px 15px !important;
        gap: 10px !important;
    }

    #example.ayoan-whatsapp-root .widget-header .col-1,
    #example.ayoan-whatsapp-root .widget-header .col-1 .header-icon {
        width: 36px !important;
        min-width: 36px !important;
        flex-basis: 36px !important;
        height: 36px !important;
    }

    #example.ayoan-whatsapp-root .widget-header .col-2 .header-title {
        font-size: 16px !important;
    }

    #example.ayoan-whatsapp-root .widget-header .col-2 .header-content {
        font-size: 12px !important;
    }

    #example.ayoan-whatsapp-root .widget-body {
        padding: 8px !important;
    }

    #example.ayoan-whatsapp-root .widget-body .body-content {
        height: min(42vh, 290px) !important;
        min-height: 170px !important;
        max-height: 42vh !important;
    }

    #example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-1 {
        flex-basis: 62px !important;
        width: 62px !important;
        min-width: 62px !important;
        padding: 8px !important;
    }

    #example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .user-pro-pic-wrapper {
        width: 44px !important;
        height: 44px !important;
    }

    #example.ayoan-whatsapp-root .widget-body .body-content .user-list .item .col-3 {
        flex-basis: 38px !important;
        width: 38px !important;
        min-width: 38px !important;
    }

    #example.ayoan-whatsapp-root .widget-close-btn {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        padding: 14px !important;
    }
}

@media (max-width: 380px) {
    #example.ayoan-whatsapp-root {
        right: 8px !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
    }

    #example.ayoan-whatsapp-root .widget-header {
        padding: 12px !important;
    }

    #example.ayoan-whatsapp-root .widget-body .body-content {
        height: 40vh !important;
        max-height: 40vh !important;
    }
}

@media (min-width: 768px) {
    #example.ayoan-whatsapp-root .widget-wrapper {
        max-height: calc(100vh - 105px) !important;
    }
}
