/* Payment Transactions Modal Styles */
.payment-transactions-modal {
    padding: 1.5rem;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.summary-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.summary-card-funded {
    background: linear-gradient(135deg, #d1fae5 0%, #ffffff 100%);
    border-color: #a7f3d0;
}

.summary-card-remaining {
    background: linear-gradient(135deg, #fed7aa 0%, #ffffff 100%);
    border-color: #fdba74;
}

.summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.summary-card-funded .summary-label {
    color: #059669;
}

.summary-card-remaining .summary-label {
    color: #ea580c;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.summary-card-funded .summary-value {
    color: #047857;
}

.summary-card-remaining .summary-value {
    color: #c2410c;
}

.empty-state {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.transactions-table-wrapper {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.transactions-table thead {
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

.transactions-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
    border-bottom: 2px solid #e5e7eb;
}

.transactions-table tbody tr {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.transactions-table tbody tr:hover {
    background-color: #f9fafb;
}

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

.transactions-table td {
    padding: 1rem;
    color: #374151;
}

.supporter-name {
    font-weight: 600;
    color: #111827;
}

.amount-value {
    font-weight: 700;
    color: #059669;
    font-size: 0.95rem;
}

.description-cell {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
}

.badge-method {
    background-color: #e5e7eb;
    color: #374151;
    border: 1px solid #d1d5db;
}

.badge-status-completed {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-status-pending {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* RTL Support */
[dir="rtl"] .transactions-table th,
[dir="rtl"] .transactions-table td {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .transactions-table-wrapper {
        overflow-x: auto;
    }
    
    .transactions-table {
        min-width: 800px;
    }
}
