.pisell-wallet-pass-card {
  border-radius: 12px;
  background-size: cover;
  height: 190px;
  width: 350px;
  background-position: center center;
  border: 1px solid #d0d5dd;
  position: relative;
  overflow: hidden;

  .actions-dropdown-trigger {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    z-index: 1;
    border-radius: 6px;
    color: #1570ef;

    &:hover {
      background: var(--Gray-200, #eaecf0);
    }
  }

  .actions-btn-wrapper {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2;
    display: flex;
    gap: 0px;
    z-index: 3;

    & > div {
      cursor: pointer;
    }
    .pisell-card-status-icon {
      padding: 12px 8px;
    }
    .pisell-card-actions-edit-btn {
      padding: 12px 8px 20px;
    }
    .pisell-card-actions-detail-btn {
      padding: 12px 8px 20px;
    }
  }

  .pisell-wallet-pass-card-body {
    padding: 16px;
    color: var(--Gray-900, #101828);
    font-size: 14px;
    font-style: normal;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
  }

  .pisell-card-name-wrap {
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    .pisell-card-name {
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .pisell-card-store-name {
    height: 20px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pisell-card-amount-wrap {
    display: flex;
    margin-bottom: 4px;

    .pisell-card-amount-item {
      display: flex;
      flex-direction: column;
      margin-right: 16px;
      overflow: hidden;

      .pisell-card-amount-item-label {
        color: var(--Gray-500, #667085);
        font-weight: 400;
        line-height: 20px;
        height: 20px;
        white-space: nowrap;
      }

      .pisell-card-amount-item-value {
        font-size: 20px;
        font-weight: 600;
        line-height: 20px;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .pisell-card-code-wrap {
    display: flex;
    justify-content: space-between;
    position: relative;

    .pisell-card-code {
      line-height: 20px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
  }

  .pisell-lowcode-qrcode {
    padding: 6px;
  }

  .pisell-card-warn-message {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    background: var(--Warning-200, #fedf89);
    display: flex;
    padding: 10px 16px;
    color: var(--Gray-900, #101828);
    font-weight: 600;
    line-height: 20px;
    font-size: 14px;

    .pisell-card-icon {
      font-size: 20px;
      color: #dc6803;
      margin-right: 6px;
    }
  }

  .pisell-card-qr-code {
    position: absolute;
    bottom: 10px;
    right: 10px;

    .pisell-lowcode-qrcode-wrap {
      .pisell-lowcode-qrcode {
        background: rgba(255, 255, 255, 0.8) !important;
      }
    }
  }
}

.pisell-card-disabled {
  color: var(--Gray-500, #667085);
  padding-bottom: 30px;

  .pisell-card-amount-wrap {
    .pisell-card-amount-item {
      flex-direction: row;
      align-items: center;

      .pisell-card-amount-item-value {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
      }
    }
  }

  .pisell-wallet-pass-card-body,
  .pisell-card-amount-item-label,
  .pisell-card-amount-item-value {
    color: var(--Gray-500, #667085) !important;
    font-weight: 400 !important;
  }
}

.pisell-card-disabled-hide-disabled-reason {
  height: 165px !important;
}

.pisell-wallet-pass-card.pisell-wallet-pass-card-mini {
  width: 250px;
  height: 150px;

  .pisell-card-name-wrap {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 12px;
  }

  .pisell-card-store-name {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
  }

  .pisell-card-amount-wrap {
    display: block;
  }

  .pisell-wallet-pass-card-redeem {
    visibility: hidden;
    flex-direction: row;
    align-items: center;
    margin-bottom: 4px;

    .pisell-card-amount-item-label-icon {
      font-size: 20px;
      margin-right: 8px;
    }

    .pisell-card-amount-item-label,
    .pisell-card-amount-item-value {
      color: var(--Gray-500, #667085);
      font-style: normal;
      font-weight: 600;
    }
    .pisell-card-amount-item-label {
      font-size: 14px;
    }
    .pisell-card-amount-item-value {
      font-size: 20px;
    }
  }

  &.active {
    .pisell-wallet-pass-card-redeem {
      .pisell-card-amount-item-label,
      .pisell-card-amount-item-value {
        color: var(--Primary-600, #7f56d9);
      }
      .pisell-card-amount-item-value {
        text-decoration: underline;
      }
    }
  }

  .pisell-wallet-pass-card-balance {
    flex-direction: row;
    align-items: center;

    .pisell-card-amount-item-label,
    .pisell-card-amount-item-value {
      font-size: 14px;
      font-weight: 600;
      color: var(--Gray-900, #101828);
      line-height: 20px;
    }
  }

  .pisell-card-checked-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 16px 16px 16px 32px;
    z-index: 10;
    .pisell-lowcode-radio-wrapper {
      margin: 0;
    }
    .pisell-lowcode-radio-inner {
      width: 20px;
      height: 20px;
    }
  }
}

.pisell-wallet-pass-card-detail-modal,
.pisell-wallet-pass-card-edit-modal {
  .pisell-lowcode-form-item {
    margin-bottom: 20px;
  }
}
