@import '../../style/variable';

.#{$namespace} {
  &-digital-person {
    padding-bottom: 8px;

    position: relative;

    width: 85px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);

    text-align: center;

    cursor: pointer;

    &__avatar {
      
      width: 83px;
      height: 52px;

      object-fit: cover;
    }

    &__name {
      margin-top: 6px;

      font-weight: 500;
      font-size: 14px;
      color: rgba(0,0,0,0.65);
    }

    &__sex {
      margin-top: 2px;
      font-weight: 400;
      font-size: 13px;
      color: rgba(0,0,0,0.65);
    }

    &__overlay {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;

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

      background: rgba(0,103,238,0.3);
      border-radius: 8px;
      border: 1px solid #0067EE;

      &-tool {
        padding: 5px;
        position: absolute;

        left: 0;
        right: 0;
        top: 0;

        text-align: right;
      }
    }
  }
}