/* LAYOUT GENERAL */
.home {
  caret-color: transparent; /* rend le curseur invisible */
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 100%;
}
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-width: 100%;
}

.hello-container {
  text-align: center;
  width: 80%;
}

.default-title {
  background-color: rgba(255, 250, 255, 0.5);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
}

/* FORMULAIRES */
.myform {
  background-color: rgb(26, 113, 179);
  border-radius: 20px;
  padding: 0px 20px;
  margin: 10px;
  width: 80%;
  box-sizing: border-box;
}

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

input, select, textarea {
  caret-color: black;
  user-select: auto;
  background-color: white;
  border-radius: 12px;
  border: none;
  padding: 10px;
  width: 100%;
  font-size: 14px;
  box-sizing: border-box;
}

/* Correction largeur boutons dans tableaux */
.submit {
  background-color: rgb(60, 70, 78);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px;
  width: auto;               /* largeur auto pour éviter dépassement */
  max-width: 100%;           /* pas plus large que cellule */
  white-space: normal;       /* empêcher retour à la ligne */
  overflow: hidden;
  cursor: pointer;
  font-size: 14px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.submit:hover {
  background-color: #0a4f84;

}

.submit:active {
  background-color: #06b;

}

.form-line {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.form-line.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}
.form-group2 {
  flex: 2;

}
.form-group {
  flex: 1;
  min-width:150px;
}

/* Responsive */
@media (max-width: 1200px) {
  .form-line.horizontal {
    flex-direction: column;
  }
  .wrapper, .myform {
    padding: 15px;
  }
  .default-title {
    font-size: 20px;
  }
  .submit {
    font-size: 16px;
  }
}
