118 lines
2.0 KiB
CSS

/* Appliquer une police moderne */
html {
font-family: "Quicksand", sans-serif !important;
}
/* Titre du formulaire */
h1 {
font-size: 26px;
color: #db5559;
margin-bottom: 20px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1.2px;
}
/* Formulaire */
form {
display: flex;
flex-direction: column;
gap: 15px;
align-items: center;
}
/* Groupes de champs */
.form-group {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
/* Labels */
label {
font-weight: bold;
color: #db5559;
margin-bottom: 6px;
font-size: 14px;
}
/* Champs de saisie */
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
width: 100%;
padding: 12px;
border: 2px solid #ddd;
border-radius: 6px;
font-size: 16px;
color: #333;
transition: all 0.3s ease-in-out;
background-color: #fff;
}
input:focus,
textarea:focus,
select:focus {
border-color: #db5559;
outline: none;
box-shadow: 0 0 5px rgba(219, 85, 89, 0.5);
}
/* Bouton d'envoi */
button {
background-color: #db5559;
color: white;
font-weight: bold;
padding: 14px;
border: none;
border-radius: 8px;
font-size: 18px;
cursor: pointer;
text-transform: uppercase;
transition: all 0.3s ease-in-out;
width: 100%;
}
button:hover {
background-color: #b52b31;
}
/* Bouton de retour */
#container_modal a {
display: inline-block;
margin-top: 20px;
padding: 12px 20px;
background-color: transparent;
color: #db5559;
border: 2px solid #db5559;
border-radius: 6px;
font-size: 16px;
text-align: center;
text-decoration: none;
transition: all 0.3s ease-in-out;
}
#container_modal a:hover {
background-color: #db5559;
color: white;
}
/* Messages d'erreur */
.error-message {
color: #d9534f;
font-size: 14px;
margin-top: 5px;
font-style: italic;
}
/* Espacement supplémentaire */
body::after {
content: '';
height: 20px;
display: block;
}