body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 9vh; 
    overflow: hidden;
}

.header .red,
.header .black {
    width: 100%;
    height: 50%;
    position: relative;
}

.header .red {
    background-color: #ee1c25;
}

.header .black {
    background-color: #38424b;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-container .logo {
    height: 100%;
    display: block;
}


.title-container {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.title-container h1 {
    color: white;
    font-size: 28px;
    margin: 0;
    font-weight: bold;
    text-align: center;
}

.footer {
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-direction: column;

}

.red {
    background-color: #ee1c25;
    display: flex;
}

.nom {
    background-color: #38424b;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin: 0 auto;
}

ul {
    list-style-type: none;
}

li {
    display: inline;
    color: white;
}

a {
    text-decoration: none;
    color: white;
}

.container {
    margin: 0 auto;
    margin-top: 10vh;
    margin-bottom: 10vh;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
   
}

.form-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.Mots {
    text-align: left;
}

.Input {
    width: 100%;
}

.contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ee1c25;
    width: 100%;
    padding: 3px;
    height: 5vh;
}

.transition-footer {
    height: 5px;
    width: 100%;
    background: linear-gradient(to bottom, #ee1c25, #38424b);
}

.Droits {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #38424b;
    width: 100%;
    padding: 3px;
    height: 5vh;
}

.spacer {
    width: 60px;
}

form {
    width: 100%;
}

label {
    display: block;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
.radio-group {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

select,
select option {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}


.toggle-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    margin-top: 5px;
    margin-right: 10px;
    cursor: pointer;
}

.onClick {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-top: 5px;
    cursor: pointer;
}

.add-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-top: 5px;
    cursor: pointer;
}

.add-button::after {
    content: "+";
    font-size: 16px;
    font-weight: bold;
}

.validate-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    width: 50%;
}
.Valid {
    margin-top: 20px;

}
.validate-button:hover {
    background-color: #0056b3;
}
.Valider{
    margin-left: 25%;
    margin-top: 20px;

}
.radio-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.modif {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    color: black;
    text-align: center;
    margin-top: 5px;
}

.modif:hover {
    background-color: #e0e0e0;
}

.modif:active {
    background-color: #d0d0d0;
}

button,
.modif,
.add-button {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0%;
}

.modif,
.add-button {
    padding: 10px;
    text-align: center;
}
.close-btn {
  position: absolute;
  top: 2px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  z-index: 1000;
}


.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: relative; 
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
}
.ville-cp{
  margin-top:15px;
}
.ajout-ville-btn{
  margin-top:15px;
}
.tag-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #007bff;
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.tag button {
    background: none;
    border: none;
    color: white;
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
}
.reseaux-logo {
  height: 15px;
  margin-left: 3px;
  margin-right: 7px;
  vertical-align: middle;
}
.validate-button.Delete {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin-top: 5px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    color: black;
    text-align: center;
    width : 100%;
}

.validate-button.Delete:hover {
    background-color: #e0e0e0;
}

.validate-button.Delete:active {
    background-color: #d0d0d0;
}
.back-button {
    background-color: grey; /* Couleur de fond verte */
    color: #fff; /* Couleur du texte */
    border: none; /* Pas de bordure */
    border-radius: 10px; /* Coins arrondis */
    padding: 10px 20px; /* Rembourrage */
    cursor: pointer; /* Curseur en forme de main */
    font-size: 12px; /* Taille de la police */
    width: 50%; /* Largeur à 100% */
    transition: background-color 0.3s, transform 0.3s; /* Transitions */
    margin-top: 15px;
    margin-left : 25%;

	}

.back-button:hover {
    background-color: grey; /* Couleur de fond au survol */
    transform: scale(1.1); /* Agrandissement au survol */
}

.back-button:active {
    background-color: #1e7e34; /* Couleur de fond à l'activation */
    transform: scale(0.95); /* Réduction à l'activation */
}


