.ai-widget-outer-11cde65a {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.admin-bar .ai-widget-outer-11cde65a {
    bottom: calc(30px + var(--wp-admin--admin-bar--height, 32px));
}

/* Speech bubble label */
.ai-bubble-label-11cde65a {
    background-color: #214837;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    position: relative;
    border: 2px solid #F0C628;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: ai-bounce-11cde65a 2.5s ease-in-out infinite alternate;
}

/* Tail pointing RIGHT toward the button */
.ai-bubble-label-11cde65a::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 11px solid #214837;
}

/* Yellow border tail overlay */
.ai-bubble-label-11cde65a::before {
    content: '';
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 13px solid #F0C628;
    z-index: -1;
}

.ai-bubble-label-close-11cde65a {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 11px;
    padding: 0 0 0 4px;
    transition: color 0.2s;
    line-height: 1;
}
.ai-bubble-label-close-11cde65a:hover {
    color: #ffffff;
}

/* Main circular toggle button */
.ai-toggle-btn-11cde65a {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #214837;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-toggle-btn-11cde65a:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 22px rgba(0,0,0,0.35);
}
.ai-toggle-btn-11cde65a svg {
    width: 30px;
    height: 30px;
}
.ai-icon-close-11cde65a {
    font-size: 22px;
    color: #ffffff;
    line-height: 1;
}

/* Chat panel */
.ai-widget-container-11cde65a {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 355px;
    max-width: 92vw;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.07);
}

.ai-header-11cde65a {
    padding: 14px 16px;
    background-color: #214837;
    display: flex;
    align-items: center;
}
.ai-header-dot-11cde65a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2ecc71;
    margin-right: 10px;
    display: inline-block;
}
.ai-title-11cde65a {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.ai-chat-body-11cde65a {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-msg-11cde65a {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 85%;
}
.ai-msg-bot-11cde65a {
    align-self: flex-start;
    background-color: rgba(33,72,55,0.08);
    color: #111;
    border-left: 3px solid #214837;
}
.ai-msg-user-11cde65a {
    align-self: flex-end;
    background-color: #e2e8f0;
    color: #1a202c;
}
.ai-msg-loading-11cde65a {
    font-style: italic;
    opacity: 0.65;
}

.ai-link-11cde65a {
    color: #F0C628;
    text-decoration: underline;
    font-weight: 600;
}

.ai-input-form-11cde65a {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    background: #ffffff;
    gap: 8px;
}
.ai-text-input-11cde65a {
    flex-grow: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}
.ai-text-input-11cde65a:focus {
    border-color: #214837;
}
.ai-submit-btn-11cde65a {
    background-color: #F0C628 !important;
    border: none !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000 !important;
    box-shadow: none !important;
    outline: none !important;
}
.ai-submit-btn-11cde65a:hover,
.ai-submit-btn-11cde65a:focus,
.ai-submit-btn-11cde65a:active {
    background-color: #e0b820 !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
}

@keyframes ai-bounce-11cde65a {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}