.color-picker {
  position: relative;
  overflow: hidden;
  height: 48px;
  min-width: 112px;
  flex: 1;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.color-picker span {
  display: grid;
  place-items: center;
  position: absolute;
  margin: 0;
  inset: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  text-transform: uppercase;
}

input.color-input {
  position: relative;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

input.color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

input.color-input::-webkit-color-swatch {
  border: none;
  border-radius: 100%;
}

input.color-input:focus {
  outline: none;
  border: 2px solid white;
}
