/* Purple Gradient Theme for Admin Pages */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh;
}

.main-content {
    background: transparent !important;
}

.topbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.section h2, .section h3 {
    color: #333;
}

table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.btn, button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.btn:hover, button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* Mobile & Tablet Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 15px;
        border-radius: 15px;
    }
    
    .section {
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 20px;
    }
    
    .section h2, .section h3 {
        font-size: 18px;
    }
    
    table {
        font-size: 13px;
    }
    
    .btn, button[type="submit"] {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 12px;
        border-radius: 12px;
    }
    
    .stat-card h3 {
        font-size: 11px;
    }
    
    .stat-card .value {
        font-size: 18px;
    }
    
    .section {
        padding: 12px;
    }
    
    .section h2, .section h3 {
        font-size: 16px;
    }
    
    table {
        font-size: 12px;
    }
    
    .btn, button[type="submit"] {
        padding: 8px 16px;
        font-size: 13px;
    }
}
