
.collection-card {
  transition: box-shadow 0.2s;
}
.collection-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.13);
}
.part-words {
  min-height: 80px;
  resize: vertical;
}

.hidden-element {
  visibility: hidden;
  opacity: 0;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.collection-badge-primary {
  background-color: #3f51b5;
}
.collection-thumbnail {
  object-fit: cover;
  height: 150px;
}

/* panel */

#floating-minimize {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0d6efd;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1030;
  cursor: pointer;
  display: none;
}

.quick-access-btn {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
}

.remove-btn {
  margin-left: 8px;
  opacity: 0.7;
  font-size: 0.9em;
  line-height: 1;
  border: none;
  background: transparent;
}

.remove-btn:hover {
  opacity: 1;
  color: #dc3545;
}

/* Minimize button: leftmost, clean */
#minimize-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #495057;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-right: 12px; /* Space after minimize icon */
  font-size: 1.1rem;
}

#minimize-btn:hover {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.08);
}


/* parts list */
.list-container {
  max-height: 200px;  /* Adjust as needed */
  overflow-y: hidden;
  position: relative;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.5rem;
}

.list-items {
  transition: max-height 0.3s ease;
}

.list-item a {
  color: #495057;
  transition: all 0.2s ease;
}

.list-item a:hover {
  color: #0d6efd;
  background-color: #f8f9fa;
  transform: translateX(4px);
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(255,255,255,0.9));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.list-container.expanded .fade-overlay {
  opacity: 0;
}

.hover-effect {
  border-left: 3px solid transparent;
}

.hover-effect:hover {
  border-left: 3px solid #0d6efd;
}

.toggle-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}