$color: #111222;
.uploader {
  color: $color;

  .file {
    display: flex;
    align-items: center;

    &-hide {
      display: none;
    }
    &-name {
      flex: 1;
      margin-right: 10px;
      border-radius: 2px;
      background-color: #fafafa;
    }
  }

  .upload-btn {
    margin: 0 auto;
    display: flex;
  }

  // type = button
  .button-wrap {
    width: 100%;
    .file-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 6px;
      border-radius: 4px;
      margin-top: 10px;
      font-size: 12px;
      .file-name {
        display: flex;
        align-items: center;
        background: none;
        .success {
          color: #62b929;
        }
        .error {
          color: #ea3a3a;
        }
        .status {
          margin-left: 5px;
        }
      }
      .delete-btn {
        fill: #9fa3ac;
        &:hover {
          cursor: pointer;
        }
      }
      &:hover {
        background: #f1f1f7;
      }
    }
    .btn-wrapper {
      width: 98px;
      cursor: pointer;
      height: 26px;
      background: rgba($color, 0.05);
      border: 1px dashed rgba($color, 0.13);
      border-radius: 2px;
      display: flex;
      align-items: center;
      padding: 15px;
      white-space: nowrap;
      margin: 0 auto;
      // :global(.icon)
      //   margin-right: 5px;
    }
  }
}
