body {
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #3f3f3f;
    
    
}

h2 {
    font-weight: 600;
}
  h1, h2, h3 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    color: #04419c;
  }


a {
    text-decoration: none;
    color: #0d6efd;
}

/* Uniformiser la hauteur des champs */
input[type="password"] {
    height: 44px;
    line-height: 1.2;
    padding-right: 40px; /* espace pour l'icône */
}

.strength-bar {
    height: 10px;
    width: 100%;
    background-color: #eee;
    border-radius: 5px;
    margin-top: 5px;
    position: relative;
}
/*Affichage de la box en forme de cadre*/
.card-form {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* Style de l’icône 👁️ */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* espace pour l’œil */
}

.toggle-password {
  position: absolute;
  top: 25px;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #666;
  user-select: none;
}

  #suggestions {
    position: absolute;
    z-index: 1000;
    width: 100%;
  }
  #suggestions .list-group-item {
    cursor: pointer;
  }

.side-nav{
  width:300px;background:#fff;border:1px solid #e9ecef;border-radius:1rem;
  padding:.25rem .5rem .5rem .5rem
}
.nav-item{
  display:flex;align-items:center;gap:.6rem;padding:.65rem .9rem;border-radius:.6rem;
  color:#212529;text-decoration:none;transition:all .18s ease
}
.nav-item.root{font-weight:700;background:#0d6efd;color:#fff;margin:.25rem}
.nav-item:hover{background:#f5f7fb}
.nav-item.is-active{background:#e7f0ff;color:#0d6efd;font-weight:600}

.nav-section{margin-top:.35rem;padding-top:.35rem;border-top:1px solid #f0f1f3}
.nav-section-btn{
  width:100%;background:transparent;border:0;display:flex;justify-content:space-between;
  align-items:center;padding:.6rem .9rem;border-radius:.6rem;font-weight:600
}
.nav-section-btn:hover{background:#f8f9fb}
.nav-icon{width:1.35rem;text-align:center;opacity:.9}

.chevron{transition:transform .2s ease}
.nav-section-btn:not(.collapsed) .chevron{transform:rotate(180deg)}

.nav-title{
  font-size:.8rem;text-transform:uppercase;font-weight:700;color:#6c757d;
  padding:.4rem .9rem;margin:.35rem 0 .25rem;border-left:4px solid #0d6efd;background:#f8f9fa;
  border-radius:.4rem
}

/* Sous-liens avec filet vertical pour la lecture */
.nav-item.sub{position:relative;padding-left:2rem}
.nav-item.sub::before{
  content:"";position:absolute;left:.95rem;top:.5rem;bottom:.5rem;width:2px;background:#eaeef3;border-radius:2px
}
.nav-item.sub.is-active::before{background:#cfe2ff}
.nav-item.sub:hover{padding-left:2.2rem;color:#0d6efd}

/* Logout */
.nav-item.logout{color:#dc3545;font-weight:700;margin-top:.5rem}
.nav-item.logout:hover{background:#fff5f5}

