/* Тема «Кошелёк (B)»: Вывод средств (panel/auth/withdraw и вкладка биржи exchange/partials/withdraw-tab).
 * Поля, data-wd-* и скрипт расчёта — из оригинала; здесь только вид. Mobile-first. */

html.dark.lk-theme-wallet .lk-b-wd { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Шапка страницы: баланс отдельной плиткой */
html.dark.lk-theme-wallet .lk-b-wd--page .lk-exch__hero { gap: 14px; }
html.dark.lk-theme-wallet .lk-b-wd-balance {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  background: #2a2416 !important;
  border: 0 !important;
}
html.dark.lk-theme-wallet .lk-b-wd-balance__label { color: #a6a7ad; font-size: 13px; font-weight: 600; }
html.dark.lk-theme-wallet .lk-b-wd-balance__value {
  font-family:"Unbounded", "Onest", sans-serif !important;
  font-size:24px !important;
  font-weight:700 !important;
  color:#f2b94b !important;
  font-variant-numeric: tabular-nums;
}

/* Форма */
html.dark.lk-theme-wallet .lk-b-wd-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
html.dark.lk-theme-wallet .lk-b-wd-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  color:#a6a7ad !important;
  font-size:14px !important;
  font-weight:600 !important;
}
html.dark.lk-theme-wallet .lk-b-wd-form input,
html.dark.lk-theme-wallet .lk-b-wd-form select {
  width: 100%;
  min-height: 48px;
  padding:12px 14px !important;
  border-radius: 12px !important;
  border: 1px solid #3a3b42 !important;
  background: #131417 !important;
  color: #ececee !important;
  font: inherit;
  font-size:16px !important;
  font-weight:500 !important;
  box-sizing: border-box;
}
html.dark.lk-theme-wallet .lk-b-wd-form input[name="amount_dc"] {
  font-family:"Unbounded", "Onest", sans-serif !important;
  font-size:20px !important;
}
html.dark.lk-theme-wallet .lk-b-wd-form input:focus-visible,
html.dark.lk-theme-wallet .lk-b-wd-form select:focus-visible {
  outline:2px solid #f2b94b !important;
  outline-offset: 1px;
  border-color: #f2b94b !important;
}
html.dark.lk-theme-wallet .lk-b-wd-usdt,
html.dark.lk-theme-wallet .lk-b-wd-card:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
html.dark.lk-theme-wallet .lk-b-wd-usdt[hidden],
html.dark.lk-theme-wallet .lk-b-wd-card[hidden] { display: none !important; }

/* Расчёт «К получению» */
html.dark.lk-theme-wallet .lk-b-wd-calc {
  padding:14px 16px !important;
  border-radius:14px !important;
  border:0 !important;
  background:#131417 !important;
  color:#ececee !important;
  font-size:15px !important;
  font-weight:600 !important;
  font-variant-numeric: tabular-nums;
}
html.dark.lk-theme-wallet .lk-b-wd-calc:empty { display: none; }

html.dark.lk-theme-wallet .lk-b-wd-form .lk-exch__btn--accent {
  width: 100%;
  min-height: 52px;
  border-radius:14px !important;
  font-size:16px !important;
}

/* Заявки: карточки со статусом */
html.dark.lk-theme-wallet .lk-b-wd .lk-exch__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border:0 !important;
  background:transparent !important;
  overflow: visible;
}
html.dark.lk-theme-wallet .lk-b-wd-order {
  border-radius:14px !important;
  border: 0 !important;
  background:#26272c !important;
  padding:14px !important;
}
html.dark.lk-theme-wallet .lk-b-wd-order:hover { background: #2a2b31; }
html.dark.lk-theme-wallet .lk-b-wd-order .lk-exch__row-items strong { color: #ececee; font-size: 15px; }
html.dark.lk-theme-wallet .lk-b-wd-order .lk-exch__muted { word-break: break-all; }
html.dark.lk-theme-wallet .lk-b-wd-order .lk-exch__price { font-size: 17px; }
html.dark.lk-theme-wallet .lk-b-wd-order form { margin: 0; }

html.dark.lk-theme-wallet .lk-b-wd-status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
html.dark.lk-theme-wallet .lk-b-wd-status--pending { background: #3a2f17; color: #f2b94b; }
html.dark.lk-theme-wallet .lk-b-wd-status--processing { background: #23263a; color: #c8cffc; }
html.dark.lk-theme-wallet .lk-b-wd-status--paid { background: #173326; color: #7fd6a3; }
html.dark.lk-theme-wallet .lk-b-wd-status--rejected { background: #3a1d1b; color: #ff8f86; }
html.dark.lk-theme-wallet .lk-b-wd-status--cancelled { background: #26272c; color: #a6a7ad; border: 1px solid #3a3b42; }

@media (min-width: 640px) {
  html.dark.lk-theme-wallet .lk-b-wd-card:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  html.dark.lk-theme-wallet .lk-b-wd--page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }
  html.dark.lk-theme-wallet .lk-b-wd--page > .lk-exch__hero,
  html.dark.lk-theme-wallet .lk-b-wd--page > .lk-exch__flash { grid-column: 1 / -1; }
  html.dark.lk-theme-wallet .lk-b-wd--page .lk-exch__hero { flex-direction: row; justify-content: space-between; align-items: center; }
  html.dark.lk-theme-wallet .lk-b-wd--page .lk-b-wd-balance { flex: 0 0 auto; min-width: 220px; }
  html.dark.lk-theme-wallet .lk-b-wd-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.dark.lk-theme-wallet .lk-b-wd-form > label:first-of-type,
  html.dark.lk-theme-wallet .lk-b-wd-calc,
  html.dark.lk-theme-wallet .lk-b-wd-usdt,
  html.dark.lk-theme-wallet .lk-b-wd-card,
  html.dark.lk-theme-wallet .lk-b-wd-form .lk-exch__btn--accent { grid-column: 1 / -1; }
}
