/* Contact-only rules keep the shared theme and its other forms unchanged. */
.tailtheme-contact-message-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: -.75rem;
  color: #94a3b8;
  font-size: .8125rem;
}
.tailtheme-contact-feedback { color: #fda4af; font-size: .8125rem; }
.tailtheme-contact-feedback:empty { display: none; }
.tailtheme-contact-captcha { border-top: 1px solid rgba(148,163,184,.15); padding-top: 1.25rem; }
.tailtheme-contact-captcha-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .75rem; }
.tailtheme-contact-captcha-fields > label { flex: 1 1 12rem; min-width: 0; }
.tailtheme-contact-captcha-image { display: flex; align-items: center; gap: .5rem; }
.tailtheme-contact-captcha-image img { display: block; width: 120px; height: 30px; border-radius: .375rem; }
.tailtheme-contact-captcha-refresh {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: .75rem;
  color: #94a3b8;
  background: transparent;
}
.tailtheme-contact-captcha-refresh:hover { background: rgba(148,163,184,.08); color: #e2e8f0; }
.tailtheme-contact-captcha-refresh:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 3px; }
.tailtheme-public-contact-submit:disabled,
.tailtheme-public-contact-submit:disabled:hover {
  cursor: not-allowed;
  opacity: .45;
  border-color: rgba(148,163,184,.25);
  color: #94a3b8;
  background: transparent;
  box-shadow: none;
}

.tailtheme-contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tailtheme-contact-verification { box-sizing: border-box; width: min(25rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; border: 1px solid rgba(110,231,183,.2); border-radius: 1.25rem; padding: 1.25rem; background: #07100d; color: #e2e8f0; box-shadow: 0 24px 80px rgb(0 0 0 / 40%); }
.tailtheme-contact-verification::backdrop { background: rgb(0 0 0 / 70%); backdrop-filter: blur(4px); }
.tailtheme-contact-verification-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tailtheme-contact-verification h2 { margin: 0; font-size: 1.25rem; line-height: 1.4; font-weight: 700; }
.tailtheme-contact-verification p { margin: .75rem 0; font-size: .875rem; line-height: 1.5; color: #94a3b8; overflow-wrap: anywhere; }
.tailtheme-contact-verification strong { display: block; color: #e2e8f0; font-weight: 500; }
.tailtheme-contact-verification input[type="text"] { box-sizing: border-box; width: 100%; height: 3.25rem; padding: .75rem; margin-top: .25rem; color: #e2e8f0; background: rgba(255,255,255,.035); border: 1px solid rgba(148,163,184,.25); border-radius: .75rem; text-align: center; font-size: 1.25rem; letter-spacing: .4em; }
.tailtheme-contact-verification input::placeholder { color: #64748b; }
.tailtheme-contact-verification .tailtheme-contact-verification-help { margin: .5rem 0 1rem; text-align: center; font-size: .75rem; }
.tailtheme-contact-verification-close { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; margin: -.5rem -.5rem -.5rem 0; border-radius: .75rem; background: transparent; color: #94a3b8; font-size: 1.5rem; line-height: 1; }
.tailtheme-contact-verification-close:hover { color: #e2e8f0; background: rgba(255,255,255,.05); }
.tailtheme-contact-verification-submit { width: 100%; padding: .75rem 1rem; border-radius: .75rem; background: #6ee7b7; color: #07100d; font-size: .875rem; font-weight: 700; }
.tailtheme-contact-verification-submit:hover { background: #a7f3d0; }
.tailtheme-contact-verification :is(button,input,a):focus-visible { outline: 2px solid #6ee7b7; outline-offset: 3px; }
.tailtheme-contact-verification .tailtheme-contact-verification-status { color: #fda4af; }
.tailtheme-contact-verification .tailtheme-contact-verification-footer { margin: 1rem 0 0; text-align: center; font-size: .75rem; }
.tailtheme-contact-verification a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }
