body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
}

#pink-bar-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 100vh;
  background-color: #E27B7D;
  z-index: 1000;
}

#blue-bar-top {
  position: fixed;
  top: 0;
  left: 6px;
  height: 120px;
  width: calc(100vw - 6px);
  background-color: #062e69;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: white;
}

#blue-bar-top .logo img {
  height: 80px;
}

#blue-bar-top nav {
  display: flex;
  gap: 20px;
  margin-left: 120px;
}

#blue-bar-top a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#blue-bar-top a:hover {
  text-decoration: underline;
}

#blue-bar-secondary {
  position: fixed;
  top: 120px;
  left: 6px;
  right: 300px;
  height: 80px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  border-bottom: 1px solid #ccc;
  z-index: 999;
}

#blue-bar-secondary a {
  font-size: 0.9rem;
  color: #062e69;
  text-decoration: none;
  font-weight: bold;
}

#blue-bar-secondary a:hover {
  text-decoration: underline;
}

.right-zone {
  position: fixed;
  top: 120px;
  right: 0;
  width: 300px;
  height: 100vh;
  background-color: #062e69;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.menu-item {
  background-color: #E27B7D;
  padding: 0 12px;                  /* padding horizontal uniquement */
  margin: 7px 20px;
  border-radius: 4px;
  text-align: left;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 55px;                     /* ✅ hauteur figée */
  box-sizing: border-box;           /* ✅ évite que padding dépasse */
}


.menu-item:hover {
  background-color: #d06668;
}

.menu-item.disabled {
  background-color: #999999;
  cursor: not-allowed;
}


/* Hero image section */
.hero-intro {
  position: relative;
  top: 100px;
  margin-left: 6px;
  width: calc(100% - 300px - 6px);  /* largeur adaptative : écran - menu droit - barre rose */
  min-height: 300px;                /* hauteur mini */
  height: auto;                     /* hauteur suit le contenu */
  background: url('/static/img/eCompliance_Home_Image.avif') no-repeat center center / cover;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 40px 60px;
  box-sizing: border-box;
}

/* Box pour le texte de la section Hero */
.hero-text-box {
  background-color: #E5EBFA;
  padding: 30px;
  max-width: 650px;
  border-radius: 12px;
  position: relative;
  top: 100px;   /* supprime le décalage rigide */
  left: 0;
}


.hero-text-box h1 {
  font-size: 2.2rem;
  color: #002060;
  text-align: justify;
  margin-top: 0;         /* ✅ Réduit l’espace avec le haut */
}

.hero-text-box p {
  font-size: 1rem;
  color: #333;
  text-align: justify;
  line-height: 1.6;
}








.user-info-bar {
  display: flex;
  align-items: center;
  background-color: #E27B7D;
  padding: 6px 14px;
  border-radius: 30px;
  color: white;
  font-size: 0.85rem;
  gap: 12px;
  margin-left: auto;
  margin-right: 40px;
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background-color: white;    /* ✅ fond blanc */
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1); /* facultatif : petit relief */
}


.user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-label {
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.9;
}

.user-name {
  font-weight: bold;
  font-size: 0.85rem;
}

.logout-btn {
  background-color: white;
  color: #002060 !important;
  padding: 5px 10px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.75rem;
  margin-left: 8px;
}