/* P2P utilities — uses theme tokens from theme.css / default.css */

/* -------------------------------------------------------------------------- */
/* Page layout (replaces Tailwind utilities)                                  */
/* -------------------------------------------------------------------------- */

.p2p-page {
  /* padding: 1rem; */
  box-sizing: border-box;
}
.p2p-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.p2p-page-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.p2p-page-sub {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}
.p2p-page-refresh {
  flex-shrink: 0;
}
.p2p-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.p2p-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.p2p-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.p2p-empty {
  padding: 2.5rem 1rem;
  text-align: center;
}
.p2p-empty-text {
  margin: 0 0 1rem;
  color: var(--rarebl-muted);
}
.p2p-empty-action {
  min-width: 8.5rem;
}

/* -------------------------------------------------------------------------- */
/* P2P wallet cards — scoped copy of home wallet-badge layout                 */
/* -------------------------------------------------------------------------- */

.p2p-wallets .wallet-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}
.p2p-wallets .wallet-cards-container .wallet-badge,
.p2p-wallets .wallet-cards-container .wallet-badge:first-child {
  flex: 0 0 300px;
  width: 300px;
  height: 220px;
  margin: 0;
  padding: 18px;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 18px;
  border: 2px solid rgba(162, 22, 45, 0.16);
  background-color: #fff;
  background-image: url(/images/background.svg) !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
}
.p2p-wallets .wallet-cards-container .wallet-badge.is-active {
  border-color: var(--rarebl-brand);
}
.p2p-wallets .wallet-badge-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  height: 100%;
  min-height: 168px;
  padding-right: 58px;
  box-sizing: border-box;
}
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-label,
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-amount,
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-no,
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-name {
  text-align: left;
}
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-label {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 12px;
}
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-label.no-margin,
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-no.no-margin {
  margin-top: 0;
  margin-bottom: 0;
}
.p2p-wallets .wallet-cards-container .wallet-badge .wallet-amount {
  display: flex;
  align-items: center;
  gap: 6px;
  height: auto;
}
.p2p-wallets .wallet-badge-account {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p2p-wallets .wallet-top,
.p2p-wallets .wallet-pay {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--rarebl-action-border);
  background: var(--rarebl-action-bg);
  border-radius: 100%;
  position: absolute;
  right: 16px;
  color: var(--rarebl-action-fg);
  cursor: pointer;
  line-height: 1;
}
.p2p-wallets .wallet-top .fi,
.p2p-wallets .wallet-pay .fi {
  display: block;
  font-size: 16px;
  line-height: 1;
}
.p2p-wallets .wallet-top {
  top: 36px;
}
.p2p-wallets .wallet-pay {
  top: 118px;
}
.p2p-wallets .wallet-toplbl,
.p2p-wallets .wallet-paylbl {
  position: absolute;
  right: 8px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--rarebl-deep);
  cursor: pointer;
  text-align: center;
  min-width: 52px;
  box-sizing: border-box;
}
.p2p-wallets .wallet-toplbl {
  top: 78px;
}
.p2p-wallets .wallet-paylbl {
  top: 160px;
}
.p2p-wallet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.p2p-wallet-chips .wallet-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.25rem;
  background-size: contain;
}
.p2p-wallet-footer {
  margin-top: 1.25rem;
}
.p2p-wallet-footer-btn {
  min-width: 8.5rem;
}
.p2p-wallet-skeleton {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.p2p-wallet-skeleton-card {
  width: 300px;
  height: 220px;
  border-radius: 18px;
  border: 2px solid rgba(162, 22, 45, 0.12);
  background: linear-gradient(
    110deg,
    var(--rarebl-inset-surface, #f8f8f8) 0%,
    #fff 45%,
    var(--rarebl-inset-surface, #f8f8f8) 100%
  );
  background-size: 220% 100%;
  animation: p2p-wallet-shimmer 1.35s ease-in-out infinite;
}

@keyframes p2p-wallet-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 710px) {

  .p2p-wallets .wallet-cards-container .wallet-badge,
  .p2p-wallets .wallet-cards-container .wallet-badge:first-child,
  .p2p-wallet-skeleton-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
.p2p-page-header {
    flex-wrap: wrap;
  }
}
[data-theme="dark"] .p2p-wallets .wallet-cards-container .wallet-badge,
[data-theme="dark"] .p2p-wallets .wallet-cards-container .wallet-badge:first-child {
  background-color: var(--rarebl-elevated) !important;
  border-color: rgba(212, 40, 71, 0.28);
}
[data-theme="dark"] .p2p-wallets .wallet-cards-container .wallet-badge.is-active {
  border-color: var(--rarebl-brand);
}
[data-theme="dark"] .p2p-wallets .wallet-top .fi,
[data-theme="dark"] .p2p-wallets .wallet-pay .fi {
  color: inherit;
}
[data-theme="dark"] .p2p-wallet-skeleton-card {
  border-color: var(--rarebl-border);
  background: var(--rarebl-elevated);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20%);
  }
}
.animate-bounce {
  animation: bounce 0.6s infinite;
}
.delay-150 {
  animation-delay: 150ms;
}
.delay-300 {
  animation-delay: 300ms;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--rarebl-surface, #f1f1f1);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--rarebl-brand, #a2162d);
  border-radius: 4px;
}@media (hover: hover) and (pointer: fine) {
    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--rarebl-brand-hover, #821022);
    }
}
.modal-backdrop {
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {

  .form-input-mobile {
    font-size: 16px;
  }
.modal-content-mobile {
    margin: 1rem;
    border-radius: 4px;
  }
}
.modal-enter {
  opacity: 0;
  transform: scale(0.95);
}
.modal-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 300ms, transform 300ms;
}

@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.animate-slide-up {
  animation: slide-up 0.3s ease-out;
}
.p2p-filter-header {
  position: relative;
  z-index: 30;
}
.p2p-quick-filters {
  position: relative;
  z-index: 0;
}

