/* Starloch Builder Specific Styles */

/* 3-Column Layout Grid */
.builder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .builder-layout {
    grid-template-columns: 250px 1fr 300px; /* Sidebar, Main, Summary */
    align-items: start;
  }
}

/* Common Card Styles (replacing inline Tailwind/Style mess) */
.builder-card {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

/* Category Navigation */
.cat-nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.cat-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cat-nav-item.active {
  background: rgba(251, 191, 36, 0.1); /* star-amber opacity */
  border-left-color: #fbbf24;
  color: #fbbf24;
}

.cat-nav-item.filled {
  border-left-color: #10b981; /* green-500 */
}

/* Main Content Area */
.part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.part-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1rem;
  transition: transform 0.2s;
}

.part-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

/* Summary Panel */
.summary-panel {
  position: sticky;
  top: 100px; /* Stick to top when scrolling */
}
