﻿.vendor-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1;
  background-color: white;
  box-shadow: -4px -4px 20px 0px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}

.vendor-title-header {
  font-size: 18px;
}

.ui-dialog[aria-labelledby="ui-dialog-title-order-filters"] {
  top: 70px !important;
}

.vendor-icon .logo img {
  height: 50px;
}

.vendor-footer {
  position: fixed;
  z-index: 2000;
  bottom: 0;
  width: 100%;
  margin: auto;
  box-shadow: 0 -5px 4px 0px #c6c6c6;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
  height: 70px;
  left: 0;
}

a.button-2.return-back {
  margin: auto;
  margin-bottom: 0;
}

.vendor-footer button,
.vendor-footer a {
  margin-top: -20px;
}

.vendor-portal .button-2,
.vendor-portal .button-1 {
  border-radius: 30px !important;
}

.vendor-footer button,
.vendor-footer a,
.vendor-footer input,
.vendor-footer-button {
  margin-top: -20px;
  line-height: 48px;
}

.vendor-footer a, .footer-title {
  font-weight: bold;
  color: white;
  font-size: 18px !important;
  color: white !important;
  margin-bottom: 10px;
}

.profile-menu-box-impersonated {
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-top: 25px;
  width: 150px;
  padding: 10px 0;
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  text-align: right;
  pointer-events: none;
  box-shadow: 0 0 20px rgb(0 0 0 / 16%);
  z-index: 1020;
  transition: all .2s ease;
}

  .profile-menu-box-impersonated.open {
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding-left: 9px;
    padding-right: 9px;
    width: 220px;
  }

.vendorPortal button.layout-polisity span.num-not-collected, .vendorPortal .layout-polisity span.num-not-collected {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  color: white;
  position: sticky;
  align-items: center;
}

.vendorPortal button.layout-polisity button.ng-binding, .vendorPortal .layout-polisity button.ng-binding {
  background: transparent;
  border: 0;
  text-align: center;
}

.buttons-footer-vendor {
  display: flex;
  position: fixed;
  bottom: 17px;
  z-index: 2200;
  left: 0;
  width: 100%;
  justify-content: center;
  grid-gap: 5px;
}

.vendor-footer {
  display: flex;
  padding-bottom: 0.5%;
}

.price-per span, .price-total span {
  font-weight: bold;
}

.finish-vendor-disable {
  filter: grayscale(0.8);
  font-size: 18px;
  cursor: not-allowed !important;
  pointer-events: none;
}

.order-customer-name {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-weight: bold;
}

.orderView .order-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quantity-selected {
  text-align: right;
  font-weight: bold;
  margin-bottom: 1%;
  font-size: 1.1rem;
}

.product.code {
  font-size: 1.1rem;
}

.code-and-barcode-container button.clear-barcode.ng-binding, a.clear-barcode:before {
  content: url('../../images/samples/clear-barcode.svg');
  position: absolute;
  margin-top: -9%;
  left: 13%;
}

.product-code {
  font-weight: bold;
}

