/* New Floating Css */

.floating-action-buttons {
    background-color: var(--color-main);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.floating-action-buttons .iconsax svg {
    width: 32px !important;
    height: 32px !important;
}


/* End Floating CSS */

.floating-chat-section {
    position: fixed;
    bottom: 0px;
    right: 10px;
    max-width: 450px;
    height: 600px;
    z-index: 11;
    background-color: var(--color-white);
    border-radius: 16px;
    border: 2px solid #e4e4e4;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transform: translateY(100%);
    transition: all 0.3s ease-in;
}

.floating-chat-section.active {
    bottom: 8px;
    transition: all 0.3s ease-in;
    transform: translateX(0%);
}

.close-chat-btn .iconsax svg {
    width: 32px !important;
    height: 32px !important;
}

.chat-box-body {
    height: 100% !important;
    padding: 0px 6px 6px 6px !important;
}

.chat-outgoing .chat-de {
    max-width: 95% !important;
}

.chat-incoming .chat-de {
    max-width: 95% !important;
}

.chat-incoming .chat-de .ai-response {
    background: var(--chat-sixth-color);
    color: var(--white);
    border-radius: 15px 15px 15px 0;
    padding: 8px 16px;
    word-wrap: break-word;
}

.chat-incoming .chat-de .ai-response ol,
.chat-incoming .chat-de .ai-response ul {
    list-style: auto;
    padding: 12px;
}

.chat-incoming .chat-de .ai-response h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.chat-incoming .chat-de .ai-response pre {
    background: black;
    color: white;
    padding: 8px 12px;
    margin: 8px 0px;
    border-radius: 8px;
    white-space: pre-wrap;
    max-width: 100%;
    overflow: auto;
}

.send-inner {
    padding: 6px !important;
}

.send-inner .message {
    padding: .5rem 2px !important;
}

.send-inner button {
    padding: 6px !important;
}

.send-inner button:last-child {
    background-color: var(--color-main);
    border-radius: 8px;
}

@media screen and (max-width:450px) {
    .floating-chat-section {
        position: fixed;
        bottom: 0px;
        right: 0px;
        width: 100%;
        height: 100%;
    }
    .floating-chat-section.active {
        bottom: 0px;
    }
}