.form-container {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding: 50px;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.form-group {
  margin-bottom: 20px;
  font-family: sans-serif;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.input-field {
  width: 100%; /* S'adapte au conteneur */
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  color: #2c3e50;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Important pour que le padding ne dépasse pas */
}

/* État lors du clic (Focus) */
.input-field:focus {
  outline: none;
  border-color: #3498db; /* Même couleur que le bouton */
  background-color: #fff;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Style du placeholder */
.input-field::placeholder {
  color: #bdc3c7;
}

.form .form-group input {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    padding: 5px;
}

.form .form-group .error-input {
    color: var(--danger-fonce);
}

.form-titre {
    font-size: 30px;
    padding-bottom: 20px;
}

.form-msg {
  padding-top: 3px;
  text-align: center;
}

.btn-submit {
  background-color: #3498db; /* Bleu */
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  width: 30%;
  min-width: 100px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Effet au survol (hover) */
.btn-submit:hover {
  background-color: #2980b9;
  transform: translateY(-2px); /* Petit saut vers le haut */
}

/* Effet au clic (active) */
.btn-submit:active {
  transform: translateY(0);
}

.btn-container {
    display: flex;
    justify-content: end;

}


/* SUR ORDINATEUR */
@media (min-width: 768px) {
    .form-container {
        width: 50%;
        max-width: 600px;
        margin: auto;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);


    }
}