/* Container form */
.custom-form-container {
  max-width: 600px;
  margin: 30px auto;
}

/* Gruppi form */
.custom-form-container .form-group {
  margin-bottom: 20px;
}

/* Label */
.custom-form-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

/* Input */
.custom-form-container .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.custom-form-container .form-control:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Privacy box */
.custom-form-container .privacy-box {
  margin-top: 30px;
  padding: 20px;
  background-color: #f5f5f5;
  border-left: 4px solid #0073aa;
  border-radius: 4px;
}

/* Checkbox */
.custom-form-container .form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.custom-form-container .form-check-input {
  margin-top: 4px;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.custom-form-container .form-check-label {
  display: inline;
  margin: 0;
  font-weight: normal;
  font-size: 13px;
  cursor: pointer;
}

/* Privacy toggle link */
.custom-form-container .privacy-toggle {
  cursor: pointer;
  color: #0073aa;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 5px;
}

/* Privacy checklist nascosta */
.custom-form-container .privacy-checklist {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  display: none;
}

.custom-form-container .privacy-checklist.show {
  display: block;
}

/* Bottone */
.custom-form-container .btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.custom-form-container .btn-submit:hover {
  background-color: #005a87;
}