/* Réinitialisation et fond de page */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #C8E0E3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Barre de navigation */
.onglets {
  background-color: #379298;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Navigation list */
/* Barre de navigation */
.onglets {
  display: flex;
  align-items: center; /* centre verticalement logo et menu */
  justify-content: space-between; 
  background-color: #0F4F54; /* même couleur que les autres pages */
  padding: 0 2rem;
  height: 60px; /* barre fixe */
  box-sizing: border-box;
}

.logo-container {
  display: flex; /* logo + texte en ligne */
  align-items: center;
  gap: 0.5rem; /* espace entre logo et texte */
}

.onglets .logo {
  height: 50px; /* taille du logo */
  width: auto;
}

.logo-text {
  font-family: 'Playwrite NZ', cursive; /* même police que sur les autres pages */
  font-size: 1rem;
  color: #FFFFFF; /* texte blanc */
  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; /* couleur onglet actif */
}

.nav-link:hover {
  color: #a6dbdf; /* couleur au passage de la souris */
}


/* Conteneur pour centrer le formulaire */
.connexion-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 2rem;
}

/* Formulaire de connexion */
.form {
  --bg-light: #071213;
  --bg-dark: #E9F6F7;
  --clr: #A6DBDF;
  --clr-alpha: rgba(166, 219, 223, 0.3);

  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  padding: 2rem;
  background-color: #007178;
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.input-span {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.input-span label {
  color: var(--clr);
  font-weight: 600;
  padding-left: 0.5rem;
}

.input-span input {
  border-radius: 0.5rem;
  padding: 1rem;
  width: 100%;
  border: none;
  background-color: var(--clr-alpha);
  outline: 2px solid var(--bg-dark);
  color: white;
  box-sizing: border-box;
}

.input-span input:focus {
  outline: 2px solid var(--clr);
}

.submit {
  padding: 1rem;
  width: 100%;
  border-radius: 3rem;
  background-color: var(--bg-dark);
  color: var(--bg-light);
  border: none;
  cursor: pointer;
  transition: all 300ms;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.submit:hover {
  background-color: var(--clr);
  color: var(--bg-dark);
}

.span {
  text-align: center;
  color: var(--bg-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.span a {
  color: var(--clr);
  text-decoration: underline;
}
