:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --danger-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --luxury-gold: #D4AF37;
    --luxury-silver: #C0C0C0;
    --luxury-bg: #f8f9fa;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.luxury-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.luxury-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    margin: 1.5rem 0;
}

.luxury-btn {
    transition: all 0.3s ease;
    border-width: 2px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.luxury-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.luxury-input {
    border: 2px solid #e9ecef;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
}

.luxury-input:focus {
    border-color: var(--luxury-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.filter-card .card {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
}

.luxury-table-container {
    border-radius: 15px;
    overflow: hidden;
}

.luxury-thead {
    background: var(--primary-gradient) !important;
}

.luxury-thead th {
    color: white;
    font-weight: 600;
    padding: 1.25rem 1rem;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.luxury-table-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.luxury-table-row:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateX(5px);
}

.amount-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
}

.balance-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.debit-badge {
    background: var(--danger-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.credit-badge {
    background: var(--success-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.purpose-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.user-id {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #495057;
}

.date-time {
    font-size: 0.85rem;
}

.empty-state {
    opacity: 0.7;
}

/* DataTables Custom Styling */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 12px !important;
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 12px !important;
    padding: 0.4rem 1rem;
    border: 2px solid #e9ecef;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
    margin: 0 3px;
    border: 1px solid #dee2e6 !important;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: white !important;
}

.dataTables_wrapper .dt-buttons .btn {
    margin-right: 8px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .luxury-card .card-body {
        padding: 1rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wallet-summary {
        order: -1;
        text-align: center;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .luxury-thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.luxury-card {
    animation: fadeInUp 0.6s ease-out;
}

.luxury-table-row {
    animation: fadeInUp 0.4s ease-out;
}