/* Range slider — ads create form (fill on wrapper, not on input) */
.p2p-range-wrap {
  --range-fill: 0%;
  height: 0.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(
    to right,
    var(--p2p-brand, var(--rarebl-brand)) 0%,
    var(--p2p-brand, var(--rarebl-brand)) var(--range-fill),
    #e5e7eb var(--range-fill),
    #e5e7eb 100%
  );
}
.p2p-range-wrap .p2p-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.5rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  accent-color: var(--p2p-brand, var(--rarebl-brand));
}
.p2p-range-wrap .p2p-range-input::-webkit-slider-runnable-track {
  height: 0.5rem;
  background: transparent;
}
.p2p-range-wrap .p2p-range-input::-moz-range-track {
  height: 0.5rem;
  background: transparent;
}
.p2p-range-wrap .p2p-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--p2p-brand, var(--rarebl-brand));
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.p2p-range-wrap .p2p-range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--p2p-brand, var(--rarebl-brand));
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}@media (hover: hover) and (pointer: fine) {
    .p2p-range-wrap .p2p-range-input::-webkit-slider-thumb:hover {
    filter: brightness(0.85);
          transform: scale(1.1);
    }
}
@media (hover: hover) and (pointer: fine) {
    .p2p-range-wrap .p2p-range-input::-moz-range-thumb:hover {
    filter: brightness(0.85);
          transform: scale(1.1);
    }
}


/* Legacy alias */
.p2p-range-input {
  accent-color: var(--p2p-brand, var(--rarebl-brand));
}
.p2p-range-input::-webkit-slider-thumb {
  background: var(--p2p-brand, var(--rarebl-brand));
}
.p2p-range-input::-moz-range-thumb {
  background: var(--p2p-brand, var(--rarebl-brand));
}

/* -------------------------------------------------------------------------- */
/* Shared layout used after Tailwind removal                                  */
/* -------------------------------------------------------------------------- */

.p2p-page > * + * {
  margin-top: 1rem;
}
.p2p-page.p2p-wallets > * + * {
  margin-top: 0;
}
.p2p-page.p2p-wallets .p2p-page-header {
  margin-bottom: 1.25rem;
}
.p2p-active-trades-strip {
  border-left: 3px solid var(--rarebl-deep);
}
.p2p-active-trades-strip.is-urgent {
  border-left-color: var(--rarebl-brand);
  background-color: var(--rarebl-brand-tint);
}
.p2p-grow {
  flex: 1 1 auto;
  min-width: 0;
}
.p2p-grid {
  display: grid;
  gap: 1rem;
}
.p2p-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {

  .p2p-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.p2p-status-pending {
  background: #fff7ed;
  color: #c2410c;
}
.p2p-status-paid {
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.08));
  color: var(--rarebl-deep);
}
.p2p-status-done {
  background: #f0fdf4;
  color: #15803d;
}
.p2p-status-cancelled {
  background: #fef2f2;
  color: #b91c1c;
}
.p2p-status-disputed {
  background: #fff7ed;
  color: #ea580c;
}
.p2p-status-neutral {
  background: var(--rarebl-inset-surface);
  color: var(--rarebl-muted);
}
.pre-wrap {
  white-space: pre-wrap;
}

