/* BitZED Admin Panel - Modern Professional Design 2024 */

/* Admin-specific CSS Variables */
:root {
    /* Modern Color Palette */
    --admin-primary: #6366f1;
    --admin-primary-light: #818cf8;
    --admin-primary-dark: #4f46e5;
    --admin-secondary: #f8fafc;
    --admin-accent: #f59e0b;
    
    /* Status Colors - Enhanced */
    --status-pending: #f59e0b;
    --status-pending-light: #fbbf24;
    --status-paid: #10b981;
    --status-paid-light: #34d399;
    --status-completed: #059669;
    --status-completed-light: #10b981;
    --status-error: #ef4444;
    --status-error-light: #f87171;
    
    /* Modern Gradients */
    --admin-gradient: linear-gradient(135deg, var(--admin-primary) 0%, var(--admin-primary-dark) 100%);
    --admin-gradient-light: linear-gradient(135deg, var(--admin-primary-light) 0%, var(--admin-primary) 100%);
    --admin-surface: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --admin-card: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    
    /* Enhanced Shadows */
    --admin-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --admin-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --admin-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --admin-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --admin-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Modern Border Radius */
    --admin-radius-sm: 0.375rem;
    --admin-radius-md: 0.5rem;
    --admin-radius-lg: 0.75rem;
    --admin-radius-xl: 1rem;
    --admin-radius-2xl: 1.5rem;
    
    /* Typography */
    --admin-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --admin-font-mono: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
}

/* Admin Body - Enhanced Background */
.admin-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-family: var(--admin-font-sans);
    color: #1e293b;
    overflow-x: hidden;
    min-height: 100vh;
}

.admin-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Admin Container - Full Width Layout */
.admin-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: transparent;
}

/* Top Navigation Bar */
.top-navbar {
    background: var(--admin-gradient);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--admin-shadow-lg);
}

/* Navbar Sections */
.navbar-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-icon {
    width: 40px !important;
    height: auto !important;
    font-size: unset !important;
    color: #fbbf24;
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4)); }
    100% { filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.6)); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--admin-radius-lg);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.admin-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.admin-badge i {
    color: #fbbf24;
    font-size: 1rem;
}

/* Top Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    border-radius: var(--admin-radius-md);
    overflow: hidden;
    min-height: 44px;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: rgba(99,102,241,0.15);
    white-space: nowrap;
}

.nav-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #fbbf24;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--admin-radius-lg);
}

.nav-btn:hover::after {
    opacity: 1;
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.nav-btn.active::before {
    transform: scaleY(1);
}

.nav-btn i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.nav-btn:hover i {
    transform: scale(1.1);
}

.badge {
    background: #fbbf24;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    margin-left: auto;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--admin-gradient);
    flex-shrink: 0;
    margin-top: auto; /* Push footer to bottom */
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
        transform: scale(1.2);
    }
}

.refresh-all-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.875rem 1.25rem;
    border-radius: var(--admin-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.refresh-all-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.refresh-all-btn i {
    transition: transform 0.3s ease;
}

.refresh-all-btn:hover i {
    transform: rotate(180deg);
}

.logout-btn {
    width: 100%;
    padding: 0.7rem 0;
    margin-top: 0.7rem;
    background: #f8d7da;
    color: #a62828;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    transition: background 0.2s, color 0.2s;
}

.logout-btn:hover {
    background: #f1b0b7;
    color: #a62828;
}

/* Top Navigation Logout Button */
.navbar-right .logout-btn {
    width: auto;
    padding: 0.75rem 1rem;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--admin-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-right .logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Enhanced Main Content */
.admin-main {
    flex: 1;
    background: transparent;
    min-height: calc(100vh - 80px);
    padding: 0;
}

/* Page Header */
.page-header {
    background: var(--admin-surface);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--admin-shadow-sm);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.page-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.025em;
    margin: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.breadcrumb i {
    font-size: 0.75rem;
    opacity: 0.6;
}

.page-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow-md);
}

.stat-item i {
    color: var(--admin-primary);
    font-size: 1rem;
}

/* Enhanced Content Sections */
.content-section {
    display: none;
    padding: 2rem;
    animation: fadeInUp 0.5s ease-out;
}

