.components-guarantee-duty-render {
  font-size: 14px;
  background-color: white;
  padding: 20px 15px;

  > * {
    & + * {
      margin-top: 10px;
    }
  }

  .duty-columns {
    display: flex;

    > * {
      & + * {
        margin-left: 5px;
      }
    }

    .columns-item {
      &.main {
        flex: 1;
      }
    }
  }

  .duty-data {
    > * {
      & + * {
        margin-top: 10px;
      }
    }

    .data-item {
      display: flex;
      justify-content: space-between;
      > * {
        & + * {
          margin-left: 5px;
        }
        // height: 20px;
        // overflow: hidden;
        // text-overflow: ellipsis;
        // white-space: nowrap;
      }

      .item-title {
        color: #5e5e5e;
        max-width: 70%;
        min-width: 0;
        white-space: normal;
        .package-part {
          display: inline-block;

          &:empty {
            display: none;
          }

          &:first-child,
          &:nth-child(2) {
            display: inline-block;
          }

          &:nth-child(3) {
            padding-top: 5px;
            color: #999;
            font-size: 12px;
          }

          &:first-child {
            & + .package-part {
              &:before {
                content: '  ';
              }
            }
          }
        }
      }

      .item-desc {
        width: 28%;
        color: #333;
        text-align: right;
      }
    }
  }

  .duty-desc {
    font-size: 12px;
    color: #999;
  }

  .duty-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    text-align: center;
    color: var(--theme-primary);

    > * {
      & + * {
        margin-left: 5px;
      }
    }

    .icons {
      display: flex;
      flex-direction: column;

      .icon {
        height: 7px;

        &:first-child {
          margin-top: -9px;
        }

        &:last-child {
          opacity: 0.4;
        }
      }
    }

    &.reverse {
      .icons {
        transform: rotate(180deg);
        transform-origin: 50% 50%;
      }
    }
  }
}
