    :root {
      --sidebar-width: 25rem;
    }

/* styles sidebar */
.sidebar-nav {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 2px;
  color: #34495e;
}

.sidebar-nav a {
  color: #34495e;
  text-decoration: none !important;
  display: block;
  padding: 8px 12px;
  border-left: 4px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: border-color 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  border-left-color: #2980b9;
  padding-left: 16px;
  color: #2980b9;
  font-weight: 600;
  background-color: #f0f8ff; /* fond très léger */
}


.sidebar-nav ul {
  margin-left: 0;
  border-left: 0 solid #ecf0f1;
  padding-left: 0;
}

.sidebar-nav li {
  margin: 6px 0;
}
