.gmvrs-gwm-withdrawal {
  --gmvrs-panel: oklch(1 0 0 / 0.075);
  --gmvrs-panel-strong: oklch(1 0 0 / 0.12);
  --gmvrs-line: oklch(1 0 0 / 0.16);
  --gmvrs-control-border: color-mix(
    in oklch,
    var(--color-foreground) 16%,
    transparent
  );
  --gmvrs-muted: color-mix(in oklch, var(--color-foreground) 72%, transparent);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  box-sizing: border-box;
  width: 100%;
  inline-size: 100%;
  max-width: 100%;
  max-inline-size: 56rem;
  margin-inline: auto;
  color: var(--color-foreground);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
}

.gmvrs-gwm-withdrawal *,
.gmvrs-gwm-withdrawal *::before,
.gmvrs-gwm-withdrawal *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.gmvrs-gwm-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.gmvrs-gwm-withdrawal .gmvrs-gwm-honeypot {
  position: absolute !important;
  inset-inline-start: -10000px !important;
  top: auto !important;
  width: 1px !important;
  inline-size: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.prose .gmvrs-gwm-withdrawal,
.prose .gmvrs-gwm-withdrawal :where(.gmvrs-gwm-field, .gmvrs-preorder-actions) {
  margin-block: 0;
}

.gmvrs-gwm-withdrawal .gmvrs-gwm-field > label,
.gmvrs-gwm-withdrawal .gmvrs-gwm-checkbox label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gmvrs-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.gmvrs-gwm-withdrawal
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
    [type="submit"]
  ):not([type="button"]):not([type="reset"]):not(.gmvrs-gwm-honeypot),
.gmvrs-gwm-withdrawal textarea,
.gmvrs-gwm-withdrawal select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  border: 1px solid var(--gmvrs-control-border);
  border-radius: 8px;
  background-color: var(--color-surface);
  color: var(--color-foreground);
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.gmvrs-gwm-withdrawal
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
    [type="submit"]
  ):not([type="button"]):not([type="reset"]):not(.gmvrs-gwm-honeypot),
.gmvrs-gwm-withdrawal select:not([multiple]):not([size]) {
  height: 3rem;
}

.gmvrs-gwm-withdrawal textarea {
  min-height: 6rem;
  resize: vertical;
}

.gmvrs-gwm-withdrawal select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 50%,
    calc(100% - 0.85rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.3rem 0.3rem;
  padding-inline-end: 2.75rem;
}

.gmvrs-gwm-withdrawal select option {
  background-color: var(--color-background);
  color: var(--color-foreground);
}

.gmvrs-gwm-withdrawal input[type="date"] {
  color-scheme: dark;
}

.gmvrs-gwm-withdrawal input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: invert(1);
}

.gmvrs-gwm-withdrawal
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(
    [type="submit"]
  ):not([type="button"]):not([type="reset"]):not(.gmvrs-gwm-honeypot):focus,
.gmvrs-gwm-withdrawal textarea:focus,
.gmvrs-gwm-withdrawal select:focus {
  border-color: var(--color-primary);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 4px oklch(0.56 0.23 261 / 0.18);
}

.gmvrs-gwm-checkbox .gmvrs-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  line-height: 1.5;
}

.gmvrs-gwm-checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
}

.gmvrs-gwm-field-error {
  margin: 0.45rem 0 0;
  color: var(--color-error);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gmvrs-gwm-notice {
  margin-bottom: 1rem;
  padding: 0.95rem;
  border: 1px solid var(--gmvrs-line);
  border-radius: 8px;
  background: var(--gmvrs-panel);
}

.gmvrs-gwm-notice p {
  margin: 0;
}

.gmvrs-gwm-notice-success {
  color: var(--color-success);
}

.gmvrs-gwm-notice-error {
  color: var(--color-error);
}

.gmvrs-gwm-withdrawal .gmvrs-preorder-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.gmvrs-gwm-withdrawal .gmvrs-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    opacity 160ms ease,
    background 160ms ease;
}

.gmvrs-gwm-withdrawal .gmvrs-button--primary {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: none;
}

.gmvrs-gwm-withdrawal .gmvrs-button--primary:hover:not(:disabled) {
  background-color: color-mix(
    in oklch,
    var(--color-primary) 90%,
    transparent
  );
  color: var(--color-primary-foreground);
}
