/* ===== COLLABORATORS COMPACT & ELEGANT STYLE ===== */
/* Less invasive but still inviting to explore */

/* Move collaborators section styling to be more subtle */
.rep-collaborators {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(212, 175, 55, 0.01));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
  transition: all 0.4s ease;
}

.rep-collaborators:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Compact section title */
.rep-collaborators .rep-section-title {
  font-size: 1.8rem !important;
  margin-bottom: 0.5rem !important;
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rep-collaborators .rep-section-title i {
  font-size: 1.5rem;
  opacity: 0.8;
}

/* Subtitle with invitation */
.rep-collaborators .rep-section-subtitle {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 1.5rem !important;
  font-style: italic;
}

/* Collapsible by default - add expand button */
.rep-collaborators .rep-collab-grid {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

.rep-collaborators.expanded .rep-collab-grid {
  max-height: 5000px;
  opacity: 1;
}

/* Expand button - inviting and clear */
.rep-collaborators-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.15));
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  color: #d4af37;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rep-collaborators-toggle:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.25));
  border-color: #d4af37;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.rep-collaborators-toggle i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.rep-collaborators.expanded .rep-collaborators-toggle i {
  transform: rotate(180deg);
}

.rep-collaborators-toggle .toggle-text-show {
  display: inline;
}

.rep-collaborators-toggle .toggle-text-hide {
  display: none;
}

.rep-collaborators.expanded .rep-collaborators-toggle .toggle-text-show {
  display: none;
}

.rep-collaborators.expanded .rep-collaborators-toggle .toggle-text-hide {
  display: inline;
}

/* Compact category titles */
.rep-collab-cat-title {
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
  padding-left: 0.5rem !important;
}

/* Compact item styling */
.rep-collab-item {
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.5rem !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.rep-collab-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(4px);
}

.rep-collab-name {
  font-size: 0.95rem !important;
}

.rep-collab-instrument {
  font-size: 0.85rem !important;
}

/* Stats badge - more subtle */
.rep-collab-badge {
  font-size: 0.8rem !important;
  padding: 0.25rem 0.6rem !important;
  background: rgba(212, 175, 55, 0.15) !important;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Compact grid spacing */
.rep-collab-grid {
  gap: 2rem !important;
  margin-top: 1.5rem;
}

.rep-collab-category {
  margin-bottom: 1.5rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rep-collaborators {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .rep-collaborators .rep-section-title {
    font-size: 1.5rem !important;
  }

  .rep-collaborators-toggle {
    font-size: 0.95rem;
    padding: 0.875rem 1.5rem;
  }

  .rep-collab-cat-title {
    font-size: 1.1rem !important;
  }
}

/* Animation for expand/collapse */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rep-collaborators.expanded .rep-collab-grid {
  animation: slideDown 0.4s ease-out;
}

/* Accessibility */
.rep-collaborators-toggle:focus-visible {
  outline: 3px solid #d4af37;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .rep-collab-grid,
  .rep-collaborators-toggle i,
  .rep-collaborators.expanded .rep-collab-grid {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}
