: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-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-balance-card {
    border-radius: 15px;
    overflow: hidden;
}

.luxury-quick-btn {
    border-width: 1.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.luxury-quick-btn:hover {
    transform: translateY(-1px);
}

.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);
}

.luxury-submit-btn {
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.luxury-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.luxury-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05) !important;
}

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

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

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

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

.luxury-thead th:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.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);
}

.luxury-sr-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 35px;
    display: inline-block;
}

.luxury-utr {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    max-width: 120px;
    display: inline-block;
}

.luxury-amount {
    font-weight: 700;
    font-size: 1rem;
    color: #28a745;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.luxury-payer {
    font-weight: 500;
    color: #495057;
    max-width: 150px;
    display: inline-block;
}

.luxury-method-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.luxury-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.luxury-date-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.luxury-empty-state {
    opacity: 0.7;
}

/* DataTables Custom Styling */
.luxury-search-input {
    border: 2px solid #e9ecef;
    border-radius: 12px !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.luxury-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

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

.luxury-dt-btn {
    margin-right: 8px;
    margin-bottom: 8px;
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.luxury-dt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.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;
}

/* QR Popup Styling */
.swal2-popup.qr-popup {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.swal2-title.qr-header {
    color: #2c3e50;
    font-weight: 600;
    padding: 20px 20px 10px;
    font-size: 20px;
    border-bottom: 1px solid #f1f3f4;
    margin-bottom: 0;
}

.swal2-content.qr-content {
    padding: 20px;
}

.qr-container {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.status-indicator {
    padding: 12px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
}

.utr-section {
    border-radius: 8px;
}

/* Animation for status updates */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

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

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

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

/* 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;
    }
    
    .qr-image {
        width: 160px;
        height: 160px;
    }
    
    .swal2-popup.qr-popup {
        width: 90% !important;
        margin: 5% auto;
    }
}