@import url('../CloudTheme.css');

.container {
  &:hover {
    .checkedCircle {
      &::after {
        background-color: $blue-blue1;
        outline: $stroke-stroke1 solid 2px;
        box-shadow: none;
      }
    }
  }

  .checkedCircle {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;

    &::after {
      position: absolute;
      top: 2px;
      left: 2px;
      content: '';
      display: inline-block;
      width: 16px;
      height: 16px;
      background-color: $stroke-stroke2;
      border-radius: 50%;
      z-index: 0;
      transition: background-color 0.1s ease-in-out;
      box-shadow: $shadow-light;
    }

    &::before {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      content: '';
      display: inline-block;
      width: 14px;
      height: 14px;
      background-color: white;
      border-radius: 50%;
      z-index: 1;
      transition: all 0.1s ease-in-out;
    }

    &.checked {
      &::after {
        background-color: $blue-blue1;
      }
      &::before {
        width: 6px;
        height: 6px;
      }
    }

    &.disabled {
      cursor: not-allowed;
      &::before {
        background-color: $black-black4;
      }
    }
  }
}
