@import '../../style/index.less';

@modal-idcard: ~'@{xui-prefix}__modal-idcard';

.@{modal-idcard}--showcase-wrap {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid #d8d8d8;

  .ant-upload-list.ant-upload-list-text {
    display: none;
  }
}

.@{modal-idcard}--showcase-item {
  position: relative;

  .@{modal-idcard}--showcase-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);

    & > span {
      height: 20px;
    }
  }

  .@{modal-idcard}--showcase-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  &:hover {
    .@{modal-idcard}--showcase-mask {
      display: flex;
    }
  }
}

.@{modal-idcard}--showcase-img {
  width: 270px;
  height: 152px;
  cursor: pointer;
}

.@{modal-idcard}--rules-wrap {
  margin-top: 25px;
}

.@{modal-idcard}--rules-title {
  margin-bottom: 10px;
}

.@{modal-idcard}--rules-detail {
  margin-bottom: 20px;
  color: #f32d13;
}

.@{modal-idcard}--cases-wrap {
  display: flex;
  justify-content: space-between;
}

.@{modal-idcard}--cases-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.@{modal-idcard}--cases-img {
  width: 122px;
  height: 92px;
  margin-bottom: 10px;
}

.@{modal-idcard}--cases-text {
  display: flex;
  align-items: center;

  img {
    width: 12px;
    height: 12px;
    margin-right: 5px;
  }
}
