.wcwb-footer-link {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 99999;
  width: auto;
  max-width: min(420px, calc(100vw - 32px));
  color-scheme: light;
  font-family: inherit;
}

.wcwb-footer-link.wcwb-footer-position-left {
  left: max(16px, env(safe-area-inset-left));
}

.wcwb-footer-link.wcwb-footer-position-center {
  left: 50%;
  transform: translateX(-50%);
}

.wcwb-footer-link.wcwb-footer-position-right {
  right: max(16px, env(safe-area-inset-right));
}

.wcwb-footer-link .wcwb-footer-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  min-height: 48px;
  padding: 12px 18px !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  white-space: nowrap;
  line-height: 1.2 !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.14) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease !important;
  will-change: transform;
}

.wcwb-footer-link .wcwb-footer-button:hover,
.wcwb-footer-link .wcwb-footer-button:focus {
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.16) !important;
}

.wcwb-footer-link .wcwb-footer-button:focus-visible {
  outline: 3px solid rgba(34, 113, 177, 0.35);
  outline-offset: 3px;
}

.wcwb-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wcwb-spacer-top-16 {
  margin-top: 16px;
}

.wcwb-flow-shell {
  --wcwb-flow-text: #1f2933;
  --wcwb-flow-muted: #5f6b76;
  --wcwb-flow-border: #d7dee8;
  --wcwb-flow-border-strong: #b9c6d6;
  --wcwb-flow-surface: #ffffff;
  --wcwb-flow-surface-soft: #f6f8fb;
  --wcwb-flow-primary: #183a6b;
  --wcwb-flow-primary-strong: #102b52;
  --wcwb-flow-accent: #7a42b3;
  --wcwb-flow-success: #1f7a3f;
  --wcwb-flow-warning: #8a1f11;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 28px;
  color: var(--wcwb-flow-text);
  font-family: inherit;
  line-height: 1.55;
  box-sizing: border-box;
}

.wcwb-flow-shell *,
.wcwb-flow-shell *::before,
.wcwb-flow-shell *::after {
  box-sizing: border-box;
}

.wcwb-flow-header {
  margin: 0 0 20px;
}

.wcwb-flow-kicker {
  margin: 0 0 6px;
  color: var(--wcwb-flow-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.wcwb-flow-header h2 {
  margin: 0;
  color: var(--wcwb-flow-primary);
  font-size: 34px;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: 0;
}

.wcwb-flow-lead {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--wcwb-flow-muted);
  font-size: 16px;
}

.wcwb-flow-message {
  width: 100%;
  max-width: 880px;
  margin: 0 auto 16px;
  padding: 14px 16px;
  color: var(--wcwb-flow-text);
  background: var(--wcwb-flow-surface-soft);
  border: 1px solid var(--wcwb-flow-border);
  border-radius: 12px;
}

.wcwb-flow-message p {
  margin: 0;
}

.wcwb-flow-message-warning {
  color: var(--wcwb-flow-warning);
  background: #fff8f5;
  border-color: #f1c8bd;
}

.wcwb-trust-panel + .wcwb-flow-message {
  margin-top: 16px;
}

.wcwb-trust-panel {
  margin: 0 0 18px;
  box-shadow: 0 14px 34px rgba(24, 58, 107, 0.08);
}

.wcwb-section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}

.wcwb-section-heading {
  margin: 0;
  color: var(--wcwb-flow-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.wcwb-deadline-pill,
.wcwb-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #154323;
  background: #eaf7ee;
  border: 1px solid #c7e8d0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.wcwb-trust-list,
.wcwb-success-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.wcwb-trust-item,
.wcwb-success-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(215, 222, 232, 0.85);
  border-radius: 10px;
  background: rgba(246, 248, 251, 0.78);
}

.wcwb-trust-item-order,
.wcwb-success-item-reference {
  background: #f0f5fb;
  border-color: #c9d8ea;
}

.wcwb-trust-item dt,
.wcwb-success-item dt {
  margin: 0 0 4px;
  color: var(--wcwb-flow-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.wcwb-trust-item dd,
.wcwb-success-item dd {
  margin: 0;
  color: var(--wcwb-flow-text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.wcwb-success-item-wide {
  grid-column: 1 / -1;
}

.wcwb-withdrawal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.wcwb-order-summary-section + .wcwb-withdrawal-form {
  margin-top: 16px;
}

.wcwb-form-section {
  min-inline-size: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--wcwb-flow-border);
  border-radius: 14px;
  background: var(--wcwb-flow-surface);
  box-shadow: 0 10px 24px rgba(24, 58, 107, 0.06);
}

.wcwb-form-section legend {
  padding: 0 4px;
  color: var(--wcwb-flow-primary);
  font-size: 16px;
  font-weight: 700;
}

.wcwb-scope-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wcwb-scope-options legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.wcwb-scope-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--wcwb-flow-border);
  border-radius: 12px;
  background: var(--wcwb-flow-surface-soft);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.wcwb-scope-option:hover,
.wcwb-scope-option:focus-within {
  border-color: var(--wcwb-flow-border-strong);
  background: #fff;
  box-shadow: 0 10px 22px rgba(24, 58, 107, 0.08);
}

.wcwb-scope-option:has(input:checked) {
  border-color: var(--wcwb-flow-primary);
  background: #f0f5fb;
}

.wcwb-scope-option input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.wcwb-scope-option strong,
.wcwb-scope-option small {
  display: block;
}

.wcwb-scope-option strong {
  color: var(--wcwb-flow-text);
  font-size: 15px;
  line-height: 1.3;
}

.wcwb-scope-option small {
  margin-top: 4px;
  color: var(--wcwb-flow-muted);
  font-size: 13px;
  line-height: 1.45;
}

.wcwb-scope-static p {
  margin: 0;
}

.wcwb-success-state {
  --wcwb-warning-color: #8a1f11;
  --wcwb-muted-color: #4f555a;
  box-shadow: 0 18px 46px rgba(31, 122, 63, 0.12);
}

.wcwb-success-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 18px;
}

.wcwb-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--wcwb-flow-success);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(31, 122, 63, 0.24);
}

