/* A1-Shop Mini App — FIXED dark theme (игнорим Telegram theme vars).
   Единый брендовый вид у всех юзеров, как в A1-Antidetect софте.
   Палитра — современный dark (near-black + neon-green accent). */

:root {
    /* Фон */
    --bg-primary: #0e0f11;         /* body */
    --bg-secondary: #17181b;       /* topbar / tabbar */
    --bg-card: #1c1e22;            /* карточки */
    --bg-card-hover: #24272c;      /* карточка при :active */

    /* Границы */
    --card-border: #2a2d33;

    /* Текст */
    --text: #ececef;               /* основной */
    --text-secondary: #8a8d95;     /* подписи, метки */
    --text-muted: #5b5e66;         /* совсем тусклый */

    /* Акценты */
    --accent: #22c55e;             /* зелёный (main CTA, баланс, active tab) */
    --accent-hover: #16a34a;
    --accent-soft: rgba(34, 197, 94, 0.14);  /* фон для chip / mild highlight */
    --primary: #3b82f6;            /* синий (вторичный, ссылки) */
    --danger: #ef4444;
    --warning: #f59e0b;
}

/* Принудительно тёмная схема даже когда браузер в light mode */
html { color-scheme: dark; }

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    min-height: 100vh;
    overscroll-behavior: none;
}

body {
    display: flex;
    flex-direction: column;
    /* оставляем место снизу под tabbar + полоску «другие магазины» (04.11.2026) */
    padding-bottom: 104px;
}

/* ─── Top bar ─────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
}
.topbar-title { font-weight: 600; font-size: 17px; letter-spacing: -0.2px; }
.topbar-balance {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* ─── Screens ─────────────────────────────── */
#app { flex: 1 0 auto; padding: 12px 12px 0; }
.screen { display: none; }
.screen.active { display: block; animation: fadeIn 160ms ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.screen-title { margin: 8px 4px 12px; font-size: 15px; color: var(--text-secondary); font-weight: 500; }
.screen-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.screen-header .screen-title { margin: 0; }
.back-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 15px;
    cursor: pointer;
    padding: 8px 4px;
}

/* ─── Category tiles (главный экран) ──────── */
.tiles { display: flex; flex-direction: column; gap: 10px; }
.tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    cursor: pointer;
    transition: background 100ms, transform 80ms;
}
.tile:active { background: var(--bg-card-hover); transform: scale(0.98); }
.tile-emoji {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    flex: 0 0 48px;
    overflow: hidden;
}
.tile-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}
.tile-body { flex: 1; min-width: 0; }
.tile-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 2px;
}
.tile-title { font-size: 16px; font-weight: 600; }
/* Бейджи типа товара (Б/У, 2FA, хит…) — 07.10.2026 */
.tile-badge {
    display: inline-block;
    padding: 2px 7px;
    background: var(--tg-theme-button-color, #2481cc);
    color: var(--tg-theme-button-text-color, #fff);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0.85;
}
/* 04.11.2026: флаг SMTP — жёлтый */
.tile-badge.tile-badge-smtp {
    background: #ffc400;
    color: #1a1a1a;
    opacity: 1;
}
.tile-sub { font-size: 13px; color: var(--text-secondary); }
.tile-arrow { color: var(--text-secondary); font-size: 20px; }

/* ─── Accounts list ───────────────────────── */
.account-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.account-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}
.account-body { flex: 1; min-width: 0; }
.account-line1 { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.account-line1 .flag { font-size: 15px; }
.account-line2 { color: var(--text-secondary); font-size: 12px; margin-top: 3px; }
.account-price { font-weight: 700; color: var(--accent); font-size: 15px; margin-right: 6px; }
.account-add {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 100ms;
}
.account-add:active { opacity: 0.7; }

/* ─── Wallet ──────────────────────────────── */
.wallet-card {
    background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(59,130,246,0.12));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    padding: 22px;
    margin: 8px 0 16px;
    text-align: center;
}
.wallet-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.wallet-balance { font-size: 32px; font-weight: 700; color: var(--accent); }
.wallet-actions { display: flex; gap: 8px; margin-bottom: 20px; }

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 100ms, background 100ms;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:active { opacity: 0.8; }
.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--card-border);
}
.btn-secondary:active { background: var(--bg-card-hover); }

