/* Styles généraux */
body { 
    background-color: #f8f9fa; 
    padding-bottom: 2rem;
}

/* Navigation */
.navbar { 
    background-color: #343a40 !important;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    color: #fff !important;
}

/* Conteneurs */
.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 20px;
}

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

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

.card-icon {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Statistiques */
.stats-card {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
}

/* Formulaires */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.form-floating {
    margin-bottom: 1rem;
}

.form-floating label {
    color: #6c757d;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Boutons */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.75rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Alertes */
.alert {
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Section de recherche */
.search-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

/* Tableaux */
.table-responsive {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.table thead th {
    background-color: #343a40;
    color: white;
    border-color: #454d55;
}

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

/* Page de connexion */
.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Section de bienvenue */
.welcome-section {
    text-align: center;
    padding: 3rem 0;
}

.welcome-icon {
    font-size: 4rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}
