| 1 |
/* Label style */ |
| 2 |
.wpcf7 label { |
| 3 |
display: block; |
| 4 |
font-size: 15px; |
| 5 |
font-weight: 500; |
| 6 |
margin-bottom: 6px; |
| 7 |
color: #333; |
| 8 |
} |
| 9 |
|
| 10 |
/* Input and textarea */ |
| 11 |
.wpcf7-form-control { |
| 12 |
width: 100%; |
| 13 |
padding: 12px 14px; |
| 14 |
border: 1px solid #ddd; |
| 15 |
border-radius: 6px; |
| 16 |
font-size: 14px; |
| 17 |
line-height: 1.4; |
| 18 |
transition: all 0.3s ease; |
| 19 |
box-sizing: border-box; |
| 20 |
} |
| 21 |
|
| 22 |
/* Focus effect */ |
| 23 |
.wpcf7-form-control:focus { |
| 24 |
border-color: #0073e6; |
| 25 |
outline: none; |
| 26 |
box-shadow: 0 0 0 2px rgba(0,115,230,0.15); |
| 27 |
} |
| 28 |
|
| 29 |
/* Textarea */ |
| 30 |
.wpcf7 textarea { |
| 31 |
min-height: 120px; |
| 32 |
resize: vertical; |
| 33 |
} |
| 34 |
|
| 35 |
/* Submit button */ |
| 36 |
.wpcf7 input[type="submit"]="submit""] { |
| 37 |
background: #0073e6; |
| 38 |
color: #fff; |
| 39 |
border: none; |
| 40 |
padding: 12px 30px; |
| 41 |
border-radius: 6px; |
| 42 |
cursor: pointer; |
| 43 |
font-size: 15px; |
| 44 |
font-weight: 600; |
| 45 |
transition: background 0.3s ease; |
| 46 |
} |
| 47 |
|
| 48 |
.wpcf7 input[type="submit"]="submit""]:hover { |
| 49 |
background: #005bb5; |
| 50 |
} |
| 51 |
|
| 52 |
/* Error & success message */ |
| 53 |
.wpcf7-not-valid-tip { |
| 54 |
color: #e63946; |
| 55 |
font-size: 13px; |
| 56 |
margin-top: 4px; |
| 57 |
} |
| 58 |
|
| 59 |
.wpcf7-response-output { |
| 60 |
margin-top: 15px; |
| 61 |
padding: 12px; |
| 62 |
border-radius: 6px; |
| 63 |
font-size: 14px; |
| 64 |
} |
| 65 |
|
| 66 |
.wpcf7-mail-sent-ok { |
| 67 |
background: #d1fae5; |
| 68 |
border: 1px solid #10b981; |
| 69 |
color: #065f46; |
| 70 |
} |
| 71 |
|
| 72 |
.wpcf7-validation-errors { |
| 73 |
background: #fef2f2; |
| 74 |
border: 1px solid #f87171; |
| 75 |
color: #7f1d1d; |
| 76 |
} |
| 77 |
|