/* Send Button Fix - Add this to your widget.css */

#aibot-send {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--aibot-primary-grad);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#aibot-send:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#aibot-send:active:not(:disabled) {
    transform: scale(0.98);
}

#aibot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#aibot-send svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
    pointer-events: none;
}

#aibot-send svg path {
    fill: currentColor;
}

/* Make sure the form layout is correct */
#aibot-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    padding: 16px;
}

#aibot-input {
    flex: 1;
    min-height: 44px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 22px;
    font-size: 15px;
    resize: none;
    outline: none;
    font-family: inherit;
}

#aibot-input:focus {
    border-color: var(--aibot-primary);
}

/* Fix for three-dot menu issue */
#aibot-send::before,
#aibot-send::after {
    display: none !important;
}
/* Add these CSS rules to fix the send button */

#aibot-send {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: var(--aibot-primary-grad) !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
}

#aibot-send svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    pointer-events: none !important;
}

#aibot-send svg path {
    fill: currentColor !important;
}

/* Remove textarea resize handle that creates the three dots */
#aibot-input {
    resize: none !important;
}

/* Fix form layout */
#aibot-form {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-end !important;
    padding: 16px !important;
}

/* Ensure no pseudo-elements on send button */
#aibot-send::before,
#aibot-send::after {
    display: none !important;
    content: none !important;
}