#chat-ai-popup,
#chat-ai-popup-wrapper {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
 
#chat-ai-popup {
    --rem: 16;
    font-family: 'Outfit', arial, 'sans-serif';
    line-height: 20px;
    font-weight: 300;
    color: #153447;
    box-sizing: inherit;
    outline: none !important;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    opacity: 1;
    visibility: hidden;
    z-index: -1;
    position: fixed;
    bottom: 0px;
    width: 392px;
    height: 714px;
    max-width: 100%;
    max-height: calc(100% - 0px);
    min-height: 0px;
    min-width: 0px;
    background-color: transparent;
    border: 0px;
    overflow: hidden;
    right: 0px;
    transition: none 0s ease 0s !important;
}
 
#chat-ai-popup-wrapper {
    width: 255px;
    height: 50px;
    box-shadow: 0px 0.48px 2.41px -0.38px rgba(0, 0, 0, 0.05), 0px 4px 20px -0.75px rgba(0, 0, 0, 0.17);
    background: #FFFFFF;
    border-radius: 8px 8px 0px 0px;
    padding: 0 0.9em;
    align-items: center;
    color: #153447;
    background-color: #FFFFFF;
    position: fixed;
    display: flex;
    bottom: 0;
    right: 2%;
    z-index: 11111;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px;
    min-width: 150px;
    min-height: 50px;
    background-color: #fff;
}
 
#chat-ai-popup-wrapper > div {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 0.3em;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
 
#chat-ai-popup-wrapper > div > p {
    flex-grow: 1;
    font-weight: 700;
    font-size: 0.9em;
    margin-right: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    --primary-color: #2000F0;
    --secondary-color: #FFFFFF;
    --tertiary-color: #E3E3E3;
}
 
#chat-ai-popup-wrapper > div > button.icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: transparent;
}
 
#chat-ai-main {
    position: absolute;
    inset: 0px 0px 0px auto;
    width: 100%;
    height: 100%;
    padding: 1em;
    will-change: opacity;
    backface-visibility: opacity;
}
 
#chat-ai-main-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    background: rgb(246, 246, 247);
    inset: 0px 0px 0px auto;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0.48px 2.41px -0.38px, rgba(0, 0, 0, 0.17) 0px 4px 20px -0.75px;
}
 
#top-action {
    margin: 0;
    border: rgb(0, 0, 0);
    box-sizing: border-box;
    background: rgb(252, 252, 252);
    outline: none !important;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    color: rgb(5, 12, 15);
    text-align: left;
    position: relative;
    width: 100%;
    height: 56px;
    z-index: 2;
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1em;
    font-weight: 700 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    transition: background-color 0.3s ease 0s;
    box-shadow: -1px 6px 16px 0px rgba(0, 0, 0, 0.2);
}
 
#top-action > div.title {
    display: flex;
    align-items: center;
    justify-content: center;
}
 
#top-action > button#close-chat-btn {
    width: 60px;
    padding: 5px;
    height:100%;
    background-color: transparent;
}
 
#top-action > div.title > p {
    --rem: 16;
    -webkit-text-size-adjust: 100%;
    color: rgb(5, 12, 15);
    pointer-events: all;
    text-align: center;
    height: 30px;
    line-height: 30px;
    font-size: inherit;
    font-weight: 700;
    transition: opacity 100ms cubic-bezier(0.33, 0, 0.67, 1) 0s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    opacity: 1;
    margin: 0;
}
 
#chat-ai-box {
    position: relative;
    width: 100%;
    height: calc(100% - 56px);
}
 
/* #chat-ai-box::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    height: 7%;
    width: 100%;
    z-index: 1111;
} */
 
#chat-main-modal {
    border: 10px solid black;
    border-radius: 10px;
    padding: 10px;
    min-width: 500px;
    background-color: #000;
    position: relative;
}
 
#chat-main-modal::before {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    content: "";
    height: 50px;
    z-index: 1111;
    width: 96%;
    margin: 0 auto;
    background-color: rgb(14, 17, 23);
}
 
@media (max-width: 62em) {
    #chat-main-modal {
        width: 100%;
    }
}