/* J. Tullos Services — form styles for Adapt form-relay forms.
   Uses higher-specificity selectors so inline GeneratePress/Elementor
   button styles don't override the orange submit. */
form.ads-form { display: block; max-width: 100%; margin: 0; }
form.ads-form .ads-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
form.ads-form .ads-form-row > .ads-form-group {
  flex: 1 1 140px;
  min-width: 0;
  margin-bottom: 0;
}
form.ads-form .ads-form-group { margin-bottom: 16px; }
form.ads-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
  color: #222;
  line-height: 1.3;
}
form.ads-form .required { color: #e63946; margin-left: 2px; }
form.ads-form input[type="text"],
form.ads-form input[type="tel"],
form.ads-form input[type="email"],
form.ads-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #d0d4d9;
  border-radius: 4px;
  background: #fff;
  color: #111;
  box-sizing: border-box;
  line-height: 1.4;
}
form.ads-form input:focus,
form.ads-form textarea:focus {
  outline: none;
  border-color: #1e73be;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.18);
}
form.ads-form textarea { resize: vertical; min-height: 120px; }
form.ads-form .ads-form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* High-specificity selector + !important to defeat inline `button{background:#55555e}` */
form.ads-form button.ads-form-submit,
form.ads-form button[type="submit"].ads-form-submit {
  display: block;
  width: 100%;
  background: #F35D22 !important;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 600;
  padding: 15px 25px;
  border: none !important;
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms ease;
  text-align: center;
  line-height: 1.2;
}
form.ads-form button.ads-form-submit:hover:not(:disabled),
form.ads-form button.ads-form-submit:focus:not(:disabled) {
  background: #F35516 !important;
  color: #ffffff !important;
}
form.ads-form button.ads-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
form.ads-form .ads-form-status { font-size: 15px; min-height: 1.4em; }
form.ads-form .ads-form-status.is-success { color: #1d7440; font-weight: 600; }
form.ads-form .ads-form-status.is-error   { color: #c0392b; font-weight: 600; }
@media (max-width: 600px) {
  form.ads-form .ads-form-row { gap: 0; }
  form.ads-form .ads-form-row > .ads-form-group {
    flex: 1 1 100%;
    margin-bottom: 16px;
  }
}