@keyframes p2p-spin {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: p2p-spin 0.8s linear infinite;
}
.p2p-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {

  .p2p-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (min-width: 1100px) {

  .p2p-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.p2p-filter-panel {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--rarebl-border, #d5b5b5);
}
.p2p-filter-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}
.p2p-filter-field {
  flex: 1 1 150px;
  min-width: 150px;
}
.p2p-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  flex-shrink: 0;
}
.p2p-icon-lg {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  color: var(--rarebl-muted);
}
.p2p-offer-card {
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(162, 22, 45, 0.12);
  box-shadow: var(--rarebl-card-shadow, 0 5px 29px #00274a10);
}
.p2p-offer-card.is-own {
  border-color: rgba(20, 42, 74, 0.28);
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.05));
}
.p2p-offer-own {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--rarebl-inset-surface);
  border: 1px solid var(--rarebl-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rarebl-deep);
}
.p2p-offer-asset {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.p2p-offer-asset-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rarebl-deep);
}
.p2p-type-buy,
.p2p-type-sell {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.p2p-type-buy {
  background: #f0fdf4;
  color: #15803d;
}
.p2p-type-sell {
  background: #fef2f2;
  color: #b91c1c;
}
.p2p-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.p2p-kv-label {
  color: var(--rarebl-muted);
}
.p2p-kv-value {
  font-weight: 600;
  color: var(--rarebl-deep);
}
.p2p-offer-meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(162, 22, 45, 0.12);
}
.p2p-offer-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.p2p-link {
  color: var(--rarebl-deep);
  font-weight: 500;
  cursor: pointer;
}@media (hover: hover) and (pointer: fine) {
    .p2p-link:hover {
    text-decoration: underline;
    }
}
.p2p-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.p2p-btn-block {
  width: 100%;
  margin-top: 0.75rem;
}
.p2p-btn-buy {
  background: var(--rarebl-deep);
  color: #fff;
  border: none;
}@media (hover: hover) and (pointer: fine) {
    .p2p-btn-buy:hover:not(:disabled) {
    filter: brightness(0.92);
    }
}
.p2p-btn-disabled {
  width: 100%;
  margin-top: 0.75rem;
  background: var(--rarebl-inset-surface);
  color: var(--rarebl-muted);
  border: 1px solid var(--rarebl-border);
  cursor: not-allowed;
}
.p2p-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.p2p-pager-label {
  font-size: 0.875rem;
  color: var(--rarebl-muted);
}
.p2p-dropdown {
  position: relative;
}
.p2p-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 20rem;
  max-height: 24rem;
  overflow-y: auto;
  z-index: 50;
  background: #fff;
  border: 2px solid var(--rarebl-border);
  border-radius: 12px;
  box-shadow: var(--rarebl-card-shadow);
}
.p2p-dropdown-head {
  padding: 0.75rem;
  border-bottom: 1px solid var(--rarebl-border);
  background: var(--rarebl-inset-surface);
}
.p2p-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}
.p2p-dropdown-item.is-selected {
    background: var(--rarebl-brand-tint);
}
@media (hover: hover) and (pointer: fine) {
    .p2p-dropdown-item:hover {
    background: var(--rarebl-brand-tint);
    }
}
.p2p-avatar-code {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rarebl-inset-surface);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--rarebl-deep);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.p2p-avatar-code img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.p2p-avatar-lg {
  width: 5.5rem;
  height: 5.5rem;
  min-width: 5.5rem;
  font-size: 1.75rem;
}
.p2p-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  overflow-y: auto;
}
.p2p-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.p2p-modal-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}
.p2p-modal-card {
  position: relative;
  width: 100%;
  max-width: 40rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--rarebl-card-shadow);
}
.p2p-modal-head,
.p2p-modal-body,
.p2p-modal-foot {
  padding: 1.25rem 1.5rem;
}
.p2p-modal-head,
.p2p-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--rarebl-border);
}
.p2p-modal-foot {
  border-bottom: none;
  border-top: 1px solid var(--rarebl-border);
}
.p2p-toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {

  .p2p-toast-stack {
    bottom: 1rem;
  }
}
.p2p-toast {
  max-width: 22rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--rarebl-card-shadow);
  border-left: 4px solid var(--rarebl-brand);
  color: var(--rarebl-deep);
}
.p2p-toast.is-success {
  border-left-color: #16a34a;
}
.p2p-toast.is-error {
  border-left-color: #dc2626;
}
.p2p-toast.is-info {
  border-left-color: var(--rarebl-deep);
}
.p2p-toast.is-warning {
  border-left-color: #ea580c;
}
.p2p-confirm {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 120;
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 22px 18px;
  background-color: #ffffff !important;
  border: 1px solid rgba(162, 22, 45, 0.2);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 42, 74, 0.18);
  pointer-events: auto;
  animation: p2p-confirm-in 0.2s ease;
}
@keyframes p2p-confirm-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.p2p-confirm-card {
  width: 100%;
  padding: 0;
  background: transparent !important;
  text-align: left;
}
.p2p-confirm-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rarebl-muted, #6b7280);
}
.p2p-confirm-copy {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #171717;
}
.p2p-confirm-actions {
  display: flex;
  gap: 12px;
}
.p2p-confirm-actions .p2p-btn {
  flex: 1;
  min-height: 48px;
}
.p2p-shimmer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.p2p-shimmer-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.p2p-shimmer-line {
  height: 0.85rem;
  border-radius: 8px;
  background: var(--rarebl-inset-surface, #f1f1f3);
}
.p2p-shimmer-line.is-wide {
  width: 75%;
}
.p2p-shimmer-line.is-mid {
  width: 50%;
}
.p2p-shimmer-card {
  padding: 1rem;
  border: 1px solid var(--rarebl-border);
  border-radius: 12px;
}
.p2p-is-missing {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}
[data-theme="dark"] .p2p-filter-panel,
[data-theme="dark"] .p2p-offer-card,
[data-theme="dark"] .p2p-dropdown-menu,
[data-theme="dark"] .p2p-modal-card,
[data-theme="dark"] .p2p-toast {
  background: var(--rarebl-elevated);
  border-color: var(--rarebl-border);
}
[data-theme="dark"] .p2p-confirm,
[data-theme="dark"] .p2p-confirm-card {
  background-color: #241418 !important;
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .p2p-confirm-copy {
  color: var(--rarebl-deep, #f5f5f5);
}

/* -------------------------------------------------------------------------- */
/* P2P workspace — wallet3-style shell                                        */
/* -------------------------------------------------------------------------- */

.p2p-three {
  font-family: Nunito, sans-serif;
}
.p2p-three button,
.p2p-three input,
.p2p-three select,
.p2p-three textarea {
  font-family: inherit;
}
.p2p-three .main_content.p2p-three-content {
  display: block;
  width: 100%;
  max-width: 100%;
  padding-top: 56px;
  box-sizing: border-box;
}
.p2p-three .profile_bar {
  z-index: 100;
}
.p2p-three .profile_bar .dropmenu {
  z-index: 101;
}
.p2p-three.is-profile-open .p2p-three-tabs-scroll-container .wallet-scroll {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.p2p-three .menu_bar.full:not(.p2p-three-picker-bar) .hamb_label {
  display: none;
}
.p2p-three .menu_bar.full.p2p-three-picker-bar {
  display: block;
  position: absolute;
  left: 52px;
  top: 0;
  z-index: 4;
  width: auto;
  max-width: calc(100% - 220px);
  margin-left: 0;
  padding: 2px 0 0;
}
.p2p-three-picker-wrap {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
}
.p2p-three-picker-trigger {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  max-width: 100%;
}
.p2p-three-picker-inner {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  padding: 2px;
  border-radius: var(--rarebl-radius-action);
  background: var(--rarebl-light);
  box-sizing: border-box;
  font-weight: 600;
}
.p2p-three-picker-icon,
.p2p-three-picker-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex-shrink: 0;
  margin-top: 0;
  border-radius: 50%;
  background-color: #fff;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 8px rgba(57, 12, 20, 0.08);
  border: 1px solid rgba(20, 42, 74, 0.06);
  box-sizing: border-box;
}
.p2p-three-picker-icon {
  margin-left: 6px;
}
.p2p-three-picker-label {
  padding: 0 16px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rarebl-deep);
  max-width: min(420px, calc(100vw - 280px));
}
.p2p-three-picker-arrow {
  border: solid var(--rarebl-deep);
  border-width: 0 2.5px 2.5px 0;
  display: inline-block;
  padding: 3px;
  margin-top: -2px;
  margin-right: 14px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.p2p-three-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 12;
  min-width: 260px;
  max-width: min(360px, calc(100vw - 40px));
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--rarebl-light);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
}
.p2p-three-picker-section {
  padding: 6px 12px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rarebl-muted);
}
.p2p-three-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--rarebl-deep);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.p2p-three-picker-option.is-active {
    background: var(--rarebl-brand-tint-strong);
}
@media (hover: hover) and (pointer: fine) {
    .p2p-three-picker-option:hover {
    background: var(--rarebl-brand-tint-strong);
    }
}
.p2p-three-picker-option-meta {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--rarebl-muted);
}
.p2p-three-tabs-scroll-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 22px;
}
.p2p-three-tabs-scroll-container .wallet-scroll {
  display: none;
  top: 50%;
  margin-top: 0;
  transform: translateY(calc(-50% + 4px));
  z-index: 3;
}
.p2p-three-tabs-scroll-container .wallet-scroll-fi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  top: 2px;
}
.p2p-three-tabs-scroll-container #p2p-three-tabs-left {
  left: 0;
}
.p2p-three-tabs-scroll-container #p2p-three-tabs-right {
  right: 0;
}
.p2p-three-tabs-scroll-container.at-start #p2p-three-tabs-left,
.p2p-three-tabs-scroll-container.at-end #p2p-three-tabs-right {
  opacity: 0;
  pointer-events: none;
}
.p2p-three-tabs-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.p2p-three-tabs-scroll::-webkit-scrollbar {
  display: none;
}
.p2p-three-tabs {
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  padding: 10px 10px 2px;
}
.p2p-three-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 10rem;
  width: 10rem;
  box-sizing: border-box;
  border: 1.5px solid rgba(162, 22, 45, 0.18);
  border-radius: var(--rarebl-radius-action);
  background: var(--rarebl-elevated);
  color: var(--rarebl-deep);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.p2p-three-tab.is-active {
  background: var(--rarebl-brand);
  border-color: var(--rarebl-brand);
  color: #fff;
}
.p2p-three-tab-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rarebl-badge-alert);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}
.p2p-three-tab.is-active .p2p-three-tab-badge {
  background: #fff;
  color: var(--rarebl-brand);
}
.p2p-three-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
  align-items: stretch;
}
.p2p-three-stat-card {
  display: flex;
  min-width: 0;
}
.p2p-three-stat-badge {
  display: flex;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  min-height: 72px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--rarebl-chip-bg);
  box-sizing: border-box;
}
.p2p-three-stat-value {
  width: 100%;
  font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--rarebl-deep);
  word-break: break-word;
}
.p2p-three-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--rarebl-muted);
}
.p2p-three-inner {
  width: 100%;
}

