.pisell-wallet-pass-gallery_footer {
  position: relative;
  background-color: #fff;
  padding: 24px;
  z-index: 100;
  border-top: 1px solid #d0d5de;
  margin-left: -24px;
  margin-right: -24px;
  &-buttons {
    display: flex;
    gap: 12px;
    width: 100%;

    .pisell-wallet-pass-gallery_footer-buttons-item-secondary {
      overflow: hidden;
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-wrap: nowrap;
      > span {
        display: inline;
      }
    }

    .pisell-wallet-pass-gallery_footer-buttons-item {
      flex-grow: 1;
    }

    &-item {
      // 修饰符：主按钮
      &-primary {
        background-color: var(--theme-color, #7f56d9);
      }

      // 修饰符：次按钮
      &-secondary {
        background-color: #fff;
        border-color: #d0d5de;
        color: var(--Gray-700, #344054);
      }
    }
  }
}

.pisell-wallet-pass-gallery_footer:empty {
  display: none;
}
