/*

01. Ball content

02. wp Chat bot Message container

    -A Link Item

    -B Loading

03. wp Chat bot Message Editor

04. wp Chat bottom Tab Nav Editor

05. Tab Feature Product

06. Tab Cart

07. Product Details

*/



/*********************

01. Ball content wrapper

**********************/

.wp-chatbot-board-container {

    border-radius: 5px;

    box-shadow: 0 5px 40px rgba(0, 0, 0, .10);

    background: #deebe9 url("../../images/tpl-one-header.png") no-repeat top center;

    background-size: contain;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
    border-radius: 8px;
}



/******************************

02. wp Chat bot Message container

*********************************/



.wp-chatbot-header {

    background-color: #70aca9;

}



.wp-chatbot-header h3 {

    color: #ffffff;

    font-size: 18px !important;

    letter-spacing: 1px;

}

ul.wp-chatbot-messages-container > li {

    margin-bottom: 10px;

    padding-top: 0;

    font-size: 14px;

}



ul.wp-chatbot-messages-container > li.wp-chatbot-msg {

    padding-left: 50px;

}



ul.wp-chatbot-messages-container > li.wp-chat-user-msg {

    padding-right: 50px;

}



ul.wp-chatbot-messages-container > li:first-child {

    padding: 0;

}



ul.wp-chatbot-messages-container > li > .wp-chatbot-avatar, .wp-chatbot-agent-profile .wp-chatbot-widget-avatar {

    position: absolute;

    border-radius: 50%;

    overflow: hidden;

    border: 2px solid #70aca9;

    background-color: #70aca9;

    width: 40px;

    height: 40px;

    top: 0;

}



ul.wp-chatbot-messages-container > li.wp-chatbot-msg .wp-chatbot-avatar, .wp-chatbot-agent-profile .wp-chatbot-widget-avatar {

    left: 0;

}



ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-avatar {

    right: 0;

}



ul.wp-chatbot-messages-container > li > .wp-chatbot-paragraph, .wp-chatbot-bubble {

    display: table;

    padding: 8px 15px;

    max-width: 90%;

    background-color: #fff;

    border-radius: 10px;

    line-height: 150%;

    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color=#77bdb7)"; /*IE 8*/

    -moz-box-shadow: 1px 1px 1px #77bdb7; /*FF 3.5+*/

    -webkit-box-shadow: 1px 1px 1px #77bdb7; /*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/

    box-shadow: 1px 1px 1px #77bdb7; /* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */

    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color=#77bdb7); /*IE 5.5-7*/



}



ul.wp-chatbot-messages-container li:first-child.wp-chatbot-msg .wp-chatbot-paragraph {


    box-shadow: none;

}



ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {

    text-align: right;

    float: right;

    border-radius: 10px 10px 10px 10px;

    color: #334155;

}



/************ 02.A Link Item*************/

span.qcld-chatbot-product-category,

span.qcld-chatbot-support-items,

span.qcld-chatbot-wildcard,

span.qcld-chatbot-suggest-email,

span.qcld-chatbot-reset-btn,

#wp-chatbot-loadmore {

    color: #000000;
    background-size: 200% auto;
    border: 1px solid #ffffff;
    background-color: #ffffff7d;
	display: inline-block;
    margin: 3px auto;
    padding: 6px 11px;
    margin-right: 4px;

}



span.qcld-chatbot-product-category:hover,

span.qcld-chatbot-support-items:hover,

span.qcld-chatbot-wildcard:hover,

span.qcld-chatbot-suggest-email:hover,

span.qcld-chatbot-reset-btn:hover,

#wp-chatbot-loadmore:hover {

    background-position: right center;

    box-shadow: none;
	background-color: #a1c4fd;
}



/************* 02.B Loading **************/

ul.wp-chatbot-messages-container > li .wp-chatbot-paragraph img.wp-chatbot-comment-loader {

    background-color: #fff;

    padding: 1px;

    border-radius: 5px;

    margin: 0 auto;

    display: block;

}



/*******************************

03. wp Chat bot Message Editor

**********************************/

.wp-chatbot-editor-container {

    border-top: 1px solid #fff;



}



.wp-chatbot-editor-container input {

    color: #0a2d2b;

}



.wp-chatbot-editor-container input::placeholder {

    color: #0a2d2b;

}



.wp-chatbot-editor-container input::-webkit-input-placeholder {

    color: #0a2d2b;

}



.wp-chatbot-editor-container input::-moz-placeholder {

    color: #0a2d2b;

}



.wp-chatbot-editor-container input:-ms-input-placeholder {

    color: #0a2d2b;

}



