| 1 |
/* Match builder preview design */ |
| 2 |
.aibui-contact-form--frontend { |
| 3 |
--aibui-bg: #ffffff; |
| 4 |
--aibui-border: #e5e7eb; |
| 5 |
--aibui-text: #111827; |
| 6 |
--aibui-muted: #6b7280; |
| 7 |
--aibui-primary: #4f46e5; |
| 8 |
--aibui-primary-contrast: #ffffff; |
| 9 |
background: var(--aibui-bg); |
| 10 |
border: 1px solid var(--aibui-border); |
| 11 |
border-radius: 12px; |
| 12 |
padding: 20px; |
| 13 |
} |
| 14 |
|
| 15 |
.aibui-form-title { |
| 16 |
margin: 0 0 8px; |
| 17 |
font-size: 24px; |
| 18 |
line-height: 1.2; |
| 19 |
} |
| 20 |
|
| 21 |
.aibui-form-description { |
| 22 |
margin: 0 0 16px; |
| 23 |
color: var(--aibui-muted); |
| 24 |
} |
| 25 |
|
| 26 |
.aibui-contact-form--frontend .aibui-field { |
| 27 |
margin-bottom: 12px; |
| 28 |
} |
| 29 |
|
| 30 |
.aibui-contact-form--frontend label { |
| 31 |
display: block; |
| 32 |
font-weight: 600; |
| 33 |
margin-bottom: 6px; |
| 34 |
} |
| 35 |
|
| 36 |
.aibui-contact-form--frontend input, |
| 37 |
.aibui-contact-form--frontend textarea { |
| 38 |
width: 100%; |
| 39 |
border: 1px solid var(--aibui-border); |
| 40 |
border-color: #ccc !important; |
| 41 |
border-radius: 8px; |
| 42 |
padding: 10px 12px; |
| 43 |
font-size: 14px; |
| 44 |
margin-top: 10px; |
| 45 |
background: #f4f4f6; |
| 46 |
} |
| 47 |
|
| 48 |
.aibui-contact-form--frontend input:focus, |
| 49 |
.aibui-contact-form--frontend textarea:focus { |
| 50 |
outline: none; |
| 51 |
border-color: #c7d2fe; |
| 52 |
box-shadow: 0 0 0 4px rgba(79,70,229,0.12); |
| 53 |
} |
| 54 |
|
| 55 |
.aibui-contact-form--frontend .aibui-button--primary { |
| 56 |
background: var(--aibui-primary); |
| 57 |
color: var(--aibui-primary-contrast); |
| 58 |
border: 0; |
| 59 |
border-radius: 8px; |
| 60 |
padding: 10px 16px; |
| 61 |
cursor: pointer; |
| 62 |
transition: background .15s ease; |
| 63 |
} |
| 64 |
|
| 65 |
.aibui-contact-form--frontend .aibui-button--primary { |
| 66 |
display: block; |
| 67 |
margin: 20px auto 0 auto; |
| 68 |
min-width: 120px; |
| 69 |
} |
| 70 |
|
| 71 |
.aibui-contact-form--frontend .aibui-button--primary:hover { |
| 72 |
background: #4338ca; |
| 73 |
} |
| 74 |
|
| 75 |
.aibui-contact-form--frontend .aibui-form-message { |
| 76 |
margin-top: 10px; |
| 77 |
font-size: 14px; |
| 78 |
} |
| 79 |
|
| 80 |
.aibui-contact-form--frontend .aibui-form-message.is-success { color: #166534; } |
| 81 |
.aibui-contact-form--frontend .aibui-form-message.is-error { color: #991b1b; } |
| 82 |
|
| 83 |
|
| 84 |
|