/* Custom Quick Options Container - HIGH SPECIFICITY */
#n8n-chat-widget-container .n8n-chat-widget-custom-options,
#n8n-chat-widget-popup .n8n-chat-widget-custom-options,
.n8n-chat-widget-custom-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 16px 0 !important;
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    animation: fadeInOptions 0.4s ease-out !important;
}

@keyframes fadeInOptions {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Option Button - HIGH SPECIFICITY to override Divi/theme button styles */
/* NOTE: Colors are applied dynamically via PHP inline styles */
#n8n-chat-widget-container .n8n-chat-widget-custom-option,
#n8n-chat-widget-popup .n8n-chat-widget-custom-option,
.n8n-chat-widget-custom-option {
    border-radius: 25px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    display: inline-block !important;
    outline: none !important;
    min-width: auto !important;
    min-height: auto !important;
}

#n8n-chat-widget-container .n8n-chat-widget-custom-option:hover,
#n8n-chat-widget-popup .n8n-chat-widget-custom-option:hover,
.n8n-chat-widget-custom-option:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

#n8n-chat-widget-container .n8n-chat-widget-custom-option:active,
.n8n-chat-widget-custom-option:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Focus state for accessibility */
#n8n-chat-widget-container .n8n-chat-widget-custom-option:focus,
.n8n-chat-widget-custom-option:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

/* Robot Icon for Assistant Messages */
.n8n-chat-widget-robot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}