
.square-heading-ai {
    display: flex;
    justify-content: center;
    align-items: center;
}

.outer-big-square-heading-ai {
    font-size: 15px;
    color: rgb(96, 137, 139);
    margin-bottom: 0;
    padding-bottom: 0;
    padding: 5px;
    text-align: center;
    display: inline-block;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.5);
    border-radius: 10px 10px 0px 0px;
}

.outer-big-square-ai {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 10px;
    margin-top: 1px;
    margin-left: 0px;
    padding-top: 0;
    box-shadow: 0 2px 4px 2px rgba(96, 137, 139, 0.5);
}

.exclusive-container-ai {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    
}

.bundle-box-ai {
    width: 105px;
    height:150px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    padding: 0px;
    margin: 5px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;

}

.bundle-box-heading-ai {
    display: initial;
    font-size: 10px;
    font-weight: 600;
    color: rgb(10, 11, 11);
    float: none;
    padding: 0px;
}

.massage-icon-ai img {
    height: 60px;
    width: 70px;
}

.scroll-button-ai {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    overflow: hidden;
    font-size: 9px;
    margin:auto;
    border-radius: 10px;
    font-family: DM Sans;
    animation-name: shine;
    position: relative;
    width: 85px;
}

.scroll-text-ai {
    text-align: center;
    opacity: 0;
    animation: scrollUp 8s linear infinite;
    position: absolute;
    width: 100%;
    top: 8%;
    transform: translateY(-50%);
}

.scroll-text-ai:nth-child(1) {
    animation-delay: 0s;
}

.scroll-text-ai:nth-child(2) {
    animation-delay: 2s;
}

.scroll-text-ai:nth-child(3) {
    animation-delay: 4s;
}

.scroll-text-ai:nth-child(4) {
    animation-delay: 6s;
}

@keyframes scrollUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    35% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.styled-button-ai {
    background-color: rgb(96, 137, 139);
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px 2px rgba(96, 137, 139, 0.5);
}
.jiifit-ai-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgb(96, 137, 139);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.jiifit-ai-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff00cc, #3333ff, #00ff99, #ffcc00);
    background-size: 400% 400%;
    z-index: -1;
    animation: borderAnimation 3s linear infinite;
}

@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.jiifit-ai-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}


.jiifit-ai-container {
    position: fixed;
    bottom: 5px;
    right: 10px;
    width: 350px;
    height: 470px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1100;
    transition: all 0.3s ease;
}

.jiifit-ai-container.maximized {
    width: 100%;
    height: 100%;
    bottom: 0px;
    right: 0px;
}

.jiifit-ai-container.minimized {
    height: 500px;
    width: 350px;
    overflow: hidden;
}

.jiifit-ai-container.minimized .jiifit-ai-chat,
.jiifit-ai-container.minimized .jiifit-ai-input {
    display: none;
}

