/* Withdrawal page (/withdraw/). Tokens come from landing-revision.css. */

.wd-german {
  margin: -6px 0 18px;
  font-family: "IBM Plex Mono BW", ui-monospace, monospace;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--green);
}

.wd-form,
.wd-done {
  margin: 0 0 28px;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.wd-form h2,
.wd-done h2 { margin-top: 0; }

.wd-field {
  display: block;
  margin: 0 0 16px;
}

.wd-field span {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 15px;
}

.wd-field input,
.wd-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #9fb19a;
  border-radius: 8px;
}

.wd-field textarea {
  min-height: 120px;
  resize: vertical;
}

.wd-field input:focus,
.wd-field textarea:focus {
  outline: 3px solid rgba(124, 179, 66, .45);
  outline-offset: 1px;
  border-color: var(--green);
}

.wd-field small {
  display: block;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.wd-button {
  display: inline-block;
  text-align: center;
  min-height: 48px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.wd-button:hover { background: var(--green-dark); }
.wd-button[disabled] { opacity: .6; cursor: wait; }
.wd-button--confirm { background: var(--green-dark); }

.wd-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 15px;
}

.wd-status[data-tone="error"] { color: #a4161a; }
.wd-help { margin: 0 0 14px; }
.wd-small { margin: 10px 0 0; font-size: 14px; }

.wd-receipt {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  margin: 0 0 14px;
  font-size: 15px;
}

.wd-receipt dt { color: var(--muted); }
.wd-receipt dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .wd-form, .wd-done { padding: 16px 14px; }
  .wd-button { width: 100%; }
  .wd-receipt { grid-template-columns: 1fr; }
}
