/* Submission form: one component, with tablet and mobile adjustments below. */
.form-page { padding: 40px 0 56px; background: linear-gradient(135deg,#f4f8fc,#fff); }
.form-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 40px; align-items: start; }
.form-layout > *, .form-field { min-width: 0; }
.form-intro { position: sticky; top: 110px; }
.form-intro h1 { margin: 0 0 16px; font-size: clamp(28px,3vw,40px); line-height: 1.15; color: #0d294d; }
.form-intro p { color: #455d75; line-height: 1.65; }
.form-intro ul { padding: 0; list-style: none; color: #3b526c; line-height: 1.9; }
.form-intro > a { display: inline-block; padding-block: 12px; color: var(--accent); font-weight: 700; }
.directory-form-card { width: 100%; max-width: 720px; margin-inline: auto; padding: 28px; border: 1px solid #dce5ee; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(10,35,67,.07); }
.form-step { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e1e8ef; }
.form-step span { font-size: 18px; font-weight: 800; }
.form-step small { font-size: 13px; color: #52667c; }
.form-section + .form-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid #e1e8ef; }
.form-section h2 { margin: 0 0 18px; color: #183552; font-size: 17px; line-height: 1.4; }
.form-grid, .gps-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-section > .form-grid + .form-field { margin-top: 18px; }
.form-field label { display: block; margin-bottom: 8px; color: #304b66; font-size: 14px; font-weight: 700; }
.directory-form-card input:not([type=hidden]):not([type=checkbox]), .directory-form-card textarea, .directory-form-card select { display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 12px; border: 1px solid #c8d6e3; border-radius: 10px; background: #f9fbfd; color: #183552; font: inherit; font-size: 16px; }
.directory-form-card textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.directory-form-card textarea[name=description] { min-height: 120px; }
.directory-form-card input:focus-visible, .directory-form-card textarea:focus-visible, .directory-form-card select:focus-visible, .form-submit:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.form-category-help, .form-privacy, .gps-fields > p { margin: 10px 0 0; color: #52667c; font-size: 13px; line-height: 1.6; }
.form-privacy { text-align: center; }
.location-toggle { display: flex; align-items: center; gap: 10px; max-width: 100%; min-height: 48px; margin-top: 12px; color: #304b66; font-size: 14px; cursor: pointer; }
.directory-form-card .location-toggle input { flex-shrink: 0; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; accent-color: var(--accent); }
.field-info { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #94aabe; border-radius: 50%; color: #3b5874; font-size: 13px; }
.field-info::after { content: attr(data-tooltip); position: absolute; z-index: 5; right: 0; bottom: calc(100% + 10px); width: min(260px,65vw); padding: 12px; border-radius: 10px; background: #09264d; color: #fff; font-size: 13px; line-height: 1.5; opacity: 0; pointer-events: none; }
.field-info:hover::after, .field-info:focus-visible::after { opacity: 1; }
.gps-fields { margin-top: 12px; padding: 16px; border: 1px solid #cfdee9; border-radius: 12px; background: #f5f9fc; }
.gps-fields[hidden] { display: none; }
.gps-fields > p { grid-column: 1 / -1; }
.form-submit { width: 100%; min-height: 50px; margin-top: 24px; padding: 14px; border: 0; border-radius: 11px; background: var(--accent); color: #fff; font-size: 16px; line-height: 1.4; font-weight: 800; cursor: pointer; }
.form-submit:disabled { opacity: .7; cursor: wait; }
.form-error { padding: 10px 12px; border-radius: 8px; background: #fff0f0; color: #a51f1f; font-size: 14px; line-height: 1.5; }
.turnstile-wrap { display: flex; justify-content: center; margin-top: 20px; }
@media (max-width: 950px) {
  .form-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .form-intro { position: static; width: 100%; max-width: 720px; margin-inline: auto; }
  .form-intro ul { display: none; }
}
@media (max-width: 640px) {
  .form-page { padding: 24px 0 36px; }
  .form-intro h1 { margin-bottom: 10px; }
  .form-intro p { margin-bottom: 0; font-size: 15px; }
  .form-intro > a { font-size: 14px; }
  .directory-form-card { padding: 18px 16px; border-radius: 16px; }
  .form-grid, .gps-fields { grid-template-columns: minmax(0,1fr); }
  .form-step { flex-direction: column; }
}
