
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100vh;
   background-color: rgba(22, 22, 22, 0.95); /* film noir transparent */
  color: white;
  padding: 20px;
  
  transform: translateX(-260px);
  transition: transform 0.3s ease;
  z-index: 1100;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar button#toggleBtn {
  position: absolute;
  top: 10px;
  right: -90px;
  background: #222;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 24px;
  width: 80px;
  height: 80px;
  z-index: 1000;
  font-size: 2rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px 5px;
}

.sidebar ul li a:hover {
  background: #444;
}

.category-title {
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #555;
}

.category-list {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  padding-left: 10px;
}

.category.open .category-list {
  display: block;
}

.category-title::after {
  content: ' ▼';
  float: right;
  transition: transform 0.3s ease;
}

.category.open .category-title::after {
  transform: rotate(180deg);
}

.backoffice{

  color: rgb(0, 0, 0);
  margin-bottom: 0px;
  font-size: 0.9rem;
  position: absolute;
  bottom: 35px;
  right: 0;
  padding: 15px;
  width: 100%;
  margin: 0;
  text-align: center;
  text-decoration: none;

  background-color: white;
}

.artist-list-container {
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  padding-right: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; /* empêche le scroll chaining vers la page */
  scroll-behavior: smooth; /* utile pour certains comportements natifs */
  font-size: 1.5rem;
}


/* jolie scrollbar (optionnel) */
.artist-list-container::-webkit-scrollbar { width: 6px; }
.artist-list-container::-webkit-scrollbar-thumb { background-color: #555; border-radius: 4px; }


