/* assets/css/style.css */

/* Styles de base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Amélioration des cartes */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Boutons */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

/* Formulaire */
.form-control {
    border-radius: 50px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
    
    .navbar-brand img {
        height: 30px;
    }
}

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-radius: 0 0 20px 20px;
}

.formation-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.formation-item:hover .formation-img {
    transform: scale(1.03);
}

.card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Animation pour le filtre */
.formation-item {
    transition: all 0.4s ease;
}

.hidden {
    display: none;
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 20px; /* Ajout de padding */
}

/* Pour les tableaux */
.table-responsive {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    padding: 20px;
    width: 100%; /* Prend toute la largeur */
}

/* Cartes de statistiques */
.card-stat {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card-stat:hover {
    transform: translateY(-5px);
}