/* Ajoutez ici le style pour rendre votre interface utilisateur plus agréable */
/*.wrap form {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.13);
}

.wrap form input[type="text"], .wrap form select {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin-top: 10px;
}*/
.wrap {
    font-family: 'Arial', sans-serif;
    background: #fff;
    padding: 20px;
    margin: 20px 20px 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
}

h1 {
    color: #23282d;
    margin-bottom: 20px;
}

form {
    width: 100%;
    max-width: 800px;
}

#post_type, #field_name, #new_field_name {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

#field_name_container {
    margin-top: 20px;
}

label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

input[type="submit"] {
    background-color: #0073aa;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #005177;
}

input[type="text"] {
    width: 100%;
    max-width: 400px;
}

select {
    background: white;
    cursor: pointer;
}

/* Pour rendre le formulaire responsive */
@media (max-width: 782px) {
    .wrap {
        margin-right: 10px;
    }
    
    input[type="text"], select {
        width: 100%;
    }
}

#field-selection-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Pour s'assurer que les éléments sont alignés en haut si leur hauteur diffère */
    margin-top: 20px;
}

.field-list {
    width: calc(50% - 40px); /* Réduit la largeur pour tenir compte de l'espace entre les deux listes et des flèches */
    border: 1px solid #ddd;
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    box-sizing: border-box; /* S'assure que le padding ne s'ajoute pas à la largeur */
}

.field-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.field-list li {
    border: 1px solid #ddd;
    margin-top: -1px; /* Pour supprimer l'espace double entre les éléments */
    background-color: #f6f6f6;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    color: black;
    display: block;
    cursor: pointer;
}

.field-list li:hover {
    background-color: #ddd;
}

.field-list li.selected {
    background-color: #b3d4fc;
}

.arrows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 20px; /* Ajoute un peu de marge autour des flèches */
}

.arrow-btn {
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.arrow-btn:hover {
    background-color: #005177;
}

.arrow-btn:focus {
    outline: none;
    box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
}