/* =========================================================
   BRAVO CRM — On-chain Transaction Detail  (txd__*)
   ========================================================= */

/* -------------------------------------------------------
   LAYOUT
-------------------------------------------------------- */

.txd {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.txd__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}


/* -------------------------------------------------------
   BUTTONS
-------------------------------------------------------- */

.txd__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    border-radius: 14px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .18s ease;
    white-space: nowrap;
    cursor: pointer;
    height: 44px;
    box-sizing: border-box;
}

.txd__btn--ghost {
    background: #ffffff;
    border-color: rgba(15,23,42,.10);
    color: #0f172a;
    box-shadow: 0 1px 4px rgba(15,23,42,.06);
}
.txd__btn--ghost:hover {
    background: #f7f8fb;
    box-shadow: 0 2px 8px rgba(15,23,42,.08);
    color: #0f172a;
    text-decoration: none;
}

.txd__btn--export {
    background: linear-gradient(135deg, #1A1E30 0%, #2d3348 100%);
    border-color: rgba(26,30,48,.6);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.06);
    letter-spacing: .01em;
}
.txd__btn--export:hover {
    background: linear-gradient(135deg, #222840 0%, #363d5a 100%);
    box-shadow: 0 4px 18px rgba(15,23,42,.32), inset 0 1px 0 rgba(255,255,255,.08);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}
.txd__btn--export:active { transform: translateY(0); }
.txd__btn--export svg { opacity: .85; flex-shrink: 0; }

.txd__pageLabel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted,#94a3b8);
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--surface-3,#f1f5f9);
}


/* -------------------------------------------------------
   HERO CARD
-------------------------------------------------------- */

.txd__hero {
    border-radius: 28px;
    border: 1px solid rgba(214,222,235,.85);
    box-shadow:
        0 18px 42px rgba(15,23,42,.06),
        0 2px 8px rgba(15,23,42,.04);
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 18%, rgba(255,193,7,.10), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.97), rgba(248,251,255,.95), rgba(255,248,236,.90));
}

.txd__hero--deposit {
    background:
        radial-gradient(circle at 92% 18%, rgba(34,197,94,.09), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.97), rgba(247,255,250,.95), rgba(236,253,245,.90));
}

.txd__hero--purchase {
    background:
        radial-gradient(circle at 92% 18%, rgba(99,102,241,.10), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.97), rgba(248,248,255,.95));
}

.txd__heroBody {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 28px 22px;
    flex-wrap: wrap;
}

/* Left: icon + info */
.txd__heroLeft {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 220px;
}

.txd__heroIcon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.txd__heroIcon--in {
    background: rgba(34,197,94,.12);
    color: #16a34a;
    border-color: rgba(34,197,94,.20);
}

.txd__heroIcon--out {
    background: rgba(245,158,11,.12);
    color: #b45309;
    border-color: rgba(245,158,11,.22);
}

.txd__heroInfo { display: flex; flex-direction: column; gap: 4px; }

.txd__heroTitle {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2px;
}

/* Center: amount */
.txd__heroAmount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 24px;
    flex-shrink: 0;
}

.txd__heroAmountLabel {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7b8798;
}

