/* Style général de la page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    height: 100vh;
}

/* Style du conteneur de bienvenue */
.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    margin: 20px;
}

.header {
    background-color: white;
    padding: 00px 0px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    text-align: center;
}


.logo-container {
    margin-left: 20px;
}

.logo {
    max-height: 40px;
}

h1 {
    flex-grow: 1;
    text-align: center;
}

main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

.reference {
    font-size: 0.8em;
    color: grey;
    text-align: left;
}

fieldset {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
}

legend {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.formgroup {
    display: flex;
      align-items: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.formgroup label {
    flex:0 0 auto;
    margin-right: 10px;
    margin-bottom: 5px;
    width: 300px;
    color: #555;
    font-weight: bold;
}

.formgroup input,
.formgroup select,
.formgroup textarea,
.formgroup date {
    flex:1;
  }

/* Style du titre */
h2 {
    margin-bottom: 20px;
    color: #333;
}

/* Style des labels */
label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

/* Style des champs de saisie */
input[type="text"],
input[type="password"],
input[type="date"],
select,
textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #007BFF;
    border-radius: 4px;
    font-size: 16px;
}

input[type="date"] {
    max-width: 150px;
}

input[type="date"], select {
    max-width: 250px;
}

/* Style du bouton de soumission */
button {
    padding: 10px;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

header button {
    margin-right: 50px;
}

/* Style des messages d'erreur */
.error-message {
    color: red;
    margin-top: 10px;
}

/* Style du tableau de bord
#demandTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#demandTable th, #demandTable td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

#demandTable th {
    background-color: #f4f4f4;
}

.statusSelect {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
 */

/* Style des boutons d'action */
button {
    margin-right: 5px;
}
