/* ---------- Sidebar principal (Buscar) ---------- */
:root{
  --sidebar-w:  340px;   /* ancho interior de paneles */
  --sidebar-pad: 20px;   /* padding lateral            */
  --icon-bar-w:  60px;   /* ancho barra de iconos      */
}

#sidebar{
  position: fixed;
  top: 0;
  bottom: 0;
  left: calc(-1 * (var(--sidebar-w) + var(--icon-bar-w))); /* oculto */
  width: var(--sidebar-w);
  padding: var(--sidebar-pad);
  background: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,.2);
  overflow-y: auto;
  transition: left .3s ease;
  z-index: 1000;
}
#sidebar.visible{ left: var(--icon-bar-w); } /* 60 px */

#sidebar h2{
  font-size: 18px;
  text-align: center;
  margin-bottom: 20px;
}

/* Buscador ------------------------------------------------- */
#search-container{
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
#search-container input{
  padding: 10px; width: calc(100% - 20px);
  border: 1px solid #ccc; border-radius: 20px; outline: none;
}
#suggestions{
  position: relative; width: 100%;
  max-height: 300px; overflow-y: auto;
  margin-top: 10px;
  background: #fff; border: 1px solid #ccc;
}
.suggestion-item{ padding: 10px; cursor: pointer; }
.suggestion-item:hover{ background: #f0f0f0; }
