/* Original AI bubble button styles (overrides) */
#ag-ai-chat-bubble svg text {
    font-family: 'Arial Black', Arial, sans-serif !important;
    font-weight: 900 !important;
}
#ag-ai-chat-bubble:hover {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 10px 28px rgba(215, 99, 20, 0.5) !important;
}
#ag-ai-drawer {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 380px;
    height: 520px;
    z-index: 99999 !important;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(215, 99, 20, 0.15) !important;
    background: var(--ag-bg-color, #FAF6F0) !important;
    padding: 16px !important;
    border-radius: 20px !important;
}
#ag-ai-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(215, 99, 20, 0.1);
}
#ag-ai-drawer-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--ag-brand-orange, #D76314);
    font-family: var(--ag-font-primary, 'Cormorant Garamond', Georgia, serif);
    font-weight: 700;
}
#ag-ai-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
#ag-ai-drawer-close:hover {
    color: var(--ag-brand-orange, #D76314);
}
#ag-ai-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ag-ai-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 85%;
}
.ag-ai-message.assistant-msg {
    align-self: flex-start;
}
.ag-ai-message.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.msg-avatar {
    font-size: 20px;
    line-height: 1;
}
.msg-content {
    background: #FFFFFF;
    border: 1px solid rgba(26,26,26,0.06);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ag-text-dark, #1a1a1a);
    font-family: 'Inter', sans-serif;
}
.ag-ai-message.user-msg .msg-content {
    background: #F4EBE2;
    border-color: rgba(215, 99, 20, 0.1);
}
#ag-ai-drawer-footer {
    padding-top: 12px;
    border-top: 1px solid rgba(215, 99, 20, 0.1);
}
#ag-ai-chat-form-drawer {
    display: flex;
    gap: 8px;
    position: relative;
}
#ag-ai-chat-input {
    flex: 1;
    box-sizing: border-box;
    height: 44px;
}
#ag-ai-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ag-brand-orange, #D76314);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(215, 99, 20, 0.2);
}
#ag-ai-chat-send:hover {
    background: var(--ag-brand-orange-hover, #b8520e);
}
.ag-ai-quick-btn {
    display: inline-block;
    background: #FFFFFF;
    border: 1px solid var(--ag-brand-orange, #D76314);
    color: var(--ag-brand-orange, #D76314);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 6px;
    margin-right: 6px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, color 0.2s;
}
.ag-ai-quick-btn:hover {
    background: var(--ag-brand-orange, #D76314);
    color: #FFFFFF;
}
.ag-ai-barrier-msg {
    text-align: center;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}