.wcwb-success-header-copy {
  min-width: 0;
}

.wcwb-success-heading {
  margin: 0 0 8px;
  color: var(--wcwb-flow-primary);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}

.wcwb-success-warning {
  margin: 0 0 8px 0;
  color: var(--wcwb-warning-color);
}

.wcwb-success-note {
  margin: 0 0 6px;
}

.wcwb-success-muted-note {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--wcwb-muted-color);
}

.wcwb-success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.wcwb-success-download-button,
.wcwb-submit-button,
.wcwb-guest-submit-button {
  min-height: 48px;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(24, 58, 107, 0.14) !important;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.wcwb-success-download-button:hover,
.wcwb-submit-button:hover,
.wcwb-guest-submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(24, 58, 107, 0.18) !important;
}

.wcwb-message-section label,
.wcwb-guest-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--wcwb-flow-text);
  font-weight: 700;
}

.wcwb-message-textarea {
  width: 100%;
  min-height: 124px;
  padding: 12px;
  border: 1px solid var(--wcwb-flow-border-strong);
  border-radius: 12px;
  font: inherit;
  resize: vertical;
}

.wcwb-honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wcwb-submit-row {
  margin: 2px 0 0;
}

.wcwb-submit-hint {
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--wcwb-flow-muted);
}

.wcwb-success-additional {
  margin: 12px 0 0 0;
  color: var(--wcwb-success-additional-color, #4f555a);
}

.wcwb-success-additional-paragraph {
  margin: 0 0 8px 0;
}

.wcwb-success-additional-list {
  margin: 0 0 8px 18px;
}

.wcwb-guest-lookup {
  min-inline-size: 0;
  margin-top: 16px;
  padding: 22px;
  background: var(--wcwb-flow-surface);
  border: 1px solid var(--wcwb-flow-border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(24, 58, 107, 0.08);
}

.wcwb-guest-lookup-header {
  margin: 0 0 16px;
}

.wcwb-guest-lookup-heading {
  padding: 0 4px;
  margin: 0;
  color: var(--wcwb-flow-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.wcwb-guest-lookup-intro {
  margin: 0;
  color: var(--wcwb-flow-muted);
}

.wcwb-guest-lookup-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  color: #8a1f11;
  background: #fff8f5;
  border: 1px solid #f1c8bd;
  border-radius: 10px;
}

.wcwb-guest-lookup-error p {
  margin: 0;
}

.wcwb-guest-lookup-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: end;
}

.wcwb-guest-field {
  min-width: 0;
}

.wcwb-guest-order-input {
  width: 100%;
}

.wcwb-guest-email-input {
  width: 100%;
}

.wcwb-guest-order-input,
.wcwb-guest-email-input {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--wcwb-flow-border-strong);
  border-radius: 10px;
  font: inherit;
}

.wcwb-guest-submit-row {
  grid-column: 1 / -1;
  margin: 0;
}

.wcwb-guest-lookup-toggle-container {
  display: none;
}

.wcwb-guest-lookup-toggle-container.is-visible {
  display: block;
}

.wcwb-guest-lookup-toggle-wrap {
  margin: 14px 0 0;
}

.wcwb-guest-lookup-toggle {
  color: var(--wcwb-flow-primary);
  font-weight: 700;
}

.wcwb-flow-shell a:focus-visible,
.wcwb-flow-shell button:focus-visible,
.wcwb-flow-shell input:focus-visible,
.wcwb-flow-shell textarea:focus-visible,
.wcwb-flow-shell select:focus-visible,
.wcwb-withdrawal-button:focus-visible {
  outline: 3px solid rgba(34, 113, 177, 0.35);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .wcwb-flow-shell {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .wcwb-flow-header h2 {
    font-size: 28px;
  }

  .wcwb-trust-panel,
  .wcwb-form-section,
  .wcwb-guest-lookup,
  .wcwb-success-state {
    border-radius: 12px;
  }

  .wcwb-section-heading-row {
    display: block;
  }

  .wcwb-deadline-pill {
    margin-top: 10px;
    white-space: normal;
  }

  .wcwb-trust-list,
  .wcwb-success-list,
  .wcwb-scope-options,
  .wcwb-guest-lookup-form {
    grid-template-columns: 1fr;
  }

  .wcwb-scope-option {
    min-height: 0;
  }

  .wcwb-success-header {
    gap: 12px;
  }

  .wcwb-success-heading {
    font-size: 21px;
  }

  .wcwb-success-actions,
  .wcwb-submit-row,
  .wcwb-guest-submit-row {
    display: block;
  }

  .wcwb-submit-button,
  .wcwb-guest-submit-button,
  .wcwb-success-download-button {
    width: 100%;
  }

  .wcwb-footer-link {
    left: max(12px, env(safe-area-inset-left)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    transform: none !important;
  }

  .wcwb-footer-link .wcwb-footer-button {
    width: 100% !important;
    min-height: 50px;
    white-space: normal;
  }

}

@media (prefers-reduced-motion: reduce) {
  .wcwb-footer-link .wcwb-footer-button,
  .wcwb-scope-option,
  .wcwb-success-download-button,
  .wcwb-submit-button,
  .wcwb-guest-submit-button {
    transition: none !important;
  }
}
