.list-wallets .row {
    grid-template-columns: auto 1fr auto;
}

.wallet-meta {
    display: grid;
    gap: 2px;
}

.wallet-meta .title {
    font-size: 14px;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Wallets filter buttons ===== */
.wallets-filter {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0 12px;
}

.filter-segment {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.filter-btn {
    appearance: none;
    border: 0;
    padding: 8px 12px;
    min-height: var(--tap);
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, opacity .12s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.filter-btn:hover {
    opacity: .9;
}

.filter-btn:active {
    transform: scale(.98);
}

.filter-btn.active,
.filter-btn[aria-pressed="true"] {
    background: var(--card);
    color: var(--fg);
    box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px rgba(0, 0, 0, .25);
}

.filter-btn:disabled,
.filter-btn[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
}

.filter-btn.active::after,
.filter-btn[aria-pressed="true"]::after {
    content: "";
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    margin-top: 4px;
}


.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: grid;
    place-items: center;
    background: var(--grey-grad);
    cursor: pointer;
}

.icon-btn.danger {
    background: var(--red-grad);
}

.radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #0f172a;
    display: grid;
    place-items: center;
}

.radio .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f172a;
    opacity: 0;
}

.radio.active .dot {
    opacity: 1;
}

.address {
    font-size: 16px;
    font-weight: 700;
}

#wallets-list .row.active {
    border: .85px solid var(--accent);
    box-shadow: inset 0 2px 20px rgba(245, 206, 102, 0.47);
}

.badge.with-img {
    padding: 0;
}

.wallet-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: block;
}

.wallets-toggle {
    display: flex;
    gap: 10px;
    margin: 0 0 12px;
    justify-content: center;
}

.wallets-toggle .wallets-btn {
    flex: 1;
    padding: 4px 16px;
    min-height: 30px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    background: var(--grey-grad);
    color: var(--primary);
}

.wallets-toggle .wallets-btn:hover {
    opacity: .9;
}

.wallets-toggle .wallets-btn.active {
    background: var(--gold-grad);
    color: #000;
    box-shadow: var(--shadow);
}

.pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 18px;
    border: 1px solid transparent
}

.pill-verified {
    background: #16331e;
    color: #b9f3ba;
    border-color: #1f5a2b
}

.pill-unverified {
    background: #2b2430;
    color: #e3ccff;
    border-color: #47345c
}

.pill-recovering {
    background: #16331e;
    color: #b9f3ba;
    border-color: #1f5a2b
}

.icon-btn.copied, .btn.copied {
    transform: scale(0.98);
    box-shadow: 0 0 0 2px rgba(46, 204, 113, .7) inset;
}

.icon-btn.copy-failed, .btn.copy-failed {
    transform: scale(0.98);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, .5) inset;
}

.icon-btn.copied, .btn.copied,
.icon-btn.copy-failed, .btn.copy-failed {
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.icon-btn .icon-img {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

.icon-btn.icon-verify {
    position: relative;
}

.icon-btn.icon-verify::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 25px;
    height: 25px;
    background: url("../assets/verified.svg") no-repeat center / contain;
    pointer-events: none;
}

.icon-btn.icon-verify::after {
    content: none !important;
}

#verify-status {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
}

.hidden { display: none; }

#verify-status::before {
    content: "⚠️";
    margin-right: 8px;
}

#verify-status.ok {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
}
#verify-status.ok::before {
    content: "✅";
}

#verify-status.error {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
}
#verify-status.error::before {
    content: "⚠️";
}
