.loading-spinner {
    display: flex;
    height: 30px;
    align-items: center;
    position: relative;
    width: 60px;
    justify-content: end;
}

.dot1, .dot2, .dot3, .dot4, .dot5, .dot6 {
    width: 6px;
    height: 6px;
    background-color: #FAD6D8;
    border-radius: 50%;
    animation: slideDot 4s ease-in-out;
    position: static;
    left: 0;
    margin: 0 2px;
    opacity: 0;
    animation-iteration-count: infinite;
}

.dot2 {
    animation-delay: 0.2s;
    background-color: #CEF8DC;
    left: 10px;
}

.dot3 {
    animation-delay: 0.4s;
    background-color: #D4F8F5;
    left: 20px;
}

.dot4 {
    animation-delay: 0.6s;
    background-color: #D1DFFA;
    left: 30px;
}

.dot5 {
    animation-delay: 0.8s;
    background-color: #FBEBD5;
    left: 40px;
}

.dot6 {
    animation-delay: 1s;
    background-color: #DFD4F7;
    left: 50px;
}

@keyframes slideDot {
    0%, 50% {
        position: static;
        opacity: 1;
    }
    51% {
        position: absolute;
    }
    75% {
        opacity: 1;
        left: 50px;
    }
    80% {
        opacity: 0;
    }
}

.kiki_chat_wrapper {
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 20;
    display: flex;
    flex-flow: column;
    height: calc(100% - 60px);
}

