/* 

UNCOMENT BELLOW PART AND CHANGE VALUES TO CUSTOMIZE THEME

.withdrawal-form {
  --withdrawal-background: #fff;
  --withdrawal-text: #292331;
  --withdrawal-muted: #51465b;
  --withdrawal-border: #d3c9df;
  --withdrawal-input-border: #776882;
  --withdrawal-accent: #59377d;
  --withdrawal-accent-hover: #39204f;
  --withdrawal-on-accent: #fff;
  --withdrawal-notice-background: #f5f1f8;
  --withdrawal-focus: #124c94;
  --withdrawal-error: #a11926;
}

*/

.withdrawal-form {
  --withdrawal-background: #fff;
  --withdrawal-text: #292331;
  --withdrawal-muted: #51465b;
  --withdrawal-border: #d3c9df;
  --withdrawal-input-border: #776882;
  --withdrawal-accent: #59377d;
  --withdrawal-accent-hover: #39204f;
  --withdrawal-on-accent: #fff;
  --withdrawal-notice-background: #f5f1f8;
  --withdrawal-focus: #124c94;
  --withdrawal-error: #a11926;
}

.withdrawal-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 46rem;
  margin: 2rem 0;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid var(--withdrawal-border, #d1d5db);
  border-radius: 0.5rem;
  background: var(--withdrawal-background, #fff);
  color: var(--withdrawal-text, #202124);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.withdrawal-form *,
.withdrawal-form *::before,
.withdrawal-form *::after {
  box-sizing: inherit;
}

.withdrawal-form h1 {
  margin: 0 0 1rem;
  color: inherit;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.25;
}

.withdrawal-form h2 {
  margin: 0 0 0.5rem;
  color: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.withdrawal-form p {
  margin: 0 0 1rem;
  font-weight: 400;
}

.withdrawal-form a,
.withdrawal-form a:visited {
  color: var(--withdrawal-accent, #343a40);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.1em;
}

.withdrawal-form a:hover {
  color: var(--withdrawal-accent-hover, #171a1d);
  text-decoration-thickness: 0.15em;
}

.withdrawal-form__fields {
  min-width: 0;
  margin: 1.5rem 0;
  padding: 0;
  border: 0;
}

.withdrawal-form__fields legend {
  max-width: 100%;
  margin-bottom: 1.25rem;
  padding: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.withdrawal-form__field + .withdrawal-form__field {
  margin-top: 1.5rem;
}

.withdrawal-form__field label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.withdrawal-form .withdrawal-form__hint {
  margin-bottom: 0.5rem;
  color: var(--withdrawal-muted, #4b5563);
  font-size: 1rem;
}

.withdrawal-form__field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  margin: 0;
  padding: 0.625rem 0.75rem;
  border: 2px solid var(--withdrawal-input-border, #6b7280);
  border-radius: 0.25rem;
  background: var(--withdrawal-background, #fff);
  color: var(--withdrawal-text, #202124);
  font: inherit;
  line-height: 1.5;
  box-shadow: none;
}

/* Native validation supplies localized errors without JavaScript. */
.withdrawal-form__field input:user-invalid {
  border: 3px solid var(--withdrawal-error, #a11926);
}

.withdrawal-form__privacy {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-left: 4px solid var(--withdrawal-accent, #343a40);
  background: var(--withdrawal-notice-background, #f3f4f6);
}

.withdrawal-form__privacy p:last-child {
  margin-bottom: 0;
}

.withdrawal-form__submit {
  display: inline-block;
  max-width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--withdrawal-accent, #343a40);
  border-radius: 0.25rem;
  background: var(--withdrawal-accent, #343a40);
  color: var(--withdrawal-on-accent, #fff);
  font: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

.withdrawal-form__submit:hover {
  border-color: var(--withdrawal-accent-hover, #171a1d);
  background: var(--withdrawal-accent-hover, #171a1d);
}

.withdrawal-form a:focus,
.withdrawal-form input:focus,
.withdrawal-form button:focus {
  outline: 3px solid var(--withdrawal-focus, #124c94);
  outline-offset: 3px;
}

@media (max-width: 30rem) {
  .withdrawal-form {
    margin: 1rem 0;
  }

  .withdrawal-form__submit {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .withdrawal-form__privacy {
    border: 1px solid CanvasText;
  }

  .withdrawal-form__submit {
    border-color: ButtonText;
  }
}

.withdrawal-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.withdrawal-form__status {
  margin-top: 1rem;
}

.withdrawal-form__status:empty {
  display: none;
}

.withdrawal-form__status[data-error="true"] {
  color: var(--withdrawal-error, #a11926);
  font-weight: 600;
}
