/* Custom PC Builder Styles */

.pc-builder-container {
  background-color: #1a1a2e;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border: 1px solid #404040;
}

.component-category {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #404040;
}

.component-category h3 {
  color: #e94560;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.component-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.component-item {
  background-color: #16213e;
  padding: 1rem;
  border: 1px solid #404040;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.component-item:hover {
  background-color: #0f3460;
  border-color: #e94560;
}

.component-item input[type="radio"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

.component-item label {
  cursor: pointer;
  color: #eaeaea;
  font-size: 0.95rem;
}

.component-item input[type="radio"]:checked + label {
  color: #e94560;
  font-weight: bold;
}

.pc-builder-total {
  font-size: 1.5rem;
  color: #e94560;
  font-weight: bold;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #16213e;
  border-radius: 4px;
  text-align: right;
}

.pc-builder-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.pc-builder-actions button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.pc-builder-actions .save-build {
  background-color: #e94560;
  color: white;
}

.pc-builder-actions .save-build:hover {
  background-color: #d63851;
}

.pc-builder-actions .reset {
  background-color: #404040;
  color: #eaeaea;
}

.pc-builder-actions .reset:hover {
  background-color: #505050;
}

@media (max-width: 768px) {
  .component-list {
    grid-template-columns: 1fr;
  }

  .pc-builder-actions {
    flex-direction: column;
  }
}
