body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
	    width: 100%;
}

.container {
	    max-width: 1800px; /* Limite la largeur maximale */
    width: 95%;
    margin: 10px auto;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

form {
    margin-bottom: 20px;
}

input {
    padding: 10px;
    margin-right: 10px;
    width: 200px;
}

button {
    padding: 10px 20px;
    background-color:  #326b68 ;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
}

#pagination {
    text-align: center;
}

#pagination button {
    margin: 0 5px;
    background-color: #007bff;
}

#pagination button:hover {
    background-color: #0056b3;
}
/* Styles pour le formulaire des paiements */
#form-paiement {
    margin-bottom: 20px;
}

#form-paiement select, #form-paiement input {
    padding: 10px;
    margin-right: 10px;
}

/* Styles pour le tableau des paiements */
#table-paiements {
    margin-top: 20px;
}
/* Styles pour les notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border-radius: 5px;
    display: none;
}

/* Styles pour le menu de navigation */
nav {
        background-color: #333;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}
/* Styles pour la liste des liens */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
}

.nav-list li a:hover {
    background-color: #555;
    border-radius: 4px;
}

/* Styles pour le sélecteur de langue */
#language-selector select {
    padding: 5px;
    border-radius: 4px;
    border: none;
    background-color: #444;
    color: #fff;
}

/* Styles pour le bouton du menu hamburger */
.menu-toggle {
    display: none; /* Caché par défaut */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    border-radius: 2px;
}

/* Media Queries pour les petits écrans */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Afficher le bouton du menu hamburger */
    }

    .nav-list {
        display: none; /* Cacher la liste des liens par défaut */
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px; /* Ajuster en fonction de la hauteur de la barre de navigation */
        left: 0;
    }

    .nav-list li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-list.active {
        display: flex; /* Afficher la liste des liens lorsque le menu est actif */
    }
}
/* Styles pour le formulaire des opérations */
#form-operation {
    margin-bottom: 20px;
}

#form-operation select, #form-operation input {
    padding: 10px;
    margin-right: 10px;
}

/* Styles pour le tableau des opérations */
#table-operations {
    margin-top: 20px;
}

/* Styles pour le résumé financier */
#resume-financier {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

#resume-financier h2 {
    margin-bottom: 10px;
}

#resume-financier p {
    margin: 5px 0;
}
/* Styles pour les types d'opérations dans le tableau */
.recette {
    color: green;
}

.depense {
    color: red;
}

/* Styles pour l'impression */
@media print {
    body * {
        visibility: hidden;
    }
    #table-rapport, #solde-period, #table-rapport * {
        visibility: visible;
    }
    #table-rapport {
        position: absolute;
        left: 0;
        top: 0;
    }
    #solde-period {
        position: absolute;
        left: 0;
        top: 300px; /* Ajuster en fonction de la taille du tableau */
    }
}

/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 24px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Tableau de Bord */
#tableau-de-bord {
    padding: 20px;
}

#tableau-de-bord h2 {
    margin-bottom: 20px;
}

.cards {
    display: flex;
    flex-wrap: wrap; /* Permet aux cartes de passer à la ligne */
    gap: 20px;
    margin-bottom: 20px;
}
/* Media Queries pour les écrans plus petits */
@media (max-width: 768px) {
    .cards {
        flex-direction: column; /* Les cartes s'empilent verticalement */
    }

    .card, .card1, .card2, .card3, .card4 {
        flex: 1 1 100%; /* Une carte par ligne */
    }

    form {
        flex-direction: column; /* Les éléments du formulaire s'empilent verticalement */
    }

    input, select, button {
        max-width: 100%; /* Les champs prennent toute la largeur */
    }

    h1 {
        font-size: 1.5rem; /* Taille de police plus petite */
    }
}

@media (max-width: 480px) {
    th, td {
        padding: 8px; /* Espacement réduit pour les petits écrans */
    }

    .card h3, .card1 h3, .card2 h3, .card3 h3 {
        font-size: 1rem; /* Taille de police plus petite */
    }

    .card p, .card1 p, .card2 p, .card3 p {
        font-size: 1.2rem; /* Taille de police plus petite */
    }
}
.card {
    background-color: #f39c12 ;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}
.card1 {
    background-color:   #1abc9c  ;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}
.card2 {
    background-color:  #2e86c1 ;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}
.card3 {
    background-color:  #cb4335 ;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}
.card4 {
    background-color:    #30b0aa   ;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}
.card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.card1 h3 {
    margin: 0 0 10px;
    font-size: 18px;
}.card2 h3 {
    margin: 0 0 10px;
    font-size: 18px;
}.card3 h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.card p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}
.card1 p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}
.card2 p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}
.card3 p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}
/* Notifications */
#notifications {
    padding: 20px;
}

#notifications h2 {
    margin-bottom: 20px;
}

#liste-notifications {
    list-style: none;
    padding: 0;
}

#liste-notifications li {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Styles pour la zone d'activation */
#zone-activation {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#zone-activation h2 {
    margin-bottom: 10px;
}

#message-activation {
    margin-bottom: 20px;
    color: #666;
}

#form-activation input {
    padding: 10px;
    margin-right: 10px;
    width: 200px;
}

#form-activation button {
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

#form-activation button:hover {
    background-color: #218838;
}
.paye {
    color: green;
}

.non-paye {
    color: red;
}



.section {
    display: none;
    background-color: ;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section.active {
    display: block;
}