/**
 * Online withdrawal form (plugin; theme tokens when available).
 */

.thiek-withdrawal {
  max-width: 40rem;
  margin-block: 1.5rem;
}

.thiek-withdrawal-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted, #736F69);
}

.thiek-withdrawal-steps .is-current {
  color: var(--color-text, #111111);
  font-weight: 500;
}

.thiek-withdrawal-steps .is-done {
  color: var(--color-text, #111111);
}

.thiek-withdrawal-form .thiek-field {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
  min-width: 0;
}

.thiek-withdrawal-form .thiek-label {
  font-size: 0.8125rem;
  font-weight: 500;
}

/*
 * fieldset + display:grid décale le <legend> (UA).
 * Flex colonne = même alignement que les <label> des autres champs.
 */
.thiek-withdrawal-form fieldset.thiek-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.thiek-withdrawal-form fieldset.thiek-field > legend.thiek-label {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  margin-inline: 0;
  padding-inline: 0;
  text-indent: 0;
}

.thiek-withdrawal-form .thiek-input {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-control-border, #736F69);
  border-radius: var(--radius);
  background: var(--color-surface, #fff);
  color: var(--color-text, #111);
  font: inherit;
}

.thiek-withdrawal-form textarea.thiek-input {
  min-height: 5rem;
}

.thiek-withdrawal-form .thiek-input:focus-visible {
  outline: 2px solid var(--color-focus, #C63831);
  outline-offset: 2px;
}

.thiek-withdrawal-form .is-error .thiek-input {
  border-color: var(--color-accent-text, #C63831);
}

.thiek-withdrawal-form .thiek-error {
  color: var(--color-accent-text, #C63831);
  font-size: 0.875rem;
}

.thiek-withdrawal-form .thiek-hint {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted, #736F69);
}

.thiek-withdrawal-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.thiek-withdrawal-items label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 44px;
  cursor: pointer;
}

.thiek-withdrawal-items input {
  margin-top: 0.35rem;
  width: 1.125rem;
  height: 1.125rem;
}

.thiek-withdrawal-form__hp {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.thiek-withdrawal-order-action {
  margin-top: 1rem;
}
