#ai-doctor {
    position: fixed;
    bottom: 20px;   /* Adjust the bottom offset */
    left: 5px;     /* Adjust the left offset */
    z-index: 9999;  /* Ensure it stays on top of other content */
    width: 200px;   /* Set the width of the Lottie icon */
    height: 200px;  /* Set the height of the Lottie icon */
}
.chat-icon {
    position: absolute;
    right: -188px;
    top: -171px;
    width: 332px;
    height: 186px;
    background: url(../images/chat_box.png) no-repeat;
    background-size: contain;
    background-position: center;
    padding: 18px;
    color: #000;
    z-index: 99999;
}
.chat-icon .btn.btn-primary {
    border-color: #EC1874;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: linear-gradient(15.46deg, #D51367 26.3%, #EC1874 86.4%);
    box-shadow: 0px 21px 27px -10px #FF7FB7;
    cursor: pointer;
}
.chat-icon .close-ai-doctor {
    font-size: 24px;
}
body .mb-3 {
    margin-bottom: .3rem !important;
}
.rotate-360 {
    transform: rotate(180deg);
}
.close-ai-doctor {
    position: absolute;
    right: 5px;
    font-size: 1.4rem;
    top: 16px;
    z-index: 999;
}
/* .ai-doctor.rtl .close-ai-doctor {
    left: 5px;
    right: auto;
} */
.d-none {
    display: none !important;
}
body.rtl .chat-icon {
    left: -188px;
    right: auto;
    text-align: right;
}
body.rtl #ai-doctor {
    left: auto;
    right: 5px;
}
.ai-doctor.rtl .close-ai-doctor {
    left: 5px;
    right: auto;
}

@media (min-width: 768px) and (max-width: 800px) {
    .chat-icon {
        right: -197px;
    }
}
@media (max-width: 768px) {
    #ai-doctor {
        width: 150px;
        height: 150px;
    }
}
@media (max-width: 576px) {
    #ai-doctor {
        width: 135px;
        height: 135px;
    }
    .chat-icon {
        right: -162px;
        top: -143px;
        width: 265px;
        height: 156px;
        padding: 18px;
        font-size: .8rem;
    }
    .chat-icon .btn.btn-primary img{
        width: 16px !important;
    }
    .chat-icon .btn.btn-primary {
        padding: 5px 10px;
        font-size: .8rem;
    }
}