.icon-widget {
    font-size: 40px;
    color: #45b369;
}
.transactions-item.style-border {
    padding: 16px;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    background-color: #fafbff;
    align-items: center;
}
.pin-transaction {
    background: #ffecec !important;
}
.collapse .accordion-body {
    visibility: visible !important;
}
.item-unit {
    font-size: 12px;
    color: var(--bs-code-color);
    word-wrap: break-word;
    font-family: var(--bs-font-monospace);
    margin-top: -8px;
}
.inner-bar-item.v2 {
    background-color: #85e34a;
}

/* theme for dashboard shadow */

.bg-glass {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.37);
}

.bg-shadow {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.37) !important;
}

.bg-home-head {
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(0, 255, 212, 0.2) 19%,
            transparent 64%
        ),
        linear-gradient(134deg, #96fd39 0%, #122e04 100%);
    background-attachment: fixed;
}

/* theme for profile */
.box-bg-green {
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.199);
    border: 1px solid #cfcfcf;
}

.dot {
    flex-shrink: 0;
}

/* ── transaction history (app/(member)/member/transactions) ── */
.tx-filter { display: flex; gap: 8px; margin: 0 -16px 14px; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.tx-filter::-webkit-scrollbar { display: none; }
.tx-filter a {
  flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid #e2ecea; background: #fff;
  font-size: 13px; font-weight: 600; color: #556664; white-space: nowrap;
}
.tx-filter a[aria-current] { background: #0d9488; border-color: #0d9488; color: #fff; }
.tx-count { margin: 0 2px 10px; font-size: 12px; color: #7b8a88; }

.tx-day { margin-bottom: 2px; }
.tx-day h6 { margin: 0 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #7b8a88; }
.tx-list { margin: 0 0 16px; padding: 0 14px; border: 1px solid #e8efed; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(12, 31, 30, 0.04); }
.tx-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: inherit; }
.tx-row + .tx-row { border-top: 1px solid #eef3f2; }
.tx-go { flex: none; margin-left: -4px; font-size: 14px; color: #b6c2c0; }
.tx-list .icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 20px; }
.tx-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tx-main strong { font-size: 14px; line-height: 1.35; font-weight: 600; color: #0c1f1e; overflow-wrap: anywhere; }
/* lines wrap instead of being cut: nothing a member needs to read (addresses, TX ids, notes) is hidden */
.tx-main > span { font-size: 12.5px; line-height: 1.45; color: #556664; overflow-wrap: anywhere; }
.tx-main > span b { color: #0c1f1e; font-weight: 600; }
.tx-main .badge { padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.03em; }
.tx-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.tx-main small { font-size: 11.5px; color: #93a19f; }
.tx-amount { flex: none; text-align: right; line-height: 1.2; }
.tx-amount b { display: block; color: #0c1f1e; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tx-amount small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; color: #93a19f; }
.tx-amount.tx-in b { color: #0f8a5f; }
.tx-amount.tx-out b { color: #c2410c; }

.tx-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 8px; font-size: 13px; color: #556664; }
.tx-pager a, .tx-pager span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid #e2ecea; background: #fff; font-size: 18px; color: #0c1f1e; }
.tx-pager span { opacity: 0.35; }
/* shared by the other history pages (contract-group) */
.tx-summary { display: flex; gap: 10px; margin: 4px 0 16px; }
.tx-summary > div { flex: 1; padding: 14px 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); }
.tx-summary > div + div { flex: 0 0 34%; background: #fff; color: #0c1f1e; border: 1px solid #e8efed; }
.tx-summary small { display: block; font-size: 11.5px; opacity: 0.8; }
.tx-summary b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tx-summary b span { font-size: 11px; font-weight: 600; opacity: 0.8; }
.tx-pill { margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 600; background: #e3f6f4; color: #0f766e; }
.tx-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 2px 10px; }
.tx-head h5 { margin: 0; font-size: 15px; font-weight: 600; }
.tx-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #0f766e; }
.tx-stats { flex: none; display: grid; gap: 2px; text-align: right; font-size: 12px; color: #556664; }
.tx-stats b { font-size: 14px; color: #0c1f1e; font-variant-numeric: tabular-nums; }
.tx-crumb { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e8efed; background: #f3faf9; font-weight: 600; color: #0f766e; }
.tx-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 700; font-size: 15px; color: #0f766e; background: #e3f6f4; }

/* ── personal deposit address (top-up) ── */
.deposit-card { padding: 16px; border-radius: 16px; border: 1px solid #b9e6e1; background: #f3faf9; }
.deposit-card .info { margin-bottom: 12px !important; }
.deposit-card .tf-btn.style-border { background: #fff; }
.deposit-warn { color: #b45309; font-weight: 600; }
.deposit-or { font-size: 13px; font-weight: 600; color: #7b8a88; text-align: center; }
.deposit-card .tf-btn.style-border { border: 1px solid #0d9488; color: #0f766e; }
.deposit-qr { width: 196px; margin: 4px auto 10px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid #e2ecea; }
.deposit-qr svg { display: block; width: 100%; height: auto; }
.deposit-net { margin: 0 0 12px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #0f766e; }
.deposit-card .tf-btn { margin-top: 2px; }
