.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px; /* Espacement de 4px entre les cadres */
}

.location-item {
    background-color: #000;
    border: 2px solid red;
    border-radius: 10px;
    padding: 20px;
    width: calc(33.33% - 8px); /* Ajustement pour espacement entre colonnes */
    color: #ccc;
    text-align: center;
    box-sizing: border-box; /* Inclure le padding et la bordure dans la largeur */
}

.location-item h3 {
    color: red;
    font-size: 18px;
    margin-bottom: 10px;
}

.location-item p {
    color: #ccc;
    font-size: 14px;
}

.form-table th {
    text-align: left;
    padding-right: 20px;
}

.form-table td input[type="text"] {
    width: 300px;
}

.location-item h3 a span {
    display: inline-block;
    background-color: red;
    color: white;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 14px;
    text-decoration: none;
}

.location-item h3 a:hover span {
    background-color: darkred;
}

/* Style responsive pour affichage sur mobile ou petit écran */
@media (max-width: 768px) {
    .location-item {
        width: calc(50% - 8px); /* 2 colonnes sur petits écrans */
    }
}

@media (max-width: 480px) {
    .location-item {
        width: 100%; /* 1 colonne sur très petits écrans */
    }
}
