| 1 |
/* Refined styles for AI prompt UI in Elementor editor */ |
| 2 |
.ai-prompt-container { |
| 3 |
display: inline-flex; |
| 4 |
align-items: center; |
| 5 |
margin: 8px 0; /* vertical spacing */ |
| 6 |
gap: 6px; |
| 7 |
} |
| 8 |
.ai-prompt-input { |
| 9 |
background: #ffffff; /* white background */ |
| 10 |
color: #333333; |
| 11 |
padding: 8px 12px; |
| 12 |
font-size: 14px; |
| 13 |
border: 1px solid #cccccc; |
| 14 |
border-radius: 4px; |
| 15 |
flex: 1 1 auto; |
| 16 |
max-width: 300px; |
| 17 |
transition: border-color 0.3s ease, box-shadow 0.3s ease; |
| 18 |
} |
| 19 |
.ai-prompt-input:focus { |
| 20 |
border-color: #5B03FF; |
| 21 |
box-shadow: 0 0 4px rgba(91,3,255,0.4); |
| 22 |
outline: none; |
| 23 |
} |
| 24 |
.ai-prompt-submit, |
| 25 |
.ai-prompt-cancel { |
| 26 |
display: flex; |
| 27 |
align-items: center; |
| 28 |
justify-content: center; |
| 29 |
width: 48px; |
| 30 |
height: 32px; |
| 31 |
border-radius: 12px; |
| 32 |
border: none; |
| 33 |
cursor: pointer; |
| 34 |
transition: box-shadow 0.3s ease, background 0.3s ease; |
| 35 |
padding: 0; /* Reset default button padding */ |
| 36 |
margin: 0; /* Reset any default margins */ |
| 37 |
box-sizing: border-box; |
| 38 |
overflow: hidden; |
| 39 |
} |
| 40 |
.ai-prompt-submit { |
| 41 |
background: linear-gradient(135deg, #E1CBFF, #5B03FF); |
| 42 |
color: #ffffff; |
| 43 |
} |
| 44 |
.ai-prompt-submit:hover { |
| 45 |
box-shadow: 0 0 8px rgba(91,3,255,0.6); |
| 46 |
} |
| 47 |
.ai-prompt-cancel { |
| 48 |
background: #f5f5f5; |
| 49 |
color: #333333; |
| 50 |
} |
| 51 |
.ai-prompt-cancel:hover { |
| 52 |
background: #e0e0e0; |
| 53 |
box-shadow: 0 0 6px rgba(0,0,0,0.15); |
| 54 |
} |