/* ── P2P Dark Shell Overrides ── */
body.p2p-dark { background: #0f1923; }
body.p2p-dark .app-shell { background: #0f1923; }
body.p2p-dark .app-content { background: #0f1923; }
body.p2p-dark .bottom-nav { background: #131e2a; border-top-color: #2d3f55; }
body.p2p-dark .nav-item { color: #64748b; }
body.p2p-dark .nav-item.active { color: #00c7ff; }
body.p2p-dark .p2p-tabs { background: #1a2535; }
body.p2p-dark .p2p-tab { color: #64748b; background: transparent; }
body.p2p-dark .p2p-tab.active { background: #0f1923; color: #00c7ff; }
body.p2p-dark .hist-tabs { background: #1a2535; }
body.p2p-dark .hist-tab { color: #64748b; background: transparent; }
body.p2p-dark .hist-tab.active { background: #0f1923; color: #00c7ff; }
body.p2p-dark .section-title { color: #e2e8f0; }
body.p2p-dark .warning-box { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.3); color: #fbbf24; }

/* ── Info Banner ── */
.p2p-info-banner { background: rgba(0,199,255,.1); border-left: 3px solid #00c7ff; border-radius: 8px; padding: 10px 14px; display:flex; gap:8px; font-size:12px; color:#94a3b8; margin-bottom:14px; }

/* ── Filters ── */
.p2p-filter-row { display:flex; gap:8px; margin-bottom:14px; }
.p2p-select { flex:1; background:#1a2535; border:1px solid #2d3f55; color:#e2e8f0; border-radius:8px; padding:8px 10px; font-size:13px; }
.p2p-input-sm { width:90px; background:#1a2535; border:1px solid #2d3f55; color:#e2e8f0; border-radius:8px; padding:8px 10px; font-size:13px; }

/* ── Ad card ── */
.p2p-ad-card { background:#1a2535; border-radius:12px; padding:14px; margin-bottom:10px; border:1px solid #2d3f55; cursor:pointer; transition:border-color .2s; }
.p2p-ad-card:hover { border-color:#00c7ff; }
.p2p-ad-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.p2p-ad-price { font-size:22px; font-weight:700; color:#00c7ff; }
.p2p-ad-fiat { font-size:12px; color:#64748b; }
.p2p-ad-advertiser { display:flex; align-items:center; gap:8px; }
.p2p-ad-avatar { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,#00c7ff,#0055aa); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#fff; flex-shrink:0; }
.p2p-ad-name { font-size:12px; color:#94a3b8; }
.p2p-ad-stats { font-size:11px; color:#64748b; }
.p2p-ad-row { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.p2p-ad-limits { font-size:12px; color:#94a3b8; }
.p2p-ad-methods { display:flex; gap:4px; flex-wrap:wrap; }
.p2p-method-chip { background:#0f1923; border:1px solid #2d3f55; border-radius:20px; padding:2px 8px; font-size:11px; color:#94a3b8; }
.p2p-btn-buy { background:linear-gradient(135deg,#00c7ff,#0097be); color:#fff; border:none; border-radius:8px; padding:7px 18px; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
.p2p-btn-sell { background:linear-gradient(135deg,#f43f5e,#be123c); color:#fff; border:none; border-radius:8px; padding:7px 18px; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }

/* ── Skeleton loader ── */
.p2p-skeleton { background: linear-gradient(90deg,#1a2535 25%,#243040 50%,#1a2535 75%); background-size:200%; animation:shimmer 1.2s infinite; border-radius:12px; height:100px; margin-bottom:10px; }
@keyframes shimmer { 0%{background-position:200%} 100%{background-position:-200%} }

/* ── Badge ── */
.p2p-badge { background:#f43f5e; color:#fff; border-radius:10px; padding:1px 6px; font-size:10px; font-weight:700; margin-left:4px; }

/* ── Empty state ── */
.p2p-empty { text-align:center; padding:48px 16px; color:#64748b; }
.p2p-empty-icon { font-size:36px; margin-bottom:12px; }

/* ── Modal ── */
.p2p-modal-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.7); z-index:1000; display:flex; align-items:flex-end; justify-content:center; }
.p2p-modal { background:#1a2535; border-radius:20px 20px 0 0; width:100%; max-width:500px; max-height:90vh; overflow-y:auto; }
.p2p-modal-header { display:flex; justify-content:space-between; align-items:center; padding:18px 18px 0; font-size:16px; font-weight:700; color:#e2e8f0; }
.p2p-modal-close { background:none; border:none; color:#94a3b8; font-size:18px; cursor:pointer; }
.p2p-modal-body { padding:16px 18px 24px; }

/* ── Modal advertiser row ── */
.p2p-advertiser-row { display:flex; align-items:center; gap:10px; margin-bottom:14px; padding:10px; background:#0f1923; border-radius:10px; }
.p2p-avatar { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#00c7ff,#0055aa); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:#fff; flex-shrink:0; }
.p2p-advertiser-name { font-size:14px; font-weight:600; color:#e2e8f0; }
.p2p-advertiser-stats { font-size:11px; color:#64748b; }

/* ── Price display ── */
.p2p-price-display { text-align:center; margin:14px 0; }
.p2p-price-big { font-size:28px; font-weight:800; color:#00c7ff; }
.p2p-fiat-code { font-size:14px; font-weight:600; color:#94a3b8; margin-left:4px; }

/* ── Amount inputs ── */
.p2p-order-row { margin-bottom:14px; }
.p2p-order-row label { display:block; font-size:12px; color:#64748b; margin-bottom:6px; }
.p2p-amount-row { display:flex; align-items:center; background:#0f1923; border:1px solid #2d3f55; border-radius:10px; overflow:hidden; }
.p2p-amount-input { flex:1; background:transparent; border:none; color:#e2e8f0; font-size:18px; font-weight:600; padding:10px 12px; outline:none; }
.p2p-unit { padding:0 14px; font-size:13px; font-weight:600; color:#00c7ff; background:#0f1923; border-left:1px solid #2d3f55; height:100%; display:flex; align-items:center; white-space:nowrap; }
.p2p-limits { font-size:11px; color:#64748b; margin-top:4px; }
.p2p-arrow-sep { text-align:center; font-size:20px; color:#64748b; margin:4px 0; }

/* ── Terms & security ── */
.p2p-terms-box { background:#0f1923; border:1px solid #2d3f55; border-radius:8px; padding:10px 12px; font-size:12px; color:#94a3b8; margin-bottom:12px; white-space:pre-wrap; }
.p2p-security-note { background:rgba(0,199,255,.06); border:1px solid rgba(0,199,255,.2); border-radius:8px; padding:10px 12px; font-size:11px; color:#94a3b8; margin-bottom:14px; }

/* ── Buttons ── */
.p2p-btn-primary { background:linear-gradient(135deg,#00c7ff,#0097be); color:#fff; border:none; border-radius:12px; padding:14px; font-size:15px; font-weight:700; cursor:pointer; width:100%; }
.p2p-btn-danger { background:linear-gradient(135deg,#f43f5e,#be123c); color:#fff; border:none; border-radius:12px; padding:12px; font-size:14px; font-weight:600; cursor:pointer; width:100%; }
.p2p-btn-outline { background:transparent; color:#00c7ff; border:1.5px solid #00c7ff; border-radius:12px; padding:12px; font-size:14px; font-weight:600; cursor:pointer; width:100%; }

/* ── Order card ── */
.p2p-order-card { background:#1a2535; border-radius:12px; padding:14px; margin-bottom:10px; border:1px solid #2d3f55; }
.p2p-order-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.p2p-order-id { font-size:11px; color:#64748b; }
.p2p-status-badge { border-radius:20px; padding:3px 10px; font-size:11px; font-weight:600; }
.p2p-status-pending { background:rgba(251,191,36,.15); color:#fbbf24; }
.p2p-status-paid { background:rgba(0,199,255,.15); color:#00c7ff; }
.p2p-status-completed { background:rgba(52,211,153,.15); color:#34d399; }
.p2p-status-cancelled { background:rgba(100,116,139,.15); color:#64748b; }
.p2p-status-disputed { background:rgba(244,63,94,.15); color:#f43f5e; }
.p2p-order-amounts { margin-bottom:10px; }
.p2p-order-crypto { font-size:18px; font-weight:700; color:#e2e8f0; }
.p2p-order-fiat { font-size:13px; color:#94a3b8; }
.p2p-order-actions { display:flex; gap:8px; flex-wrap:wrap; }

/* ── Small buttons ── */
.p2p-btn-sm { padding:7px 14px; border-radius:8px; font-size:12px; font-weight:600; cursor:pointer; border:none; }
.p2p-btn-sm-primary { background:#00c7ff; color:#0f1923; }
.p2p-btn-sm-danger { background:#f43f5e; color:#fff; }
.p2p-btn-sm-ghost { background:transparent; border:1px solid #2d3f55; color:#94a3b8; }

/* ── Timer ── */
.p2p-timer { font-size:12px; color:#fbbf24; font-weight:600; margin-bottom:8px; }

/* ── Chat ── */
.p2p-chat-wrap { background:#0f1923; border-radius:10px; max-height:220px; overflow-y:auto; padding:10px; margin-bottom:10px; }
.p2p-chat-msg { margin-bottom:8px; }
.p2p-chat-msg.mine { text-align:right; }
.p2p-chat-bubble { display:inline-block; max-width:80%; padding:7px 11px; border-radius:12px; font-size:13px; }
.p2p-chat-msg.mine .p2p-chat-bubble { background:#00c7ff; color:#0f1923; border-radius:12px 12px 2px 12px; }
.p2p-chat-msg.other .p2p-chat-bubble { background:#243040; color:#e2e8f0; border-radius:12px 12px 12px 2px; }
.p2p-chat-msg.system .p2p-chat-bubble { background:rgba(100,116,139,.2); color:#94a3b8; font-size:11px; font-style:italic; border-radius:12px; }
.p2p-chat-time { font-size:10px; color:#64748b; margin-top:2px; }
.p2p-chat-input-row { display:flex; gap:8px; }
.p2p-chat-input { flex:1; background:#1a2535; border:1px solid #2d3f55; color:#e2e8f0; border-radius:10px; padding:9px 12px; font-size:13px; outline:none; }
.p2p-chat-send { background:#00c7ff; color:#0f1923; border:none; border-radius:10px; padding:9px 14px; font-size:16px; cursor:pointer; }
.p2p-chat-toggle { font-size:12px; color:#00c7ff; cursor:pointer; margin-top:10px; display:inline-block; }
.p2p-chat-section { display:none; margin-top:10px; padding-top:10px; border-top:1px solid #2d3f55; }
.p2p-chat-section.open { display:block; }

/* ── Ad creation form ── */
.p2p-form-section { margin-bottom:18px; }
.p2p-form-section h3 { font-size:13px; color:#64748b; margin-bottom:10px; text-transform:uppercase; letter-spacing:.5px; }
.p2p-form-row { margin-bottom:12px; }
.p2p-form-row label { display:block; font-size:12px; color:#94a3b8; margin-bottom:6px; }
.p2p-form-input { width:100%; box-sizing:border-box; background:#0f1923; border:1px solid #2d3f55; color:#e2e8f0; border-radius:10px; padding:10px 12px; font-size:14px; outline:none; }
.p2p-form-input:focus { border-color:#00c7ff; }
.p2p-form-textarea { width:100%; box-sizing:border-box; background:#0f1923; border:1px solid #2d3f55; color:#e2e8f0; border-radius:10px; padding:10px 12px; font-size:13px; min-height:70px; resize:vertical; outline:none; }
.p2p-form-textarea:focus { border-color:#00c7ff; }
.p2p-radio-row { display:flex; gap:10px; }
.p2p-radio-btn { flex:1; padding:10px; border-radius:10px; border:1.5px solid #2d3f55; background:#0f1923; color:#94a3b8; text-align:center; cursor:pointer; font-size:13px; font-weight:600; transition:all .2s; }
.p2p-radio-btn.selected { border-color:#00c7ff; color:#00c7ff; background:rgba(0,199,255,.08); }
.p2p-pm-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.p2p-pm-chip { padding:8px 10px; border-radius:8px; border:1.5px solid #2d3f55; background:#0f1923; color:#94a3b8; font-size:12px; cursor:pointer; transition:all .2s; text-align:center; }
.p2p-pm-chip.selected { border-color:#00c7ff; color:#00c7ff; background:rgba(0,199,255,.08); }

/* ── My ad card ── */
.p2p-my-ad-card { background:#1a2535; border-radius:12px; padding:14px; margin-bottom:10px; border:1px solid #2d3f55; }
.p2p-my-ad-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.p2p-my-ad-info { font-size:14px; color:#e2e8f0; font-weight:600; }
.p2p-my-ad-sub { font-size:11px; color:#64748b; margin-top:2px; }
.p2p-my-ad-actions { display:flex; gap:6px; flex-shrink:0; }
.p2p-toggle-btn { background:transparent; border:1px solid #00c7ff; color:#00c7ff; border-radius:8px; padding:5px 10px; font-size:11px; font-weight:600; cursor:pointer; }
.p2p-toggle-btn.paused { border-color:#64748b; color:#64748b; }
.p2p-delete-btn { background:transparent; border:1px solid #f43f5e; color:#f43f5e; border-radius:8px; padding:5px 10px; font-size:11px; font-weight:600; cursor:pointer; }

/* ── Section title ── */
.p2p-section-title { font-size:13px; font-weight:700; color:#94a3b8; margin:16px 0 8px; text-transform:uppercase; letter-spacing:.5px; }

/* ── CTA card ── */
.p2p-cta-card { background:linear-gradient(135deg,#00c7ff,#0097be); border-radius:12px; padding:16px; margin-bottom:14px; text-align:center; }
.p2p-cta-title { font-size:16px; font-weight:700; color:#fff; margin-bottom:4px; }
.p2p-cta-sub { font-size:12px; color:rgba(255,255,255,.8); margin-bottom:12px; }
.p2p-cta-btn { background:#fff; color:#00c7ff; border:none; border-radius:10px; padding:10px 24px; font-size:14px; font-weight:700; cursor:pointer; }

/* ── Counterparty row ── */
.p2p-counterparty-row { display:flex; align-items:center; gap:8px; margin-top:4px; }
.p2p-counterparty-avatar { width:22px; height:22px; border-radius:50%; background:linear-gradient(135deg,#00c7ff,#0055aa); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:#fff; flex-shrink:0; }
.p2p-counterparty-name { font-size:12px; color:#94a3b8; }
.p2p-role-badge { font-size:10px; font-weight:700; padding:2px 7px; border-radius:10px; }
.p2p-role-buyer { background:rgba(0,199,255,.15); color:#00c7ff; }
.p2p-role-seller { background:rgba(244,63,94,.15); color:#f43f5e; }

/* ── History card ── */
.p2p-hist-card { background:#1a2535; border-radius:12px; padding:14px; margin-bottom:10px; border:1px solid #2d3f55; }
.p2p-hist-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.p2p-hist-meta { font-size:11px; color:#64748b; margin-bottom:8px; }
.p2p-hist-crypto { font-size:16px; font-weight:700; color:#e2e8f0; }
.p2p-hist-fiat { font-size:12px; color:#94a3b8; }
.p2p-hist-date { font-size:11px; color:#64748b; }
.p2p-rating-row { display:flex; gap:8px; margin-top:8px; align-items:center; }
.p2p-rate-btn { background:transparent; border:1px solid #2d3f55; border-radius:8px; padding:5px 12px; font-size:14px; cursor:pointer; color:#e2e8f0; }
.p2p-rate-btn:hover { background:#243040; border-color:#00c7ff; }
.p2p-rated-text { font-size:11px; color:#64748b; font-style:italic; }

/* ── Dispute card ── */
.p2p-dispute-card { background:#1a2535; border-radius:12px; padding:14px; margin-bottom:10px; border:1px solid rgba(244,63,94,.25); }
.p2p-dispute-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.p2p-dispute-reason { font-size:13px; color:#e2e8f0; font-weight:600; margin-bottom:6px; }
.p2p-dispute-desc { font-size:12px; color:#94a3b8; margin-bottom:8px; line-height:1.5; }
.p2p-dispute-evidence { background:#0f1923; border-radius:8px; padding:8px 10px; font-size:11px; color:#64748b; margin-bottom:8px; white-space:pre-wrap; }
.p2p-dispute-resolution { background:rgba(52,211,153,.08); border:1px solid rgba(52,211,153,.3); border-radius:8px; padding:8px 10px; font-size:12px; color:#34d399; margin-top:8px; }
.p2p-status-open { background:rgba(244,63,94,.15); color:#f43f5e; border-radius:20px; padding:3px 10px; font-size:11px; font-weight:600; }
.p2p-status-resolved { background:rgba(52,211,153,.15); color:#34d399; border-radius:20px; padding:3px 10px; font-size:11px; font-weight:600; }
.p2p-status-reviewing { background:rgba(251,191,36,.15); color:#fbbf24; border-radius:20px; padding:3px 10px; font-size:11px; font-weight:600; }

/* ── Dispute step indicator ── */
.p2p-steps { display:flex; gap:0; margin:16px 0; }
.p2p-step { flex:1; text-align:center; position:relative; }
.p2p-step::after { content:''; position:absolute; top:12px; left:50%; width:100%; height:2px; background:#2d3f55; z-index:0; }
.p2p-step:last-child::after { display:none; }
.p2p-step-dot { width:24px; height:24px; border-radius:50%; background:#2d3f55; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; margin:0 auto 4px; position:relative; z-index:1; color:#64748b; }
.p2p-step.done .p2p-step-dot { background:#34d399; color:#0f1923; }
.p2p-step.active .p2p-step-dot { background:#00c7ff; color:#0f1923; }
.p2p-step-label { font-size:10px; color:#64748b; }

/* ── Tabs ── */
.p2p-tabs { display:flex; background:#1a2535; border-radius:0; overflow:hidden; }
.p2p-tab { flex:1; padding:10px 0; background:transparent; border:none; color:#64748b; font-size:14px; font-weight:500; cursor:pointer; transition:.2s; font-family:inherit; }
.p2p-tab.active { background:#0f1923; color:#00c7ff; font-weight:700; }
.hist-tabs { display:flex; gap:0; padding:10px 16px 0; background:#0f1923; }
.hist-tab { padding:8px 14px; background:transparent; border:none; border-bottom:2px solid transparent; color:#64748b; font-size:13px; font-weight:500; cursor:pointer; transition:.2s; font-family:inherit; }
.hist-tab.active { border-bottom-color:#00c7ff; color:#00c7ff; font-weight:700; }

/* ── Responsive — tablet (≥ 600px): center modals ── */
@media (min-width: 600px) {
  .p2p-modal-backdrop { align-items:center; padding:16px; }
  .p2p-modal { border-radius:16px; max-width:480px; }
}

/* ── Responsive — small phones (≤ 400px) ── */
@media (max-width: 400px) {
  /* Filters: stack on very small screens */
  .p2p-filter-row { flex-wrap:wrap; }
  .p2p-select { min-width:120px; }
  .p2p-input-sm { width:100%; }

  /* Ad card: price below advertiser on tiny screens */
  .p2p-ad-header { flex-wrap:wrap; gap:8px; }
  .p2p-ad-price { font-size:18px; }

  /* Order actions: full-width buttons */
  .p2p-order-actions { flex-direction:column; }
  .p2p-btn-sm { width:100%; text-align:center; padding:9px; }

  /* History card header */
  .p2p-hist-card-header { flex-wrap:wrap; gap:6px; }

  /* My ad header: stack */
  .p2p-my-ad-header { flex-wrap:wrap; gap:8px; }
  .p2p-my-ad-actions { width:100%; justify-content:flex-end; }

  /* Price big */
  .p2p-price-big { font-size:22px; }

  /* Amount input */
  .p2p-amount-input { font-size:15px; }
}

/* ── Responsive — medium phones (≤ 480px) ── */
@media (max-width: 480px) {
  /* Reduce padding on modal body */
  .p2p-modal-body { padding:12px 14px 20px; }
  .p2p-modal-header { padding:14px 14px 0; }

  /* Ad card buy/sell button: always visible */
  .p2p-ad-row { flex-wrap:wrap; gap:8px; }
  .p2p-btn-buy, .p2p-btn-sell { width:100%; padding:9px 18px; }

  /* CTA card */
  .p2p-cta-card { padding:14px; }
  .p2p-cta-title { font-size:14px; }

  /* Form grid: 1 column on mobile */
  .p2p-pm-grid { grid-template-columns:1fr 1fr; }

  /* Reduce form section padding */
  .p2p-form-section { margin-bottom:14px; }

  /* Dispute card */
  .p2p-dispute-card-header { flex-wrap:wrap; gap:6px; }
}

/* ── Payment box (seller account details for buyer) ── */
.p2p-payment-box { background: rgba(0,199,255,.07); border: 1px solid rgba(0,199,255,.25); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.p2p-payment-box-title { font-size: 12px; font-weight: 600; color: #00c7ff; margin-bottom: 8px; }
.p2p-payment-box-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.p2p-payment-box-row:last-child { margin-bottom: 0; }
.p2p-payment-label { font-size: 11px; color: #64748b; flex-shrink: 0; min-width: 50px; }
.p2p-payment-value { font-size: 13px; color: #e2e8f0; font-weight: 600; flex: 1; word-break: break-all; }
.p2p-copy-btn { background: rgba(0,199,255,.15); border: 1px solid rgba(0,199,255,.3); border-radius: 5px; color: #00c7ff; font-size: 11px; padding: 2px 8px; cursor: pointer; flex-shrink: 0; }
.p2p-copy-btn:hover { background: rgba(0,199,255,.25); }

/* ── Fee notice ── */
.p2p-fee-notice { background: rgba(251,191,36,.1); border-left: 3px solid #fbbf24; border-radius: 6px; padding: 8px 12px; font-size: 12px; color: #fbbf24; margin-bottom: 10px; }

/* ── Profile link in app-bar ── */
.p2p-profile-link { font-size:20px; text-decoration:none; padding:4px 8px; border-radius:8px; transition:background .2s; }
.p2p-profile-link:hover { background:rgba(0,199,255,.15); }

/* ── Profile card ── */
.p2p-profile-card { background:#1a2535; border-radius:14px; padding:18px; display:flex; align-items:center; gap:14px; margin-bottom:16px; border:1px solid #2d3f55; }
.p2p-profile-avatar { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,#00c7ff,#0080ff); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:700; color:#fff; flex-shrink:0; }
.p2p-profile-info { flex:1; min-width:0; }
.p2p-profile-name { font-size:17px; font-weight:700; color:#e2e8f0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p2p-profile-since { font-size:12px; color:#64748b; margin-top:3px; }

/* ── Stats row ── */
.p2p-stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:4px; }
.p2p-stat-box { background:#1a2535; border-radius:10px; padding:12px 6px; text-align:center; border:1px solid #2d3f55; }
.p2p-stat-val { font-size:18px; font-weight:700; color:#00c7ff; }
.p2p-stat-lbl { font-size:10px; color:#64748b; margin-top:3px; }

/* ── Section title with action ── */
.p2p-section-title { font-size:14px; font-weight:600; color:#94a3b8; margin-bottom:10px; display:flex; justify-content:space-between; align-items:center; }
.p2p-btn-add-account { background:#00c7ff; color:#0f1923; border:none; border-radius:8px; padding:5px 12px; font-size:12px; font-weight:700; cursor:pointer; }

/* ── Account card ── */
.p2p-account-card { background:#1a2535; border-radius:12px; padding:12px 14px; margin-bottom:8px; border:1px solid #2d3f55; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.p2p-account-left { display:flex; align-items:center; gap:10px; flex:1; min-width:0; }
.p2p-account-icon { font-size:20px; flex-shrink:0; }
.p2p-account-info { flex:1; min-width:0; }
.p2p-account-method { font-size:13px; font-weight:600; color:#e2e8f0; display:flex; align-items:center; gap:6px; }
.p2p-account-holder { font-size:12px; color:#94a3b8; margin-top:2px; }
.p2p-account-details { font-size:11px; color:#64748b; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p2p-default-badge { background:rgba(0,199,255,.15); color:#00c7ff; border-radius:4px; padding:1px 6px; font-size:10px; font-weight:600; }
.p2p-account-actions { display:flex; gap:4px; flex-shrink:0; }
.p2p-icon-btn { background:none; border:1px solid #2d3f55; border-radius:6px; padding:4px 8px; cursor:pointer; font-size:14px; }
.p2p-icon-btn:hover { background:#2d3f55; }

/* ── Rating items ── */
.p2p-rating-item { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid #1e2d3d; }
.p2p-rating-item:last-child { border-bottom:none; }
.p2p-rating-thumb { font-size:20px; flex-shrink:0; }
.p2p-rating-positive { filter:none; }
.p2p-rating-negative { filter:grayscale(0.3); }
.p2p-rating-body { flex:1; min-width:0; }
.p2p-rating-from { font-size:13px; font-weight:600; color:#e2e8f0; display:block; }
.p2p-rating-meta { font-size:11px; color:#64748b; margin-top:2px; }

/* ── App bar back button ── */
.app-bar-back { background:none; border:none; color:#94a3b8; font-size:18px; cursor:pointer; padding:4px 8px; border-radius:8px; }
.app-bar-back:hover { background:rgba(255,255,255,.08); }

@media (max-width: 400px) {
  .p2p-stats-row { grid-template-columns:repeat(2,1fr); }
  .p2p-stat-val { font-size:16px; }
}
