# king-addons/51.1.78/includes/admin/css/ai-textfield.css

King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder, version 51.1.78. 54 lines.

- Page: https://pluginprobe.com/plugins/king-addons/51.1.78/code/includes/admin/css/ai-textfield.css
- Raw: https://pluginprobe.com/plugins/king-addons/51.1.78/raw/includes/admin/css/ai-textfield.css
- Modified: 2026-08-25T03:27:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/king-addons/51.1.78/code/includes/admin/css/ai-textfield.css#L10-L20`.

```css
/* Refined styles for AI prompt UI in Elementor editor */
.ai-prompt-container {
    display: inline-flex;
    align-items: center;
    margin: 8px 0; /* vertical spacing */
    gap: 6px;
}
.ai-prompt-input {
    background: #ffffff; /* white background */
    color: #333333;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    flex: 1 1 auto;
    max-width: 300px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ai-prompt-input:focus {
    border-color: #5B03FF;
    box-shadow: 0 0 4px rgba(91,3,255,0.4);
    outline: none;
}
.ai-prompt-submit,
.ai-prompt-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    padding: 0; /* Reset default button padding */
    margin: 0;  /* Reset any default margins */
    box-sizing: border-box;
    overflow: hidden;
}
.ai-prompt-submit {
    background: linear-gradient(135deg, #E1CBFF, #5B03FF);
    color: #ffffff;
}
.ai-prompt-submit:hover {
    box-shadow: 0 0 8px rgba(91,3,255,0.6);
}
.ai-prompt-cancel {
    background: #f5f5f5;
    color: #333333;
}
.ai-prompt-cancel:hover {
    background: #e0e0e0;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
} 
```