.section-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 20px 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ─── Support ─────────────────────────────── */
.support-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 8px;
}
.support-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.support-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
}
.faq-item summary {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    list-style: none;
    position: relative;
    padding-right: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '›';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    color: var(--text-secondary);
    transition: transform 150ms;
    font-size: 18px;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.faq-item p {
    margin: 10px 0 2px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Cart ───────────────────────────────────── */
.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 8px;
}
.cart-item-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    flex: 0 0 40px;
    overflow: hidden;
}
.cart-item-icon img { width: 26px; height: 26px; object-fit: contain; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-title { font-size: 14px; font-weight: 600; }
.cart-item-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.qty-control { display: flex; align-items: center; gap: 6px; }
.qty-btn {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 100ms;
    padding: 0; line-height: 1;
}
.qty-btn:active { background: var(--bg-card-hover); }
.qty-value {
    min-width: 24px; text-align: center;
    font-size: 14px; font-weight: 600;
}

.cart-footer {
    position: sticky; bottom: 0;
    background: var(--bg-primary);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--card-border);
}
.cart-total-row {
    display: flex; justify-content: space-between;
    padding: 10px 4px 12px;
    font-size: 15px; font-weight: 600;
}
.cart-total-amount { color: var(--accent); font-size: 17px; }
.btn-link {
    width: 100%; margin-top: 8px;
    background: none; border: none;
    color: var(--text-muted); font-size: 13px;
    cursor: pointer; padding: 8px;
}
.btn-link:active { color: var(--danger); }

/* ─── Orders list ────────────────────────────── */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 100ms;
}
.order-card:active { background: var(--bg-card-hover); }
.order-card-info { flex: 1; }
.order-card-title { font-size: 14px; font-weight: 600; }
.order-card-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.order-card-price { color: var(--accent); font-weight: 700; font-size: 15px; }

/* ─── Modal ──────────────────────────────────── */
[hidden] { display: none !important; }  /* fix: перекрывает наш display:flex */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 50;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 150ms ease-out;
}
.modal {
    background: var(--bg-secondary);
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    display: flex; flex-direction: column;
    animation: slideUp 200ms ease-out;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--card-border);
}
.modal-header h3 { margin: 0; font-size: 16px; font-weight: 600; }
.modal-close {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: transparent;                        /* прячем "×" из HTML */
    font-size: 0;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: background 100ms, border-color 100ms, transform 80ms;
    flex-shrink: 0;
    position: relative;
}
/* Свой × через ::before — точный центр гарантирован */
.modal-close::before {
    content: '\00D7';                          /* multiplication sign */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);          /* -55% т.к. × визуально сидит чуть выше центра */
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    font-family: Arial, sans-serif;            /* стабильные метрики */
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
}
.modal-close:active {
    background: var(--danger);
    border-color: var(--danger);
    transform: scale(0.92);
}
.modal-body {
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.acc-block {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 12px;
}
.acc-block-head {
    font-family: -apple-system, sans-serif;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.acc-field { display: flex; justify-content: space-between; padding: 3px 0; }
.acc-field-key { color: var(--text-secondary); }
.acc-field-val { color: var(--text); word-break: break-all; text-align: right; }
.acc-copy-btn {
    width: 100%;
    background: var(--bg-secondary);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    font-family: -apple-system, sans-serif;
}
.acc-copy-btn:active { background: var(--accent-soft); }

/* ─── Buy modal (product card) ────────────── */
.buy-section-title {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.buy-desc {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}
.buy-desc-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    white-space: pre-wrap;
}
.buy-important {
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}
.buy-important-head {
    font-size: 12px;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 6px;
}
.buy-important-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    white-space: pre-wrap;
}

.buy-meta {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
}
.buy-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.buy-meta-row + .buy-meta-row { border-top: 1px solid var(--card-border); }
.buy-meta-key { color: var(--text-secondary); }
.buy-meta-val { color: var(--text); font-weight: 600; }

.buy-bulk {
    background: linear-gradient(135deg, rgba(0,255,136,.06), rgba(0,240,255,.04));
    border: 1px solid rgba(0,255,136,.25);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
}
.buy-bulk .buy-section-title { margin-bottom: 8px; }
.buy-bulk-list { display: flex; flex-direction: column; gap: 4px; }
.buy-bulk-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text);
}
.buy-bulk-pct { color: #00ff88; font-weight: 700; }

.cart-breakdown { padding: 0 0 8px; }
.cart-subrow { font-size: 13px; color: var(--text-secondary); padding: 2px 0; }

.qty-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 20px;
}
.qty-btn-lg {
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
    border-radius: 12px !important;
}
.qty-input {
    width: 90px;
    height: 48px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    color: var(--text);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    -moz-appearance: textfield;
    font-family: inherit;
    outline: none;
    transition: border-color 100ms;
}
.qty-input:focus { border-color: var(--accent); }
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.buy-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
}
.buy-total-amount {
    color: var(--accent);
    font-size: 22px;
    font-weight: 700;
}
.btn-buy {
    padding: 14px !important;
    font-size: 15px !important;
    width: 100%;
    display: block;
}
.btn-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── Download options modal ──────────────── */
.dl-section-title {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}
.dl-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.dl-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    cursor: pointer;
    transition: background 100ms, border-color 100ms;
}
.dl-opt:has(input:checked) {
    background: rgba(34, 197, 94, 0.08);
    border-color: var(--accent);
}
.dl-opt input[type=checkbox] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex: 0 0 18px;
}
.dl-opt-body { display: flex; flex-direction: column; flex: 1; }
.dl-opt-title { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.4; }
.dl-opt-sub {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 3px;
    font-family: 'SF Mono', Consolas, monospace;
}