.wp-chatbot-editor-container input:-moz-placeholder {

    color: #0a2d2b;

}



/*******************************

04. wp Chat bottom Tab Nav Editor

**********************************/

.wp-chatbot-footer {

    background: url("../../images/tpl-one-footer.png") repeat-x left top;

    background-color: #9ec3c0;

    border-radius: 0 0 5px 5px;

}



.wp-chatbot-tab-nav {

    background-color: #9ec3c0;

}



.wp-chatbot-tab-nav ul li:before {

    background: linear-gradient(transparent 50%, #9ec3c0 50%);

    background-size: 200%, 100%;

}



/******************************************

05. Tab Feature Product

*********************************************/

.wp-chatbot-agent-profile {

    position: relative;

    padding-left: 35px;

    padding-top: 30px;

    box-sizing: border-box;

    word-wrap: break-word;

    list-style: none;

    display: block;

    clear: both;

    line-height: 150%;

    min-height: 50px;

    margin: 0 0 10px 0;

}



.wp-chatbot-widget-title {

    color: #353535;

    text-align: center;

    padding-bottom: 10px;

}



/*************************************

06. Tab Cart

**************************************/

.wp-chatbot-cart-header {

    background-color: #F5F5F5;

}



.wp-chatbot-cart-single {

    background-color: rgba(245, 245, 245, 0.1);

    border-bottom: 1px solid #dddddd;

}



.wp-chatbot-cart-single:nth-child(2n+1) {

    background-color: rgba(245, 245, 245, 0.5);

}



.wp-chatbot-cart-footer div a {

    text-decoration: none;

    background: #70aca9;

    color: #ffffff;

}



.wp-chatbot-cart-footer div a:hover, .wp-chatbot-cart-footer div:last-child a {

    background: #5a8c89;

}



/***********************************

07. Product Details

************************************/

.wp-chatbot-product-details {

    box-shadow: 0 0 10px #ccc;

    background-color: #deebe9;

}



.wp-chatbot-product-cart-button input[type="button"], #wp-chatbot-loadmore {

    border: 1px solid #70aca9;

    background: #70aca9;

    color: #ffffff;

    box-shadow: 0 0 2px #999;

}



.wp-chatbot-product-cart-button input[type="button"]:hover, #wp-chatbot-loadmore:hover {

    background: #5a8c89;

    color: #ffffff;

}



/*************************

Right-to-left text direction

**************************/

