/*
Theme Name:     ActlysAI
Theme URI:      https://actlys.ai
Template:       kadence
Author:         ActlysAI
Author URI:     https://actlys.ai
Description:    Child Theme Description
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/



.kt-inside-inner-col .arm-form-container .arm-default-form:not(.arm_admin_member_form){
    max-width: Min(100%, 550px) !important;
    width: 100% !important;
}

.tools-used span{
    display: inline-block;
    margin: 0 6px 6px;
    padding: 4px 8px;
    background: #ffffff;
    border-radius: 4px;
    font-size: 12px;
}

.use-case-chat-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}
.use-case-chat-wrap {
    max-height: 500px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}
.use-case-chat-wrap.expanded {
    max-height: none;
}
.use-case-chat-fade {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(247,247,250,1) 70%, rgba(247,247,250,1) 100%);
    pointer-events: none;
    z-index: 2;
}
.use-case-chat-toggle {
    display: block;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin: 10px auto;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    font-size: 12px;
    z-index: 3;
}

.use-case-chat-wrap .chat-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 26px;
}
.use-case-chat-wrap .chat-row:last-child,
.use-case-chat-wrap .chat-row.ai:last-child {
    margin-bottom: 0;
}
.use-case-chat-wrap .chat-row.ai {
    justify-content: flex-start;
    margin-bottom: 30px;
}
.use-case-chat-wrap .chat-row.user {
    justify-content: flex-end;
}
.use-case-chat-wrap .chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: #888;
}
.use-case-chat-wrap .chat-row.user .chat-avatar {
    order: 2;
    margin-left: 10px;
    margin-right: 0;
}
.use-case-chat-wrap .chat-row.ai .chat-avatar {
    margin-right: 10px;
}
.use-case-chat-wrap .chat-bubble {
    padding: 14px 18px;
    max-width: 74%;
    font-size: 14px;
    line-height: 1.8em;
}
.use-case-chat-wrap .chat-bubble.ai {
    background: #fff;
    color: #222;
    border-radius: 18px 18px 18px 4px;
}
.use-case-chat-wrap .chat-bubble.user {
    background: #E0E4EF;
    color: #444;
    border-radius: 18px 18px 4px 18px;
}

.kt-inside-inner-col p:empty{
    display: none;
}