/* Style the tab */
.tab {
  overflow: hidden;
  border-bottom: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.react-datepicker-wrapper {
  width: 100%;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}

.modal-body-2 {
    padding: 0 !important;
}
.modal-body-2 {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.active-tab {
    background: #d2d2d2 !important;
}

.table-purchase {
  font-weight: 500; 
  padding: 10px; 
  text-align: center;
  background: #f4f5f7;
  border: 1px solid rgb(225, 229, 235);
}

.table-purchase-item {
  font-weight: 400; 
  padding: 5px; 
  text-align: center;
  border: 1px solid rgb(225, 229, 235) !important;
}

.loader {
  border: 6px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid #3498db;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  margin: 15px;
  display: inline-block;
}

.min-loader {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #3498db;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
  display: inline-block;
}

.containerLoader {
  width: 100%;
  text-align: center;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.text-error {
  color: #cc261a!important;  
}

.completedRow { 
  background-color: rgb(202, 255, 202);
}

.badQuantity {
  background-color: rgb(255, 127, 127);
}

.barCodeError {
  background-color: #ff6c62 !important
}

.centeredSpinner {
  display: flex;
  justify-content: center;
  height: calc(100vh - 108px);
  align-items: center;
}

.suggestions-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background-color: white;
}

.suggestions-list li {
  padding: 10px;
  cursor: pointer;
}

.suggestions-list li:hover {
  background-color: #f0f0f0;
}