/* ============================================
   Credit Wallet — Shared Styles
   ============================================ */

/* --- Request list (deposits & withdrawals) --- */
.wallet-request-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wallet-request-item {
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm, 6px);
    background: var(--bg-card, #1a1a1a);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}

.wallet-request-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.wallet-request-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.wallet-request-notes {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- Wallet page tab pills --- */
.wallet-tabs {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.wallet-tabs::-webkit-scrollbar {
    display: none;
}

.wallet-tab {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color, rgba(255,255,255,0.1));
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.wallet-tab:hover {
    background: var(--bg-hover, rgba(255,255,255,0.05));
    color: var(--text-primary);
}

.wallet-tab.active {
    background: var(--brand-primary, #CCFF00);
    color: #000;
    border-color: var(--brand-primary, #CCFF00);
}

/* --- Admin wallet table --- */
.wallet-admin-row {
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm, 6px);
    background: var(--bg-card, #1a1a1a);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}

.wallet-admin-row + .wallet-admin-row {
    margin-top: 0.25rem;
}

/* --- Pending count badge in tab --- */
.wallet-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 700;
    background: #ef4444;
    color: #fff;
    margin-left: 0.3rem;
    padding: 0 0.35rem;
}