@media (max-width: 1100px) {

  .p2p-three-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 900px) {

  .p2p-three .menu_bar.full.p2p-three-picker-bar {
    display: block !important;
    position: absolute;
    left: 72px;
    top: 0;
    margin-left: 0;
    max-width: calc(100% - 160px);
    z-index: 4;
  }
.p2p-three-picker-label {
    display: none;
  }
}


@media (min-width: 901px) {

  .p2p-three-tabs-scroll-container .wallet-scroll {
    display: none !important;
  }
}


@media (max-width: 640px) {

  .p2p-three-stat-strip {
    grid-template-columns: 1fr 1fr;
  }
.p2p-three-stat-badge {
    min-height: 0;
  }
}
[data-theme="dark"] .p2p-three-picker-menu,
[data-theme="dark"] .p2p-three-stat-badge,
[data-theme="dark"] .p2p-three-tab:not(.is-active) {
  background: var(--rarebl-elevated);
  border-color: var(--rarebl-border);
  color: var(--rarebl-deep);
}
[data-theme="dark"] .p2p-three-picker-inner {
  background: var(--rarebl-light);
}

/* Marketplace panels */
.p2p-three-market {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}
.p2p-three-card {
  background: var(--rarebl-elevated);
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  border-radius: 14px;
  padding: 16px 18px;
  box-sizing: border-box;
}
.p2p-three-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.p2p-three-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--rarebl-deep);
  margin-bottom: 1rem;
}
.p2p-three-card-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--rarebl-muted);
}
.p2p-three-view-all {
  border: none;
  background: transparent;
  color: var(--rarebl-brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.p2p-three-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rarebl-brand);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.p2p-three-back svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.p2p-three-back span {
  line-height: 1;
}
.p2p-three-chart-toggles {
  display: flex;
  gap: 6px;
}
.p2p-three-chart-btn {
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  background: var(--rarebl-elevated);
  color: var(--rarebl-muted);
  border-radius: var(--rarebl-radius-md);
  padding: 4px 11px;
  font-size: 11px;
  cursor: pointer;
}
.p2p-three-chart-btn.is-selected {
  background: var(--rarebl-brand);
  border-color: var(--rarebl-brand);
  color: #fff;
}
.p2p-three-alert.is-urgent {
  border-color: var(--rarebl-brand);
  background: var(--rarebl-brand-tint);
}
.p2p-three-alert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p2p-three-filter-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.p2p-three-filter-field {
  flex: 1 1 140px;
  min-width: 140px;
}
.p2p-three-filter-apply {
  flex: 0 0 auto;
  align-self: flex-end;
  min-height: 48px;
}
.p2p-three-filter-field .wallet-three-transact-country {
  margin-bottom: 0;
}
.p2p-three-filter-select {
  position: relative;
  z-index: 1;
}
.p2p-three-filter-select.is-open {
  z-index: 25;
}
.p2p-three-filter-select .wallet-three-transact-country-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three-filter-select .wallet-three-transact-country-btn:disabled:hover {
    border-color: var(--rarebl-pill-border);
    }
}
.p2p-three-tx-table--offers {
  --p2p-three-cols: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.1fr) 88px;
  width: 100%;
}
.p2p-three-tx-table--orders {
  --p2p-three-cols: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 1.3fr) 132px;
  width: 100%;
}
.p2p-three-tx-table--ratings {
  --p2p-three-cols: minmax(0, 1.1fr) 110px minmax(0, 1.6fr) minmax(0, 1.1fr);
  width: 100%;
}
.p2p-three-tx-table--methods {
  --p2p-three-cols: minmax(0, 1.2fr) minmax(0, 1.3fr) 90px 170px;
  width: 100%;
}
.p2p-three-tx-table--wallets {
  --p2p-three-cols: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 1.3fr) 148px;
  width: 100%;
}
.p2p-three-tx-table-head,
.p2p-three-tx-table-row,
.p2p-three-sk-row {
  display: grid;
  grid-template-columns: var(--p2p-three-cols);
  column-gap: 12px;
  align-items: start;
}
.p2p-three-tx-table-head {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
}
.p2p-three-tx-col {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rarebl-muted);
}
.p2p-three-tx-col--action,
.p2p-three-tx-cell--action {
  justify-self: end;
  text-align: right;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.p2p-three-tx-table-body {
  display: flex;
  flex-direction: column;
}
.p2p-three-tx-table-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  cursor: pointer;
}
.p2p-three-tx-table--ratings .p2p-three-tx-table-row,
.p2p-three-tx-table--methods .p2p-three-tx-table-row {
  cursor: default;
}
.p2p-three-tx-table-row:last-child {
  border-bottom: none;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three-tx-table-row:hover {
    background: rgba(162, 22, 45, 0.03);
    }
}
.p2p-three-tx-table-row.is-own {
  cursor: default;
  opacity: 0.72;
}
.p2p-three-tx-table-row.is-urgent {
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.05));
}
.p2p-three-tx-table-row.is-active {
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.05));
}
.p2p-three-tx-cell {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rarebl-deep);
}
.p2p-three-tx-cell--stack {
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 4px;
}
.p2p-three-tx-cell-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.p2p-three .p2p-chip {
  justify-content: center;
  line-height: 1;
}
.p2p-three .p2p-type-buy,
.p2p-three .p2p-type-sell {
  align-items: center;
  line-height: 1;
}
.p2p-three-offer-asset,
.p2p-three-offer-price {
  font-weight: 600;
}
.p2p-btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

