/* ICOPAY crypto checkout — pay-shell 과 동일 톤 (카드 결제창 통일) */
.ic-crypto-wrap{max-width:520px;margin:0 auto;padding:1.5rem 1rem 3rem;color:#1a1a2e}
.ic-crypto-card{background:#fff;border-radius:12px;padding:1.75rem 1.5rem 2rem;box-shadow:0 4px 24px rgba(0,0,0,.06)}
.ic-crypto-pay-card .ic-crypto-section{margin-top:1.15rem}
.ic-crypto-brand-wrap{display:flex;justify-content:center;align-items:center;min-height:40px;margin:0 0 8px}
.ic-crypto-brand-img{max-height:48px;max-width:min(100%,220px);object-fit:contain;display:block}
.ic-crypto-brand{font-size:1.1rem;font-weight:700;letter-spacing:.02em;margin:0;text-align:center;color:#1a1a2e}
.ic-crypto-lead{color:#6c757d;font-size:.75rem;margin:0 0 1rem;line-height:1.45}
.ic-crypto-amt{font-size:1.25rem;font-weight:700;margin:8px 0}
.ic-crypto-meta{font-size:.8125rem;color:#6c757d;margin:4px 0}
.ic-crypto-section{margin-top:1.15rem}
.ic-crypto-section h2{font-size:.8rem;margin:0 0 .5rem;color:#333;font-weight:600}
/* 자산: 기존 큰 타일(1~3개). 1개면 가로 꽉 참. 지갑만 5열 축소 */
.ic-crypto-grid{display:grid;gap:10px}
.ic-crypto-grid-assets{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}
.ic-crypto-grid-assets:has(> .ic-crypto-tile:only-child){grid-template-columns:1fr}
.ic-crypto-grid-wallets{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.ic-crypto-tile{appearance:none;border:1px solid #dee2e6;background:var(--ic-bg,#f8fafc);color:var(--ic-fg,#212529);border-radius:8px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease,background .15s ease;min-width:0}
.ic-crypto-tile:hover{box-shadow:0 2px 10px rgba(13,110,253,.08);border-color:#0d6efd}
.ic-crypto-tile.is-selected{border-color:#0d6efd;box-shadow:0 0 0 2px rgba(13,110,253,.25);background:#fff}
.ic-crypto-tile-icon{width:36px;height:36px;display:grid;place-items:center}
.ic-crypto-tile-icon .ic-crypto-icon{width:32px;height:32px}
.ic-crypto-tile-name{font-size:.75rem;font-weight:600;text-align:center;line-height:1.25}
.ic-crypto-grid-wallets .ic-crypto-tile{padding:8px 4px;gap:4px}
.ic-crypto-grid-wallets .ic-crypto-tile-icon{width:22px;height:22px}
.ic-crypto-grid-wallets .ic-crypto-tile-icon .ic-crypto-icon{width:20px;height:20px}
.ic-crypto-grid-wallets .ic-crypto-tile-name{font-size:.62rem;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ic-crypto-addr{word-break:break-all;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:12px;font-family:ui-monospace,Consolas,monospace;font-size:.8125rem;flex:1;min-width:0}
.ic-crypto-addr-row{display:flex;align-items:stretch;gap:8px}
.ic-crypto-copy-btn{flex:0 0 auto;align-self:stretch;min-width:4.2rem;font-weight:600;font-size:.75rem;letter-spacing:.04em}
.ic-crypto-qr-wrap{display:flex;justify-content:center;margin:14px 0 6px}
.ic-crypto-qr-wrap canvas{border-radius:8px;border:1px solid #dee2e6;background:#fff}
.ic-crypto-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.ic-crypto-confirm-wrap{display:flex;justify-content:center;margin-top:18px}
.ic-crypto-btn{border:0;border-radius:6px;padding:.5rem 1.25rem;font-weight:600;cursor:pointer;font-size:.875rem}
.ic-crypto-btn-primary{background:#0d6efd;color:#fff}
.ic-crypto-btn-primary:hover{background:#0b5ed7}
.ic-crypto-btn-ghost{background:#e9ecef;color:#212529}
/* 「입금 주소 받기」— 그레이 파스텔 */
.ic-crypto-btn-pastel-gray{
  background:#E8EEF2!important;
  color:#475569!important;
  border:1px solid #D0D8E0!important;
  font-weight:600;
  box-shadow:none;
}
.ic-crypto-btn-pastel-gray:hover,
.ic-crypto-btn-pastel-gray:focus{
  background:#DDE5EB!important;
  color:#334155!important;
  border-color:#C5CED6!important;
}
.ic-crypto-btn-confirm{min-width:min(100%,280px);padding:14px 22px;border-radius:6px;font-size:.9375rem;font-weight:600;background:#0d6efd;color:#fff;border:0}
.ic-crypto-btn-confirm:hover{background:#0b5ed7}
.ic-crypto-status{margin-top:14px;padding:10px 12px;border-radius:8px;background:#d1e7dd;color:#0f5132;font-size:.875rem}
.ic-crypto-err{margin-top:12px;color:#842029;font-size:.875rem}
/* 수단선택: 높이·아이콘 유지. 다국어·수단2버튼·노란주의 배경 = 동일 가로폭 */
.ic-crypto-means{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:100%;margin-left:0;margin-right:0;box-sizing:border-box}
.ic-crypto-means .ic-crypto-tile{min-height:96px;padding:12px 8px;gap:8px}
.ic-crypto-means .ic-crypto-tile-icon{width:36px;height:36px}
.ic-crypto-means .ic-crypto-tile-icon .ic-crypto-icon{width:32px;height:32px}
.ic-crypto-means .ic-crypto-tile-name{font-size:.75rem;white-space:normal}
.ic-means-page{text-align:center}
.ic-means-card{display:flex;flex-direction:column;align-items:center}
.ic-means-center{text-align:center;width:100%}
.ic-means-section{width:100%;display:flex;flex-direction:column;align-items:center}
.ic-means-grid{justify-content:center;width:100%;max-width:100%;margin:0;box-sizing:border-box}
/* 글자수와 무관하게 배경 폭 = 다국어 메뉴와 동일(카드 콘텐츠 폭 100%) */
.ic-means-notice{margin:22px 0 0;padding:12px 14px;border-radius:8px;background:#fff3cd;color:#664d03;border:1px solid #ffecb5;font-size:.8125rem;line-height:1.45;width:100%;max-width:100%;box-sizing:border-box;text-align:left}
.ic-means-extra-footer{margin:22px 0 0;padding:0;width:100%;max-width:100%;box-sizing:border-box;font-size:.8125rem;line-height:1.45;color:#9ca3af;text-align:center}
.ic-means-page .pay-brand{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:0.75rem}
.ic-means-page .pay-brand-sub{text-align:center;width:100%;max-width:100%;margin-left:0;margin-right:0;box-sizing:border-box}
/* 다국어·수단·노란박스 좌우 끝선 통일 */
.ic-means-page .pay-lang,
.ic-means-page .ic-crypto-means,
.ic-means-page .ic-means-notice,
.ic-means-page .ic-means-extra-footer{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin-left:0;
  margin-right:0;
}

/* 네트워크 선택 — 구매자 결제창 리스트(로고, crypto-pay) */
.ic-crypto-net-list{display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;max-height:280px;overflow-y:auto}
.ic-crypto-net-row{appearance:none;width:100%;border:0;border-bottom:1px solid #f1f5f9;background:#fff;display:flex;align-items:center;gap:14px;padding:12px 14px;cursor:pointer;text-align:left;transition:background .12s ease}
.ic-crypto-net-row:last-child{border-bottom:0}
.ic-crypto-net-row:hover{background:#f8fafc}
.ic-crypto-net-row.is-selected{background:#f0f7ff}
.ic-crypto-net-logo{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center}
.ic-crypto-net-logo .ic-crypto-icon{width:32px;height:32px}
.ic-crypto-net-name{flex:1;font-size:15px;font-weight:500;color:#111827;line-height:1.2}
.ic-crypto-net-chev{flex:0 0 auto;color:#9ca3af;font-size:22px;line-height:1;font-weight:300}

/* 관리·수탁·가맹: 텍스트 전용 select (아이콘 없음 · 동일 크기) */
.ic-crypto-net-select-native{max-width:22rem;width:100%;min-height:2rem}
.crypto-custody-net-wrap .ic-crypto-net-select-native,
.crypto-merch-asset-block .ic-crypto-net-select-native{max-width:22rem}
.crypto-custody-net-wrap .ic-crypto-net-list{max-height:220px}

/* 네트워크별 로고색 파스텔 — 바탕색만 (테두리 색 없음) */
.crypto-net-pastel{
  background-color:var(--crypto-net-bg,#f1f5f9)!important;
  color:var(--crypto-net-fg,#0f172a);
}
tr.crypto-custody-row.crypto-net-pastel:hover{
  filter:brightness(0.98);
}
td.crypto-custody-addr-cell.crypto-net-pastel{
  background-color:var(--crypto-net-bg,#f1f5f9)!important;
  font-weight:500;
  letter-spacing:.01em;
}
.crypto-net-badge.crypto-net-pastel{
  color:var(--crypto-net-fg,#0f172a)!important;
  font-weight:600;
  font-size:.72rem;
  border:0!important;
}
select.ic-crypto-net-select-native.crypto-net-pastel,
input.crypto-net-pastel,
.crypto-seller-addr.crypto-net-pastel,
#cryptoCustodyAddr_usdt.crypto-net-pastel,
#cryptoCustodyAddr_usdc.crypto-net-pastel,
#cryptoCustodyAddr_eurc.crypto-net-pastel{
  background-color:var(--crypto-net-bg,#f1f5f9)!important;
  color:var(--crypto-net-fg,#0f172a);
}

.crypto-merch-asset-block{border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;margin-bottom:8px;background:#fafbfc}
.crypto-merch-asset-block .crypto-merch-asset-title{font-size:.78rem;font-weight:650;margin:0 0 4px;color:#0f172a}
.crypto-merch-asset-block .form-label{margin-bottom:.15rem;font-size:.72rem}
.crypto-merch-asset-block .crypto-seller-addr{font-size:.72rem;padding:.25rem .5rem;min-height:1.85rem}
