/* Styles généraux */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* En-tête et navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Cartes */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Boutons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 20px;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-warning {
    background-color: #f39c12;
    border-color: #f39c12;
}

.btn-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

/* Tableaux */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #2c3e50;
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Formulaire de connexion */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.login-container h2 {
    color: #2c3e50;
    font-weight: 700;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Formulaires */
.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Pagination */
.pagination .page-link {
    color: #3498db;
    border: none;
    margin: 0 3px;
    border-radius: 6px;
}

.pagination .page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

/* Alertes */
.alert {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        margin: 50px 20px;
        padding: 30px;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* Animation pour les cartes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Icônes */
.bi {
    vertical-align: middle;
}


