#all_prices_modal .modal-dialog {
  max-width: fit-content;
}

#all_prices_modal .table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

#all_prices_modal .table th,
#product .prices-table-container .table th {
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
}

#all_prices_modal .table .qty-heading,
#product .prices-table-container .table .qty-heading {
  font-size: 18px;
  font-weight: 600;
}

.tab-volum.active ~ #all_prices_modal_btn {
  display: none;
}

.prices-table-container .tab-volum.active {
  min-height: 160px;
}

#all_prices_modal .form-check-input,
.prices-table-container .form-switch .form-check-input {
  transform: scale(1.5);
  transition: all .3s ease-in-out;
}

.btn.btn-primary[data-toggle="modal"] {
  padding: 10px 17px 14px 17px;
  font-family: 'Barlow Condensed';
  text-transform: initial;
  border-radius: 3px;
}

.btn.btn-primary[data-toggle="modal"],
#all_prices_modal .form-check-input:checked,
.prices-table-container .form-switch .form-check-input:checked {
  background-color: #00ACB1;
}

.prices-table-container .table {
  width: 100%
}

@media (min-width: 576px) {
  #all_prices_modal .modal-dialog .modal-content {
    max-width: 80vw;
  }
}
