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

/* Ajustements de l'en-tête */
.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Styles des cartes */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    font-weight: 600;
}

/* Styles des tableaux */
.table {
    vertical-align: middle;
}

.table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-top: none;
    vertical-align: middle;
}

/* Styles des badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.6em;
}

/* Styles de progression */
.progress {
    height: 1rem;
    border-radius: 0.5rem;
    background-color: #e9ecef;
}

/* Styles du cercle de progression */
.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 150px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke: #4caf50;
}

.percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
}

/* Styles pour les boutons */
.btn {
    border-radius: 0.3rem;
    font-weight: 500;
}

/* Styles pour les formulaires */
.form-control, .form-select {
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
}

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

/* Styles pour le pied de page */
footer {
    border-top: 1px solid #e9ecef;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Styles pour la navigation latérale */
.list-group-item {
    border-radius: 0 !important;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design adjustments */
@media (max-width: 992px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}
