@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Effet de particules flottantes (optionnel) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

/* Cartes glassmorphiques */
.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

/* Boutons modernes */
.btn-modern {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 40px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-modern:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #5a67d8 0%, #6b46a0 100%);
}

/* Sidebar moderne */
#sidebar-wrapper {
    background: rgba(15, 20, 45, 0.95);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sidebar-heading {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a0aec0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.list-group-item {
    background: transparent !important;
    border: none;
    margin: 5px 10px;
    border-radius: 12px;
    transition: all 0.2s;
    font-weight: 500;
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(5px);
}

.list-group-item i {
    width: 28px;
    font-size: 1.1rem;
}

/* Tableau de bord - cartes stats */
.stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 20px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.7;
}

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

.fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        margin: 15px;
    }
    .btn-modern {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .stat-card .stat-icon {
        font-size: 1.8rem;
    }
    .sidebar-heading {
        font-size: 1.2rem;
    }
}