.vendorPortal-header {
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
}

.warehouse-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3%;
  width: 100%;
  margin-top: 5%;
}

.warehouse-item-main {
  width: 14%;
}

.warehouse-item {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 22px;
  padding: 6%;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  height: 130px;
}

.warehouse-name {
  font-size: 1.2rem;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 40px;
  letter-spacing: 1px;
}

.warehouse-address {
  border-top: 1px solid #FFFFFF;
  color: #FFFFFF;
  text-align: center;
  align-content: end;
  letter-spacing: 1px;
}

.stock-taking-main {
}
  .stock-taking-main .vendor-search-product {
    border-radius: 10px !important;
  }
.stocktaking {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

button.finish-Stock-counting {
  display: flex;
  margin: auto;
  height: 35px;
  padding: 3%;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: 0;
}

.stocktaking-product-details {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  align-items: stretch;
  padding: 4%;
  border: 1px solid #B5B5B5;
  border-radius: 7px;
  row-gap: 13px;
  margin-bottom: 3%;
}

.choose-warehouse {
  background: url('../../images/samples/arrow-down-stocktaking.svg') no-repeat left 15px center !important;
  background-color: #D9D9D9 !important;
  border: 0 !important;
  color: #000000;
  margin: auto;
  width: 60%;
  display: flex;
}

.stocktaking-product-details .product-name {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

.stocktaking-product-details .product-quantity {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  gap: 2%;
  justify-content: center;
}

  .stocktaking-product-details .product-quantity div {
    border: 1px solid #B5B5B5;
    border-radius: 5px;
    padding: 2%;
    text-align: center;
    width: 50%;
    height: 70px;
  }

.stocktaking-product-details .remark {
  font-size: 1rem;
  min-height: 100px !important;
  width: 100%;
}

.item-in-product {
  border-radius: 5px;
  border: 1px solid #B5B5B5;
  height: auto;
  padding: 1%;
  display: flex;
  flex-wrap: nowrap;
}

.textarea-container {
  position: relative;
  display: inline-block;
}

.vendor-search-customer button.clear-barcode.ng-scope {
  position: inherit;
  left: 0;
}

.stocktaking-product-details .addToStock {
  width: 32%;
  background: white;
  border: 1px solid;
  align-self: center;
  border-radius: 10px !important;
}

.stocktaking textarea.remark {
  padding-right: 5%;
}

.text-area:before {
  content: url('../../images/samples/clarity_note-line.svg');
  position: absolute;
  margin-top: 0.7%;
  right: 0;
}

.text-area {
  width: 70%;
  display: flex;
  margin: auto;
}

@media (min-width: 1024px) {
  .text-area:before {
    content: url('../../images/samples/clarity_note-line.svg');
    position: absolute;
    margin-top: 0.7%;
    right: 30%;
  }

  .stocktaking {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin: auto;
    margin-top: 3%;
  }

  .item-in-product {
    width: 600px;
  }

  textarea.remark {
    width: 70%;
    margin: auto;
  }
  .textarea-icon {
    position: absolute;
    top: 69%;
    right: 30%;
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-start;
  }

  .choose-warehouse {
    width: 30%;
  }
}

  @media (max-width: 1024px) {

    .stocktaking-product-details .product-quantity input {
      border: 1px solid #B5B5B5;
      width: 80px;
      height: 30px;
      margin-top: 4%;
      text-align: center;
    }
    
    .warehouse-item-main {
      width: 45%;
    }

    .warehouse-list {
      row-gap: 8px;
    }

    .textarea-icon {
      position: absolute;
      top: 72.5%;
      transform: translateY(-50%);
      display: flex;
      justify-content: flex-start;
    }

    .stock-taking-main {
      margin-top: 5%;
    }
    .stocktaking textarea.remark {
      padding-right: 6%;
      width: 100%;
    }
  }


@media (min-width: 500px) and (max-width: 1024px) {
  .textarea-icon {
    top: 67%;
  }
  .text-area:before {
    right: 20%;
    margin-top: 1%
  }
}

@media (max-width: 500px) {
  .textarea-icon {
    top: 73%;
  }

  .stocktaking textarea.remark {
    padding-right: 8%;
  }

  .text-area:before {
    content: url(../../images/samples/clarity_note-line.svg);
    position: absolute;
    right: 20%;
    margin-top: 1%
  }
}