/* استایل صفحه کیف پول کاربر */

.bcm-user-wallet {
    max-width: 1200px;
    margin: 0 auto;
}

/* موجودی کیف پول */
.bcm-wallet-balance-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bcm-wallet-balance-section h2 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

.bcm-balance-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bcm-balance-label {
    font-size: 16px;
    opacity: 0.9;
}

.bcm-balance-value {
    font-size: 32px;
    font-weight: bold;
}

/* بخش تراکنش‌ها */
.bcm-transactions-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bcm-transactions-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

/* جدول تراکنش‌ها */
.bcm-transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.bcm-transactions-table thead {
    background: #f8f9fa;
}

.bcm-transactions-table th {
    padding: 12px;
    text-align: right;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.bcm-transactions-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.bcm-transaction-row:hover {
    background: #f8f9fa;
}

.bcm-transaction-amount.bcm-credit {
    color: #28a745;
    font-weight: 600;
}

.bcm-transaction-amount.bcm-debit {
    color: #dc3545;
    font-weight: 600;
}

/* بج وضعیت */
.bcm-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.bcm-status-completed {
    background: #d4edda;
    color: #155724;
}

.bcm-status-pending {
    background: #fff3cd;
    color: #856404;
}

.bcm-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.bcm-status-cancelled {
    background: #e2e3e5;
    color: #383d41;
}

/* Pagination */
.bcm-pagination {
    margin-top: 20px;
    text-align: center;
}

.bcm-pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
}

.bcm-pagination a:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.bcm-pagination a.current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* پیام خالی */
.bcm-no-transactions {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .bcm-wallet-balance-section {
        padding: 20px;
    }
    
    .bcm-balance-value {
        font-size: 24px;
    }
    
    .bcm-transactions-section {
        padding: 15px;
        overflow-x: auto;
    }
    
    .bcm-transactions-table {
        font-size: 14px;
    }
    
    .bcm-transactions-table th,
    .bcm-transactions-table td {
        padding: 8px;
    }
}