@media (min-width: 1024px) {
  .item-on-shelf {
    width: max-content;
    text-align: center;
    height: 50%;
    color: black;
    background-color: whitesmoke;
    border-radius: 5px;
    margin: 0;
    border: 2px solid;
    padding: 2%;
    align-self: center;
  }

  span.num-not-collected {
    width: auto;
    padding: 5%;
    min-width: 40px;
  }

  .small-image {
    transition: transform 0.3s ease;
  }

  .large-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.3s ease;
  }

  .image-container:hover .small-image {
    transform: scale(0.8);
  }

  .image-container:hover .large-image {
    display: block;
    transform: scale(1);
  }

  .image-container {
    position: relative;
    overflow: hidden;
    height: auto;
  }

  .hovered {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
  }

  .product-list-item {
    display: flex;
    height: 180px;
  }

  .products-for-collection-item {
    display: flex;
    justify-content: flex-start;
    margin-top: 2%;
    align-items: center;
    overflow: auto;
    gap: 20px;
  }

  .image-container {
    width: 150px;
    height: 50%;
  }

  .table-row.product-list-item {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    /*width: 40%;*/
  }

  .vendor-portal .table-row.product-list-item {
    width: auto;
  }

  .vendorPortal .layout-polisity, .vendorPortal button.layout-polisity {
    display: grid;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    align-content: center;
    justify-items: end;
  }

  .buttons-footer-vendor {
    /*display: flex;*/
    gap: 20px;
    /*width: 100%;*/
    align-items: center;
  }

  .products-for-collection-item .product-information {
    display: flex;
    gap: 8%;
    align-items: center;
    text-align: right;
    justify-content: flex-start;
    width: 70%;
  }

  .vendorPortal button.layout-polisity span.num-not-collected,
  .vendorPortal .layout-polisity span.num-not-collected {
    margin-top: -170px;
    margin-left: -40px;
  }

  .product-list-item .product-name {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 300px;
    height: 100%;
    padding: 10%;
    font-size: 20px;
  }

  .amount-collected .container-plus-minus {
    display: flex;
    flex-direction: column;
    height: 20px;
    width: 20px;
    margin-right: -18px;
    justify-content: center;
  }

  .amount-collected a.quentityBtn.plus-quentityBtn, a.quentityBtn.minus-quentityBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 25px;
    border: 0.5px solid #bbbbbb;
    font-weight: bold;
  }

  .amount-collected {
    display: flex;
    align-items: center;
  }

    .amount-collected .num-quentityBtn {
      height: 40px;
    }

  .vendor-header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 85%;
    align-items: center;
  }

  .logo-vendor-header {
    height: 70px;
  }

    .logo-vendor-header a.logo img {
      height: -webkit-fill-available;
      padding: 3%;
    }

  label.product-to-collect-out-of-stock {
    /*display: flex;*/
    margin-bottom: 0;
  }

  .price-and-collected-button {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: inherit;
  }

  .container-quantity {
    width: inherit;
  }

  .code-and-barcode-container {
    margin-top: 1.5%;
  }

  .bar-code {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  a.clear-barcode {
    position: absolute;
    margin-top: 0.6%;
    margin-left: 0.5%;
  }

  .product.code {
    width: 170px;
    margin-bottom: 2%;
  }

  .price-and-collected-button .price {
    width: max-content;
  }
}

p.text-dialog-finish-collect {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  line-height: 1.5;
}

.finish-collect-input {
  margin: 40px !important;
}

button.button-2.button-dialog-finish-collect.md-button.md-ink-ripple:hover {
  color: white;
}

button.button-2.button-dialog-finish-collect {
  font-size: 20px;
  font-weight: bold;
}

