/* Sell crypto: coin cards, the wallet box and the steps. The timer, summary, amount box and evidence picker come from
   bank-transfer.css, so both payment flows look the same. */

.cr-body {
  display: flex;
  flex-direction: column;
}
.cr-intro {
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--bt-muted);
}
.cr-coins {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.cr-coin-card {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--bt-text);
  background: var(--surface);
  border: 1.5px solid var(--bt-field-line);
  transition: border-color 0.15s, background-color 0.15s;
}
.cr-coin-card.is-on {
  border-color: var(--bt-purple);
  background: color-mix(in srgb, var(--bt-purple) 7%, var(--surface));
}
.cr-coin-card:disabled {
  cursor: default;
  opacity: 0.6;
}
.cr-coin-card.is-on:disabled {
  opacity: 1;
}
.cr-coin {
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}
.cr-coin.is-btc { background: #f7931a; }
.cr-coin.is-usdt { background: #26a17b; }
.cr-coin.is-eth { background: #627eea; }
.cr-coin.is-other { background: #6f737c; }
.cr-coin-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cr-coin-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.cr-network {
  padding: 1px 7px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--bt-muted);
  background: var(--bt-close);
}
.cr-coin-rate {
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--bt-quote-amount);
}
.cr-quick {
  display: flex;
  gap: 8px;
}
.cr-quick:empty {
  display: none;
}
.cr-quick-chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bt-text);
  background: var(--bt-close);
}
.cr-quick-chip.is-on {
  color: #fff;
  background: var(--bt-purple);
}
.cr-limits {
  font-size: 12px;
  color: var(--bt-muted);
}

/* The wallet */
.cr-wallet {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--bt-card-line);
}
.cr-wallet-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cr-wallet-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.cr-wallet-network {
  font-size: 13px;
  color: var(--bt-muted);
}
.cr-wallet-network strong {
  color: var(--bt-text);
}
.cr-qr {
  align-self: center;
  width: 200px;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--bt-card-line);
}
.cr-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cr-qr .loading {
  min-height: 0;
  height: 100%;
}
.cr-address-box {
  padding: 10px 10px 10px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bt-placeholder);
}
.cr-address {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}
.cr-copy {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bt-action);
  background: var(--bt-action-bg);
}
.cr-copy.is-done {
  color: var(--wd-green);
  background: var(--wd-green-soft);
}
.cr-warning {
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--bt-low-text);
  background: var(--bt-low);
}
.cr-warning .icon {
  margin-top: 1px;
  font-size: 15px;
}
.cr-steps {
  margin: 0 0 2px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--bt-muted);
}
.cr-hash {
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid var(--bt-field-line);
  outline: none;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--bt-text);
  background: var(--surface);
}
.cr-hash:focus {
  border-color: var(--bt-purple);
}
.bt-receipt .bt-label {
  padding-bottom: 0;
}

/* The page's buttons (Get wallet address, submit evidence, Done, Start again): black like the dashboard's Withdraw
   button (white in Dark Mode), instead of Bank transfer's purple. */
.sell-crypto .bt-continue {
  color: var(--surface);
  background: var(--text);
  box-shadow: none;
}
.sell-crypto .bt-continue:active {
  opacity: 0.85;
}
