.platform-swap,
.platform-swap * { box-sizing: border-box; }
.platform-swap { width: 100%; background: #f7f7f9; color: #1e1e1e; font-family: Onest, Arial, sans-serif; }
.platform-swap__inner { width: min(100%, 620px); margin: 0 auto; }
.platform-swap__title { margin: 0 0 16px; font-family: inherit; font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: #1e1e1e; }
.platform-swap__form { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 24px; background: #fff; border: 1px solid #dfdfe7; border-radius: 16px; box-shadow: none; }
.platform-swap__fields { display: flex; flex-direction: column; gap: 16px; }
.platform-swap__field { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.platform-swap__field label:not(.platform-swap__option), .platform-swap__field legend { display: block; width: 100%; margin: 0; padding: 0; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 21px; color: #1e1e1e; }
.platform-swap__help { margin: 0 0 12px; font-size: 12px; font-weight: 400; line-height: 18px; color: #62626d; }
.platform-swap__field > input { display: block; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 0 14px; background: #fff; border: 1px solid #dfdfe7; border-radius: 8px; box-shadow: none; outline: 0; color: #1e1e1e; font-family: inherit; font-size: 14px; font-weight: 400; line-height: normal; }
.platform-swap__field > input::placeholder { color: #62626d; opacity: 1; }
.platform-swap__field > input:focus,
.platform-swap__field > input:not(:placeholder-shown) { border-color: #7270ff; outline: none; box-shadow: none !important; }
.platform-swap__field.is-error > input { border-color: #c23939; }
.platform-swap__options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.platform-swap__option { display: flex; align-items: center; gap: 8px; height: 48px; min-width: 0; margin: 0; padding: 0 12px; background: #fff; border: 1px solid #dfdfe7; border-radius: 8px; cursor: pointer; color: #1e1e1e; font-family: inherit; font-size: 14px; font-weight: 400; line-height: normal; white-space: nowrap; }
.platform-swap__option input { appearance: none; -webkit-appearance: none; display: grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; border: 1px solid #62626d; border-radius: 50%; background: transparent; outline: none; box-shadow: none !important; cursor: pointer; }
.platform-swap__option input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #7270ff; transform: scale(0); }
.platform-swap__option input:checked {border-width: 2px; border-color: #7270ff; background: transparent; box-shadow: none !important; }
.platform-swap__option input:checked::after { transform: scale(1); }
.platform-swap__option:has(input:checked) { border-color: #7270ff; background: #f0efff; }
.platform-swap__option:focus-within { border-color: #7270ff; outline: none; box-shadow: none !important; }
.platform-swap__field--platform.is-error .platform-swap__option { border-color: #c23939; }
.platform-swap__error { display: none; margin: 6px 0 0; color: #a00; font-size: 12px; line-height: 18px; }
.platform-swap__field.is-error .platform-swap__error { display: block; }
.platform-swap__summary { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.platform-swap__fee { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 47px; padding-top: 16px; border-top: 1px solid #dfdfe7; font-size: 14px; font-weight: 500; line-height: 21px; }
.platform-swap__fee strong { color: #1e1e1e; font-size: 24px; font-weight: 600; line-height: 31px; white-space: nowrap; }
.platform-swap__fee .woocommerce-Price-amount { font: inherit; color: inherit; }
.platform-swap__notice { width: 100%; padding: 12px 16px; border-radius: 8px; background: #f0efff; color: #1e1e1e; font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: -.03em; }
.platform-swap__general-error { margin: 0; color: #a00; font-size: 13px; line-height: 18px; }
.platform-swap__general-error[hidden] { display: none; }
.platform-swap__submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 0 16px; border: 0; border-radius: 52px; background: #7270ff; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: normal; text-align: center; cursor: pointer; box-shadow: none; text-transform: none; }
.platform-swap__submit:hover, .platform-swap__submit:focus { background: #6260ed; color: #fff; }
.platform-swap__submit:disabled { opacity: .7; cursor: wait; }
@media (max-width: 600px) { 
  .platform-swap__inner { width: 100%; }
  .platform-swap__title { margin: 0 16px 24px; font-size: 28px; letter-spacing: -.02em; }
  .platform-swap__form { gap: 24px; padding: 20px; border-right: 0; border-left: 0; border-radius: 0; }
  .platform-swap__fields { gap: 20px; }
  .platform-swap__help { margin-bottom: 8px; }
  .platform-swap__options { grid-template-columns: 1fr; gap: 12px; }
  .platform-swap__summary { gap: 16px; }
  .platform-swap__notice { padding: 16px; font-weight: 400; }
  .platform-swap__desktop-break { display: none; }
}
