body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

#map {
    height: 100%;
    flex: 2; /* La carte prend 2/3 de la largeur */
}

#form-container {
    flex: 1; /* Le formulaire prend 1/3 de la largeur */
    padding: 20px;
    background-color: #f4f4f4;
    overflow-y: auto; /* Permet de scroller si le contenu est trop long */
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

h2 {
    margin-top: 0;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
input[type="datetime-local"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}