body {
    max-width: 100% !important;
}

#accueil-login {
    border: 1px solid white;
    padding: 20px;
    margin: 20px auto;
    width: 300px;
    border-radius: 5px;
    text-align: center;
    background: linear-gradient(#0056b3, #64baff);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Ajoute une ombre */
}

#contenu {
  max-width: 100%;
  width: 100%;
}

h2 {
    text-align: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5px;
}

.form_group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
    text-align: left;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

select.slc {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select.slc:focus {
    background-color: #f0f8ff;
    border-color: #4CAF50;
    outline: none;
}

.feedback {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

input[type="submit"] {
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Bouton d'inscription */
.btn-register {
    background-color: #4CAF50;
}

.btn-register:hover {
    background-color: #45a049;
}

.btn-submit {
    background-color: #4CAF50; /* Couleur bleu vif */
}

.btn-submit:hover {
    background-color: #45a049; /* Couleur bleu moyen pour le survol */
}

/* Bouton de retour */
.btn-return {
    background-color: #F44336;
}

.btn-return:hover {
    background-color: #d32f2f;
}

.input-error {
    border: 2px solid red; /* Bordure rouge */
    background-color: #ffcccc; /* Fond rouge clair */
}

@media (max-width: 1000px) {
  #contenu {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #accueil-login {
    width: calc(100% - 20px);
    margin: 10px;
  }
}