.dl-select-all-row {
    display: flex; gap: 12px;
    margin-bottom: 14px;
    padding: 0 4px;
}
.btn-link-inline {
    background: none; border: none;
    color: var(--accent);
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
}

.dl-sep-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}
.dl-sep-input {
    width: 60px;
    height: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text);
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-family: 'SF Mono', Consolas, monospace;
    outline: none;
    margin-left: auto;
}
.dl-sep-input:focus { border-color: var(--accent); }

/* ─── Order details — упрощённая сводка (без per-account credentials) ─── */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}
.order-sum-row {
    display: flex; justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
}
.order-sum-row + .order-sum-row { border-top: 1px solid var(--card-border); }
.order-sum-key { color: var(--text-secondary); }
.order-sum-val { color: var(--text); font-weight: 600; }
.order-groups {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.order-groups-title {
    font-size: 11px; color: var(--text-secondary);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.order-group-line {
    display: flex; justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
}
.order-group-line + .order-group-line { border-top: 1px solid var(--card-border); }
.order-hint {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    padding: 8px 0 12px;
    line-height: 1.5;
}

/* ─── Empty / loading ─────────────────────── */
.loading, .empty-state {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 16px;
    font-size: 14px;
    line-height: 1.5;
}

/* ─── Bottom tabbar ───────────────────────── */
.tabbar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    display: flex;
    flex-direction: column;     /* 04.11.2026: строка значков + полоска под ней */
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    z-index: 20;
}
.tabbar-row { display: flex; }
/* 04.11.2026: рекламная полоска «Нет аккаунтов? Смотри в других магазинах» */
.partner-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 4px 2px 0;
    padding: 7px 10px;
    border: 1px solid rgba(255, 196, 0, 0.45);
    border-radius: 10px;
    background: rgba(255, 196, 0, 0.12);
    color: #ffc400;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.partner-strip:active { background: rgba(255, 196, 0, 0.22); }
.partner-strip-arrow { font-size: 16px; line-height: 1; }
.partners-sub { color: var(--text-secondary); font-size: 13px; margin: -4px 0 12px; }
.tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: #d5d7de;             /* яркий для неактивных — было var(--text-secondary) */
    font-size: 22px;            /* размер эмодзи */
    padding: 6px 2px;
    cursor: pointer;
    position: relative;
    transition: color 120ms;
    font-family: inherit;
}
.tab:active, .tab.active { color: var(--accent); font-weight: 700; }
.tab span:not(.badge) {
    font-size: 13px;            /* было 12px */
    font-weight: 600;           /* было 500 — жирнее для читаемости */
    letter-spacing: -0.1px;
    color: inherit;             /* наследует .tab (яркий или accent) */
}
.tab .badge {
    position: absolute;
    top: 2px;
    right: 12%;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    line-height: 1.3;
}

/* ─── Order verification banner (checkout → verify pipeline) ─── */
.order-card-verifying {
    border-left: 3px solid #ffa500;
    background: rgba(255, 165, 0, 0.08);
}
.order-verify-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.35);
    border-radius: 10px;
    padding: 14px;
    margin: 12px 0 16px;
    animation: pulseBanner 2s ease-in-out infinite;
}
.order-verify-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.order-verify-title {
    font-weight: 700;
    font-size: 14px;
    color: #ffb84d;
    margin-bottom: 4px;
}
.order-verify-sub {
    font-size: 12px;
    color: var(--text-secondary, #888);
    line-height: 1.5;
}
.order-verify-note {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    color: #7ee0a0;
    font-size: 13px;
    margin: 12px 0;
}
@keyframes pulseBanner {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.75; }
}

/* ─── Wallet transaction rows (история платежей) ─── */
.txn-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card-bg, rgba(255,255,255,.03));
    border: 1px solid var(--border, rgba(255,255,255,.06));
    border-radius: 12px;
    margin-bottom: 8px;
    transition: background .15s;
}
.txn-row:hover {
    background: var(--card-bg-hover, rgba(255,255,255,.05));
}
.txn-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}
.txn-body {
    flex: 1;
    min-width: 0;
}
.txn-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text, #fff);
    margin-bottom: 2px;
}
.txn-sub {
    font-size: 12px;
    color: var(--text-secondary, #888);
}
.txn-amount {
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
