.cmf-profile-picture {
  position: relative;
  cursor: pointer;

  width: 200px;
  height: 200px;

  .avatar {
    width: 200px;
    height: 200px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    overflow-clip-margin: unset;
  }

  &:hover .delete-mask,
  &:hover .upload-photo-mask {
    display: flex;
  }
}

.delete-mask {
  position: absolute;

  width: 100%;
  height: 100%;

  top: 0;
  left: 0;

  z-index: 3;

  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background-color: rgb(0 0 0 / 50%);
  border-radius: 100%;

  app-cmf-icon {
    display: flex;
  }

  p {
    margin-top: 0;
    color: #fff;
  }
}

.upload-drop {
  position: absolute;
  z-index: 2020;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  .upload-photo-mask {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: rgb(0 0 0 / 50%);
    border-radius: 100%;

    .mat-icon {
      width: 50px;
      height: 50px;
      font-size: 50px;
    }

    p,
    .mat-icon {
      color: white;
    }
  }
}
