/* Style for selected images in Sortable multiDrag */
.selected {
  border: 2px solid #fd0d0d; /* Bootstrap primary blue */
  box-shadow: 0 0 8px rgba(253, 13, 13, 0.6);
  border-radius: 0.25rem;
}
/* Style for page overlay */
#pageOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.scrollable-table-wrapper {
  max-height: 50vh;    
  max-width: 100%;
  overflow: auto;        
  border: 1px solid #dee2e6;
  margin-bottom: 20px;
  position: relative;
}

.scrollable-table-wrapper thead th {
  position: sticky;
  top: 0;
  background-color: #f8f9fa;
  z-index: 2;
  text-align: center;
}

.scrollable-table-wrapper tfoot td {
  position: sticky;
  bottom: 0;
  background-color: #f8f9fa;
  z-index: 2;
  text-align: center;
  vertical-align: middle;
}

table {
  font-size: 0.8rem;
}

.input_cell input {
  width: 100%;               /* fills the cell */
  max-width: 100%;           /* prevent overflow */
  box-sizing: border-box;    /* includes padding in width */
}

.dirty {
  border-color: #ffa500 !important;
}

.hidden-row {
  display: none !important;
}