/* Dragly — minimal front-end form styles. Lives at low specificity so
 * theme CSS overrides easily. */

form[data-dragly-form] { position: relative; }
form[data-dragly-form][aria-busy="true"] { opacity: 0.6; pointer-events: none; }

.dragly-form-message {
  display: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 10px;
}
.dragly-form-message--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.dragly-form-message--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Hide the honeypot in every state, even if user CSS resets things. */
form[data-dragly-form] input[name="dragly_hp_company"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
