/* Importation d'une police moderne (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6; /* Gris très clair et doux */
    color: #2c3e50; /* Texte bleu-gris foncé pour réduire la fatigue visuelle */
}

/* --- NAVIGATION --- */
.navbar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navbar-dark.bg-dark {
    background-color: #1a252f !important; /* Mode studio sombre */
}
.navbar-dark.bg-danger {
    background-color: #e74c3c !important; /* Rouge pro pour l'admin */
}

/* --- CARTES (CARDS) --- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.1); /* Ombre douce style "Apple" */
    transition: transform 0.2s ease-in-out;
}
.card-header {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- BOUTONS --- */
.btn {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px); /* Léger effet de soulèvement */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}
.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* --- TABLEAUX (ADMIN) --- */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden; /* Permet d'arrondir les angles du tableau */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}
.table thead th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
}
.table tbody td {
    padding: 15px;
    vertical-align: middle;
}
.table-hover tbody tr:hover {
    background-color: #f8fbff; /* Bleu très très clair au survol */
}

/* --- FORMULAIRES --- */
.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #dfe6e9;
    box-shadow: none;
    transition: border-color 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* --- ALERTES & BADGES --- */
.alert {
    border-radius: 10px;
    border: none;
}
.badge {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
}