/* ============================================
   DinaEpoxy — CF7 Custom Styles
   Override Contact Form 7 defaults
   ============================================ */

/* Reset CF7 defaults */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(232, 122, 30, 0.1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--text-light);
}

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

.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7B8D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Submit button */
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: var(--terracotta);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--terracotta-dark);
  box-shadow: var(--shadow-glow-terracotta);
  transform: translateY(-2px);
}

/* Validation messages */
.wpcf7-not-valid-tip {
  font-size: 13px;
  color: #e74c3c;
  margin-top: 4px;
}

.wpcf7-response-output {
  padding: 16px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px;
  margin: 16px 0 0 !important;
}

.wpcf7-mail-sent-ok {
  border-color: #27ae60 !important;
  background: rgba(39, 174, 96, 0.05);
  color: #27ae60;
}

.wpcf7-validation-errors {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05);
  color: #e74c3c;
}

/* Spinner */
.wpcf7-spinner {
  margin: 16px auto 0;
}
