/* ----------------------------------------------
   RESET & BASE
------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 12px;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --gradient: linear-gradient(135deg, #0d9488, #10b981);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* ----------------------------------------------
   UTILITY
------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-title p {
    color: var(--gray-500);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.btn-primary {
    background: var(--gradient);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.25);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ----------------------------------------------
   NAVIGATION (Responsive)
------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo img {
    height: 45px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.2s;
    position: relative;
    font-size: 0.95rem;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-link:hover {
    color: var(--primary);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    gap: 0.75rem;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

/* Mobile menu overlay & panel */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100%;
    background: #fff;
    z-index: 1001;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.mobile-menu .btn {
    width: 100%;
    justify-content: center;
}

/* ----------------------------------------------
   FOOTER
------------------------------------------------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 2.5rem 1.5rem;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid var(--gray-800);
}
.footer p {
    font-size: 0.9rem;
}
.footer a {
    color: var(--primary-light);
}
.footer a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title p {
        font-size: 1rem;
    }
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 38px;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.7rem 1.4rem;
    }
}/* ----------------------------------------------
   PRELOADER
------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.spinner {
    width: 56px;
    height: 56px;
    border: 5px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
#preloader .preloader-logo {
    margin-bottom: 1.5rem;
    height: 60px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* ----------------------------------------------
   DASHBOARD LAYOUT
------------------------------------------------- */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--gray-50);
}

/* ---- Sidebar ---- */
.dashboard-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid var(--gray-200);
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 100;
    overflow-y: auto;
    flex-shrink: 0;
}
.dashboard-sidebar .sidebar-brand {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.dashboard-sidebar .sidebar-brand img {
    height: 40px;
    width: auto;
}
.dashboard-sidebar .sidebar-brand span {
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
}
.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}
.sidebar-nav .nav-item i {
    width: 20px;
    font-size: 1rem;
    color: var(--gray-400);
    transition: color 0.2s;
}
.sidebar-nav .nav-item:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}
.sidebar-nav .nav-item.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
}
.sidebar-nav .nav-item.active i {
    color: var(--primary);
}
.sidebar-nav .nav-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.75rem 1rem;
}
.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
}

/* ---- Main Content ---- */
.dashboard-main {
    flex: 1;
    padding: 1.5rem 2rem;
    overflow-x: hidden;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
}
.dashboard-header .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dashboard-header .user-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
}
.dashboard-header .user-badge .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.dashboard-header .user-badge .name {
    font-weight: 600;
    font-size: 0.9rem;
}
.dashboard-header .user-badge .role {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ---- Section Container ---- */
.dashboard-section {
    display: none;
    animation: fadeIn 0.3s ease;
}
.dashboard-section.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Stat Cards ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.stat-card .stat-icon.teal { background: var(--primary-light); color: var(--primary); }
.stat-card .stat-icon.orange { background: #fef3c7; color: #d97706; }
.stat-card .stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-card .stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
}
.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ---- Cards ---- */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}
.card-header .card-actions {
    display: flex;
    gap: 0.5rem;
}

/* ---- Tables ---- */
.table-responsive {
    overflow-x: auto;
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
}
.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.table tbody tr:hover {
    background: var(--gray-50);
}
.badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-gray { background: var(--gray-200); color: var(--gray-600); }

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray-500);
}
.empty-state i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}
.empty-state h4 {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ---- Mobile Sidebar Toggle ---- */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 99;
}

/* ---- Responsive Dashboard ---- */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 100;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    .dashboard-sidebar.open {
        left: 0;
    }
    .sidebar-overlay.active {
        display: block;
    }
    .sidebar-toggle {
        display: block;
    }
    .dashboard-main {
        padding: 1rem;
    }
}
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-header h1 {
        font-size: 1.4rem;
    }
    .dashboard-header .user-badge .name {
        display: none;
    }
}
@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* KYC Progress Steps */
.kyc-progress {
    margin-bottom: 2rem;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.progress-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-300);
    z-index: 1;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    border: 3px solid #fff;
}
.step.active .step-number {
    background: var(--primary);
    color: #fff;
}
.step-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-align: center;
}
.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Upload area hover */
.upload-area:hover {
    border-color: var(--primary) !important;
    background: var(--primary-light) !important;
}

/* Review items */
.review-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.review-item:last-child {
    border-bottom: none;
}
/* ============================================================
   TRANSACTIONS TABLE – Premium Styling
   ============================================================ */

.transaction-tabs {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    padding: 15px;
    flex-wrap: wrap;
}

.transaction-tab {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.transaction-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.transaction-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.transaction-tab i {
    font-size: 16px;
}

/* Table Wrapper */
.table-responsive {
    overflow-x: auto;
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--gray-200);
    border-top: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: white;
}

/* Table */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
    font-size: 0.9rem;
    margin: 0;
}

/* Table Header – Gradient */
.table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table thead th:first-child {
    border-top-left-radius: 12px;
}

.table thead th:last-child {
    border-top-right-radius: 12px;
}

/* Table Body */
.table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.table tbody tr {
    transition: all 0.2s ease;
    background: white;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

/* Status Badges – Gradient */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 70px;
    text-align: center;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(245, 158, 11, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.3);
}

.badge-gray {
    background: linear-gradient(135deg, #9ca3af 0%, #d1d5db 100%);
    color: white;
}

/* Amount Styling */
.amount-positive {
    color: #10b981;
    font-weight: 700;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.amount-negative {
    color: #ef4444;
    font-weight: 700;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.amount-neutral {
    color: var(--gray-700);
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Transaction Type Icons */
.transaction-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.type-deposit {
    color: #10b981;
}

.type-withdrawal {
    color: #ef4444;
}

.type-payment {
    color: #3b82f6;
}

.type-subscription {
    color: #8b5cf6;
}

/* Date & Time */
.transaction-date {
    font-weight: 500;
    color: var(--gray-800);
}

.transaction-time {
    font-size: 0.8rem;
    color: var(--gray-400);
    display: block;
}

/* Phone Number */
.phone-number {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.85rem;
}

/* Reference ID */
.reference-id {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: var(--gray-500);
    font-size: 0.8rem;
    background: var(--gray-50);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid var(--gray-100);
}

/* Empty State */
.table-empty {
    text-align: center;
    padding: 60px 20px !important;
    color: var(--gray-400);
    font-size: 1rem;
}

.table-empty i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 15px;
    display: block;
    opacity: 0.7;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 8px;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.page-btn:hover:not(:disabled) {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.page-info {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0 10px;
}

/* Animation for new rows */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table tbody tr {
    animation: fadeInRow 0.3s ease-out;
}

/* Zebra striping (optional) */
.table-zebra tbody tr:nth-child(even) {
    background: #f8fafc;
}

.table-zebra tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.06) 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .table {
        font-size: 0.8rem;
        min-width: 600px;
    }

    .table thead th,
    .table tbody td {
        padding: 12px 15px;
    }

    .status-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
        min-width: 60px;
    }

    .transaction-tabs {
        gap: 6px;
        padding: 10px;
    }

    .transaction-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .pagination-container {
        padding: 10px;
        gap: 5px;
    }

    .page-btn {
        padding: 6px 12px;
        min-width: 35px;
        font-size: 0.8rem;
    }

    .reference-id {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .table thead th,
    .table tbody td {
        padding: 10px 10px;
        font-size: 0.75rem;
    }

    .status-badge {
        padding: 3px 8px;
        font-size: 0.65rem;
        min-width: 50px;
    }

    .transaction-tab {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .transaction-tab i {
        font-size: 12px;
    }
}