/* The online withdrawal form (withdrawal-form.html, de/withdrawal-form.html, withdrawal-form.js), on top of legal.css.
   Its own file, so a browser that still holds an older legal.css shows the form as designed. */
.withdrawal-form { margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; }
.field label { color: var(--fl-ink-light); font: 600 15px/1.4 var(--text); }
.optional { color: var(--fl-secondary-light); font-weight: 400; }
.field input:not([type=checkbox]), .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid color-mix(in srgb, var(--fl-ink-light) 24%, transparent); border-radius: 12px; background: color-mix(in srgb, #fff 55%, var(--fl-ground-light)); color: var(--fl-ink-light); font: 400 17px/1.4 var(--text); }
.field textarea { resize: vertical; }
.field :is(input, textarea):focus-visible { outline-offset: 1px; }
.field [aria-invalid=true] { border-color: var(--fl-brick-light); box-shadow: 0 0 0 1px var(--fl-brick-light); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: 16px; }
/* iOS Safari gives date fields a native minimum width and centres the date; without this both boxes
   push past the right edge of the row */
.field-row > .field { min-width: 0; }
.field input[type=date] { display: block; min-width: 0; -webkit-appearance: none; appearance: none; text-align: left; }
.field input[type=date]::-webkit-date-and-time-value { text-align: left; }
.hint { margin: 0; color: var(--fl-secondary-light); font-size: 14px; }
.check { flex-direction: row; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--rule); border-radius: 16px; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--fl-brick-light); }
.check label { font-weight: 500; }
.form-error p { margin: 0 0 16px; color: var(--fl-brick-light); font-weight: 500; }
.submit { min-height: 52px; margin-bottom: 20px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--fl-ink-light); color: var(--fl-ground-light); font: 600 17px/1 var(--text); cursor: pointer; }
.submit:disabled { opacity: .6; cursor: progress; }
.withdrawal-done { margin-top: 32px; padding: 4px 24px 10px; border: 1px solid var(--rule); border-radius: 16px; }
.withdrawal-done h2 { margin-top: 24px; }
.withdrawal-done:focus { outline: none; }
