textarea {
  resize: none;
}

.checkbox-container {
  position: relative !important;
}

label[for="scales"] {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  position: relative;
  padding-left: 30px;
  white-space: nowrap;
}

label[for="scales"]::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #000000;
  border-radius: 4px;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

#scales:checked + label[for="scales"]::before {
  background-color: #2800c7;
  border-color: #000000;
}

#scales:checked + label[for="scales"]::after {
  content: "\2713";
  position: absolute;
  left: 5px;
  top: 2px;
  font-size: 14px;
  color: #fff;
}
label[for="scales"] a {
  color: #000000;
  text-decoration: underline;
    white-space: nowrap;
}

label[for="scales"] a:hover {
  text-decoration: none;
}

.visually-hidden-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  bottom: 5px;
  left: 15px;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
