/* Dark Theme - Crypto Native UI for MineOnMobile */

:root {
    /* Primary Colors */
    --orange-primary: #E6541A;
    --orange-darker: #D14818;
    --navy-900: #1A1F2E;
    --navy-800: #252B3B;
    --steel-blue: #2A3654;
    --steel-blue-light: #3D4A6E;
    
    /* Text Colors */
    --text-white: #F9F9F9;
    --text-gray: #B0B3C3;
    --text-slate-300: #CBD5E1;
    --text-slate-400: #94A3B8;
    --text-slate-500: #64748B;
    
    /* Background Colors */
    --bg-primary: var(--navy-900);
    --bg-secondary: var(--navy-800);
    --bg-card: #1E293B; /* slate-800 */
    --bg-panel: var(--navy-800);
    
    /* Border Colors */
    --border-slate-700: #334155;
    --border-slate-600: #475569;
    
    /* Accent Colors */
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --green-400: #4ADE80;
    --green-500: #22C55E;
    --red-400: #F87171;
    --red-500: #EF4444;
    
    /* Gradients */
    --gradient-orange: linear-gradient(90deg, #E6541A 0%, #F97316 100%);
    --gradient-navy: linear-gradient(135deg, #252B3B 0%, #1A1F2E 100%);
    --gradient-blue: linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%);
    
    /* Glow Effects */
    --glow-orange: 0 0 20px rgba(230, 84, 26, 0.3);
    --glow-blue: 0 0 20px rgba(37, 99, 235, 0.3);
    --glow-green: 0 0 20px rgba(34, 197, 94, 0.3);
    --glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Override Bootstrap classes */
.bg-primary {
    background-color: var(--orange-primary) !important;
}

.bg-dark {
    background-color: var(--bg-secondary) !important;
}

.text-light {
    color: var(--text-white) !important;
}

.text-muted {
    color: var(--text-gray) !important;
}

/* Navigation */
.navbar {
    background-color: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-slate-700);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: var(--text-white) !important;
    font-weight: bold;
    font-size: 1.3rem;
}

.navbar-brand i {
    color: var(--orange-primary) !important;
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover {
    color: var(--orange-primary) !important;
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
    background-color: rgba(230, 84, 26, 0.1);
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
}

.navbar-toggler {
    border-color: var(--border-slate-700);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(249, 249, 249, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-slate-700);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--text-gray);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary);
    color: var(--orange-primary);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    border-color: var(--border-slate-700);
    margin: 0.5rem 0;
}

/* Hover Effects */
.hover-orange:hover {
    color: var(--orange-primary) !important;
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
    transition: all 0.3s ease;
}

/* Cards & Panels */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-slate-700);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--steel-blue-light);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--orange-primary);
    color: var(--text-white);
    box-shadow: var(--glow-orange);
}

.btn-primary:hover {
    background: var(--orange-darker);
    transform: scale(1.05);
    box-shadow: var(--glow-orange), 0 0 30px rgba(230, 84, 26, 0.4);
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--steel-blue-light);
    color: var(--text-gray);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.btn-success {
    background: var(--green-500);
    color: var(--text-white);
    box-shadow: var(--glow-green);
}

.btn-success:hover {
    background: var(--green-400);
    transform: scale(1.05);
    box-shadow: var(--glow-green), 0 0 30px rgba(34, 197, 94, 0.4);
}

.btn-warning {
    background: var(--orange-primary);
    color: var(--text-white);
    box-shadow: var(--glow-orange);
}

.btn-warning:hover {
    background: var(--orange-darker);
    transform: scale(1.05);
    box-shadow: var(--glow-orange), 0 0 30px rgba(230, 84, 26, 0.4);
}

.btn-danger {
    background: var(--red-500);
    color: var(--text-white);
    box-shadow: var(--glow-red);
}

.btn-danger:hover {
    background: var(--red-400);
    transform: scale(1.05);
    box-shadow: var(--glow-red), 0 0 30px rgba(239, 68, 68, 0.4);
}

.btn-outline-primary {
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--orange-primary);
    color: var(--text-white);
    box-shadow: var(--glow-orange);
}

/* Forms */
.form-control {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-slate-700);
    color: var(--text-white);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    background-color: var(--bg-secondary);
    border-color: var(--orange-primary);
    color: var(--text-white);
    box-shadow: var(--glow-orange);
}

.form-control::placeholder {
    color: var(--text-slate-500);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green-400);
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: var(--glow-green);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: rgb(245 158 11);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgb(239 68 68);
}

.alert-info {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-600);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: var(--glow-blue);
}

.alert i {
    margin-right: 8px;
}

/* Pricing Cards */
.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-slate-700);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--orange-primary);
}

