/* Wallet Table Component */

.wallet-table-section {
    margin-bottom: 24px;
    background: var(--color-background-secondary, #f8f9fa);
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 12px;
    padding: 20px 24px;
}

.wallet-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wallet-table-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text, #1a1a2e);
}

.wallet-studio-link {
    color: var(--color-primary, #0777bb);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.wallet-studio-link:hover {
    text-decoration: underline;
}

.wallet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.wallet-table thead th {
    text-align: left;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-secondary, #6b7280);
    border-bottom: 2px solid var(--color-border, #e0e0e0);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wallet-table tbody tr {
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.wallet-table tbody tr:last-child {
    border-bottom: none;
}

.wallet-table tbody td {
    padding: 10px 12px;
    color: var(--color-text, #1a1a2e);
}

.wallet-col-num {
    width: 40px;
    text-align: center;
    color: var(--color-text-secondary, #6b7280) !important;
}

.wallet-col-card {
    font-weight: 500;
}

.wallet-col-points {
    color: var(--color-text-secondary, #6b7280) !important;
}

.wallet-table-empty {
    text-align: center;
    padding: 24px 16px;
    color: var(--color-text-secondary, #6b7280);
}

.wallet-table-empty a {
    color: var(--color-primary, #0777bb);
    text-decoration: none;
    font-weight: 500;
}

.wallet-table-empty a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .wallet-table-section {
        padding: 16px;
    }

    .wallet-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .wallet-col-num {
        width: 30px;
    }

    .wallet-table tbody td,
    .wallet-table thead th {
        padding: 8px;
        font-size: 0.85rem;
    }
}
