/* PAGE PROFIL / CONNEXION */
nav.menu ul {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* SECTION LOGIN PAGE */
.login-page {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 105px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 105px);
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* CARTE DE CONNEXION  */
.login-card {
  width: 100%;
  max-width: 440px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 45px 35px 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* PICTOS PROFIL EN HAUT DE LA CARTE */
.profile-avatar-container {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-card h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
}

/* FORMULAIRE ET INPUTS */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* PICTOS SVG DANS LES CHAMPS */
.input-icon-img {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

.input-group input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.input-group input:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(241, 136, 139, 0.15);
}

/* OPTIONS (CHECKBOX ET MOT DE PASSE OUBLIÉ) */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin: 5px 0 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.forgot-password {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: var(--primary-color);
}

/* BOUTON CONNEXION */
.btn-login {
  width: 100%;
  padding: 14px;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 5px;
}

/* RESPONSIVE (MOBILES & TABLETTES) */
@media (max-width: 768px) {
  nav.menu ul {
    flex-direction: column;
    gap: 20px;
  }

  .login-page {
    min-height: calc(100vh - 75px);
  }

  .login-overlay {
    min-height: calc(100vh - 75px);
    padding: 20px 15px;
  }

  .login-card {
    padding: 35px 22px 28px;
    max-width: 100%;
  }

  .profile-avatar-container {
    width: 75px;
    height: 75px;
  }

  .login-card h1 {
    font-size: 1.35rem;
    margin-bottom: 20px;
  }
  
  .form-options {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}