.jiifit-ai-header {
    background: rgb(96, 137, 139);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jiifit-ai-avatar {
    background: white;
    color: rgb(96, 137, 139);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.jiifit-ai-header h3 {
    margin: 0;
    flex-grow: 1;
    font-size: 16px
}
.jiifit-ai-chatbot-heading{
    color: #fff;
    font-family: emoji;
    padding-left: 0px;
}

.jiifit-ai-header-controls {
    display: flex;
    gap: 5px;
}

.jiifit-ai-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jiifit-ai-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.jiifit-ai-chat {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f5ff;
}

.jiifit-ai-message {
    margin-bottom: 15px;
    max-width: 90%;
    padding: 6px 20px;
    border-radius: 18px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.jiifit-ai-bot {
    background: white;
    color: #333;
    border-top-left-radius: 5px;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.jiifit-ai-user {
    background:  rgb(96, 137, 139);
    color: white;
    border-top-right-radius: 5px;
    margin-left: auto;
}

.quick-replies {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Changed from flex-end to flex-start */
    margin-top: 10px;
    width: 100%;
    gap: 5px;
}

.quick-reply-btn {
    background: rgba(110, 72, 170, 0.1);
    color:  rgb(96, 137, 139);
    border: 1px solid  rgb(134, 166, 167);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply-btn:hover {
    background:  rgb(96, 137, 139);
    color: white;
}

.jiifit-ai-input {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #eee;
    height: 53px;
}
.jiifit-ai-input .search-icon-ai {
    position: absolute;
    left: 19px;
    color: #888;
    margin-top: 4px;
    font-size: 17px;
    cursor:pointer;
}

#jiifit-ai-question {
    flex-grow: 1;
    padding: 5px 0px 5px 30px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size:14px;
}

#jiifit-ai-send {
    background:  rgb(96, 137, 139);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    cursor: pointer;
    margin:2px 0px 0px 5px;
}

.typing-indicator {
    display: flex;
    padding: 10px 15px;
    background: white;
    border-radius: 18px;
    margin-bottom: 15px;
    width: fit-content;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background:  rgb(96, 137, 139);
    border-radius: 50%;
    margin: 0 3px;
    opacity: 0.4;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.submit-btn-ai{
background-color: rgb(96, 137, 139);
    color: white;
    margin-left: 84%;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    cursor: pointer;
    font-family: emoji;
}
.form-navigation-ai{
    display: flex;
    justify-content: flex-end;
}

.option-item-ai .circle-ai {
    width: 10px;
    height: 10px;
    background-color: rgb(105 108 108);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.massage-selection-form-heading{
    font-size: 15px;
    color: rgb(96, 137, 139);
    margin-bottom: 0;
    padding-bottom: 0;
    padding: 5px;
    text-align: center;
    float:none;
    margin-top:0px;
}

.option-item-container-ai{
    display: flex;
    justify-content: space-between;
}
.option-item-ai {
    display: flex;
}
.option-item-para-ai {
    margin-left: 10px;
}
.note-text-ai {
    margin: 20px auto;
    font-size: 12px;
    padding: 10px;
    box-shadow: 0px 0px 3px 2px #80898b;
}


.massage-recommendations-heading {
    font-size: 15px;
    color: rgb(96, 137, 139);
    margin-bottom: 0;
    padding-bottom: 0;
    padding: 5px;
    text-align: center;
    float:none;
    margin-top:0px;
}
.massage-service-container-ai {
    display: flex;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    box-shadow: rgba(96, 137, 139, 0.2) 6px 6px 6px 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    border-width: 0px;
    border-style: solid;
    border-color: rgb(96, 137, 139);
    border-image: initial;
    border-radius: 10px;
    padding: 10px;
    
}
.massage-service-box-ai {
    display: flex;
    width: 75%;
    height: 33vh;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 10px 0px;
    flex-shrink: 0;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
}
.jiifit-ai-container.maximized .massage-service-box-ai {
    width: 165px;
    height: 200px; 
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.offer-details-ai {
    display: flex;
    justify-content: space-between; 
    margin-bottom: 0px;
}
.swing-animation-ai {  
    color: white;
    background-color: green;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 10px;
    margin: auto;
    width: max-content;
}
.typing-effect-ai {
    position: relative;
    /* Adjust height based on text size */ 
}
.typing-effect-ai i {
    margin-left: 80px;
    margin-right: 7px;
}

.marquee-content-ai {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
}
.marquee-item-ai {
    margin-top: 2px;
    margin-left: 35px;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    color: blue;
    position: absolute;
    opacity: 0;
    animation: fadeInOut 8s infinite;
}

/* Applying delay for second item */
.marquee-item-ai:nth-child(1) { animation-delay: 0s; }
.marquee-item-ai:nth-child(2) { animation-delay: 3s; }

/* Keyframe Animation */
@keyframes fadeInOut {
    0%, 20% { opacity: 1; transform: translateX(0); }
    40%, 100% { opacity: 0; transform: translateX(-20px); }
}

.massage-service-box-ai img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0px auto;
    display: block;
}
.massage-service-name-ai p {
    font-size: 10px;
    text-align: center;
    margin: 0px 15px 0px 15px;
    font-weight: bold;
}

.massage-service-price-and-time-ai {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px;  
}

.massage-service-original-price-ai span {
    font-size: 11px;
    font-weight: 300;
}
.massage-service-discounted-price-ai del {
    font-size: 10px;
    color: rgb(112, 10, 10);
}
.massage-service-discounted-price-ai span {
    font-size: 10px;
}
.massage-service-duration-ai {
    margin-left: 25px;
    font-size: 10px;
}

.btn-ai {
    width: 50px;
    border: 2px solid #007bff;
    color: black;
    background-color: white;
    padding: 0px;
    font-size: 11px;
    border-radius: 7px;
    margin-bottom: 6px;
    cursor: pointer;
}
.btn-ai:hover {
    background-color: #6cacf1;
    color: white;
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 768px) {
    .new-menu-icon {
        font-size: 20px;
        margin: 15px;
    }

    .outer-big-square-heading-ai {
        font-size: 20px;
    }

    .outer-big-square-heading-ai {
        width: 80%;
    }

    .bundle-box-ai {
        width: 80px;
        height: 145px;
        padding: 8px;
        margin: 8px;
    }

    .bundle-box-heading-ai {
        font-size: 16px;
    }

    .massage-icon-ai img {
        height: 70px;
        width: 100px;
    }

    .scroll-button-ai {
        width: 150px;
        font-size: 10px;
    }

    .styled-button-ai {
        font-size: 9px;
        padding: 4px;
    }
}


/* Mobile styles - must come AFTER normal styles */
@media only screen and (max-width: 767px) {
    .jiifit-ai-button {
        font-size: 12px;
        bottom: 87px;
        right: 15px;
        padding: 10px 10px;
        cursor: pointer;
    }
    .jiifit-ai-container:not(.minimized) {
        width: 100% !important;
        height: 100% !important;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        max-width: none !important;
    }
    
    .jiifit-ai-container.minimized {
        width: 100% !important;
        height: 60px !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        border-radius: 0 !important;
    }
    #jiifit-ai-minimize,
    #jiifit-ai-expand {
        display: none !important;
    }
    
    /* Adjust header to account for missing buttons */
    .jiifit-ai-header-controls {
        width: auto;
        justify-content: flex-end;
    }
    
    /* Make close button more prominent on mobile */
    #jiifit-ai-close {
        width: 30px !important;
        height: 30px !important;
        font-size: 20px !important;
    }
}

@media only screen and (max-width: 480px) {
    .new-menu-icon {
        font-size: 12px;
        margin: 10px;
    }

    .outer-big-square-heading-ai {
        font-size: 12px;
    }

    .outer-big-square-ai {
        width: 100%;
        margin-left: -8px;
        transform: translateX(2.5%);
    }

    .bundle-box-ai {
        width: 100px;
        height: 150px;
        padding: 0;
        margin: 5px;
    }

    .bundle-box-heading-ai {
        font-size: 9px;
    }

    .massage-icon-ai img {
        height: 45px;
        width: 80px;
    }

    .scroll-button-ai {
        width: 80px;
        font-size: 9px;
        margin:10px;
    }

    .styled-button-ai {
        font-size: 8px;
        padding: 3px;
    }
}  

