body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }
        .dashboard-container {
            max-width: 1500px;
            margin: auto;
            padding: 20px;
        }
        .header {
            background-color: #370559;
            color: white;
            padding: 10px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        .logo-container img {
            width: 200px;
            height: 50px;
            cursor: pointer;
        }
        .categories {
            display: flex;
            gap: 20px;
            margin-left: 50px;
        }
        .categories a {
            color: white;
            text-decoration: none;
            font-weight: bold;
        }
        .categories a:hover {
            text-decoration: underline;
        }
        .user-section {
            display: flex;
            align-items: center;
            margin-right: 20px;
        }
        .user-name {
            margin-right: 15px;
            font-size: 16px;
            font-weight: bold;
        }
        .logout-container img {
            width: 25px;
            height: 25px;
            cursor: pointer;
        }
        .section-header {
            background-color: #f8f8f8;
            padding: 10px;
            border-left: 5px solid #4a0777;
            margin-top: 20px;
            margin-bottom: 20px;
        }
        .card {
            background-color: white;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            margin-bottom: 20px;
        }
        .table-container {
            overflow-x: auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        table th, table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        table th {
            background-color: #f2f2f2;
        }
        .status-valide {
            color: green;
            font-weight: bold;
        }
        .status-attente {
            color: red;
            font-weight: bold;
        }
        /* Styles pour les graphiques */
        .chart-container {
            width: 100%;
            margin: 20px 0;
        }
        /* Styles pour le formulaire */
        .contact-form {
            margin-top: 30px;
            padding: 20px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .contact-form h3 {
            margin-bottom: 15px;
        }
        .contact-form select, .contact-form input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .contact-form button {
            background-color: #4a0777;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
        }
        .contact-form button:hover {
            background-color: #370559;
        }
        .footer {
            text-align: center;
            padding: 10px 0;
            margin-top: 20px;
            background-color: #4a0777;
            color: white;
        }
        /* Styles pour le popup */
        .popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #fff; /* Blanc */
            padding: 20px;
            border: 2px solid #4a0777; /* Bordure couleur thème */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            border-radius: 10px;
            text-align: center;
            width: 300px; /* Largeur fixe */
        }
        .popup h4 {
            margin: 0 0 15px 0;
            font-size: 1.5em;
            color: #4a0777; /* Couleur de texte */
        }
        .popup p {
            font-size: 1.2em;
            margin: 5px 0; /* Espacement entre les lignes */
            color: #333; /* Couleur de texte */
        }
        .popup button {
            background-color: #4a0777;
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            border-radius: 5px; /* Arrondir les coins */
            margin-top: 15px; /* Espacement au-dessus du bouton */
        }
        .popup button:hover {
            background-color: #370559;
        }
        /* Style pour le détail du cours */
        .details-button {
            cursor: pointer;
            color: #4a0777;
            text-decoration: underline;
        }

        .proposition-container {
            margin-top: 30px;
            padding: 20px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .proposition-table th, .proposition-table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        .proposition-table th {
            background-color: #f2f2f2;
        }

        .refuse-button{
            background-color: #a61414;
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            margin-right: 10px;
            border-radius: 5px;
        }

        .refuse-button:hover{
            background-color: #590505;
        }

        .accept-button {
            background-color: #077712;
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            margin-right: 10px;
            border-radius: 5px;
        }
        .accept-button:hover {
            background-color: #0d5905;
        }
        /* Styles pour le formulaire de pièces justificatives */
        .justificatif-form {
            display: none; /* Cacher par défaut */
            margin-top: 20px;
            padding: 20px;
            background-color: #f8f8f8;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        /* Styles pour la popup de confirmation */
        .confirmation-popup {
            display: none; /* Cacher par défaut */
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }
        .confirmation-content {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
        }

        .validated-hours {
            margin-top: 20px;
            border-top: 1px solid #ccc;
            padding-top: 20px;
        }
        .validated-hours h3 {
            margin: 0;
        }

        .status-valide {
            color: green; /* Pour le statut validé */
            font-weight: bold;
        }
        
        .status-attente {
            color: rgb(255, 136, 0); /* Pour le statut en attente */
            font-weight: bold;
        }

/* Style général pour le conteneur de pagination */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Style pour les boutons Précédent et Suivant */
#pagination button {
    background-color: #4a0777; /* Couleur de fond verte */
    color: white;              /* Couleur du texte */
    border: none;
    padding: 10px 20px;
    margin: 0 5px;             /* Espacement entre les boutons */
    border-radius: 5px;        /* Coins arrondis */
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect pour les boutons */
#pagination button:hover {
    background-color: #3b085e; /* Couleur plus foncée au survol */
}

/* Style du texte de la page actuelle */
#pagination span {
    font-size: 18px;
    margin: 0 10px;
}

/* Désactivation des boutons si nécessaire */
#pagination button:disabled {
    background-color: #cccccc; /* Couleur gris clair si désactivé */
    cursor: not-allowed;
}