.pricing-card.popular {
    border-color: var(--orange-primary);
    box-shadow: var(--glow-orange);
    transform: scale(1.02);
}

.pricing-card.popular::before {
    content: "🔥 Most Popular";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-orange);
    color: var(--text-white);
    padding: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--orange-primary);
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price .period {
    font-size: 1rem;
    color: var(--text-slate-500);
}

/* Countdown Timer */
.countdown {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-slate-700);
    color: var(--text-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timer {
    display: inline-block;
    margin: 0 10px;
}

.timer-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--orange-primary);
    display: block;
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
}

.timer-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-slate-500);
}

/* Referral System */
.referral-card {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border: 1px solid #3b82f6;
    color: var(--text-white);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.referral-link {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-slate-700);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    word-break: break-all;
    color: var(--text-gray);
}

.referral-earnings {
    color: var(--green-400);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Scan Results */
.scan-result {
    background: var(--gradient-navy);
    color: var(--text-white);
    border: 1px solid var(--border-slate-700);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.scan-amount {
    font-size: 4rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--orange-primary);
    text-shadow: 0 0 20px rgba(230, 84, 26, 0.5);
}

.scan-country {
    font-size: 1.2rem;
    color: var(--text-slate-500);
    margin-bottom: 30px;
}

/* Dashboard */
.dashboard-card {
    background: var(--gradient-navy);
    color: var(--text-white);
    border: 1px solid var(--border-slate-700);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dashboard-stat {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--orange-primary);
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
}

.dashboard-label {
    font-size: 1rem;
    color: var(--text-slate-500);
}

/* Verification Badges */
.verified-badge {
    background: var(--green-500);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: var(--glow-green);
}

/* Unlock Button */
.unlock-btn {
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: var(--glow-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: var(--glow-orange); }
    50% { box-shadow: var(--glow-orange), 0 0 30px rgba(230, 84, 26, 0.6); }
    100% { box-shadow: var(--glow-orange); }
}

/* Footer */
footer {
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-slate-700);
    color: var(--text-slate-500);
}

footer a {
    color: var(--text-slate-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--orange-primary);
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
}