/* -------------------------------------------------------------------------- */
/* Wallet3-aligned form controls (scoped to p2p-three workspace)              */
/* -------------------------------------------------------------------------- */

.p2p-three .p2p-field-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--rarebl-deep);
  margin-bottom: 8px;
}
.p2p-three .p2p-field-hint {
  font-size: 12px;
  color: var(--rarebl-muted);
  margin-top: 6px;
}
.p2p-three .p2p-input,
.p2p-three .p2p-select,
.p2p-three .p2p-textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  border-radius: 12px;
  background: var(--rarebl-inset-surface);
  color: var(--rarebl-deep);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.p2p-three .p2p-textarea {
  min-height: 96px;
  padding: 12px 14px;
  font-weight: 400;
  line-height: 1.45;
}
.p2p-three .p2p-input::placeholder,
.p2p-three .p2p-textarea::placeholder {
  color: var(--rarebl-placeholder);
  font-weight: 400;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-input:hover,
    .p2p-three .p2p-select:hover,
    .p2p-three .p2p-textarea:hover {
    border-color: rgba(162, 22, 45, 0.2);
    }
}
.p2p-three .p2p-input:focus,
.p2p-three .p2p-select:focus,
.p2p-three .p2p-textarea:focus {
  outline: none;
  border-color: rgba(162, 22, 45, 0.28);
  box-shadow: 0 0 0 3px var(--rarebl-brand-ring, rgba(162, 22, 45, 0.12));
}
.p2p-three .p2p-select,
.p2p-three select.p2p-input {
  padding-right: 2.5rem;
  cursor: pointer;
  background-color: var(--rarebl-inset-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239a9193' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.p2p-three .p2p-input:disabled,
.p2p-three .p2p-select:disabled,
.p2p-three .p2p-textarea:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.p2p-three .p2p-input-group {
  min-height: 48px;
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  border-radius: 12px;
  background: var(--rarebl-inset-surface);
  box-shadow: none;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-input-group:hover {
    border-color: rgba(162, 22, 45, 0.2);
    }
}
.p2p-three .p2p-input-group:focus-within {
  border-color: rgba(162, 22, 45, 0.28);
  box-shadow: 0 0 0 3px var(--rarebl-brand-ring, rgba(162, 22, 45, 0.12));
}
.p2p-three .p2p-input-group-affix {
  font-size: 12px;
  font-weight: 600;
  color: var(--rarebl-muted);
  background: var(--rarebl-chip-bg, rgba(162, 22, 45, 0.06));
}
.p2p-three .p2p-input-group-prefix {
  border-right: 1px solid var(--rarebl-border);
}
.p2p-three .p2p-input-group-suffix {
  border-left: 1px solid var(--rarebl-border);
  font-size: 12px;
}
.p2p-three .p2p-input-group .p2p-input {
  align-self: stretch;
  min-height: 48px;
  height: auto;
  padding: 0 12px;
  line-height: 48px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.p2p-three .p2p-input-group .p2p-input:focus {
  box-shadow: none;
}
.p2p-three .p2p-btn {
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--rarebl-radius-action);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.p2p-three .p2p-btn-sm {
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}
.p2p-three .p2p-btn-primary {
  border: 0;
  background: var(--rarebl-brand);
  color: #fff;
  box-shadow: none;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-btn-primary:hover:not(:disabled) {
    background: var(--rarebl-brand-hover);
    }
}
.p2p-three .p2p-btn-primary:active:not(:disabled) {
  background: var(--rarebl-brand-active);
}
.p2p-three .p2p-btn-primary.p2p-btn-block,
.p2p-three .p2p-btn-buy.p2p-btn-block {
  min-height: 52px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 10px 13px #00000029;
  border-radius: var(--rarebl-radius-action);
}
.p2p-three .p2p-btn-outline {
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  background: var(--rarebl-elevated);
  color: var(--rarebl-deep);
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-btn-outline:hover:not(:disabled) {
    background: rgba(162, 22, 45, 0.04);
          border-color: rgba(162, 22, 45, 0.2);
      color: var(--rarebl-deep);
    }
}
.p2p-three .p2p-btn-ghost {
  border: 0;
  background: transparent;
  color: var(--rarebl-brand);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-btn-ghost:hover:not(:disabled) {
    background: rgba(162, 22, 45, 0.06);
          color: var(--rarebl-brand-hover);
    }
}
.p2p-three .p2p-btn-danger-outline {
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.04);
  color: #dc2626;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-btn-danger-outline:hover:not(:disabled) {
    background: rgba(220, 38, 38, 0.08);
    }
}
.p2p-three .p2p-btn-warning-outline {
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.06);
  color: #ea580c;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-btn-warning-outline:hover:not(:disabled) {
    background: rgba(249, 115, 22, 0.1);
    }
}
.p2p-three .p2p-btn-success-outline {
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.06);
  color: #16a34a;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-btn-success-outline:hover:not(:disabled) {
    background: rgba(34, 197, 94, 0.1);
    }
}
.p2p-three .p2p-btn-buy {
  border: 0;
}
.p2p-three .p2p-type-toggle button {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  background: var(--rarebl-elevated);
  color: var(--rarebl-deep);
  font-size: 14px;
  box-shadow: none;
}@media (hover: hover) and (pointer: fine) {
    .p2p-three .p2p-type-toggle button:hover:not(.is-buy-active):not(.is-sell-active) {
    border-color: rgba(162, 22, 45, 0.2);
          background: var(--rarebl-inset-surface);
    }
}
.p2p-three .p2p-type-toggle button.is-buy-active {
  background: var(--rarebl-deep);
  color: #fff;
  border-color: var(--rarebl-deep);
  box-shadow: none;
}
.p2p-three .p2p-type-toggle button.is-sell-active {
  background: var(--rarebl-brand);
  color: #fff;
  border-color: var(--rarebl-brand);
  box-shadow: none;
}
.p2p-three .p2p-pager-label {
  min-width: 140px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rarebl-deep);
  text-align: center;
}
[data-theme="dark"] .p2p-three .p2p-input,
[data-theme="dark"] .p2p-three .p2p-select,
[data-theme="dark"] .p2p-three .p2p-textarea,
[data-theme="dark"] .p2p-three .p2p-input-group {
  background: var(--rarebl-inset-surface);
  border-color: var(--rarebl-border);
  color: var(--rarebl-deep);
}
[data-theme="dark"] .p2p-three .p2p-select,
[data-theme="dark"] .p2p-three select.p2p-input {
  background-color: var(--rarebl-inset-surface);
}
[data-theme="dark"] .p2p-three .p2p-btn-outline,
[data-theme="dark"] .p2p-three .p2p-type-toggle button:not(.is-buy-active):not(.is-sell-active) {
  background: var(--rarebl-elevated);
  border-color: var(--rarebl-border);
  color: var(--rarebl-deep);
}@media (hover: hover) and (pointer: fine) {
    [data-theme="dark"] .p2p-three .p2p-btn-outline:hover:not(:disabled),
    [data-theme="dark"] .p2p-three .p2p-type-toggle button:hover:not(.is-buy-active):not(.is-sell-active) {
    background: rgba(162, 22, 45, 0.08);
          border-color: rgba(162, 22, 45, 0.24);
    }
}
.p2p-three-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 16px 20px;
  color: var(--rarebl-muted);
}
.p2p-three-empty .p2p-btn {
  margin-top: 12px;
}
.p2p-three-empty-art {
  width: 7.25rem;
  margin: 0 0 10px;
}
.p2p-three-empty-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.p2p-three-empty-shadow {
  fill: var(--rarebl-brand);
  opacity: 0.08;
}
.p2p-three-empty-card {
  stroke: rgba(162, 22, 45, 0.22);
}
.p2p-three-empty-card.is-back {
  fill: #f4eef0;
}
.p2p-three-empty-card.is-front {
  fill: #ffffff;
  stroke: rgba(162, 22, 45, 0.32);
}
.p2p-three-empty-line {
  stroke: rgba(162, 22, 45, 0.26);
  fill: none;
}
.p2p-three-empty-seal {
  fill: var(--rarebl-brand, #a2162d);
}
.p2p-three-empty-seal-mark {
  stroke: #ffffff;
  fill: none;
}
.p2p-three-empty .p2p-three-card-title {
  font-size: 15px;
  color: var(--rarebl-deep);
}
.p2p-three-card-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
}
.p2p-three-sk-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.08));
}
.p2p-three-sk-line {
  height: 12px;
  border-radius: 8px;
  background: var(--rarebl-inset-surface, #f1f1f3);
}
.p2p-three-sk-line--pill {
  width: 64px;
  justify-self: end;
}
.p2p-three-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}
.p2p-three-card-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.p2p-three-card-head-actions .p2p-three-view-all {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
}
.p2p-three-countdown-urgent {
  color: var(--rarebl-brand);
  font-weight: 600;
}
.p2p-three-view-all:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 900px) {

  .p2p-three-col-methods,
  .p2p-three-col-available,
  .p2p-three-col-trader,
  .p2p-three-col-date,
  .p2p-three-col-review,
  .p2p-three-col-currency,
  .p2p-three-col-account {
    display: none;
  }
.p2p-three-tx-table--offers {
    --p2p-three-cols: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 76px;
  }
.p2p-three-tx-table--orders {
    --p2p-three-cols: minmax(0, 1.15fr) minmax(0, 1.1fr) minmax(0, 0.9fr) 76px;
  }
  .p2p-three-tx-table--orders .p2p-three-tx-cell--stack .p2p-three-offer-price,
  .p2p-three-tx-table--orders .p2p-three-tx-cell--stack .p2p-three-card-sub {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .p2p-three-tx-table--orders .p2p-three-tx-cell--action .p2p-btn {
    width: 100%;
    justify-content: center;
  }
.p2p-three-tx-table--ratings {
    --p2p-three-cols: minmax(0, 1fr);
  }
  .p2p-three-tx-table--ratings .p2p-three-tx-table-head {
    display: none;
  }
  .p2p-three-tx-table--ratings .p2p-three-tx-table-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 0;
  }
  .p2p-three-tx-table--ratings .p2p-three-col-review,
  .p2p-three-tx-table--ratings .p2p-three-col-date {
    display: block;
  }
  .p2p-three-feedback-head {
    flex-direction: column;
    align-items: stretch;
  }
  .p2p-three-feedback-head .p2p-three-chart-toggles {
    width: 100%;
    flex-wrap: wrap;
  }
  .p2p-three-feedback-head .p2p-three-chart-btn {
    flex: 1 1 auto;
  }
.p2p-three-tx-table--methods {
    --p2p-three-cols: minmax(0, 1fr) minmax(0, 1fr) 92px;
  }
.p2p-three-tx-table--wallets {
    --p2p-three-cols: minmax(0, 1.2fr) minmax(0, 1.2fr) 92px;
  }
.p2p-three-tx-table--orders .p2p-three-tx-cell--action,
  .p2p-three-tx-table--methods .p2p-three-tx-cell--action,
  .p2p-three-tx-table--wallets .p2p-three-tx-cell--action {
    flex-direction: column;
    align-items: stretch;
  }
}
[data-theme="dark"] .p2p-three-card {
  background: var(--rarebl-elevated);
  border-color: var(--rarebl-border);
}
[data-theme="dark"] .p2p-three-tx-table-row.is-urgent {
  background: rgba(162, 22, 45, 0.12);
}
.p2p-three-wallet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}
.p2p-three-wallet .wallet-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.p2p-three-ads,
.p2p-three-profile,
.p2p-three-chats,
.p2p-three-ads-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}
.p2p-three-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.85fr);
  gap: 12px;
}
.p2p-three-dash-grid--ads,
.p2p-three-dash-grid--kv {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.p2p-three-card--inset {
  padding: 14px;
  box-shadow: none;
}
.p2p-three-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p2p-three-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.p2p-three-detail-label {
  font-size: 12px;
  color: var(--rarebl-muted);
}
.p2p-three-detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--rarebl-deep);
  text-align: right;
}
.p2p-three-ad-card {
  cursor: pointer;
}
.p2p-three-ad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.p2p-three-profile-id {
  margin-bottom: 16px;
}
.p2p-three-profile .p2p-three-stat-strip {
  margin: 12px 0;
}
.p2p-three-chat-card {
  padding-bottom: 12px;
}
.p2p-three-chat-body {
  display: flex;
  overflow: hidden;
  position: relative;
  min-height: 28rem;
  height: min(34rem, calc(100vh - 280px));
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  border-radius: 12px;
}
.p2p-three-chat-list {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.p2p-three-chat-list.is-hidden {
  display: none;
}
.p2p-three-chat-list-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
}
.p2p-three-chat-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.p2p-three-chat-item-main {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.p2p-three-chat-preview {
  flex: 1 0 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p2p-three-chat-time {
  flex: 0 0 auto;
  white-space: nowrap;
}
.p2p-three-chat-item.is-active {
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.06));
  box-shadow: inset 3px 0 0 var(--rarebl-brand);
}
.p2p-three-chat-window {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--rarebl-elevated);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.p2p-three-chat-window.is-open {
  transform: translateX(0);
}
.p2p-three-chat-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 24px;
  text-align: center;
}
.p2p-three-chat-empty .p2p-three-card-title {
  font-size: 15px;
}
.p2p-three-chat-active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: hidden;
  min-height: 0;
}
.p2p-three-chat-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
}
.p2p-three-chat-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 4px 0 -6px;
  padding: 4px 8px 4px 2px;
  border: 0;
  background: transparent;
  color: var(--rarebl-deep);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.p2p-three-chat-back .fi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 18px;
  line-height: 1;
}
.p2p-three-chat-back .fi::before {
  line-height: 1;
}
.p2p-three-chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 18px;
  min-height: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(162, 22, 45, 0.035), transparent 28%),
    var(--rarebl-elevated, #fff);
}
.p2p-three-chat-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.p2p-three-chat-system {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  max-width: 22rem;
  padding: 10px 12px 9px;
  background: var(--rarebl-inset-surface, #f7f4f2);
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.1));
  border-radius: 12px;
  text-align: left;
}
.p2p-three-chat-system-text {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rarebl-deep);
}
.p2p-three-chat-system-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--rarebl-brand);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.p2p-three-chat-system-time {
  font-size: 11px;
  color: var(--rarebl-muted);
}
.p2p-three-chat-bubble {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: min(78%, 28rem);
}
.p2p-three-chat-bubble.is-mine {
  align-self: flex-end;
  align-items: flex-end;
  margin-left: auto;
}
.p2p-three-chat-bubble.is-theirs {
  align-self: flex-start;
  align-items: flex-start;
  margin-right: auto;
}
.p2p-three-chat-bubble-body {
  padding: 10px 14px;
  line-height: 1.45;
  font-size: 14px;
}
.p2p-three-chat-bubble-body p {
  margin: 0;
}
.p2p-three-chat-bubble.is-mine .p2p-three-chat-bubble-body {
  background: var(--rarebl-brand);
  color: #fff;
  border-radius: 18px 18px 5px 18px;
}
.p2p-three-chat-bubble.is-theirs .p2p-three-chat-bubble-body {
  background: #f4eef0;
  color: var(--rarebl-deep);
  border: 1px solid rgba(162, 22, 45, 0.08);
  border-radius: 18px 18px 18px 5px;
}
.p2p-three-chat-meta {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--rarebl-muted);
}
.p2p-three-chat-meta .is-failed {
  color: var(--rarebl-brand);
}
.p2p-three-chat-meta .is-read {
  color: var(--rarebl-brand);
}
.p2p-three-chat-composer {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  background: var(--rarebl-elevated, #fff);
}
.p2p-three-chat-composer .p2p-row {
  align-items: stretch;
}
.p2p-three-chat-composer .p2p-input {
  min-height: 44px;
}
.p2p-three-chat-composer .p2p-btn-primary {
  min-width: 72px;
}
.p2p-three-chat-typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.p2p-three-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rarebl-muted);
  animation: p2p-three-bounce 0.6s infinite;
}
.p2p-three-typing-dot:nth-child(2) {
  animation-delay: 150ms;
}
.p2p-three-typing-dot:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes p2p-three-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20%); }
}
.fade-in {
  animation: p2p-three-fade-in 0.3s ease-out;
}

