/* SUNDEX processing CTA system — p75.
 * Replaces the oversized pale action buttons with one compact, legible
 * dark-outline component across deposit, withdrawal, swap and verification.
 */

:root {
  --process-cta-bg: rgba(3, 6, 10, 0.96);
  --process-cta-bg-hover: rgba(10, 15, 22, 0.98);
  --process-cta-border: rgba(244, 247, 252, 0.78);
  --process-cta-border-hover: rgba(255, 255, 255, 0.96);
  --process-cta-text: #f7f9fc;
  --process-cta-radius: 15px;
  --process-cta-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.sundex-transaction-system .stx-order-form > button:last-of-type,
body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]),
body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]),
body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]),
body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button,
body.sundex-transaction-system.stx-verification-flow .stx-vf-submit {
  position: relative !important;
  display: flex !important;
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  min-height: 56px !important;
  height: 56px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin: 18px auto 0 !important;
  padding: 0 22px !important;
  overflow: hidden !important;
  border: 1px solid var(--process-cta-border) !important;
  border-radius: var(--process-cta-radius) !important;
  color: var(--process-cta-text) !important;
  background: var(--process-cta-bg) !important;
  background-image: none !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035) !important;
  font: 600 16px/1 "Geist", "Manrope", system-ui, sans-serif !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: translateZ(0) !important;
  transition:
    background-color 190ms var(--process-cta-ease),
    border-color 190ms var(--process-cta-ease),
    color 190ms var(--process-cta-ease),
    opacity 190ms ease,
    transform 190ms var(--process-cta-ease) !important;
}

/* The original layer drew a second, oversized arrow on the right. */
body.sundex-transaction-system .stx-order-form > button:last-of-type::after,
body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby])::after,
body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby])::after,
body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby])::after,
body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button::after,
body.sundex-transaction-system.stx-verification-flow .stx-vf-submit::after {
  content: none !important;
  display: none !important;
}

body.sundex-transaction-system .stx-order-form > button:last-of-type :where(svg, [data-lucide]),
body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]) :where(svg, [data-lucide]),
body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]) :where(svg, [data-lucide]),
body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]) :where(svg, [data-lucide]),
body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button :where(svg, [data-lucide]),
body.sundex-transaction-system.stx-verification-flow .stx-vf-submit :where(svg, [data-lucide]) {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  stroke-width: 1.7 !important;
  opacity: 0.78 !important;
}

/* Verification uses a two-action row; keep its grid while sharing the CTA skin. */
body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child {
  min-height: 56px !important;
  height: 56px !important;
  padding: 0 20px !important;
  border: 1px solid var(--process-cta-border) !important;
  border-radius: var(--process-cta-radius) !important;
  color: var(--process-cta-text) !important;
  background: var(--process-cta-bg) !important;
  background-image: none !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child::after {
  content: none !important;
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.sundex-transaction-system .stx-order-form > button:last-of-type:not(:disabled):hover,
  body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]):not(:disabled):hover,
  body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]):not(:disabled):hover,
  body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]):not(:disabled):hover,
  body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button:not(:disabled):hover,
  body.sundex-transaction-system.stx-verification-flow .stx-vf-submit:not(:disabled):hover,
  body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child:not(:disabled):hover {
    border-color: var(--process-cta-border-hover) !important;
    color: #fff !important;
    background: var(--process-cta-bg-hover) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.07) !important;
    filter: none !important;
    transform: translateY(-1px) !important;
  }
}

body.sundex-transaction-system .stx-order-form > button:last-of-type:focus-visible,
body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]):focus-visible,
body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]):focus-visible,
body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]):focus-visible,
body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button:focus-visible,
body.sundex-transaction-system.stx-verification-flow .stx-vf-submit:focus-visible,
body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child:focus-visible {
  outline: 2px solid rgba(223, 235, 252, 0.94) !important;
  outline-offset: 3px !important;
}

body.sundex-transaction-system .stx-order-form > button:last-of-type:active,
body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]):active,
body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]):active,
body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]):active,
body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button:active,
body.sundex-transaction-system.stx-verification-flow .stx-vf-submit:active,
body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child:active {
  transform: translateY(0) scale(0.99) !important;
}

body.sundex-transaction-system .stx-order-form > button:last-of-type:disabled,
body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]):disabled,
body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]):disabled,
body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]):disabled,
body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button:disabled,
body.sundex-transaction-system.stx-verification-flow .stx-vf-submit:disabled,
body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child:disabled {
  border-color: rgba(244, 247, 252, 0.28) !important;
  color: rgba(247, 249, 252, 0.46) !important;
  background: rgba(3, 6, 10, 0.82) !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

@media (max-width: 1000px) {
  body.sundex-transaction-system .stx-order-form > button:last-of-type,
  body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]),
  body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]),
  body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]),
  body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button,
  body.sundex-transaction-system.stx-verification-flow .stx-vf-submit {
    min-height: 54px !important;
    height: 54px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sundex-transaction-system .stx-order-form > button:last-of-type,
  body.sundex-transaction-system .stx-stage button.w-full.rounded-full:not([aria-labelledby]),
  body.sundex-transaction-system .stx-stage button.w-full.py-3:not([aria-labelledby]),
  body.sundex-transaction-system .stx-stage button.w-full.py-3\.5:not([aria-labelledby]),
  body.sundex-transaction-system.stx-swap-route .stx-swap-ticket > button,
  body.sundex-transaction-system.stx-verification-flow .stx-vf-submit,
  body.sundex-transaction-system.stx-verification-flow .stx-vf-actions > button:first-child {
    transition-duration: 0.01ms !important;
  }
}
