.texture-generator {
  padding: 15px;
  background-color: #1e1e1e;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 350px;
}

.texture-generator h3 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: #4facfe;
}

.texture-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #333;
  padding-top: 10px;
}

.texture-section label {
  font-size: 0.9rem;
  color: #ccc;
}

.texture-section input[type="range"] {
  width: 100%;
}

.texture-section .btn-row {
  display: flex;
  gap: 10px;
}

.texture-btn {
  flex: 1;
  padding: 8px;
  background-color: #2a2a2a;
  border: 1px solid #4facfe;
  color: #4facfe;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.texture-btn:hover {
  background-color: #4facfe;
  color: #fff;
}

.texture-preview {
  margin-top: 10px;
  width: 100%;
  height: 150px;
  background-color: #000;
  border-radius: 4px;
  border: 1px solid #444;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.texture-preview img, .texture-preview canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.search-input {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #444;
  background-color: #222;
  color: #fff;
  flex: 2;
}
