/*
Theme Name:   Hello Elementor Child
Template:     hello-elementor
Version:      1.0.0
*/

/* Il tuo CSS va qui sotto */
/* Wrapper */
.cf7-custom-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 44px 44px;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  font-family: 'quicksand', sans-serif;
}

/* Gruppi campo */
.cf7-field-group {
  margin-bottom: 28px;
}

.cf7-field-group label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2c2c2c;
  margin-bottom: 10px;
}

/* Input e textarea */
.cf7-custom-wrap .wpcf7-form-control.wpcf7-text,
.cf7-custom-wrap .wpcf7-form-control.wpcf7-email,
.cf7-custom-wrap .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f2efe9;
  border: none;
  border-radius: 6px;
  padding: 16px 14px;
  font-size: 15px;
  color: #2c2c2c;
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.2s;
  resize: vertical;
}

.cf7-custom-wrap .wpcf7-form-control.wpcf7-text:focus,
.cf7-custom-wrap .wpcf7-form-control.wpcf7-email:focus,
.cf7-custom-wrap .wpcf7-form-control.wpcf7-textarea:focus {
  box-shadow: 0 0 0 2px #8fa878;
}

.cf7-custom-wrap .wpcf7-form-control.wpcf7-textarea {
  min-height: 150px;
}

/* Checkbox */
.cf7-checkbox-group {
  margin-bottom: 14px;
}

.cf7-checkbox-group .wpcf7-list-item {
  margin: 0;
}

.cf7-checkbox-group .wpcf7-list-item-label {
  font-size: 13.5px;
  color: #3a3a3a;
  line-height: 1.5;
  cursor: pointer;
}

.cf7-checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #8fa878;
  margin-right: 8px;
  cursor: pointer;
  vertical-align: middle;
}

/* Bottone submit */
.cf7-custom-wrap .wpcf7-submit {
  display: block;
  width: 100%;
  margin-top: 36px;
  background: #8fa878;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}

.cf7-custom-wrap .wpcf7-submit:hover {
  background: #7d9568;
}

.cf7-custom-wrap .wpcf7-submit:active {
  transform: scale(0.98);
}

/* Messaggi di errore CF7 */
.cf7-custom-wrap .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
}