/* Conteneur principal (la fenêtre) */
.form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
    width: 320px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: 2px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombre légère pour le relief */
}

/* Ligne d'entrée : alignement horizontal */
.form > div {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/* Libellé de gauche (nom du paramètre) */
.form p:first-child {
    flex: 1; /* Prend l'espace disponible */
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Libellé de droite (unité) */
.form p:last-child {
    width: 45px;
    margin: 0 0 0 8px;
    font-size: 13px;
    color: #666;
}

/* Style des champs de saisie */
.form input {
    width: 80px;
    padding: 4px 8px;
    border: 1px solid #000000;
    border-radius: 2px;
    font-size: 14px;
    outline: none;
    transition: background-color 0.2s;
}

.form input:focus {
    background-color: #f0f0f0; /* Feedback visuel discret */
}

/* Zone des boutons */
.form button {
    cursor: pointer;
    padding: 8px 16px;
    margin-top: 10px;
    margin-right: 8px;
    border: 1px solid #000000;
    border-radius: 2px;
    background: white;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.2s;
}

/* Style spécifique pour Validate (Bouton primaire) */
.form button:first-of-type {
    background-color: #000000;
    color: white;
}

.form button:hover {
    opacity: 0.8;
}

/* Style spécifique pour Cancel */
.form button:last-of-type {
    background-color: transparent;
    color: #000000;
}