.wp-chatbot-rtl {

    text-align: right;

    direction: RTL;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg, .wp-chatbot-rtl .wp-chatbot-agent-profile {

    padding: 0 50px 0 0;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg.wp-chatbot-msg-flat {

    padding: 0;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg > .wp-chatbot-paragraph {

    display: table;

    max-width: 90%;

    float: right;

    text-align: right;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chatbot-msg .wp-chatbot-avatar,

.wp-chatbot-rtl .wp-chatbot-agent-profile .wp-chatbot-widget-avatar {

    right: 0;

    left: auto;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg {

    padding: 0 0 0 50px;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-avatar {

    left: 0;

    right: auto;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg > .wp-chatbot-paragraph {

    display: table;

    max-width: 90%;

    float: left;

    text-align: left;

}



.wp-chatbot-rtl ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {

    margin-left: 0;

}



.wp-chatbot-rtl .wp-chatbot-editor-container input {

    text-align: right;

    direction: RTL;

}



.wp-chatbot-rtl .wp-chatbot-products-area ul li:nth-child(2n+2) {

    margin: auto;

}


.wp-chatbot-rtl .wp-chatbot-products-area ul li {

    margin: 1%;

    vertical-align: middle;

}

.wp-chatbot-tab-nav ul li a[data-option="support"] {
    background-position: -169px -9px !important;
}

.wp-chatbot-template-01 .wpbot_card_caption span{
    color: #0c0c0c !important;
}

@media screen and (max-width: 768px) {
    .wp-chatbot-content {
        height: calc(100vh - 220px) !important;
    }   
}






.wp-chatbot-template-001 .wpbot_card_image span {
    display: none !important;
}
.wp-chatbot-template-001 .wpbot_card_image a {
    display: flex !important;
    gap: 6px !important;
}
.wp-chatbot-template-001 .wpbot_card_image.wpbot_card_image_saas a{
       display: flex !important;
         gap: 6px !important;
}
.wp-chatbot-template-001 .wpbot_card_image img{
    max-width: 25px !important;
    height: 25px !important;
        border-radius: 50%;
}
.wp-chatbot-template-001 .wpbot_card_caption.wpbot_card_caption_saas span {
    display: flex !important;
    gap: 10px !important;
    margin: 0 10px 0 0 !important;
}
.wp-chatbot-template-001 .wpbot_card_image.wpbot_card_image_saas .wpbot_card_caption.wpbot_card_caption_saas p {
    display: flex;
}
.wp-chatbot-template-001 .wpb-search-result .wpbot_card_wraper {
    box-shadow: inset 1px 1px 0 rgb(255 255 255 / 75%), inset 0 0 5px rgb(255 255 255 / 76%);
    background: rgb(255 255 255 / 30%);
    backdrop-filter: blur(0px);
    isolation: isolate;
    margin: 5px 0;
    padding: 5px;
}
.wp-chatbot-template-001 .wpb-search-result .wpbot_card_wraper p.wpbot_card_caption_title{
    margin: 0;
    padding: 0;
    color: rgb(29 115 180) !important;
    font-weight: 600;    
}
.wp-chatbot-template-001 .wpbot_card_caption.wpbot_card_caption_saas p.wpbot_card_description {
    padding: 0 0 0 28px;
}
.wp-chatbot-template-001 .wpbot_card_caption p.wpbot_card_description {
    margin: 0;
    padding: 0;
}
.wp-chatbot-template-001 .wp-chatbot-template-001 .wpbot_card_caption h2 {
    margin: 0;
    padding: 0;
    color: rgb(29 115 180) !important;
    font-weight: 600;
    font-size: 14px;
}

.wp-chatbot-template-001 .wpb-search-result .wpbot_card_wraper a{
       text-decoration: none !important;
}

.wp-chatbot-template-001 .wpb-search-result .wpbot_card_wraper a p:first-child {
    margin: 0;
    padding: 0;
    color: rgb(29 115 180) !important;
    font-weight: 600;
}

.wp-chatbot-template-001 .wpb-search-result a p {
    margin: 0;
}

.wp-chatbot-template-001 button.wp-chatbot-loadmore {
    color: #000000;
    background-size: 200% auto;
    border: 1px solid #ffffff;
    background-color: #9ec3c0;
    display: inline-block;
    margin: 3px auto;
    padding: 6px 11px;
    margin-right: 4px;
    border: 1px solid #eee;
    border-radius: 6px;
}

.wp-chatbot-avatar {
    margin: 0 !important;
}


.wp-chatbot-editor-container input {
    width: 100%;
}
.wp-chatbot-editor-container {
    border-top: 2px solid #9ec3c0;
    background: #eeeeee47;
    border-radius: 0;
}

.wp-chatbot-template-01 .wp-chatbot-board-container {
    width: 420px;
}
@media screen and (max-width: 480px) {
    .wp-chatbot-template-01 .wp-chatbot-board-container {
        width: 100%;
    }
    .wp-chatbot-template-01 #wp-chatbot-desktop-expand {
        display: none !important;
    }
}

/* Template-01 modern panel refresh */
.wp-chatbot-template-01 .wp-chatbot-board-container {
    background: #eceef3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.18);
    transform-origin: 100% 100%;
    will-change: transform, opacity;
    transition: width 0.75s cubic-bezier(0.22, 0.78, 0.22, 1), max-width 0.75s cubic-bezier(0.22, 0.78, 0.22, 1);
     transform-origin: right bottom;
    transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-radius 0.35s ease, box-shadow 0.35s ease;



}

.wp-chatbot-template-01 .wp-chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    padding: 18px 18px 12px;
}

.wp-chatbot-template-01 .wp-chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.wp-chatbot-template-01 .wp-chatbot-header-left #wp-chatbot-desktop-expand {
    order: 0;
    margin-right: 2px;
}

.wp-chatbot-template-01 .wp-chatbot-header-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-chatbot-template-01 .wp-chatbot-header-avatar img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.wp-chatbot-template-01 .wp-chatbot-header h3 {
    margin: 0;
    font-size: 14px !important;
    line-height: 1.2;
    font-weight: 400;
    color: #6b7280;
    letter-spacing: 0;
}

.wp-chatbot-template-01 .wp-chatbot-header h3 span {
    color: #111827;
    font-weight: 600;
}

.wp-chatbot-template-01 .wp-chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.wp-chatbot-template-01 #wp-chatbot-desktop-reload,
.wp-chatbot-template-01 #wp-chatbot-desktop-expand,
.wp-chatbot-template-01 #wp-chatbot-desktop-close {
    position: static;
    transform: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.wp-chatbot-template-01 #wp-chatbot-desktop-reload span,
.wp-chatbot-template-01 #wp-chatbot-desktop-expand span,
.wp-chatbot-template-01 #wp-chatbot-desktop-close span {
    position: static;
    top: auto;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.wp-chatbot-template-01 #wp-chatbot-desktop-reload:hover,
.wp-chatbot-template-01 #wp-chatbot-desktop-expand:hover,
.wp-chatbot-template-01 #wp-chatbot-desktop-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.wp-chatbot-template-01 .wp-chatbot-content {
    background: transparent;
    padding: 6px 18px 0;
}

.wp-chatbot-template-01 ul.wp-chatbot-messages-container > li > .wp-chatbot-paragraph,
.wp-chatbot-template-01 .wp-chatbot-bubble {
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.wp-chatbot-template-01 .wp-chatbot-footer,
.wp-chatbot-template-01 .wp-chatbot-tab-nav {
    background: transparent;
}

.wp-chatbot-template-01 .wp-chatbot-editor-container {
    margin: 14px 16px 16px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    padding-right: 6px;
}

.wp-chatbot-template-01 .wp-chatbot-editor-container input {
    width: calc(100% - 42px);
    color: #6b7280;
    padding-left: 0;
}

.wp-chatbot-template-01 .wp-chatbot-editor-container input::placeholder {
    color: #9ca3af;
}

.wp-chatbot-template-01 button#wp-chatbot-send-message {
    border: none;
}

.wp-chatbot-template-01 .wp-chatbot-tab-nav {
    display: none;
}

.wp-chatbot-template-01 .wp-chatbot-board-container.wp-chatbot-expanded {
    max-width: calc(100vw - 40px);
    width: min(92vw, 720px) !important;

}

@keyframes wpbotOpenRightToTopLeft {
    0% {
        opacity: 0.8;
        transform: translate3d(26px, 22px, 0) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes wpbotExpandMotion {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0) scale(0.96);
    }
    70% {
        opacity: 1;
        transform: translate3d(0, -2px, 0) scale(1.002);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes wpbotCollapseMotion {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(0.97);
    }
}

@keyframes wpbotCloseMotion {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 22px, 0) scale(0.95);
    }
}

@keyframes wpbotTapMotion {
    0% {
        transform: translate3d(28px, 30px, 0) scale(0.97);
    }
    70% {
        transform: translate3d(-3px, -4px, 0) scale(1.003);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.wp-chatbot-template-01 .wp-chatbot-board-container.active-chat-board.wp-chatbot-open-anim {
    animation: wpbotExpandMotion 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wp-chatbot-template-01 .wp-chatbot-board-container.wp-chatbot-expand-anim {
    animation: wpbotExpandMotion 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wp-chatbot-template-01 .wp-chatbot-board-container.wp-chatbot-collapse-anim {
    animation: wpbotCollapseMotion 0.28s cubic-bezier(0.4, 0, 1, 1) both;
}

.wp-chatbot-template-01 .wp-chatbot-board-container.active-chat-board.wp-chatbot-close-anim {
    animation: wpbotCloseMotion 0.28s cubic-bezier(0.4, 0, 1, 1) both;
}

.wp-chatbot-template-01 .wp-chatbot-board-container.active-chat-board.wp-chatbot-tap-anim {
    animation: wpbotTapMotion 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.wp-chatbot-template-01 button#wp-chatbot-send-message span.dashicons.dashicons-arrow-up-alt::before {
    color: #000;
}
.wp-chatbot-template-01 button#wp-chatbot-send-message {
    background: transparent;
    margin: 0;
    padding: 0;
}

.wp-chatbot-template-01 button#wp-chatbot-send-message span {
    background: #eee;
    width: 38px;
    height: 38px;
    line-height: 36px;
    border-radius: 50%;
}


.wp-chatbot-template-01 .wp-chatbot-editor-container input:-webkit-autofill, .wp-chatbot-template-01 .wp-chatbot-editor-container input:-webkit-autofill:hover, .wp-chatbot-template-01 .wp-chatbot-editor-container input:-webkit-autofill:focus, .wp-chatbot-template-01 .wp-chatbot-editor-container input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #242a34 !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-out 0s;
}

.wp-chatbot-send-message-active span{
    background: #1e74b3 !important;
    color: #fff !important;
}

.wp-chatbot-send-message-active span.dashicons.dashicons-arrow-up-alt::before{
    color: #fff !important;
}
.wp-chatbot-board-container.active-chat-board.wp-chatbot-expanded .dashicons-fullscreen-alt:before {
    content: "\f189";
}