@charset "utf-8";

:host {
  display: inline-block;
}

slot {
  display: block;
}

label {
  position: relative;
  display: block;
  height: 20px;
  width: 20px;
  background: none;
  border: 1px solid #898989;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

label:hover {
  border-color: #d5d5d5;
}

input[type="checkbox"]:checked ~ label {
  border-color: #6fbeb5;
  /* box-shadow: inset 0 0 0 1px #898989; */
}

input[type="checkbox"] ~ label:after {
  content: '';
  display: block;
  margin: 10px;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #6fbeb5;
  opacity: 0;
  transition: .3s ease all;
}

input[type="checkbox"]:checked ~ label:after {
  opacity: 1;
  margin: 2px;
  height: 16px;
  width: 16px;
}
