body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Styles pour l'image */
.logo {
    display: block;  /* Permet à la marge automatique de fonctionner */
    margin: 0 auto;  /* Centre l'image horizontalement */
    max-width: 400px; /* Taille maximale de l'image pour éviter qu'elle soit trop grande */
    height: auto;    /* Conserve le ratio de l'image */
    margin-bottom: 20px; /* Espace en dessous de l'image */
}
h1, h2 {
    color: #b30000;
}

#form-creation-dossier, #dommage-container {
    background-color: #e5e5e5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 90%;
    max-width: 600px;
}

input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 80%;
    margin-right: 10px;
}

button {
    background-color: #c90505;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button:hover {
    background-color: #ee0000;
}

.dommage {
    border: 1px solid #eee;
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
}

.file-input {
    margin-right: 10px;
}

.preview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 10px;
}

.thumbnail {
    width: 100px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.thumb-container {
    position: relative;
    display: inline-block;
}

.delete-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 5px;
}

.delete-btn:hover {
    background: darkred;
}