/* Loading Spinner */
.spinner {
    border: 4px solid var(--border-slate-700);
    border-top: 4px solid var(--orange-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Pagination */
.pagination .page-link {
    background-color: var(--bg-secondary);
    border-color: var(--border-slate-600);
    color: var(--text-gray);
}

.pagination .page-link:hover {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: var(--text-white);
}

.pagination .page-item.active .page-link {
    background-color: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--text-white);
}

/* Links */
a {
    color: var(--orange-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange-darker);
    text-shadow: 0 0 10px rgba(230, 84, 26, 0.5);
}

/* Orange button hover fix - ensure white text on orange backgrounds */
a[class*="bg-orange"]:hover,
a[class*="from-orange"]:hover,
button[class*="bg-orange"]:hover,
button[class*="from-orange"]:hover,
.bg-orange-500:hover,
.bg-orange-600:hover,
.bg-orange-700:hover,
.from-orange-500:hover,
.from-orange-600:hover,
.to-orange-400:hover,
.to-orange-500:hover,
.to-orange-600:hover,
.hover\:from-orange-500:hover,
.hover\:from-orange-600:hover,
.hover\:to-orange-400:hover,
.hover\:to-orange-500:hover,
.bg-gradient-to-r.from-orange-500:hover,
.bg-gradient-to-r.from-orange-600:hover,
a.text-white[class*="orange"]:hover,
button.text-white[class*="orange"]:hover {
    color: white !important;
    text-shadow: none !important;
}

/* Additional specificity for gradient buttons */
.bg-gradient-to-r:hover {
    color: inherit;
}

.bg-gradient-to-r.from-orange-500:hover,
.bg-gradient-to-r.from-orange-600:hover {
    color: white !important;
}

/* Text Utilities */
.text-success {
    color: var(--green-400) !important;
}

.text-danger {
    color: var(--red-400) !important;
}

.text-warning {
    color: var(--orange-primary) !important;
}

.text-info {
    color: var(--blue-600) !important;
}

.text-slate-300 {
    color: var(--text-slate-300) !important;
}

.text-slate-400 {
    color: var(--text-slate-400) !important;
}

.text-slate-500 {
    color: var(--text-slate-500) !important;
}

/* Background Utilities */
.bg-slate-800 {
    background-color: var(--bg-card) !important;
}

.bg-slate-700 {
    background-color: var(--bg-secondary) !important;
}

.border-slate-700 {
    border-color: var(--border-slate-700) !important;
}

.border-slate-600 {
    border-color: var(--border-slate-600) !important;
}

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

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

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
    }
    
    .scan-amount {
        font-size: 2.5rem;
    }
    
    .timer-number {
        font-size: 1.8rem;
    }
    
    .dashboard-stat {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.2rem 0;
    }
    
    /* Mobile wallet scanner optimizations */
    .wallet-scanner-container {
        padding: 10px;
        margin: 0;
    }
    
    .scan-results-list {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .scan-button {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .scan-amount {
        font-size: 2rem;
    }
    
    .timer-number {
        font-size: 1.5rem;
    }
    
    .wallet-scanner-header {
        padding: 15px 10px;
    }
    
    .scan-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .scan-stat-item {
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-slate-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-primary);
} 

/* Modal Styles */
.mineonmobile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mineonmobile-modal-content {
    background: #1a1a2e;
    border: 1px solid #2d3748;
    border-radius: 10px;
    padding: 30px;
    min-width: 400px;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.mineonmobile-modal-content h3 {
    color: white;
    margin-bottom: 20px;
    margin-right: 40px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #2d3748;
    margin-bottom: 0;
}

.modal-header h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mineonmobile-modal-content form {
    padding: 30px;
}

/* Button Styles */
.btn-admin {
    background: rgb(230 84 26);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-admin:hover {
    background: rgb(200 64 6);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

/* Badge Styles */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(22, 163, 74, 0.2);
    color: rgb(22 163 74);
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.badge-secondary {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.badge-pending {
    background: rgba(245, 158, 11, 0.2);
    color: rgb(245 158 11);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-paid {
    background: rgba(22, 163, 74, 0.2);
    color: rgb(22 163 74);
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.badge-failed {
    background: rgba(239, 68, 68, 0.2);
    color: rgb(239 68 68);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Form Styles */
input[type="text"], input[type="email"], input[type="number"], input[type="password"], select, textarea {
    width: 100%;
    padding: 8px 12px;
    background: #1f2937;
    border: 1px solid #4b5563;
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgb(230 84 26);
    box-shadow: 0 0 0 2px rgba(230, 84, 26, 0.2);
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: rgb(22 163 74);
}

.alert-error, .alert-danger {
    background: rgba(230, 84, 26, 0.1);
    border: 1px solid rgba(230, 84, 26, 0.3);
    color: rgb(230 84 26);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: rgb(59 130 246);
}

/* Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #2d3748;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
}

.admin-table td {
    color: #a0aec0;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-bar label {
    color: #a0aec0;
    font-weight: 600;
    margin-right: 5px;
}

.filter-bar select {
    padding: 6px 10px;
    background: #1f2937;
    border: 1px solid #4b5563;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination a,
.pagination .current {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: rgb(230 84 26);
    color: white;
} 

/* Chart container improvements */
.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
}

/* Enhanced stat cards */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Dashboard Header Layout */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dashboard-title h1 {
    margin: 0;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
}

.dashboard-title i {
    color: var(--orange-primary);
    margin-right: 10px;
}

.date-range-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-filter label {
    color: var(--text-gray);
    font-weight: 600;
    margin: 0;
}

.date-range-filter select {
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-slate-600);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.date-range-filter select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 2px rgba(230, 84, 26, 0.2);
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-grid .admin-card {
    margin-bottom: 0;
}

/* Enhanced Filters for User Management */
.enhanced-filters {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Stats Grid for 7 columns */
.stats-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.stats-grid[style*="grid-template-columns: repeat(7, 1fr)"] {
    grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 1200px) {
    .stats-grid[style*="grid-template-columns: repeat(7, 1fr)"] {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid[style*="grid-template-columns: repeat(7, 1fr)"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bulk Actions */
.bulk-actions {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 15px;
}

.bulk-actions input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.bulk-actions label {
    color: var(--text-white);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Pagination Info */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px 0;
}

.pagination-info {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* User Details Modal */
.user-details h4 {
    color: var(--orange-primary);
    margin: 20px 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.user-details p {
    margin: 8px 0;
    color: var(--text-white);
}

.user-details strong {
    color: var(--text-gray);
    min-width: 120px;
    display: inline-block;
}

/* Form Groups */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-gray);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-slate-600);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.search-section {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 4px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-slate-600);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 12px;
}

.search-input:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 2px rgba(230, 84, 26, 0.2);
}

.search-btn {
    padding: 10px 15px;
    background: var(--orange-primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--orange-darker);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 1px;
}

.filter-group select {
    padding: 4px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-slate-600);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 2px rgba(230, 84, 26, 0.2);
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
}

/* Responsive Dashboard Layout */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .filter-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dashboard-title h1 {
        font-size: 1.3rem;
    }
    
    .date-range-filter {
        justify-content: center;
    }
    
    .filter-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px 10px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dashboard-title h1 {
        font-size: 1.3rem;
    }
    
    .date-range-filter {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px 10px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
} 

@media (max-width: 480px) {
    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 