/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 * require_tree .
 * require_self


















 */


.select2-selection__rendered {
  max-width: 180px;
  /* Sesuaikan dengan lebar yang sesuai */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tbody-items .select2-container .select2-selection--single {
  height: 32px;
}

#tbody-items .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 31px;
}

#tbody-items .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 31px;
}

#tbody-items .invalid-feedback {
  margin-top: 0px;
}

.total-order {
  max-width: initial;
}

.accordion-button {
  background-color: #e7f1ff;
}

.tooltip-inner {
  background-color: #333;
  color: #fff;
  font-size: 14px;
}

/* Customizing the tooltip arrow */
.tooltip.bottom .tooltip-arrow {
  border-bottom-color: #333;
}


.form-control {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: .90rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


/* .modal-dialog {
  max-width: 65%;
  margin: 1.75rem auto;
} */


.table td.description {
  white-space: normal;
  word-wrap: break-word;
}

.positive-qty {
  color: blue;
}

.negative-qty {
  color: red;
}


.checkbox-row {
  display: flex;
  /* Menggunakan flexbox untuk mengatur tata letak baris */
  flex-direction: row;
  /* Mengatur tata letak ke samping */
  gap: 20px;
  /* Jarak antara setiap checkbox */
}


/* Gaya untuk tombol pagination */
.pagination {
  margin: 10px 0;
  justify-content: center;
}

.custom-hr {
  margin: 0.2rem 0;
}

.form-control {
  display: flex;
  align-items: center;
  gap: 10px;
}




.informasi-tambahan {
  display: flex;
  justify-content: space-between;
}

.left-info,
.right-info {
  flex: 1;
}

.left-info p,
.right-info p {
  margin: 0;
}

.informasi-tambahan span {
  display: inline-block;
  width: 150px;
  /* Sesuaikan lebar ini sesuai kebutuhan Anda */
}

.label {
  font-weight: bold;
}

.value {
  margin-bottom: 5px;
  /* Sesuaikan spasi antar baris sesuai kebutuhan Anda */
}





.table th,
.table td {
  border: 0.1px solid #ddd;
  padding: 8px;
  text-align: left;
  white-space: nowrap;
}

table.dataTable {
  clear: both;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  max-width: none !important;
  border-collapse: collapse !important;
  border-spacing: 0;
}

table.dataTable td {
  white-space: nowrap !important;
  word-wrap: unset !important;
}



.text-right {
  text-align: right;
}



.container {
  display: flex;
}

.action-buttons {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.action-buttons li {
  margin-right: 10px;
}

.select-container {
  margin-left: auto;
}

.form-control {
  display: inline-block;
  width: auto;
}


.cursor-not-allowed {
  cursor: not-allowed !important
}

.form-control-sm {
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-left: .5rem;
}

thead th {
  background: #eee !important;
  position: sticky;
  top: 0;
  /* Keeps the header at the top */
  z-index: 1;
  /* Ensure the header stays above the table rows */
  /* Optional: To prevent content from bleeding through */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
  /* Optional: Shadow for better visibility */
}

/* For the table footer (tfoot) */
tfoot th,
tfoot td {
  background: #eee !important;
  position: sticky;
  bottom: 0;
  /* Keeps the footer at the bottom */
  z-index: 1;
  /* Ensure the footer stays above the table rows */
  /* Optional: Similar to header */
  box-shadow: 0 -2px 2px -1px rgba(0, 0, 0, 0.1);
  /* Optional: Shadow for better visibility */
}

