.gm-tablepage-excel-upload-input {
  display: none;
}

@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.gm-tablepage-excel-upload.amos-overlay {
  top: auto;
  right: 20px;
  bottom: 20px;
  left: auto;
  z-index: 501;
  width: 520px;
  height: 120px;
  background: var(gm-common-popover-bgcolorsa, white);
  border-radius: 4px;
  box-shadow: var(gm-common-popover-box-shadow, 0 0 0 1px #00000014, 0 2px 12px 2px #44494d29);

  .amos-overlay-mask {
    display: none;
  }

  .amos-overlay-container {
    width: 100%;
    height: 100%;

    &::before {
      display: none;
    }

    .gm-tablepage-excel-upload-content {
      width: 100%;
      height: 100%;
      margin: 0;
    }

    .gm-tablepage-excel-upload-header {
      display: flex;
      height: 64px;
      align-items: center;
      padding: 0 22px;
      font-size: 14px;
      border-bottom: solid 1px var(--table-border-color);

      > img {
        width: 24px;
        object-fit: contain;
        margin-right: 5px;
      }

      .gm-tablepage-excel-upload-running {
        animation: rotating 1.2s linear infinite;
      }

      .gm-tablepage-excel-upload-data {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;

        > i {
          position: relative;
          top: 1px;
          margin-left: 4px;
          font-size: 16px;
          color: var(gm-common-popover-color, rgb(117, 119, 119));
          cursor: pointer;

          &:hover {
            color: var(gm-common-popover-color, #222);
          }
        }
      }
    }

    .gm-tablepage-excel-upload-body {
      position: relative;
      display: flex;
      height: calc(100% - 64px);
      padding: 0 24px;
      align-items: center;
      overflow: hidden;
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;

      .gm-tablepage-excel-upload-progress {
        position: absolute;
        bottom: 0;
        left: 24px;
        width: calc(100% - 48px);
        height: 8px;
        padding: 0;
        margin: 0;
      }

      .gm-tablepage-excel-upload-fileicon {
        width: 26px;
        object-fit: contain;
        margin-right: 5px;
      }
    }
  }
}
