/* === FORM CONTAINER === */
#responsive-form {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* === COLUMN STRUCTURE === */
.form-row {
  width: 100%;
}
.column-half,
.column-full {
  float: left;
  width: 100%;
  padding: 0.5rem 0;
  box-sizing: border-box;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* === LABELS === */
.wpcf7 form label {
  display: block;
  margin-bottom: -30px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
}

/* === INPUTS, TEXTAREAS, SELECTS === */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: -30px;
  box-sizing: border-box;
}

.wpcf7 textarea {
  min-height: 25px;
  resize: vertical;
}

/* === CHECKBOXES === */
.wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border: 2px solid #000;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  top: -20px;
  background-color: #fff;
  cursor: pointer;
}

.wpcf7-checkbox input[type="checkbox"]:checked {
  background-color: #000;
}

.wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

/* === FILE UPLOAD === */
input[type="file"] {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  margin-top: 2px;
}

/* Optional: Custom-styled upload button (uncomment to use)
.custom-file-upload {
  display: inline-block;
  background-color: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  margin-top: -15px;
}
.custom-file-upload:hover {
  background-color: #f49f50;
}
*/

/* === SUBMIT BUTTON === */
.wpcf7 input[type="submit"],
.form-submit {
  background-color: #000;
  color: #fff;
  padding: 12px 24px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  margin-top: -5px;
}
.wpcf7 input[type="submit"]:hover {
  background-color: #444;
}

/* === VALIDATION / ERROR MESSAGES === */
span.wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 13px;
  display: block;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.wpcf7 form.spam .wpcf7-response-output {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

/* === RESPONSIVE — Optional Media Query === */
@media screen and (max-width: 480px) {
  .form-row,
  .column-half,
  .column-full {
    padding: 0.25rem 0;
  }

  .wpcf7 input,
  .wpcf7 textarea,
  .wpcf7 select {
    font-size: 14px;
    padding: 8px;
  }
}