@keyframes p2p-three-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.p2p-three-chat-loading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0 4px;
}

@media (max-width: 767px) {
  .p2p-three-chats.is-thread-open .p2p-three-card-head {
    display: none;
  }
  .p2p-three-chat-body {
    border: 0;
    border-radius: 0;
    min-height: 24rem;
    height: min(42rem, calc(100vh - 240px));
  }
  .p2p-three-chats.is-thread-open .p2p-three-chat-card {
    padding-top: 10px;
  }
  .p2p-three-chat-messages {
    padding: 12px 10px 14px;
  }
}

@media (min-width: 768px) {

  .p2p-three-chat-list,
  .p2p-three-chat-list.is-hidden {
    display: flex;
    width: 34%;
    border-right: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  }
  .p2p-three-chat-window {
    position: relative;
    width: 66%;
    transform: none;
  }
  .p2p-three-chat-empty {
    display: flex;
    flex: 1 1 auto;
  }
  .p2p-three-chat-back {
    display: none;
  }
}


@media (max-width: 900px) {

  .p2p-three-dash-grid,
  .p2p-three-dash-grid--ads,
  .p2p-three-dash-grid--kv {
    grid-template-columns: 1fr;
  }
}
[data-theme="dark"] .p2p-three-chat-body,
[data-theme="dark"] .p2p-three-chat-window,
[data-theme="dark"] .p2p-three-chat-item.is-active {
  background: var(--rarebl-elevated);
  border-color: var(--rarebl-border);
}
[data-theme="dark"] .p2p-three-chat-bubble.is-theirs .p2p-three-chat-bubble-body {
  background: var(--rarebl-inset-surface);
  border-color: var(--rarebl-border);
}
[data-theme="dark"] .p2p-three-chat-system {
  background: var(--rarebl-inset-surface);
  border-color: var(--rarebl-border);
}
[data-theme="dark"] .p2p-three-chat-messages {
  background: var(--rarebl-elevated);
}
[data-theme="dark"] .p2p-three-empty-card.is-back {
  fill: #2a1c20;
}
[data-theme="dark"] .p2p-three-empty-card.is-front {
  fill: var(--rarebl-elevated, #1f1719);
}
.p2p-three-flow,
.p2p-three-wallet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}
.p2p-three-transact {
  align-items: stretch;
  max-width: none;
}
.p2p-three-transact-inner {
  width: 100%;
  max-width: 440px;
  margin: 8px auto 0;
  padding: 4px 0 12px;
}
.p2p-three-transact .wallet-three-transact-back,
.p2p-three-transact .p2p-three-back {
  align-self: flex-start;
  line-height: 1;
}
.p2p-three-transact .p2p-three-back {
  margin: 0 0 8px;
}
.p2p-three .wallet-three-transact-back .fi,
.p2p-three .wallet-three-transact-country-btn .fi,
.p2p-three-back .fi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}
.p2p-three .wallet-three-transact-back .fi::before,
.p2p-three .wallet-three-transact-country-btn .fi::before,
.p2p-three-back .fi::before {
  line-height: 1;
}
.p2p-three-ad-menu {
  max-height: 16rem;
  overflow-y: auto;
}
.p2p-ad-form .p2p-type-toggle {
  gap: 8px;
}
.p2p-ad-form .p2p-type-toggle button {
  min-height: 64px;
}
.p2p-ad-form .wallet-three-transact-flow-head {
  margin-bottom: 18px;
}
.p2p-three-transact-row .p2p-three-ad-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.p2p-three-ad-copy {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--rarebl-inset-surface, #f7f4f2);
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.1));
  border-radius: 12px;
}
.p2p-three-ad-copy .wallet-three-transact-country-label {
  margin-bottom: 6px;
}
.p2p-three-ad-copy p + p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rarebl-deep);
  white-space: pre-wrap;
}
.p2p-three-ad-copy p.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.p2p-three-ad-copy .p2p-three-view-all {
  margin-top: 8px;
}
.p2p-three-transact-facts {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--rarebl-deep);
}
.p2p-three-ad-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.p2p-three-price-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.08));
  color: var(--rarebl-brand);
  cursor: pointer;
}
.p2p-three-price-refresh:disabled {
  opacity: 0.55;
  cursor: default;
}
.p2p-three-price-refresh .fi {
  display: inline-flex;
  line-height: 1;
  font-size: 14px;
}
.p2p-three-flow-terms {
  margin: 10px auto 0;
  max-height: 4.5em;
  overflow: auto;
}
.p2p-three-transact-form {
  display: flex;
  flex-direction: column;
}
.p2p-three-transact-field {
  margin-bottom: 18px;
}
.p2p-three-transact-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.p2p-three-transact-field-head .wallet-three-transact-country-label {
  margin-bottom: 0;
}
.p2p-three-transact-text-field {
  min-height: 52px;
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  border-radius: 12px;
  background: var(--rarebl-inset-surface);
  overflow: hidden;
}
.p2p-three-transact-text-field .p2p-input {
  min-height: 52px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.p2p-three-transact-convert {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--rarebl-muted);
}
.p2p-three-transact-total {
  margin: 2px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.08));
}
.p2p-three-transact-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--rarebl-muted);
}
.p2p-three-transact-total-row strong {
  font-size: 16px;
  color: var(--rarebl-deep);
}
.p2p-three-transact .p2p-three-agree {
  margin-bottom: 16px;
}
.p2p-three-transact .wallet-three-transact-continue {
  margin-top: 4px;
  margin-bottom: 12px;
}
.p2p-three-transact-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.p2p-three-transact-countdown {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--rarebl-brand);
}
.p2p-three-transact-rows {
  margin: 4px 0 18px;
}
.p2p-three-transact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rarebl-rule-subtle, rgba(20, 42, 74, 0.06));
  font-size: 14px;
}
.p2p-three-transact-row:last-child {
  border-bottom: 0;
}
.p2p-three-transact-row span {
  flex-shrink: 0;
  color: var(--rarebl-muted);
  font-weight: 500;
}
.p2p-three-transact-row strong {
  min-width: 0;
  text-align: right;
  font-weight: 600;
  color: var(--rarebl-deep);
  word-break: break-word;
}
.p2p-three-transact-mono {
  font-size: 12px;
  font-weight: 500;
  word-break: break-all;
}
.p2p-three-transact-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.p2p-three-transact-note.is-warn .p2p-three-card-title {
  color: var(--rarebl-brand);
}
.p2p-three-transact-steps {
  margin: 0 0 18px;
}
.p2p-three-transact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p2p-three-transact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}
.p2p-three-transact-feedback {
  margin-top: 28px;
  padding-top: 8px;
}
.p2p-three-transact-feedback .p2p-three-transact-form > .p2p-three-card-sub {
  margin: 0 0 14px;
}
.p2p-three-transact-feedback .p2p-three-chart-toggles {
  margin-bottom: 20px;
}
.p2p-three-transact-feedback .wallet-three-transact-country-label {
  display: block;
  margin-bottom: 12px;
}
.p2p-three-transact-feedback .wallet-three-transact-continue + .p2p-three-transact-links {
  margin-top: 20px;
}
.p2p-three-transact-feedback .p2p-three-transact-form + .p2p-three-transact-links,
.p2p-three-transact-feedback .p2p-three-card-sub + .p2p-three-transact-links {
  margin-top: 14px;
}
.p2p-three-amount-field {
  display: flex;
  align-items: stretch;
  height: 52px;
  min-height: 52px;
}
.p2p-three-amount-field .p2p-input {
  height: 52px;
  min-height: 52px;
  padding: 0 14px;
  line-height: 52px;
}
.p2p-three-amount-field .p2p-input-group-suffix {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}
.p2p-three-amount-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--rarebl-muted);
}
.p2p-three-agree {
  align-items: flex-start;
  gap: 10px;
}
.p2p-three-agree .remember-check {
  margin-top: 1px;
}
.p2p-three-flow .p2p-btn-block:disabled {
  background: var(--rarebl-inset-surface);
  color: var(--rarebl-muted);
  box-shadow: none;
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
}
.p2p-three-wallet .wallet-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.p2p-three-select-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--rarebl-rule-subtle, rgba(162, 22, 45, 0.12));
  border-radius: 12px;
  background: var(--rarebl-elevated);
  cursor: pointer;
}
.p2p-three-select-row.is-selected {
  border-color: var(--rarebl-brand);
  background: var(--rarebl-brand-tint, rgba(162, 22, 45, 0.06));
}
.p2p-three-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--rarebl-deep);
  font-size: 13px;
}
.p2p-three-steps li + li {
  margin-top: 6px;
}
.p2p-three-detail-value .p2p-chip,
.p2p-three-detail-value .p2p-three-view-all {
  margin-left: 6px;
}
[data-theme="dark"] .p2p-three-select-row {
  background: var(--rarebl-elevated);
  border-color: var(--rarebl-border);
}