.content-section.active {
    display: block;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Enhanced Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-box:focus-within {
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-box:focus-within i {
    color: var(--admin-primary);
}

.search-box input {
    width: 300px;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: #374151;
    outline: none;
    border-radius: var(--admin-radius-lg);
}

.search-box input::placeholder {
    color: #9ca3af;
    font-weight: 500;
}

/* Enhanced Action Buttons */
.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: var(--admin-radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: rgba(99,102,241,0.15);
    transition: background 0.2s, box-shadow 0.2s;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn.primary {
    background: var(--admin-gradient);
    color: white;
    box-shadow: var(--admin-shadow-md);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow-lg);
}

.action-btn.secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    box-shadow: var(--admin-shadow-sm);
}

.action-btn.secondary:hover {
    border-color: var(--admin-primary);
    color: var(--admin-primary);
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow-md);
}

/* Enhanced Dashboard Grid */
.dashboard-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    min-height: 300px;
}

/* Enhanced Stat Cards */
.stat-card {
    background: var(--admin-card);
    border-radius: var(--admin-radius-xl);
    padding: 3rem;
    box-shadow: var(--admin-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--admin-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card.total::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.stat-card.pending::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.stat-card.completed::before { background: linear-gradient(90deg, #10b981, #059669); }
.stat-card.volume::before { background: linear-gradient(90deg, #fbbf24, #f59e0b); }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--admin-shadow-xl);
}

.stat-card-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--admin-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--admin-shadow-md);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.stat-card.total .stat-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.stat-card.pending .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.stat-card.completed .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card.volume .stat-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

.stat-change.positive {
    color: #059669;
}

.stat-change.negative {
    color: #dc2626;
}

.stat-change i {
    font-size: 0.75rem;
}

/* Enhanced Recent Transactions Card */
.recent-transactions-card {
    background: var(--admin-card);
    border-radius: var(--admin-radius-xl);
    box-shadow: var(--admin-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    background: rgba(255, 255, 255, 0.5);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--admin-gradient);
    color: white;
    border: none;
    border-radius: var(--admin-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow-lg);
}

/* Enhanced Transactions Grid */
.transactions-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.transactions-container {
    padding: 1.5rem 2rem;
    max-height: 600px;
    overflow-y: auto;
}

/* Enhanced Transaction Cards */
.transaction-card {
    background: white;
    border-radius: var(--admin-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.transaction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--admin-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

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

.transaction-card:hover::before {
    transform: scaleY(1);
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.transaction-id-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.transaction-id {
    font-family: var(--admin-font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    background: #f8fafc;
    padding: 0.375rem 0.75rem;
    border-radius: var(--admin-radius-md);
    border: 1px solid #e2e8f0;
}

.copy-id-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: var(--admin-radius-sm);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.copy-id-btn:hover {
    background: #f3f4f6;
    color: var(--admin-primary);
}

.transaction-status {
    padding: 0.5rem 1rem;
    border-radius: var(--admin-radius-lg);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--admin-shadow-sm);
}

.transaction-status.pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.transaction-status.pending-admin-confirmation {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.transaction-status.paid {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.transaction-status.completed {
    background: var(--status-completed);
    color: white;
}

.transaction-status.failed {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #991b1b;
}

.transaction-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.detail-value {
    font-size: 0.9375rem;
    color: #374151;
    font-weight: 600;
}

.transaction-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.transaction-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: none;
    border-radius: var(--admin-radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: rgba(99,102,241,0.15);
    transition: background 0.2s, box-shadow 0.2s;
}

.transaction-action-btn.confirm {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.transaction-action-btn.send {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.transaction-action-btn.complete {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.transaction-action-btn.danger {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--admin-radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--admin-shadow-sm);
}

.transaction-action-btn.danger:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow-md);
}

.transaction-action-btn.danger:active {
    transform: translateY(0);
}

.transaction-action-btn.restore {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--admin-radius-md);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: var(--admin-shadow-sm);
}

.transaction-action-btn.restore:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow-md);
}

.transaction-action-btn.restore:active {
    transform: translateY(0);
}

/* Enhanced Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9375rem;
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto;
}

/* Enhanced Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--admin-radius-xl);
    box-shadow: var(--admin-shadow-2xl);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--admin-radius-md);
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #ef4444;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Enhanced Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: var(--admin-card);
    border-radius: var(--admin-radius-xl);
    box-shadow: var(--admin-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.settings-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid #f1f5f9;
}

.settings-header i {
    font-size: 1.5rem;
    color: var(--admin-primary);
}

.settings-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.settings-content {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--admin-radius-lg);
    font-size: 0.9375rem;
    color: #374151;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.status-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--admin-radius-lg);
    color: #166534;
    font-weight: 600;
}

/* Enhanced Notifications */
.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-xl);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #6b7280;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.notification.error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #fef2f2);
}

.notification.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.notification i {
    font-size: 1.25rem;
    color: #6b7280;
}

.notification.success i {
    color: #10b981;
}

.notification.error i {
    color: #ef4444;
}

.notification.warning i {
    color: #f59e0b;
}

.notification-content {
    flex: 1;
}

.notification-message {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

/* Mobile Menu Components */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--admin-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--admin-radius-md);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

.mobile-close-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--admin-radius-md);
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.mobile-overlay {
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-quick-actions {
    display: none;
    gap: 0.5rem;
    align-items: center;
}

.mobile-action-btn {
    background: var(--admin-primary);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--admin-radius-md);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.mobile-action-btn:hover {
    background: var(--admin-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow-lg);
}

.mobile-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    min-width: 20px;
    text-align: center;
    animation: pulse-badge 2s infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-navbar {
        padding: 0 1.5rem;
    }
    
    .navbar-center {
        margin: 0 1rem;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-navbar {
        padding: 0 1rem;
        height: 70px;
    }
    
    .logo-text {
        display: none;
    }
    
    .navbar-center {
        margin: 0 0.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem;
        min-width: 44px;
    }
    
    .nav-btn i {
        font-size: 1.1rem;
    }
    
    .admin-badge span {
        display: none;
    }
    
    .navbar-right .logout-btn span {
        display: none; /* Hide logout text on mobile */
    }
    
    .navbar-right .logout-btn {
        padding: 0.5rem;
        min-width: 44px;
    }
    
    .admin-main {
        min-height: calc(100vh - 70px);
    }
    
    .page-header {
        padding: 1rem 1.5rem;
        position: sticky;
        top: 70px;
        background: white;
        z-index: 100;
        box-shadow: var(--admin-shadow-sm);
    }
    
    .header-left {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .header-stats {
        display: none;
    }
    
    /* Mobile stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .stat-card {
        padding: 2rem;
        min-height: 150px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .search-box input {
        width: 100%;
        max-width: 300px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .transaction-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .transaction-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .transaction-action-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .modal-content {
        width: 95%;
        max-width: 500px;
        margin: 2rem auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .transaction-card {
        padding: 1rem;
    }
    
    .transaction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .transaction-id-container {
        width: 100%;
    }
    
    .transaction-id {
        font-size: 0.875rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
    }
    
    .search-box input {
        width: 100%;
        max-width: none;
    }
    
    .action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        min-height: 44px;
    }
    
    .notification-container {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .notification {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .transaction-card {
        margin-bottom: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-label {
        font-size: 0.875rem;
    }
    
    .detail-value {
        font-size: 0.875rem;
        word-break: break-word;
    }
    
    .modal-content {
        width: 98%;
        margin: 1rem auto;
        padding: 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .settings-card {
        padding: 1rem;
    }
    
    .form-group input {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i {
        font-size: 2.5rem;
    }
    
    .empty-state h4 {
        font-size: 1.125rem;
    }
    
    .empty-state p {
        font-size: 0.875rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-btn {
        min-height: 48px;
        padding: 1rem 1.25rem;
    }
    
    .transaction-action-btn {
        min-height: 48px;
        padding: 1rem;
    }
    
    .action-btn {
        min-height: 48px;
        padding: 1rem 1.25rem;
    }
    
    .mobile-action-btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    .copy-id-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve touch targets */
    .transaction-card {
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .transaction-card:active {
        transform: scale(0.98);
    }
    
    /* Better mobile scrolling */
    .transactions-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Improve mobile form inputs */
    .form-group input,
    .form-group select,
    .search-box input {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: var(--admin-radius-md);
    }
    
    /* Better mobile buttons */
    .transaction-action-btn,
    .action-btn {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .transaction-action-btn:active,
    .action-btn:active {
        transform: scale(0.95);
    }
}

/* Mobile-specific transaction card improvements */
@media (max-width: 768px) {
    .transaction-card {
        border-radius: var(--admin-radius-lg);
        box-shadow: var(--admin-shadow-md);
        transition: all 0.3s ease;
    }
    
    .transaction-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--admin-shadow-lg);
    }
    
    .transaction-header {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .transaction-status {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    .detail-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .detail-item:last-child {
        border-bottom: none;
    }
    
    .detail-label {
        font-weight: 600;
        color: #6b7280;
        margin-bottom: 0.25rem;
    }
    
    .detail-value {
        color: #1f2937;
        word-break: break-word;
    }
    
    /* Mobile-optimized action buttons */
    .transaction-actions {
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }
    
    .transaction-action-btn {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobile search improvements */
    .search-box {
        position: relative;
        width: 100%;
    }
    
    .search-box input {
        padding-left: 2.5rem;
        padding-right: 1rem;
        height: 44px;
        border: 2px solid #e5e7eb;
        transition: border-color 0.3s ease;
    }
    
    .search-box input:focus {
        border-color: var(--admin-primary);
        outline: none;
    }
    
    .search-box i {
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 1rem;
    }
}

/* Mobile modal improvements */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-content {
        border-radius: var(--admin-radius-lg);
        box-shadow: var(--admin-shadow-2xl);
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .modal-close {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .admin-sidebar {
        box-shadow: var(--admin-shadow-2xl);
    }
    
    .nav-btn {
        margin-bottom: 0.25rem;
        border-radius: var(--admin-radius-md);
    }
    
    .nav-btn.active {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
    
    .nav-btn.active::before {
        display: none;
    }
    
    .sidebar-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 1.5rem;
    }
    
    .refresh-all-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile header improvements */
@media (max-width: 768px) {
    .admin-header {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-quick-actions {
        gap: 0.75rem;
    }
    
    .mobile-action-btn {
        box-shadow: var(--admin-shadow-sm);
    }
    
    .mobile-action-btn:active {
        transform: scale(0.95);
    }
}

/* Mobile stats improvements */
@media (max-width: 768px) {
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-card {
        border-radius: var(--admin-radius-lg);
        box-shadow: var(--admin-shadow-md);
    }
    
    .stat-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .stat-change {
        font-size: 0.75rem;
    }
}

/* Enhanced Animations */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* User Confirmation Banner */
.user-confirmation-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    border-radius: var(--admin-radius-md);
    margin: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    animation: slideInDown 0.3s ease-out;
}

.user-confirmation-banner i {
    color: #fbbf24;
    font-size: 1rem;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Urgent Action Button */
.transaction-action-btn.urgent {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    animation: pulse-urgent 2s infinite;
}

.transaction-action-btn.urgent:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-urgent {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    }
}

/* Trash section specific styles */
#trash .empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

#trash .empty-state i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

#trash .empty-state h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

#trash .empty-state p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Failed transaction card styles */
.transaction-card.failed {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.transaction-card.failed:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
}

/* Failure reason banner */
.failure-reason-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: 6px;
    margin: 8px 0;
    font-size: 0.875rem;
    color: #991b1b;
}

.failure-reason-banner i {
    color: #ef4444;
    font-size: 1rem;
}

.failure-reason-banner span {
    font-weight: 600;
}

/* Restore button styles */
.transaction-action-btn.restore {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--admin-radius-md);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: var(--admin-shadow-sm);
}

.transaction-action-btn.restore:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow-md);
}

.transaction-action-btn.restore:active {
    transform: translateY(0);
}

.transaction-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-btn:active, .action-btn:active, .transaction-action-btn:active {
    background: rgba(99,102,241,0.08) !important;
    box-shadow: 0 2px 8px rgba(99,102,241,0.08);
}

/* Slow spin animation for time icon */
.fa-clock.spin-slow {
    animation: spin-slow 2s linear infinite;
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Admin Login Overlay Styles */
.admin-login-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-login-modal {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
}
.admin-login-modal h2 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
}
#admin-login-password {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 1rem;
    width: 100%;
}
#admin-login-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    background: #f7931a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
}
#admin-login-btn:hover {
    background: #c67813;
}
.admin-login-error {
    color: #d32f2f;
    margin-top: 0.5rem;
    font-size: 0.98rem;
    min-height: 1.2em;
    text-align: center;
}

/* Google Sheets Specific Styles */
.google-sheets-info {
    margin-bottom: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--admin-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--admin-shadow-sm);
    transition: all 0.2s ease;
}

.info-card:hover {
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-1px);
}

.info-card i {
    font-size: 2rem;
    color: #4285f4;
    flex-shrink: 0;
}

.info-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.info-content p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Google Sheets Transaction Cards */
.google-sheets-transaction {
    border-left: 4px solid #4285f4;
    position: relative;
}

.google-sheets-transaction::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234285f4"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.6;
}

.google-sheets-transaction:hover {
    cursor: default;
    transform: none;
}

.google-sheets-transaction:hover::before {
    opacity: 1;
}

/* Google Sheets Status Badge */
.google-sheets-transaction .transaction-status {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Google Sheets Empty State */
.google-sheets-transactions-list .empty-state i.fab.fa-google-drive {
    color: #4285f4;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Mobile Responsiveness for Google Sheets */
@media (max-width: 768px) {
    .info-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .info-card i {
        font-size: 1.5rem;
    }
    
    .google-sheets-transaction::before {
        top: 0.75rem;
        right: 0.75rem;
        width: 16px;
        height: 16px;
    }
}

