/* Styles for the static forms (forms/*.html, behaviour in alice-forms.js). Self-contained: no WPForms
 * or page-builder classes. The look matches the old WPForms + theme "rounded with underline" style. */
.alice-form-container {
  margin: 0 0 24px;
}
.alice-form {
  margin: 0;
}
.alice-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.alice-form-field {
  margin: 0 0 20px;
}
.alice-form-label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 16px;
  line-height: 19px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
}
.alice-form-required {
  font-weight: 400;
  color: #d63637;
}
.alice-form-sublabel {
  display: block;
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.55);
}
.alice-form-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.alice-form-row {
  display: flex;
  gap: 20px;
}
.alice-form-row > div {
  flex: 1;
  min-width: 0;
}
@media (max-width: 600px) {
  .alice-form-row {
    flex-direction: column;
    gap: 15px;
  }
}

.alice-form input[type="text"],
.alice-form input[type="email"],
.alice-form input[type="tel"],
.alice-form input[type="number"],
.alice-form select,
.alice-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 15px 12px;
  border: 0;
  border-radius: 2px;
  box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.15);
  background-color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 19px;
  color: rgb(77, 77, 77);
}
.alice-form input:focus,
.alice-form select:focus,
.alice-form textarea:focus {
  outline: 2px solid #3cb578;
  outline-offset: 1px;
}
.alice-form ::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.alice-form select {
  appearance: none;
  padding-right: 36px;
  background: #fff url(/wp-content/plugins/tatsu/img/select_arrow.svg) no-repeat right 12px center;
  cursor: pointer;
}
.alice-form textarea {
  min-height: 120px;
  line-height: 1.3;
  resize: vertical;
}

.alice-form-choices {
  margin: 0;
  padding: 0;
  list-style: none;
}
.alice-form-choices li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  font-size: 16px;
  line-height: 19px;
  color: rgba(0, 0, 0, 0.85);
}
.alice-form-choices input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #3cb578;
}

.alice-form-captcha {
  margin: 0 0 16px;
}
.alice-form-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #d63637;
  border-radius: 4px;
  background: #fcf0f1;
  color: #8a2424;
}
.alice-form-submit {
  display: inline-block;
  margin: 0;
  padding: 15px 25px;
  border: 0;
  border-radius: 2px;
  background: #3cb578;
  color: #fff;
  font: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.alice-form-submit:hover,
.alice-form-submit:focus-visible {
  background: #265e4f;
}
.alice-form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.alice-form-confirmation {
  padding: 15px 20px;
  border: 1px solid #b4d39b;
  border-radius: 3px;
  background: #e0ffc7;
  color: #333;
  font-size: 16px;
}
.alice-form-confirmation p {
  margin: 0;
}

/* honeypot: hidden from people, visible to naive bots */
.alice-form-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* [hidden] must win over the display rules above (conditional fields, status, confirmation) */
.alice-form [hidden],
.alice-form[hidden],
.alice-form-confirmation[hidden] {
  display: none !important;
}
