
    :root {
        --primary: #4361ee;
        --secondary: #3f37c9;
        --success: #4cc9f0;
        --dark: #2b2d42;
        --light: #f8f9fa;
    }
    
    body {
        background-color: #f5f7fb;
        color: #333;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        padding-bottom: 50px;
    }
    
    .navbar {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .card {
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.08);
        border: none;
        transition: transform 0.3s, box-shadow 0.3s;
        margin-bottom: 20px;
        background-color: white;
    }
    
    .status-badge {
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
    }
    
    .task-item {
        border: 1px solid var(--primary);
        border-left: 4px solid var(--primary);
        padding: 5px 10px;
        margin-bottom: 10px;
        transition: all 0.2s;
        background-color: white;
        border-radius: 8px;
    }
    
    .task-description {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 3em;
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .section-title {
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 25px;
        border-bottom: 2px solid #eaeaea;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 80px;
        height: 2px;
        background: var(--primary);
    }
    
    .btn-primary {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        border: none;
        border-radius: 8px;
        padding: 8px 16px;
        transition: all 0.3s;
        font-size: 0.9rem;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
    }
    
    .modal-content {
        border-radius: 12px;
        border: none;
    }
    
    .stat-card {
        text-align: center;
        padding: 5px;
        border-radius: 12px;
        color: white;
    }
    
    .stat-card.primary {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }
    
    .stat-card.success {
        background: linear-gradient(135deg, #2ecc71, #27ae60);
    }
    
    .stat-card.warning {
        background: linear-gradient(135deg, #f39c12, #e67e22);
    }
    
    .stat-card.info {
        background: linear-gradient(135deg, #3498db, #2980b9);
    }
    
    .stat-card h2 {
        font-size: 1.5rem;
        margin: 5px 0;
    }

    .stat-card i {
        font-size: 1.8rem !important;
    }
    
    .filter-card {
        position: sticky;
        top: 20px;
        z-index: 100;
    }
    
    .pagination {
        justify-content: center;
        margin-top: 20px;
    }
    
    .etape-item {
        border-left: 3px solid var(--primary);
        padding: 10px 15px;
        margin-bottom: 15px;
        background-color: #f8f9fa;
        border-radius: 0 8px 8px 0;
    }
    
    .etape-date {
        font-size: 0.8rem;
        color: #6c757d;
    }
    
    .pagination-btn {
        margin: 0 3px;
        min-width: 35px;
    }
    
    .task-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 5px;
    }
    
    .etape-form-container {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        background-color: #f8f9fa;
    }
    
    .etape-list-container {
        max-height: 400px;
        overflow-y: auto;
        padding: 10px;
    }