body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.info-card {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    border-radius: 8px;
}
.info-card h2 {
    border-bottom: 2px solid #a17b12;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.info-table th, .info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.info-table th {
    background-color: #f8f8f8;
    color: #333;
}
.info-table input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.action-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #a17b12;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
}
.action-btn:hover {
    background-color: #5f490b;
}
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #a17b12;
    color: white;
    margin-top: 40px;
}
.non-editable {
    background-color: #e9e9e9;
}

.header {
    background-color: #a17b12;
    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: 15px;
    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 {
    display: flex;
    align-items: center;
}
.logout-container img {
    width: 25px;
    height: 25px;
    margin-left: 10px;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.info-card {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    border-radius: 8px;
}
.info-card h2 {
    border-bottom: 2px solid #a17b12;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.info-table th, .info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.info-table th {
    background-color: #f8f8f8;
    color: #333;
}
.info-table input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.action-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #a17b12;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
}
.action-btn:hover {
    background-color: #5f490b;
}
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #a17b12;
    color: white;
    margin-top: 40px;
}
.non-editable {
    background-color: #e9e9e9;
}

        /* 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 #a17b12; /* 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: #a17b12; /* 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: #a17b12;
    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: #5f490b;
}

/* Sablier de chargement */
.loading-text {
    font-size: 1.2em;
    color: #555;
}
.loading-icon {
    margin-left: 10px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.file-upload-label {
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
    background-color: #e0e0e0; /* Couleur de fond gris clair */
    color: #333; /* Couleur du texte gris foncé */
    border-radius: 5px;
    margin-bottom: 10px; /* Espacement entre le label et le bouton */
    text-align: center; /* Centrer le texte */
    border: 1px solid #ccc; /* Bordure grise */
    transition: background-color 0.3s; /* Transition pour l'effet hover */
}

.file-upload-label:hover {
    background-color: #d0d0d0; /* Couleur de fond au survol */
}

.file-name {
    display: block;
    margin-top: 5px; /* Espacement entre le label et le nom du fichier */
    color: #555; /* Couleur du texte du nom de fichier */
}

.document-select {
    width: 100%; /* Prend toute la largeur */
    padding: 10px; /* Espacement interne */
    border: 1px solid #ddd; /* Bordure grise */
    border-radius: 4px; /* Coins arrondis */
    margin-bottom: 10px; /* Espacement sous le sélecteur */
    font-size: 16px; /* Taille du texte */
    color: #333; /* Couleur du texte */
}