body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
}

form div {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

input[type="text"], textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #5cb85c;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #4cae4c;
}

#mandatList {
    list-style-type: none;
    padding: 0;
}

#mandatList li {
    background: #f1f1f1;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: flex-start; /* Align items to the start */
}

#mandatList li button {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
}

#mandatList li button:hover {
    background-color: #c9302c;
}
#mandatList li button.delete-btn {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 5px 10px; /* Smaller padding for a smaller button */
    border-radius: 4px;
    cursor: pointer;
    margin-top: 5px; /* Space between text and button */
    font-size: 0.8em; /* Smaller font size */
}

#mandatList li button.delete-btn:hover {
    background-color: #c9302c;
}
#mandatList li div {
    margin-bottom: 10px; /* Ajoute un espace entre les mandats */
}

#mandatList li strong {
    color: #333; /* Met en évidence les étiquettes */
}