/* Measured original ConfiDental theme. Tokens are scoped to this form. */
.halcy-contact {
  --color-primary: #5ebb46;
  --color-text: #383839;
  --color-background: #fff;
  --color-placeholder: #757575;
  --color-required: #790100;
  color: var(--color-text);
  font:
    400 17px proxima-nova,
    sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 700px;
}
.halcy-contact *,
.halcy-contact *::before,
.halcy-contact *::after {
  box-sizing: border-box;
}
.halcy-contact fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0;
}
.halcy-contact legend {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  padding: 0 2px;
  margin-bottom: 10px;
}
.halcy-contact-required {
  color: var(--color-required);
}
.halcy-contact-choices {
  display: flex;
  gap: 20px;
}
.halcy-contact-choices label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  line-height: 17px;
  font-weight: 400;
  margin: 0;
}
/* Preserve the theme's glyphs while retaining native, keyboard-focusable inputs. */
.halcy-contact input[type='radio'],
.halcy-contact input[type='checkbox'] {
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 0;
  opacity: 0;
}
.halcy-contact-choice-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--color-text);
  font: 400 15px/15px 'Font Awesome 5 Free';
}
.halcy-contact input[type='radio'] + .halcy-contact-choice-icon::before {
  content: '\f111';
}
.halcy-contact input[type='radio']:checked + .halcy-contact-choice-icon::before {
  content: '\f058';
}
.halcy-contact input[type='checkbox'] + .halcy-contact-choice-icon::before {
  content: '\f0c8';
}
.halcy-contact input[type='checkbox']:checked + .halcy-contact-choice-icon::before {
  content: '\f14a';
}
.halcy-contact input:focus-visible + .halcy-contact-choice-icon {
  outline: 2px solid var(--color-text) !important;
  outline-offset: 3px;
}
.halcy-contact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
.halcy-contact-reason {
  grid-column: 1 / -1;
}
.halcy-contact .halcy-contact-field input,
.halcy-contact select {
  display: block;
  width: 100%;
  height: 40.4px;
  border: 1px solid var(--color-primary);
  border-radius: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  font: inherit;
  line-height: 20.4px;
  padding: 9px 10px;
  margin: 0;
  box-shadow: none;
}
.halcy-contact input::placeholder {
  color: var(--color-placeholder);
  opacity: 1;
}
.halcy-contact select {
  appearance: none;
  /* Existing migrated theme asset; this form preserves that theme's control. */
  background-image: url('/wp-content/themes/itracparentv7/app/assets/images/arrow.png');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
  background-size: 16px auto;
  padding-right: 33px;
}
.halcy-contact select:invalid {
  color: var(--color-placeholder);
}
.halcy-contact .halcy-contact-consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 16px;
  font:
    400 13px/15.6px proxima-nova,
    sans-serif;
}
.halcy-contact-consent .halcy-contact-choice-icon {
  margin-top: 2px;
}
.halcy-contact-verification {
  min-height: 78px;
  margin-bottom: 16px;
}
.halcy-contact-captcha-unavailable {
  display: flex;
  align-items: center;
  width: 304px;
  max-width: 100%;
  height: 78px;
  border: 1px solid var(--color-placeholder);
  padding: 12px;
  font-size: 14px;
}
.halcy-contact button[data-send] {
  position: relative;
  display: inline-grid;
  font:
    700 17px/26px proxima-nova,
    sans-serif;
  text-transform: uppercase;
  color: var(--color-background);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  padding: 8px 20px;
  margin: 0;
  cursor: pointer;
}
.halcy-contact button[data-send] > :is([data-send-label], .halcy-contact-send-size) {
  grid-area: 1 / 1;
}
.halcy-contact-send-size {
  visibility: hidden;
}
.halcy-contact-send-spinner {
  position: absolute;
  left: 5px;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-background);
  border-right-color: var(--color-primary);
  border-radius: 50%;
  animation: halcy-contact-spin 800ms linear infinite;
}
@keyframes halcy-contact-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .halcy-contact-send-spinner {
    animation: none;
  }
}
.halcy-contact :is(input, select) {
  scroll-margin-top: var(--halcy-contact-header-offset, 160px);
}
.halcy-contact-verification-error {
  color: var(--color-text);
  font-size: 15px;
  margin-bottom: 16px;
}
.halcy-contact-verification-error p {
  margin: 0 0 8px;
}
.halcy-contact button[data-verification-retry] {
  color: var(--color-text);
  background: var(--color-background);
  border: 1px solid var(--color-text);
  border-radius: 5px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.halcy-contact button:disabled {
  cursor: default;
}
.halcy-contact :is(input, select, button):focus-visible {
  outline: 2px solid var(--color-text) !important;
  outline-offset: 3px;
}
.halcy-contact .halcy-contact-error {
  color: var(--color-text);
  font-size: 15px;
  margin: 0 0 16px;
}
.halcy-contact [hidden] {
  display: none !important;
}
.halcy-contact .halcy-contact-hidden,
.halcy-contact-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .halcy-contact-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
