body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    width: 95%;
    max-width: 1800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f8f8;
    /* Couleur de fond claire */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
}

#calendar {
    margin-top: 20px;
    font-size: 15px;
}

#selection-form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

#selection-form h2 {
    text-align: center;
    margin-top: 0;
}

#selection-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

#selection-form input,
#selection-form select {
    margin-bottom: 10px;
    padding: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

#selection-form button {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.fc-event-occupied {
    background-color: red;
    border-color: red;
}   

.selection-report {
    margin-top: 20px;
}

.bleu {
    background-color: #d1ecf1 !important;
}

.rouge {
    background-color: #f8d7da !important;
}

.orange {
    background-color: #fff3cd !important;
}


button {
    padding: 5px 10px;
    border: none;
    color: white;
    background-color: #28a745;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
}

button:hover {
    background-color: #218838;
}

.bouton {
    padding: 5px 10px;
    border: none;
    color: white;
    background-color: #28a745;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
    text-decoration: none;
    /* Pour enlever le soulignement sur les liens */
    display: inline-block;
    /* Pour que le lien se comporte comme un bouton */
}

.boutton:hover {
    background-color: #218838;
}

/* Styles de base pour le tableau */
.style table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 40px;
}

/* Style pour l'en-tête du tableau */
.style table thead th {
    background-color: #333;
    color: #ffffff;
    padding: 12px;
    border: 1px solid #616161;
    text-align: left;
    font-weight: bold;
}

/* Style pour les lignes du tableau */
.style table tbody tr {
    border: 1px solid #616161;
}

/* Style pour les cellules du tableau */
.style table tbody td {
    padding: 10px;
    border: 1px solid #616161;
    text-align: left;
}

/* Style pour les cellules survolées */
.style table tbody tr:hover {
    background-color: #ddd;
}

/* Style pour les cellules de la dernière colonne */
.style table tbody td:last-child {
    text-align: center;
}

/* Style pour les bordures de table */
.style table,
.style table th,
.style table td {
    border: 1px solid #616161;
}

#calendar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    overflow: hidden;

}

#calendar .fc-toolbar {
    background-color: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.navbar .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .logo img {
    height: 50px;
    /* Taille du logo */
}

.arrow-btn {
    font-size: 24px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: fixed;
    /* Position fixe */
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 10;
    /* Assure que le bouton est au-dessus de la liste */
}

/* Bouton flèche droite (ouvrir la liste) */
#toggleUserList {
    left: 20px;
}

/* Bouton flèche gauche (fermer la liste) */
#closeUserList {
    left: 270px;
    /* Positionné à droite de la liste */
    display: none;
    /* Initialement caché */
}

/* Style pour la liste cachée à gauche */
.user-list {
    position: fixed;
    left: -250px;
    /* Initialement masquée sur le côté gauche */
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    overflow-y: auto;
    transition: left 0.3s ease;
    /* Animation pour la transition */
    padding: 20px;
    z-index: 1;
    /* La liste reste sous le bouton */
}



.user-list ul {
    list-style-type: none;
    padding-left: 0;
}

.user-list ul li {
    margin-bottom: 10px;
}

.Aurel {
    background-color: #f8d7da
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.declaration-container {
    width: 80%;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.declaration-title {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.section-title {
    color: #007bff;
    margin-bottom: 10px;
}

.section-content {
    color: #555;
    line-height: 1.6;
}

.important-info {
    color: #dc3545;
    font-weight: bold;
}

/* Gros formulaires (création/édition) */
.form-declaration {
    width: 80%;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



.inline-form {
    width: auto;
    margin: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    display: inline;
}


.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: calc(100% - 22px);
    height: fit-content;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.counter-value {
    font-weight: bold;
    color: #007bff;
}
