diff --git a/index.html b/index.html index d01aba38..b4126b09 100644 --- a/index.html +++ b/index.html @@ -20,8 +20,8 @@ - + + +.form-field { + margin-bottom: 20px; + text-align: left; +} + +.form-field label { + font-size: 14px; + color: #444; + font-weight: bold; + margin-bottom: 8px; + display: block; +} + +.form-field input, .form-field textarea { + width: 100%; + padding: 10px; + font-size: 14px; + border: 1px solid #ddd; + border-radius: 5px; + outline: none; + transition: all 0.3s ease; +} + +.form-field input:focus, .form-field textarea:focus { + border-color: #7b56d1; /* Focus color matches gradient */ + box-shadow: 0 0 5px rgba(123, 86, 209, 0.5); +} +.form-field textarea { + resize: vertical; +} + +.star-rating { + display: flex; + justify-content: center; + gap: 5px; +} + +.star-rating input[type="radio"] { + display: none; +} + +.star-rating label { + font-size: 24px; + color: #ccc; + cursor: pointer; + transition: color 0.3s ease; +} + +.star-rating input[type="radio"]:checked ~ label { + color: #ffcc00; +} + +.star-rating label:hover { + color: #ffcc00; +} + +.submit-btn { + margin-left: 220px; + width: 300px; + padding: 12px 25px; + background: #7b56d1; /* Button matches gradient colors */ + color: white; + border: none; + border-radius: 5px; + font-size: 16px; + font-weight: bold; + cursor: pointer; + transition: background-color 0.3s ease; +} + +.submit-btn:hover { + background-color: #4f87ff; /* Hover effect on button */ +} + +.thank-you-message p { + font-size: 14px; + color: #333; + margin-top: 20px; + display: none; +} + +.feedback-form.submitted .thank-you-message { + display: block; +} + + +