.paint-container {
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  gap: 0.25rem;
}

.paint-size-button {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text);
  text-align: center;
  font-size: 1rem;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none !important;
  transition: background-color 0.2s;
  -webkit-user-drag: none;
}

.paint-size-button:disabled {
  background-color: #2f2a3b;
  cursor: not-allowed;
}

.paint-size-button:hover {
  background-color: var(--button-x-light);
}

.paint-color {
  flex: 0 0 32px;
  height: 3rem;
  margin: 0.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.paint-color-preview {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  border: 0.35rem solid black;
  background-color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.paint-color::after  {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

input[type="color"] {
  opacity: 0;
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 10;
}