a.return-back {
  border: 1px solid white;
  padding: 0 2%;
  line-height: 35px;
  margin-bottom: 0;
  gap: 5px;
  border-radius: 20px;
  font-size: 14px !important;
  font-weight: normal;
  text-align: center;
  min-width: 70px;
  margin-top: 0;
}
.input-error {
    border: 2px solid red !important;
    border-radius: 4px;
}
@media (max-width: 1024px) {
  .orderView .order-details {
    margin-bottom: 3%;
  }

  .order-details {
    text-align: center;
  }

  .product-information .price {
    text-align: right !important;
    font-size: 14px;
    line-height: 20px;
  }

  .vendor-portal .master-wrapper-content {
    width: 100%;
  }

  .vendorPortal button.layout-polisity span.num-not-collected, .vendorPortal .layout-polisity span.num-not-collected {
    margin-top: -120px;
    min-width: 35px;
    height: 35px;
    padding: 7%;
  }

  .products-for-collection-item, .products-for-collection {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /*.products-for-collection-item {
    margin-bottom: 5%;
    width: 100%;
    border-radius: 20px;
    background: lightgray;
  }*/

  .product-barcode {
    width: 100%;
    background: white;
  }

  .vendor-portal .table-cell.details {
    width: auto;
  }

  .products-for-collection-item .product-name {
    text-align: center;
    height: auto;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
    margin-top: 0 !important;
    overflow: auto;
    font-size: 18px;
    font-weight: bold;
    padding: 2%;
  }

  .products-for-collection-item .product-picture {
    width: 90%;
    margin: auto;
  }

  span.number.ng-binding {
    font-weight: bold;
  }

  .vendor-footer a.button-2 {
    width: 100px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: large;
    font-weight: bold;
    border: 2px solid;
  }

  .attribute .ng-binding {
    text-align: center;
  }

  .attribute {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .product-information {
    padding: 5%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .amount-collected {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3%;
  }

  .products-for-collection .product-picture {
    padding-bottom: 0;
  }

  .products-for-collection .attribute {
    margin-bottom: 0;
  }

  .amount-collected input {
    height: 40px !important;
    background: white;
  }

  input.num-quentityBtn {
    float: right;
  }

  .item-on-shelf {
    width: 90%;
    text-align: center;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    background-color: whitesmoke;
    border-radius: 5px;
    margin: auto;
    margin-top: 3%;
    border: 2px solid;
  }

  .vendor-portal .master-column-wrapper {
    margin: auto;
    width: 90%;
  }


  md-checkbox.table-cell.ng-untouched.ng-valid.ng-scope.ng-dirty.ng-valid-parse.ng-empty {
    min-height: 20px;
    top: 10px;
  }

  .products-for-collection-item .product-information .price.ng-binding {
    text-align: right;
    font-weight: bold;
  }


  .product.code.ng-binding {
    text-align: right;
  }

  a.button-2.finish-order {
    width: auto;
  }

  a.title-product-name {
    text-align: center;
    width: 90%;
    line-height: 20px;
    overflow: initial;
    padding: 1% 0 1% 0;
    height: fit-content;
  }

  .vendorPortal .layout-polisity, .vendorPortal button.layout-polisity {
    display: grid;
    justify-items: end;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 3%;
  }

  /*.buttons-footer-vendor {
    display: flex;
    position: fixed;
    bottom: 17px;
    z-index: 2200;
    left: 0;
    width: 100%;
    justify-content: center;
  }*/

  .amount-collected .container-plus-minus {
    display: flex;
    flex-direction: column;
    margin-right: -9%;
    width: 50px;
    justify-content: space-between;
  }

  .product-to-collect-out-of-stock {
    text-align: right;
    /*display: flex;*/
    margin-bottom: 0;
  }

  .invalid-barcode {
    color: red;
  }

  .valid-barcode {
    color: green;
  }

  .bar-code input {
    border: 1px solid; /* Default border color */
    padding: 5px;
  }

  .amount-collected a.quentityBtn.plus-quentityBtn, a.quentityBtn.minus-quentityBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 35px;
    border: 1.5px solid;
    font-weight: bold;
    font-size: 20px;
  }

  .logo-vendor-header {
    /*width: 30%;*/
    display: flex;
  }

    .logo-vendor-header a.logo img {
      max-height: 46px;
    }

  .vendor-header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    padding: 1%;
  }

  a.return-back.back-button {
    margin-bottom: 0;
  }

  .orderView .vendor-footer {
    display: flex;
    gap: 19px;
    flex-direction: row;
    padding-top: 7%;
    justify-content: center;
    padding-bottom: env(safe-area-inset-bottom);
    padding-bottom: 30px;
  }

  .vendor-footer .footer-title.ng-binding {
    margin-bottom: 20px;
  }

  .vendor-header.vendor-header-without-logout .vendor-title-header {
    display: flex;
    text-align: left;
    justify-content: flex-end;
  }

  .dialog-finish-collect md-dialog._md.md-transition-in {
    margin: auto;
  }

  .dialog-finish-collect {
    margin-top: 15%;
  }
}

@media (min-width: 600px) (max-width: 768px) {
  a.clear-barcode, .clear-barcode {
    margin-top: -7%;
  }
}

/*<----VendorsWithoutLogout----->*/

.vendor-header.vendor-header-without-logout {
  height: auto;
  padding: 0;
}

  .vendor-header.vendor-header-without-logout .vendor-header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 0;
    width: 90%;
  }

.vendor-header {
  border-top: 10px solid;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 0.5%;
}

a.portal-logout.ng-binding:before {
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  /*content: url('../../images/samples/logout-vendor.svg') !important;*/
  display: none;
}

.portal-login:before {
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  /*content: url('../../images/samples/login-vendor.svg') !important;*/
}

a.portal-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  font-size: 0;
}

a.portal-logout {
  border: 0;
}

a.portal-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 10%;
}

.portal-header-log div {
  display: flex;
  align-items: center;
}
.portal-header-log {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
}
.grouped-collection-summary {
    position: fixed;
    bottom: 120px; 
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 360px;
    padding: 10px 14px; 
    background: #f1f1f1;
    border-radius: 12px;
    text-align: center;
    z-index: 3000;
}

.grouped-collection-summary-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #333;
}

.grouped-collection-summary-text {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}


@media (max-width: 1024px) {
  

  .vendor-customer-detailes-ctrl {
    min-height: 110vh;
  }


}

@media (max-width: 786px) {
  .vendor-title-header {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 3%;
  }
}