.txd__heroAmountValue {
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.txd__heroAmountUnit {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-left: 4px;
}

/* Right: status */
.txd__heroStatus {
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
    flex-shrink: 0;
}


/* -------------------------------------------------------
   META STRIP  (inside hero)
-------------------------------------------------------- */

.txd__strip {
    display: flex;
    align-items: stretch;
    border-top: 1px solid rgba(15,23,42,.07);
    padding: 0 28px;
    background: rgba(248,250,253,.70);
    flex-wrap: nowrap;
    overflow-x: auto;
}

.txd__stripItem {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 20px 14px 0;
    flex: 1;
    min-width: 0;
}

.txd__stripItem:first-child { padding-left: 0; }

.txd__stripLabel {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #94a3b8;
    white-space: nowrap;
}

.txd__stripValue {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.txd__stripSep {
    width: 1px;
    background: rgba(15,23,42,.08);
    align-self: stretch;
    margin: 10px 16px 10px 16px;
    flex-shrink: 0;
}


/* -------------------------------------------------------
   PILLS & BADGES
-------------------------------------------------------- */

.txd__kicker {
    font-size: 12px;
    color: #7b8798;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.txd__id { color: #64748b; font-weight: 600; }

.txd__meta {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.txd__pill {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.06);
    color: #334155;
    font-weight: 500;
    border: 1px solid rgba(15,23,42,.07);
}

.txd__pill--type {
    background: rgba(99,102,241,.08);
    color: #4338ca;
    border-color: rgba(99,102,241,.15);
}

.txd__pill--green {
    background: rgba(34,197,94,.10);
    color: #166534;
    border-color: rgba(34,197,94,.22);
    font-size: 11px;
    padding: 2px 8px;
}

.txd__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    color: #0f172a;
    white-space: nowrap;
}

.txd__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(100,116,139,.8);
    flex-shrink: 0;
}

.txd__badge--ok   { border-color: rgba(34,197,94,.28);  background: rgba(34,197,94,.08);  color: #14532d; }
.txd__badge--warn { border-color: rgba(245,158,11,.28); background: rgba(245,158,11,.10); color: #7c4a00; }
.txd__badge--bad  { border-color: rgba(239,68,68,.28);  background: rgba(239,68,68,.10);  color: #7f1d1d; }
.txd__badge--neutral { border-color: rgba(100,116,139,.22); background: rgba(100,116,139,.08); color: #334155; }

.txd__badge--ok   .txd__dot { background: #22c55e; }
.txd__badge--warn .txd__dot { background: #f59e0b; }
.txd__badge--bad  .txd__dot { background: #ef4444; }
.txd__badge--neutral .txd__dot { background: #94a3b8; }


/* -------------------------------------------------------
   GRID CARDS
-------------------------------------------------------- */

.txd__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.txd__card {
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 24px;
    background: #ffffff;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(15,23,42,.05), 0 1px 4px rgba(15,23,42,.03);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.txd__card:hover {
    box-shadow: 0 8px 28px rgba(15,23,42,.09), 0 2px 6px rgba(15,23,42,.05);
    border-color: rgba(15,23,42,.13);
}

.txd__card--span2 { grid-column: span 2; }

.txd__cardTitle {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15,23,42,.07);
}

.txd__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed rgba(15,23,42,.10);
}

.txd__row:first-of-type { border-top: none; padding-top: 0; }

.txd__label {
    font-size: 12px;
    color: #7b8798;
    font-weight: 500;
    flex-shrink: 0;
}

.txd__value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

.txd__value--cap   { text-transform: capitalize; }
.txd__value--mono  { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.txd__value--success { color: #15803d; }

.txd__checkMark { color: #22c55e; font-weight: 700; }

/* Network chip in value */
.txd__netChip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.txd__netDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
}

.txd__netDot--btc, .txd__netDot--bitcoin { background: #f7931a; }
.txd__netDot--eth, .txd__netDot--ethereum { background: #627eea; }
.txd__netDot--bsc, .txd__netDot--bnb { background: #f0b90b; }
.txd__netDot--matic, .txd__netDot--pol, .txd__netDot--polygon { background: #8247e5; }
.txd__netDot--trx, .txd__netDot--tron { background: #ef4444; }
.txd__netDot--sol, .txd__netDot--solana { background: #9945ff; }

/* Block label above mono box */
.txd__blockLabel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    margin-bottom: 7px;
}

/* Explorer action row */
.txd__explorerRow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 4px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(99,102,241,.15);
    background: rgba(99,102,241,.04);
    color: #4338ca;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}

.txd__explorerRow:hover {
    background: rgba(99,102,241,.09);
    border-color: rgba(99,102,241,.28);
    color: #3730a3;
    text-decoration: none;
}

.txd__explorerRow svg { margin-left: auto; flex-shrink: 0; opacity: .75; }


/* -------------------------------------------------------
   MONO BOXES (hash / address)
-------------------------------------------------------- */

.txd__monoBox {
    position: relative;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
    display: flex;
    align-items: center;
    min-height: 44px;
    box-shadow: inset 0 1px 3px rgba(15,23,42,.04);
}

.txd__monoBox--tight { padding: 10px; min-height: 40px; }

.txd__monoText {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    color: #0f172a;
    word-break: break-all;
    padding-right: 44px;
    flex: 1;
    line-height: 1.5;
}


/* -------------------------------------------------------
   COPY BUTTON
-------------------------------------------------------- */

.txd__copy {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(15,23,42,.10);
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    font-size: 12px;
    transition: all .15s ease;
    flex-shrink: 0;
}

.txd__copy:hover     { background: #f1f5f9; border-color: rgba(15,23,42,.16); color: #0f172a; }
.txd__copy--mini     { padding: 5px 7px; }
.txd__copyIcon       { display: flex; align-items: center; }
.txd__copyDone       { display: none; color: #166534; font-weight: 600; font-size: 11px; }

.txd__copy.copied    { border-color: rgba(34,197,94,.28); background: rgba(34,197,94,.10); color: #166534; }
.txd__copy.copied .txd__copyIcon { display: none; }
.txd__copy.copied .txd__copyDone { display: inline-flex; align-items: center; gap: 3px; }


/* -------------------------------------------------------
   ADDRESS CARDS
-------------------------------------------------------- */

.txd__addrCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.txd__addrCard {
    border-radius: 24px;
    border: 1px solid rgba(15,23,42,.09);
    background: #ffffff;
    padding: 20px 22px;
    box-shadow: 0 4px 20px rgba(15,23,42,.05), 0 1px 4px rgba(15,23,42,.03);
    transition: box-shadow .2s ease;
}

.txd__addrCard:hover { box-shadow: 0 8px 28px rgba(15,23,42,.09); }

.txd__addrCard--in { border-top: 3px solid rgba(34,197,94,.40); }
.txd__addrCard--out { border-top: 3px solid rgba(245,158,11,.40); }

.txd__addrHeader {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.txd__addrIcon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.txd__addrIcon--in {
    background: rgba(34,197,94,.12);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,.20);
}

.txd__addrIcon--out {
    background: rgba(245,158,11,.12);
    color: #b45309;
    border: 1px solid rgba(245,158,11,.22);
}

.txd__addrTitle {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.txd__addrContent { display: flex; flex-direction: column; gap: 6px; }

.txd__addrFieldLabel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
}


/* -------------------------------------------------------
   FOOTER VERIFICATION STRIP
-------------------------------------------------------- */

.txd__footerStrip {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(34,197,94,.20);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(236,253,245,.85), rgba(255,255,255,.95));
    padding: 18px 24px;
    flex-wrap: wrap;
    row-gap: 12px;
}

.txd__footerBlock {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 2;
    min-width: 200px;
}

.txd__footerBlock--narrow {
    flex: 1;
    min-width: 140px;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    align-items: flex-start;
}

.txd__footerCheckIcon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(34,197,94,.15);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.txd__footerLabel {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.txd__footerDesc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.txd__footerVal {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.txd__footerDot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.txd__footerSep {
    width: 1px;
    min-height: 40px;
    background: rgba(34,197,94,.20);
    flex-shrink: 0;
    margin: 0 24px;
    align-self: stretch;
}


/* -------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------- */

@media (max-width: 820px) {
    .txd__heroBody    { flex-direction: column; }
    .txd__heroAmount  { align-items: flex-start; padding: 0; }
    .txd__heroStatus  { align-self: flex-start; }
    .txd__grid        { grid-template-columns: 1fr; }
    .txd__card--span2 { grid-column: span 1; }
    .txd__addrCards   { grid-template-columns: 1fr; }
    .txd__monoText    { padding-right: 44px; }
    .txd__heroAmountValue { font-size: 26px; }
    .txd__footerStrip { flex-direction: column; align-items: flex-start; }
    .txd__footerSep   { width: 100%; min-height: 1px; margin: 4px 0; }
    .txd__strip       { flex-wrap: wrap; }
    .txd__stripSep    { display: none; }
    .txd__stripItem   { min-width: 120px; }
}


/* -------------------------------------------------------
   DARK THEME
-------------------------------------------------------- */

:root.theme-dark .txd__btn--ghost {
    background: var(--surface);
    border-color: rgba(255,255,255,.12);
    color: var(--text);
}
:root.theme-dark .txd__btn--ghost:hover {
    background: var(--surface-2);
    color: var(--text);
}

:root.theme-dark .txd__btn--export {
    background: linear-gradient(135deg, #f0b90b 0%, #f28739 100%) !important;
    border-color: rgba(240,185,11,.35) !important;
    color: #1a1209 !important;
    box-shadow: 0 4px 18px rgba(240,185,11,.28) !important;
}
:root.theme-dark .txd__btn--export:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(240,185,11,.42) !important;
    transform: translateY(-1px);
    color: #1a1209 !important;
}

:root.theme-dark .txd__pageLabel {
    background: var(--surface-2);
    color: var(--muted);
}

:root.theme-dark .txd__hero {
    background: linear-gradient(180deg, #1e2329 0%, #161a1e 100%) !important;
    border-color: rgba(240,185,11,.12) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4) !important;
}

:root.theme-dark .txd__heroIcon--in {
    background: rgba(14,203,129,.12);
    color: #0ecb81;
    border-color: rgba(14,203,129,.20);
}
:root.theme-dark .txd__heroIcon--out {
    background: rgba(240,185,11,.12);
    color: #f0b90b;
    border-color: rgba(240,185,11,.22);
}

:root.theme-dark .txd__kicker    { color: var(--muted); }
:root.theme-dark .txd__heroTitle { color: var(--text); }
:root.theme-dark .txd__id        { color: var(--muted); }
:root.theme-dark .txd__pill      { background: rgba(255,255,255,.07); color: rgba(234,236,239,.85); border-color: rgba(255,255,255,.10); }
:root.theme-dark .txd__pill--type { background: rgba(99,102,241,.15); color: #a5b4fc; border-color: rgba(99,102,241,.25); }
:root.theme-dark .txd__pill--green { background: rgba(14,203,129,.12); color: #0ecb81; border-color: rgba(14,203,129,.25); }

:root.theme-dark .txd__heroAmountValue { color: var(--text); }
:root.theme-dark .txd__heroAmountUnit  { color: var(--muted); }
:root.theme-dark .txd__heroAmountLabel { color: var(--muted); }

:root.theme-dark .txd__strip {
    background: rgba(255,255,255,.02);
    border-top-color: rgba(255,255,255,.07);
}
:root.theme-dark .txd__stripLabel { color: rgba(148,163,184,.7); }
:root.theme-dark .txd__stripValue { color: var(--text); }
:root.theme-dark .txd__stripSep   { background: rgba(255,255,255,.07); }

:root.theme-dark .txd__card {
    background: var(--surface) !important;
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.4) !important;
}
:root.theme-dark .txd__card:hover {
    border-color: rgba(240,185,11,.12) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.65) !important;
}
:root.theme-dark .txd__cardTitle {
    color: var(--text);
    border-bottom-color: rgba(255,255,255,.07);
}
:root.theme-dark .txd__label  { color: var(--muted); }
:root.theme-dark .txd__value  { color: var(--text); }
:root.theme-dark .txd__row    { border-top-color: rgba(255,255,255,.06); }
:root.theme-dark .txd__value--success { color: #0ecb81; }
:root.theme-dark .txd__checkMark { color: #0ecb81; }

:root.theme-dark .txd__netChip { color: var(--text); }
:root.theme-dark .txd__blockLabel { color: rgba(148,163,184,.7); }

:root.theme-dark .txd__explorerRow {
    background: rgba(99,102,241,.08);
    border-color: rgba(99,102,241,.20);
    color: #a5b4fc;
}
:root.theme-dark .txd__explorerRow:hover {
    background: rgba(99,102,241,.15);
    border-color: rgba(99,102,241,.35);
    color: #c7d2fe;
}

:root.theme-dark .txd__monoBox {
    background: var(--surface-2) !important;
    border-color: rgba(255,255,255,.08) !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.2) !important;
}
:root.theme-dark .txd__monoText { color: var(--text); }

:root.theme-dark .txd__copy {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.12);
    color: rgba(234,236,239,.55);
}
:root.theme-dark .txd__copy:hover {
    background: rgba(240,185,11,.12);
    border-color: rgba(240,185,11,.3);
    color: #f0b90b;
}
:root.theme-dark .txd__copy.copied {
    background: rgba(14,203,129,.12);
    border-color: rgba(14,203,129,.28);
    color: #0ecb81;
}
:root.theme-dark .txd__copyDone { color: #0ecb81; }

:root.theme-dark .txd__addrCard {
    background: var(--surface) !important;
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.55) !important;
}
:root.theme-dark .txd__addrCard--in  { border-top-color: rgba(14,203,129,.40) !important; }
:root.theme-dark .txd__addrCard--out { border-top-color: rgba(240,185,11,.40) !important; }
:root.theme-dark .txd__addrIcon--in  { background: rgba(14,203,129,.12); color: #0ecb81; border-color: rgba(14,203,129,.20); }
:root.theme-dark .txd__addrIcon--out { background: rgba(240,185,11,.12); color: #f0b90b; border-color: rgba(240,185,11,.22); }
:root.theme-dark .txd__addrTitle     { color: var(--text); }
:root.theme-dark .txd__addrFieldLabel { color: rgba(148,163,184,.7); }

:root.theme-dark .txd__footerStrip {
    background: linear-gradient(135deg, rgba(14,203,129,.06), rgba(30,35,41,.80)) !important;
    border-color: rgba(14,203,129,.20) !important;
}
:root.theme-dark .txd__footerCheckIcon {
    background: rgba(14,203,129,.15);
    color: #0ecb81;
    border-color: rgba(14,203,129,.25);
}
:root.theme-dark .txd__footerLabel { color: var(--text); }
:root.theme-dark .txd__footerDesc  { color: var(--muted); }
:root.theme-dark .txd__footerVal   { color: var(--text); }
:root.theme-dark .txd__footerDot   { background: #0ecb81; }
:root.theme-dark .txd__footerSep   { background: rgba(14,203,129,.18); }

:root.theme-dark .txd__badge {
    background: var(--surface-2);
    border-color: rgba(255,255,255,.10);
    color: var(--text);
}
:root.theme-dark .txd__badge--ok      { border-color: rgba(14,203,129,.28) !important;  background: rgba(14,203,129,.10) !important;  color: #0ecb81 !important; }
:root.theme-dark .txd__badge--warn    { border-color: rgba(245,158,11,.28) !important;  background: rgba(245,158,11,.10) !important;  color: #f59e0b !important; }
:root.theme-dark .txd__badge--bad     { border-color: rgba(246,70,93,.28) !important;   background: rgba(246,70,93,.10) !important;   color: #f6465d !important; }
:root.theme-dark .txd__badge--ok   .txd__dot { background: #0ecb81 !important; }
:root.theme-dark .txd__badge--warn .txd__dot { background: #f59e0b !important; }
:root.theme-dark .txd__badge--bad  .txd__dot { background: #f6465d !important; }

