/* ================= BASE ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #C8E0E3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= NAVBAR ================= */
.onglets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0F4F54;
  padding: 0 2rem;
  height: 60px;
  box-sizing: border-box;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Playwrite NZ', cursive;
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: bold;
}

.onglets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.onglets ul li {
  margin-left: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-link.active {
  color: #71EBF5;
}

.nav-link:hover {
  color: #a6dbdf;
}

/* ================= CONTENEUR CENTRÉ ================= */
.creation-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* ================= CARTE FORMULAIRE ================= */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  background-color: #007178;
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.form-title {
  text-align: center;
  font-family: 'Playwrite NZ', cursive;
  font-size: 1.5rem;
  color: #E9F6F7;
  margin: 0 0 0.5rem 0;
}

/* Ligne prénom + nom côte à côte */
.flex {
  display: flex;
  gap: 0.75rem;
}

.flex label {
  flex: 1;
}

/* Chaque champ */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field-group label {
  color: #A6DBDF;
  font-size: 0.85rem;
  font-weight: 600;
  padding-left: 0.25rem;
}

.field-group input {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  width: 100%;
  border: none;
  background-color: rgba(166, 219, 223, 0.25);
  outline: 2px solid #E9F6F7;
  color: white;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: outline 0.2s;
}

.field-group input:focus {
  outline: 2px solid #71EBF5;
}

.field-group input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Bouton */
.submit {
  margin-top: 0.5rem;
  padding: 0.85rem;
  width: 100%;
  border-radius: 30px;
  background-color: #E9F6F7;
  color: #071213;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.submit:hover {
  background-color: #71EBF5;
  color: #0F4F54;
}

/* Message retour */
.message-retour {
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Lien connexion */
.signin {
  text-align: center;
  color: #E9F6F7;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.signin a {
  color: #71EBF5;
  text-decoration: underline;
}

.signin a:hover {
  color: #A6DBDF;
}