.kiki_container {
    text-align: center;
    position: relative;
    display: flex;
    flex-flow: column;
    height: 100%;
    background: linear-gradient(168.19deg, #F2FCFE 0%, #E7E2F9 49.72%, #B8CCEF 99.45%);
    flex: 1;
    min-height: 100%;
    padding: 0;
}

.kiki_container_top {
    padding-top: 10px;
    overflow: auto;
    height: 100%;
}

.kiki_container_top > .kiki_get_started {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: auto;
    min-height: 100%;
    padding-bottom: 10px;
    width: 100%;
    max-width: 767px;
    margin: 0 auto;
    background: url(https://cdn02.kindlife.in/images/banners/home-page/kikiAi-bgImg-circle.png) no-repeat;
    background-size: 70%;
    background-position: 100% 0;
}

.kiki_chat_heading h3,.kiki_chat_text h4 {
    background: linear-gradient(90deg, #282B44 0%, #5A73A0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    font-weight: 700;
    width: fit-content;
    margin: 10px auto;
}

.kiki_chat_lgImage img {
    max-width: 500px;
    width: 100%;
}

.kiki_chat_text h4 {
    font-size: 20px;
    font-weight: 600;
}

.kiki_chat_text p {
    color: #27262C;
    font-size: 18px;
    padding: 0;
    margin-bottom: 20px;
}

.kiki_suggestions {
    margin: auto auto 0;
    display: flex;
    gap: 10px;
    overflow: auto;
    max-width: 100%;
}

.kiki_suggestions .suggestion-wrap {
    padding: 3px;
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(118.73deg, #BBCDF0 3.35%, #E8E4F9 50%, #F1FAFE 100%);
}

.kiki_suggestions .suggestion {
    padding: 10px;
    text-align: left;
    height: 100%;
    cursor: pointer;
    background: #FAFAFA;
    border-radius: 16px;
}

.kiki_suggestions .suggestion:hover{
    background: #fff;
}

.kiki_suggestions .suggestion h3::after{
    content: "";
    background-image: url(https://cdn.kindlife.in/images/ui_icon/kiki-rightArrowGrad.svg);
    background-size: 25px;
    width: 25px;
    aspect-ratio: 1;
    position: absolute;
    right: -5px;
    top: -3px;
}

.kiki_suggestions .suggestion h3,.kiki_suggestions .suggestion p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #051614;
    line-height: 20px;
    position: relative;
}

.kiki_suggestions .suggestion p {
    font-weight: 400;
    padding: 6px 0 0;
    color: #4E4B58;
}

.kiki_container_bottom {
    position: relative;
    padding-top: 10px;
}

.kiki_ask h2 {
    font-size: 14px;
    color: #767284;
    font-weight: 400;
    margin: 0 0 10px;
}

.kiki-inp-wrap {
    max-width: 767px;
    border-radius: 26px;
    margin: 0 auto 5px;
    overflow: hidden;
    padding: 2px;
    background: linear-gradient(118.73deg, #BBCDF0 50%, #E8E4F9 80%, #F1FAFE 100%);
}

.active .kiki-inp-wrap {
    background: linear-gradient(118.73deg, #A8C0F0 3.35%, #BDAEF9 50%, #B2E7FE 100%);
}

.kiki_inp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background: #fff;
    border-radius: 26px;
    padding: 5px 10px;
}

.kiki_container_bottom.active .kiki_inp,
.kiki_inp textarea:focus-visible .kiki_container_bottom .kiki_inp {
    background: #fff;
}

.kiki_inp button.kiki_send {
    border: 0;
    background: #fff;
    border-radius: 50%;
    margin-right: 10px;
    width: 38px;
    height: 38px;
    padding: 0;
}

.kiki_aiStarImg_block {
    position: relative;
    padding: 3px;
    aspect-ratio: 1;
    margin-left: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiki_aiStarImg {
    background: #EAFBFA;
    border-radius: 50%;
    width: 28px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.kiki_aiStarImg img {
    animation : zoomImg 3s ease-in-out;
    transform: scale(0.8);
}

.kiki_aiStarImg_block:before {
    content: '';
    width: 90%;
    aspect-ratio: 1;
    background: linear-gradient(30deg, #C3E6F3 19.7%, #D4B8E1 51.07%, #B9C9FF 98.13%);
    position: absolute;
    filter: blur(3px);
    border-radius: 50%;
    animation : rotateGradient 3s ease-in-out;
}

@keyframes zoomImg {
    0%,20% {
        transform: scale(0.8);
    }
    40%,50% {
        transform: scale(0.3) rotate(180deg);
    }
    75%,98% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(0.8);
    }
}

@keyframes rotateGradient {
    20% {
        width: 100%;
        transform: rotate(-90deg);
    }
    50% {
        width: 85%;
        filter: blur(1px);
    }
    75%,95% {
        width: 95%;
        filter: blur(3px);
        transform: rotate(-90deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.active .kiki_aiStarImg_block {
    display: none;
}

.kiki_inp textarea {
    flex: 1;
    padding: 10px;
    color: #101010;
    height: 40px;
    border: 0;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    line-height: 20px;
    resize: none;
}

.kiki_inp textarea::placeholder {
    color: #A09CAA;
}

.kiki_textDelete {
    margin-right: 20px;
    position: relative;
    display: none;
    cursor: pointer;
}

.kiki_textDelete:after {
    content: '';
    position: absolute;
    right: -10px;
    height: 24px;
    z-index: 1;
    width: 1px;
    background: #DFDEE3;
}

.kiki_container_bottom.active img.non-active,
.kiki_container_bottom img.active{
    display: none;
}

.kiki_container_bottom.active img.active{
    display: block;
}

/* kiki-chat css start  */
.kiki-qna-container {
    display: none;
    max-width: 767px;
    margin: auto;
    border-radius: 30px;
    background: #fff;
    overflow: auto;
    height: 100%;
}

.kiki-qna-wrap {
    margin-bottom: 30px;
    display: flex;
    flex-flow: column;
    text-align: left;
    position: relative;
}

.kiki_qna {
    padding: 10px 10px 10px 50px;
    position: relative;
}

.kiki-share-chat {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    cursor: pointer;
}

.kiki_message {
    padding-bottom: 12px;
    position: relative;
}

.kiki_message.user {
    padding: 10px 12px;
    line-height: 22px;
    background: #F4F4F6;
    font-size: 16px;
    border-radius: 16px;
    color: #4E4B58;
    margin-bottom: 10px;
}

.kiki_message.user:before,
.kiki_message.user + .kiki_message.system:before {
    content: "";
    position: absolute;
    left: -40px;
    background: url(https://cdn.kindlife.in/images/ui_icon/kikiai-userIcon.svg) no-repeat;
    width: 32px;
    height: 32px;
    top: 5px;
}

.kiki_message.user + .kiki_message.system:before {
    background: url(https://cdn.kindlife.in/images/ui_icon/aisparklesgrad-icon.svg) no-repeat;
    width: 40px;
    height: 40px;
    top: 5px;
    background-size: contain;
}

.kiki_message-system-block {
    padding: 5px;
}

.kiki_message pre {
    font-family: inherit;
    line-height: 1.5;
    font-size: 16px;
    margin: 0;
    color: #101010;
    background: #EAFBFA;
    border-radius: 16px;
    padding: 10px;
    white-space: normal;
}

h2.chat-messaage-title {
    font-size: 18px;
    color: #1F1F1F;
    margin: 0 0 10px;
}

 /* css for chat-messaage-suggest-product and videos start  */
.chat-messaage-suggest-product .bk_product_list_block img {
    border-radius: 12px;
    border: 1px solid #DFDEE3;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
    overflow: hidden;
    margin-bottom: 6px;
    padding: 6px;
}

.chat-messaage-suggest-product,
.bk_kiki_suggest-video__list {
    display: flex;
    column-gap: 10px;
    overflow: auto;
}

.chat-messaage-suggest-product .bk_product_list_block {
    flex: 0 0 105px;
    list-style: none;
}

.chat-messaage-suggest-product .bk-product-list_content * {
    display: none;
}

.chat-messaage-suggest-product .bk-product-list_item-name, .chat-messaage-suggest-product .bk-product-list_brand {
    display: block;
}

.chat-messaage-suggest-product .bk-product-list_item-name a,
.bk_kiki_suggest-video__list .bk_kiki_vid_title {
    font-size: 13px;
    line-height: 16px;
    color: #4E4B58;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 2px 0 0;
}

.chat-messaage-suggest-product .bk-product-list_brand a {
    display: inline-block;
    color: #2EBAA8;
    line-height: 16px;
    font-size: 13px;
}

.bk_kiki_suggest-video__list .bk_kiki_suggest-video {
    flex: 0 0 140px;
}

.bk_kiki_suggest-video__list .bk_video_cover div img {
    width: 100%;
    aspect-ratio: 1/1.6;
    object-fit: cover;
    border-radius: 12px;
}

.bk_kiki_suggest-video__list figure {
    position: relative;
    margin-bottom: 10px;
}

.bk_kiki_suggest-video__list .bk_kiki_vid_user {
    position: absolute;
    bottom: 5px;
    left: 5px;
}

.bk_kiki_suggest-video__list .bk_kiki_vid_user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #fff;
    aspect-ratio: 1;
    object-fit: cover;
}

.bk_kiki_suggest-video__list .bk_vid_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.bk_kiki_suggest-video__list .bk_kiki_vid_title {
    padding: 0;
}
/* css for chat-messaage-suggest-product and videos end  */

.kiki-qna-header {
    display: flex;
    position: relative;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #DFDEE3;
    padding-right: 10px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.kiki-qna-back {
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.kiki-qna-header .kiki-qna-title {
    background: linear-gradient(90deg, #282B44 0%, #5A73A0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.kiki-qna-text {
    background: linear-gradient(168.19deg, #F2FCFE 0%, #E7E2F9 49.72%, #B8CCEF 99.45%);
    margin: 10px auto;
    border-radius: 12px;
    padding: 12px;
    max-width: 680px;
    text-align: center;
}

.kiki-qna-text p {
    background: linear-gradient(90deg, #282B44 0%, #5A73A0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
}
/* kiki-chat css end  */

/* kiki people qna list css start */
.kiki_people_qna_container {
    max-width: 767px;
    width: 100%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    text-align: left;
    border-radius: 40px;
    border: 1px solid #DFDEE3;
    box-shadow: 0px 2px 4px #0002;
}

.kiki_people_qna_container h2 {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 15px;
    text-align: center;
}

ul.kiki_people_qna_list > li {
    border-bottom: 1px solid #C4C4C4;
    padding: 0;
}

ul.kiki_people_qna_list li h3 {
    color: #000000;
    font-size: 16px;
    margin: 0;
    line-height: 22px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 13px 0;
    font-weight: 400;
    position: relative;
}

ul.kiki_people_qna_list li.active h3 {
    background: #F4F4F6;
    border-radius: 50px;
    padding: 13px;
    margin-top: 10px;
}

ul.kiki_people_qna_list li h3:after {
    content: "";
    width: 10px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0.7;
    margin-right: 5px;
    transform-origin: left;
    margin-left: 10px;
}

ul.kiki_people_qna_list li.active h3::after {
    border-width: 2px 0 0 2px;
}

.recent_qa .answer {
    padding: 10px 0;
}

.recent_qa > .answer {
    display: none;
    padding: 10px 10px 20px 40px;
    position: relative;
}

.recent_qa > .answer:before {
    content: "";
    position: absolute;
    left: 0px;
    background: url(https://cdn.kindlife.in/images/ui_icon/aisparklesgrad-icon.svg) no-repeat;
    width: 40px;
    height: 40px;
    top: 10px;
    background-size: contain;
}

.recent_qa .answer.desc {
    font-size: 14px;
    line-height: 22px;
    color: #000;
    padding: 10px;
    background: #EAFBFA;
    border-radius: 16px;
}
/* kiki people qna list css end  */

/* kiki-prompt suggestion block css start */
.kikiAi_auto_suggestion_box {
    position: fixed;
    bottom: 10px;
    z-index: 11;
    left: 0;
    right: 0;
    overflow: auto;
    max-width: 1200px;
    margin: 0 auto;
}

/* .open.kikiAi_auto_suggestion_box */
ul.kikiAi_auto_suggestion__list {
    display: flex;
    white-space: nowrap;
    gap: 5px;
    overflow: auto;
    padding: 10px;
}

.kikiAi_auto_suggestion__item {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    background: #EAFBFA;
    font-size: 16px;
    border-radius: 50px;
    padding: 12px;
    line-height: 20px;
    color: #27A79B;
    cursor: pointer;
    width: fit-content;
    min-width: max-content;
}

.kikiAi-suggTitle {
    padding: 10px 0 0px;
    color: #A09CAA;
}

.kiki_qna .kikiAi_auto_suggestion__item {
    background: #fff;
    border-radius: 22px;
    margin-top:10px;
    border: 1px solid #DFDEE3;
    padding: 10px 40px 10px 10px;
    color: #2da69a;
    position: relative;
    width: 100%;
    font-size: 14px;
    min-width: unset;
}

.kiki_qna .kikiAi_auto_suggestion__item:after {
    content: url(https://cdn.kindlife.in/images/ui_icon/kiki-rightArrowGrad.svg);
    position: absolute;
    right: 10px;
    top: 11px;
}

.kikiAi_auto_suggestion__item figure {
    flex: 0 0 18px;
}

.kikiAi_suggestion_wrap.open {
    background: #0009;
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: end;
}

.kikiAi_suggestion_qna-wrap {
    position: fixed;
    z-index: 100;
    bottom: 0;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.hide .kikiAi_suggestion_qna-wrap {
    height: 0%;
}

.open .kikiAi_suggestion_qna-wrap {
    padding-top: 5%;
    height: 100%;
}

.open .kiki-qna-container,
.kikiAi_suggestion_qna-wrap .kiki-qna-container {
    display: block;
}

/* kiki-prompt suggestion block css end */


@media (max-width: 766px){
    .kiki_suggestions {
        padding: 0 10px;
    }
    .kiki_suggestions .suggestion-wrap {
        flex: 0 0 30%;
        min-width: 170px;
    }
    .kiki-qna-container {
        padding: 0;
        border-radius: 30px 30px 0 0;
    }
    .kiki-qna-header {
        height: 40px;
    }
    .kiki-qna-header .kiki-qna-title { 
        font-size: 14px;
    }
    .kiki_container_bottom.qna-open {
        background: #fff;
    }
    .kiki-inp-wrap {
        margin: 5px;
    }
    .kiki_inp button.kiki_send {
        margin-right: 5px;
    }
    .chat-messaage-suggest-product .bk-product-list_item-name a, 
    .bk_kiki_suggest-video__list .item_desc_title h5 {
        font-size: 12px;
    }
    .kiki_chat_heading h3 {
        font-size: 22px;
    }
    .kiki_chat_text h4 {
        font-size: 20px;
        line-height: 1.4;
    }
    .kiki_chat_text p {
        font-size: 14px;
        margin: 0 auto 10px;
        line-height: 1.6;
        width: max(280px,50%);
    }
    .kiki-qna-text {
        margin: 10px;
    }
    .kiki-qna-text p {
        font-size: 13px;
    }
    .kiki_people_qna_container {
        border-radius: 0;
        border: 0;
        padding: 10px;
        box-shadow: none;
    }
    ul.kiki_people_qna_list li h3 {
        font-size: 14px;
    }
    ul.kiki_people_qna_list li h3:after {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px){
    .kiki_chat_wrapper {
        height: calc(100% - 50px);
    }
    .kiki_chat_text h4 {
        font-size: 18px;
        max-width: 250px;
    }
    .kiki_ask h2 {
        font-size: 12px;
    }
    .kikiAi_auto_suggestion_box {
        bottom: 60px;
        background: #fff;
    }
    .kiki_container_top > .kiki_get_started {
        background-size: cover;
        background-position: 50px;
        padding: 0 0 10px;
    }
    .kiki_chat_lgImage {
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    .kiki_chat_lgImage img {
        width: 110%;
    }
}