:root {
  /*--bg-light: #ddd;*/
  --bg-light: linear-gradient(
    90deg,
    rgba(245, 245, 245, 1) 0%,
    rgba(230, 233, 244, 1) 49%,
    rgba(233, 244, 246, 1) 100%
  );
  --bg-dark: #333;
  /* modal settings */
  --modal-z: 10000;
  --modal-radius: 0.5rem;
  --modal-padding: 1.25rem;
  --modal-max-w: min(90vw, 32.5rem);
  --modal-min-w: 17.5rem;
  --modal-gap: .5rem;

  --modal-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.2);
  --modal-overlay-bg: rgba(0,0,0,.5);

  /* default (light) — overridden in dark scope below */
  --modal-bg: #fff;
  --modal-fg: #111;
  --modal-border: 1px solid #e5e7eb;

  --modal-title-size: 1.125rem;

  /* error variants */
  --modal-error-bg: #fee;
  --modal-error-border: 2px solid #c00;
  --modal-error-title: #c00;

  /* focus ring */
  --focus-ring: 2px solid #0d6efd;
}

* {
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 16px;
  border-radius: 1000px !important;
}

*::-webkit-scrollbar-track {
  background: #bbb;
}

*::-webkit-scrollbar-thumb {
  background: #222;
  border: 4px solid #bbb;
  border-radius: 1000px !important;
}

html,
body {
  box-sizing: border-box !important;
  width: 100vw;
  max-width: 100vw;
  font-size: 16px;
  /*background-image: url('/inc/img/lva-readingroom.jpg'); 
  background-size: cover;*/
}

html, body {
  font-size: 16px;
}

@media screen and (max-height: 1300px) {
  html, body{
    font-size: 16px;
  }
}
@media screen and (max-height: 1200px) {
  html, body{
    font-size: 16px;
  }
}
@media screen and (max-height: 1100px) {
  html, body{
    font-size: 16px;
  }
}
@media screen and (max-height: 1000px) {
  html, body{
    font-size: 15px;
  }
}
@media screen and (max-height: 900px) {
  html, body{
    font-size: 12px;
  }
}
@media screen and (max-height: 800px) {
  html, body{
    font-size: 12px;
  }
}
@media screen and (max-height: 700px) {
  html, body{
    font-size: 11px;
  }
}


.w-30 {
  width: 30% !important;
}
table {
  max-width: 100% !important;
}

.table-container {
  max-width: 100%;
  overflow-x: auto;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, .2) !important; */
}

h1 {
  font-size: 2rem;
}

body.bg-light {
  background-color: var(--bg-light) !important;
  --modal-bg: #fff;
  --modal-fg: #111;
  --modal-border: 1px solid #e5e7eb;

  --modal-error-bg: #fee;
  --modal-error-border: 2px solid #c00;
  --modal-error-title: #c00;

  --modal-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.2);
}

body.bg-dark {
  background-color: var(--bg-dark) !important;
  --modal-bg: #2c3034;
  --modal-fg: #f5f5f5;
  --modal-border: 1px solid #3b3f44;

  --modal-error-bg: #3a1f1f;
  --modal-error-border: 2px solid #ff6b6b;
  --modal-error-title: #ff9e9e;

  --modal-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.5);
}
.remove-from-workspace {
  width: 10rem !important;
}
input:disabled,
select:disabled {
  cursor: not-allowed;
  filter: opacity(0.8);
}

/* disabled not-allowed for view pages. We know these are not editable*/
.view-input {
  cursor: pointer !important;
  filter: none !important;
}

/* Start Bootstraps Overrides */
input.form-control,
textarea.form-control {
  padding: 0.2rem;
  border: solid #aaa 1px !important;
}

body[data-bs-theme="dark"] input.form-control {
  border: solid #555 1px;
}
body[data-bs-theme="dark"] input.textarea.form-control {
  border: solid #555 1px;
}

.form-group {
  margin-bottom: 10px;
}

/* End Bootstraps Overrides */

.header-navbar-container {
  padding-left: 1px;
}

.header-navbar-menu-button {
  font-size: .8rem;
  padding: 0.25rem 0.5rem;
}

.header-navbar-menu-dropdown {
  font-size: .8rem;
  padding: 0.25rem 0.5rem;
}

/* Reset Bootstrap default caret */
.dropdown-toggle::after {
  display: none;
}

/* Main menu toggle arrow */
.header-navbar-menu-dropdown::after {
  display: inline-block;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  vertical-align: middle;
  margin-left: 0.255em;
}

.dropdown-menu {
  font-size: .8rem;
  padding: 0.25rem 0.5rem;
}

.dropdown-item {
  padding: 0.25rem 0.5rem;
}

.header-dropdown-submenu {
  position: relative;
}

.header-dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -1px;
}

.header-dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.header-dropdown-submenu > a.dropdown-toggle {
  position: relative;
  padding-right: 1.5rem;
}

.header-dropdown-submenu > a.dropdown-toggle::after {
  content: "\2190";
  /* Leftwards arrow */
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
}

.dropdown-item {
  background-image: none !important;
}
.dropdown-item.dropdown-toggle::after {
  content: "›";
  float: right;
}

body {
  padding: .8rem !important;
}

hr {
  margin: 1rem auto;
  /* color: #ccc; */
  /* background-color: #ccc; */
}

.navbar-nav {
  padding-left: .7rem;
  padding-top: .1rem;
  font-size: .8rem;
  flex-wrap: wrap;
}

.resource-is-deleted {
  font-style: italic;
  font-weight: 500;
  color: rgba(184, 0, 0, 0.804) !important;
  text-decoration-color: rgba(184, 0, 0, 0.804) !important;
}

body[data-bs-theme="light"] .resource-is-deleted a {
  color: rgba(184, 0, 0, 0.804) !important;
  text-decoration: underline;
  text-decoration-color: rgba(184, 0, 0, 0.804) !important;
}

body[data-bs-theme="dark"] .resource-is-deleted a {
  color: rgb(255, 126, 126) !important;
  text-decoration: underline;
  text-decoration-color: rgb(255, 126, 126) !important;
}

body[data-bs-theme="light"] .resource-is-deleted a:hover {
  color: rgba(184, 0, 0, 1) !important;
  text-decoration-color: rgba(184, 0, 0, 1) !important;
}

body[data-bs-theme="dark"] .resource-is-deleted a:hover {
  color: rgb(255, 150, 150) !important;
  text-decoration-color: rgb(255, 150, 150) !important;
}

body[data-bs-theme="light"] .rm3-in-progress {
  font-style: italic;
  font-weight: 500;
  color: rgba(0, 87, 43, 0.804) !important;
  text-decoration-color: rgba(0, 87, 43, 0.804) !important;
}

body[data-bs-theme="dark"] .rm3-in-progress {
  font-style: italic;
  font-weight: 500;
  color: rgba(59, 255, 157, 1) !important;
  text-decoration-color: rgba(59, 255, 157, 1) !important;
}

body[data-bs-theme="light"] .rm3-in-progress a {
  text-decoration: underline;
  color: rgba(0, 87, 43, 0.804) !important;
  text-decoration-color: rgba(0, 87, 43, 0.804) !important;
}

body[data-bs-theme="dark"] .rm3-in-progress a {
  text-decoration: underline;
  color: rgba(59, 255, 157, 1) !important;
  text-decoration-color: rgba(59, 255, 157, 1) !important;
}

body[data-bs-theme="light"] .rm3-in-progress a:hover {
  color: rgb(76, 64, 255) !important;
  text-decoration-color: rgb(76, 64, 255) !important;
}

body[data-bs-theme="dark"] .rm3-in-progress a:hover {
  color: rgb(126, 117, 255) !important;
  text-decoration-color: rgb(126, 117, 255) !important;
}

body[data-bs-theme="light"] .resource-is-digitized {
  font-style: italic;
  font-weight: 500;
  color: rgba(0, 87, 43, 0.804) !important;
  text-decoration-color: rgba(0, 87, 43, 0.804) !important;
}

body[data-bs-theme="dark"] .resource-is-digitized {
  font-style: italic;
  font-weight: 500;
  color: rgba(59, 255, 157, 1) !important;
  text-decoration-color: rgba(59, 255, 157, 1) !important;
}

body[data-bs-theme="light"] .resource-is-digitized a {
  text-decoration: underline;
  color: rgba(0, 87, 43, 0.804) !important;
  text-decoration-color: rgba(0, 87, 43, 0.804) !important;
}

body[data-bs-theme="dark"] .resource-is-digitized a {
  text-decoration: underline;
  color: rgba(59, 255, 157, 1) !important;
  text-decoration-color: rgba(59, 255, 157, 1) !important;
}

body[data-bs-theme="light"] .resource-is-digitized a:hover {
  color: rgb(76, 64, 255) !important;
  text-decoration-color: rgb(76, 64, 255) !important;
}

body[data-bs-theme="dark"] .resource-is-digitized a:hover {
  color: rgb(126, 117, 255) !important;
  text-decoration-color: rgb(126, 117, 255) !important;
}

.navbar-link-active {
  background-color: #0056b3;
  color: white;
  border-radius: 0.375rem;
  text-decoration: none !important;
  display: inline-block;
}

.navbarSupportedContent {
  color: white;
}

a.nav-link {
  font-weight: 500;
  color: black;
  border-radius: var(--bs-border-radius);
}

.navbar-link-active a.nav-link {
  color: white !important;
}

.nav-link {
  padding: 0.2rem 0.5rem !important;
}

.nav-link:hover {
  background-color: #555;
  color: white !important;
  border-radius: 0.375rem;
}

.navbar-link-active:hover {
  background-color: #0056b3;
  color: white;
}

.dashboard-table-container {
  overflow-y: auto;
  border-radius: 4px;
}
.dashboard-table-container tr{
  /*max-height: 530px;*/
  border-radius: 8px;
}

.bg-light .dashboard-table-container{
  border: 1px solid #000;
  background: #f8f8f8;
}
.bg-dark .dashboard-table-container{
  border: 1px solid #000;
  background: #2c3034;
}

.dashboard-table-container table {
  width: 100%;
  table-layout: fixed;
}

.dashboard-table-container thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: white;
}

.dashboard-table-container thead th {
  background: #555;
  font-size: .8rem;
  word-wrap: break-word;
}

body[data-bs-theme="dark"] .dashboard-table-container thead th {
  background: #222;
}

.dashboard-table-container thead th a {
  color: white;
}

.dashboard-table-container td {
  font-size: .8rem;
  word-wrap: break-word;
}

.dashboard-input-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  height: auto;
  box-sizing: border-box;
  overflow: visible;
}


.dashboard-input-fields.row { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.dashboard-input-fields.row > * {
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.history-input-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-column-gap: 8px;
  grid-row-gap: 4px;
  min-height: 5vh;
  height: auto;
  box-sizing: border-box;
}

.request-queue-input-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-column-gap: 8px;
  grid-row-gap: 4px;
  min-height: 6vh;
  height: auto;
  box-sizing: border-box;
}

.form-group-dashboard-search {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.search-form-buttons {
  flex-direction: row;
  gap: 0.5rem;
}

.dashboard-search-button {
  font-size: .8rem;
  padding: 0px .5rem;
  height: 1.8rem;
  width: fit-content;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.dashboard-search-button#clearSearchButton {
  background: #555;
  border: none;
  color: white;
}

.dashboard-search-inputs {
  height: 1.5rem;
  padding: .3rem;
  font-size: .8rem;
  /* width: 190px */
  width: 100%;
}

.dashboard-search-labels {
  margin-bottom: 4px;
  font-size: .8rem;
}

.dashboard-total-results {
  padding-top: .2rem;
  font-weight: 600;
}

.dashboard-results-info {
  font-size: .5rem;
}

.dashboard-pagination-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.dashboard-pagination-buttons .page-item {
  height: 1.5rem;
}

.dashboard-pagination-buttons .page-item form.form-inline {
  display: flex;
  align-items: center;
}

.dashboard-pagination-buttons .page-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0.75rem;
  text-align: center;
  width: 2rem;
  height: 1.5rem;
  line-height: normal;
  box-sizing: border-box;
}

.dashboard-pagination-buttons-nextprevten .page-link {
  width: 90px !important;
}

.dashboard-pagination-page-input {
  font-size: .8rem;
  margin-right: 1px;
  border-radius: 0.25rem;
  text-align: center;
  height: 1.5rem;
  width: 5rem;
}

.dashboard-pagination-go-button {
  padding: 0 .8rem;
  border-radius: 0.25rm;
}

.dashboard-pagination-go-button .page-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0.75rem;
  text-align: center;
  width: 30px;
  height: 25px;
  line-height: normal;
  box-sizing: border-box;
}

.small-hr {
  border: 1px solid #000;
  margin: 10px auto;
}

#user-workspace-table th {
  color: white;
}

table {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#logo {
  width: 130px;
}

.container {
  margin: 2rem auto;
}

.request-header {
  color: white !important;
  text-decoration-color: white !important;
}

.request-buttons {
  font-size: .9rem;
  padding: 0px .4rem;
  height: 20px;
  width: 120px;
  margin-top: .4rem;
  margin-bottom: .4rem;
  background: #555;
  border: none;
  color: white;
}

section {
  margin: 2rem 0;
}

.result {
  margin: 2rem 0;
}

.result table {
  background: white;
}

.result h5 {
  margin: 2rem 0 1rem 0;
}

.record-info,
.reel-info,
.box-info {
  padding: 1rem;
  background: #fff;
  border: 1px solid #333;
}

.box-info {
  margin-top: 1rem;
}

.recordTable {
  border: 1px solid #000000;
}

.recordTable th,
.recordTable td {
  border: 1px solid #000000;
  padding: .2rem;
}

.pagination-container {
  display: flex;
  /* justify-content: center; */
  margin-top: 1.2rem;
}

.pagination {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.pagination a {
  font-size: 0.8rem;
  border-radius: var(--bs-border-radius);
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  border: none;
  color: white;
  background: #555;
}

.pagination a.active {
  background-color: #007bff;
  color: white;
}

.pagination-buttons {
  background-color: #555;
  color: white;
  border-color: #555;
  border-radius: 8px;
  width: 30px;
}
.pagination-button {
  background-color: #555;
  color: white;
  border-color: #555;
  border-radius: 8px;
}
.pagination-button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  border-radius: 8px;
}

.pagination a:hover {
  background-color: #fff;
  color: black;
}

.checkbox-column {
  width: 3px;
  max-width: 5px;
  min-width: 1px;
}

.permission-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.permission-buttons button {
  font-size: .8rem;
  padding: 0px .4rem;
  height: 1.2rem;
  width: 8rem;
  white-space: normal;
  border: none;
  background: #222;
}

.crud-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.crud-buttons button {
  display: inline-flex;
  align-items: center; /* Ensures text stays vertically centered */
  font-size: 1rem;
  padding: 0.2rem 1rem; /* Increased vertical padding */
  height: auto; /* Allows button to expand based on content */
  white-space: normal;
  border: none;
}

.bulk-update-buttons button {
  display: inline-flex;
  align-items: center; /* Ensures text stays vertically centered */
  font-size: 1rem;
  padding: 0.2rem 1rem; /* Increased vertical padding */
  height: auto; /* Allows button to expand based on content */
  white-space: normal;
  border: none;
}
#standard-fields-view .row {
  margin-bottom: 0.5rem;
}

.custom-checkbox {
  appearance: none;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid #aaa;
  border-radius: 0.2em;
  background-color: #fff;
  /* cursor: not-allowed; Add this line if you want the cursor to indicate the checkbox is disabled */
}

.custom-checkbox:checked {
  background-color: #2c29e0 !important;
  border: 1px solid #2c29e0 !important;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="%23fff" stroke-width="2" d="M2 8.5L6 13l8-8"/%3E%3C/svg%3E') !important;
  background-size: 1em 1em;
  background-position: center;
  background-repeat: no-repeat;
}

.hidden {
  display: none;
}

.hidden-column {
  display: none !important;
}

.error {
  color: red;
}

.w-50 {
  width: 50%;
}

.text-danger {
  color: red;
}

.resource-container {
  width: 100%;
  max-width: 100%;
}

.resource-container-scrollable-view {
  max-width: 100%;                
  overflow: auto; 
  margin: 0rem auto !important;
  margin-top: 1rem;
  border-top: 0.1px solid #766a68;
  border-bottom: 0.1px solid #766a68;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  padding: 1rem
}

.resource-container-scrollable-create {
  /*max-height: 55rem;*/
  max-width: 100%;
  overflow: auto;
  margin: 0rem auto !important;
  margin-top: 0rem;
  border-top: 0.1px solid #766a68;    
  border-bottom: 0.1px solid #766a68;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}
.resource-container-scrollable-bulk-update {
  /*max-height: 55rem;*/
  max-width: 100%;
  overflow: auto;
  margin: 0rem auto !important;
  margin-top: 0rem;
  border-top: 0.1px solid #766a68;    
  border-bottom: 0.1px solid #766a68;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE2IDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDYyIDBsNi4wOTUgNi4wOTQgNi4wOTUtNi4wOTRMMTYgMS40NjJsLTguMDA1IDguMDA1TDAgMS40NjJMMi42OTYgMCA4LjAwNSAwIDAgMEgxLjQ2MlpNMS40NjIgMEwxLjQ2MiAwWm0wIDAiIGZpbGw9IiM2NjYiLz48L3N2Zz4=")
    no-repeat right 0.75rem center/8px 8px;
  padding-right: 1.75rem;
  border: solid #aaa 1px;
}

.required-label::before {
  content: " *";
  color: red;
}

.dashboard-results-table-header th {
  font-size: .8rem;
  color: white;
}
.transferList-table {
  width: 80%;
  font-size: .8rem;
  margin-left: 0;
  margin-top: 5px;
  line-height: 1.2;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Target the table headers */
#ResultsTable tr {
  border: none !important;
}
#ResultsTable th {
  white-space: normal !important;
  font-size: .8rem;
}

#ResultsTable td {
  white-space: normal !important;
  font-size: .8rem; 
}
#ResultsTable { table-layout: auto !important; }

.header-HOME_CONTAINER_ID {
  min-width: 9rem;
}
.header-CURRENT_CONTAINER_ID {
  min-width: 9rem;
}

.advanced-query-name {
  min-width: 400px;
}

.advanced-search-dropdown {
  display: flex;
  justify-content: space-between;
  /* Ensures text is on the left, and caret is on the right */
  align-items: center;
  /* Aligns the text and caret vertically */
  min-width: 300px;
  min-height: 30px;
  max-height: 30px;
  padding-right: 2.5rem;
  /* Add extra padding to the right for the caret */
  position: relative;
  /* Ensure the caret is positioned correctly */
  font: 8pt;
}

.advanced-search-dropdown-item {
  min-width: 282px;
  min-height: 30px;
  max-height: 30px;
}

.advanced-search-dropdown::after {
  position: absolute;
  right: 1rem;
  /* Ensure the caret stays on the right */
  top: 50%;
  transform: translateY(-50%);
  /* Vertically centers the caret */
  pointer-events: none;
  /* Prevents clicking on the caret */
}

.transferList-table th,
.transferList-table td {
  padding: .4rem .6rem;
  /* Compact padding to reduce cell height */
  text-align: left;
  /* Align text to the left */
  border: 1px solid #ddd;
  /* Light border for clear separation */
  width: 1px;
  /* Reduce the width of each column to make them smaller */
  overflow: hidden;
  /* Hide overflow text */
  white-space: nowrap;
  /* Prevent text from wrapping to multiple lines */
  text-overflow: ellipsis;
  /* Add ellipsis for overflow text */
}

.transferList-table-header {
  background-color: #f2f2f2;
  /* Light background for header */
  color: black;
  /* Standard color for text */
  font-weight: bold;
  /* Bold text for headers */
}

.transferList-pagination {
  font-size: .8rem;
  /* Smaller font size for pagination */
  margin-top: .8rem;
  /* Space above pagination */
  text-align: left;
  /* Align pagination buttons to the left */
}

.transferList-page-link {
  margin-right: 2px;
  /* Space between pagination buttons */
  padding: .2rem .4rem;
  /* Compact padding for pagination buttons */
}

.transferList-page-link.active {
  font-weight: bold;
  /* Highlight the active page */
}

.allowed-container-radio-wrapper {
  display: inline-block;
  margin-right: 20px;
  /* Add some space between each radio button */
}

.barcodeList-table {
  width: 80%;
  /* Adjust the overall table width */
  font-size: .8rem;
  /* Smaller font size for compactness */
  margin-left: 0;
  /* Align the table to the left */
  line-height: 1.2;
  /* Tighter line height for compact rows */
  border-collapse: collapse;
  /* Remove space between borders for a tighter fit */
  table-layout: fixed;
  /* Fixed table layout to better control column width */
}

.barcodeList-table th,
.transferList-table td {
  padding: .5rem .9rem;
  /* Compact padding to reduce cell height */
  text-align: left;
  /* Align text to the left */
  border: 1px solid #ddd;
  /* Light border for clear separation */
  width: 1px;
  /* Reduce the width of each column to make them smaller */
  overflow: hidden;
  /* Hide overflow text */
  white-space: nowrap;
  /* Prevent text from wrapping to multiple lines */
  text-overflow: ellipsis;
  /* Add ellipsis for overflow text */
}

.barcodeList-table-header {
  background-color: #f2f2f2;
  /* Light background for header */
  color: black;
  /* Standard color for text */
  font-weight: bold;
  /* Bold text for headers */
}

.barcodeList-pagination {
  font-size: .8rem;
  /* Smaller font size for pagination */
  margin-top: .8rem;
  /* Space above pagination */
  text-align: left;
  /* Align pagination buttons to the left */
}

.barcodeList-page-link {
  margin-right: 2px;
  /* Space between pagination buttons */
  padding: .2rem .4rem;
  /* Compact padding for pagination buttons */
}

.barcodeList-page-link.active {
  font-weight: bold;
  /* Highlight the active page */
}

.hr-smaller-padding {
  margin: 1.3em 0;
  /* Adjust this value as needed */
  padding: 0;
  border: 1px solid #000;
  /* You can adjust the border style as well */
}

#starting-position,
#results-per-page {
  width: 20% !important;
  /* Force a smaller width */
}

.dashboard-results {
  margin: 0.05rem 0;
}

.barcode-queue-pagination-controls {
  margin-top: 15px;
  text-align: center;
}

.barcode-queue-pagination-controls button {
  margin: 0 5px;
}

.barcode-queue-pagination-controls input {
  margin-left: 10px;
  width: 50px;
}

#barcode-queue-table-filter-options label {
  margin-right: 15px;
  /* Adjust the spacing as needed */
}

.pagination-jump {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

#jump-to-page {
  width: 60px;
  margin-right: 5px;
}

.BarcodeTxtInput {
  display: none;
}

.BarcodeUploadButton {
  display: none;
}
.header-U_EMAIL {
  width: 200px !important;
}

.table-responsive.transfer-table-bordered-custom {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 1rem;
}

.small-dropdown {
  width: 400px;
  height: 35px;
}

.toggle-symbol {
  cursor: pointer;
  color: black !important;
  font-size: .9rem;
  font-family: "Brush Script MT";
}

body[data-bs-theme="light"] .toggle-symbol {
  cursor: pointer;
  color: black !important;
  font-size: .9rem;
  font-family: "Brush Script MT";
}

body[data-bs-theme="dark"] .toggle-symbol {
  cursor: pointer;
  color: white !important;
  font-size: .9rem;
  font-family: "Brush Script MT";
}

.toggle-symbol:focus {
  outline: 2px solid #0000ff;
  /* Visible focus indicator */
}
.header-formatting {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}
.password-reset-input {
  width: 20%;
}
.login-input {
  width: 100%;
}
.export-checkbox-wrapper {
  width: 250px;
  margin: 5px;
  display: flex;
  align-items: center;
}
.export-checkbox-wrapper input {
  margin-right: 5px;
}
#export-fields-order {
  border: 1px solid #ccc;
  padding: .8rem;
  min-height: 50px;
  width: 300;
  margin-left: 10px;
}

.draggable-item {
  padding: .4rem;
  margin: .4rem 0;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: grab;
}
.draggable-item:active {
  cursor: grabbing;
}
.disable-pointer-event {
  pointer-events: none;
}
.managefields-fields-view {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: .7rem;
  margin-top: 1rem;
}

.managefields-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.managefields-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .4rem;
  padding: .4rem .7rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.managefields-list-item button {
  margin-left: 10px;
}

.managefields-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 1.2rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.managefields-modal-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.managefields-modal-content button {
  align-self: flex-end;
}

.managefields-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
#fields-parent-container {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  box-sizing: border-box;
}
.current-user-info {
  padding-right: 1.8rem;
}
.form-wrapper-login {
  width: 75%;
  max-width: 20rem;
  margin: 0 auto;
}
textarea {
  white-space: nowrap !important;
  overflow: hidden !important;
  resize: none !important; /* Prevents manual resizing */
}
.loading-container {
  display: flex;
  justify-content: center;  /* Centers horizontally */
  align-items: center;  /* Centers vertically */
  height: 100vh;  /* Takes full viewport height */
}
#barcode-queue-table-pagination {
  display: flex;
}
.remove-icon:hover {
  cursor: pointer;
}

/* Apply to all scrollbars globally */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* WebKit-based browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

*::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

*::-webkit-scrollbar-button {
  background-color: #ccc;
  border-radius: 6px;
  width: 20px;
  height: 20px;
}

*::-webkit-scrollbar-button:vertical:start {
  content: "↑";
}

*::-webkit-scrollbar-button:vertical:end {
  content: "↓";
}

.history-search-transfer-containers {
  display: flex;
  align-items: center;
}
.history-search-transfer-containers button {
  height: 1.5rem;
  font-size: 0.8rem;
}
#searchInfo {
  font-size: 1rem !important;
}
#cancelSearch {
  width: 6rem;
}
.help-icon {
  height: 1.3rem;
  width: 1.3rem;
}
.instructions-screenshot {
  height: 35rem;
  width: 150rem;
}
.custom-wrap {
  white-space: pre-wrap !important;
  overflow: auto !important; 
  height: 5rem;
}
.address-wrapper{
  position: absolute;
}
.address-dropdown{
  position: relative;
}
#instructions-sticky-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 900;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    height: 14rem;
    overflow-y: auto;
    overflow-x: hidden;
}
#sticky-header-padding {
  scroll-padding-top: 15rem;
  scroll-behavior: smooth;
}
.src-customer-instructions-button {
  font-size: .8rem;
  padding: 0px .4rem;
  height: 1.2rem;
  width: 15rem !important;
  white-space: normal;
  border: none;
  background:rgb(13, 110, 253) !important;
}
.transfer-list-table-type {
  width: 10rem;
}
.transfer-list-table-barcode {
  width: 10rem;
}
.transfer-list-table-scan-time {
  width: 25rem;
}
.fixed-table {
  height: 40rem;
  display: block;
  overflow: hidden;
}

.fixed-table table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.fixed-table tbody tr {
  height: 8rem;
}

.fixed-table td, 
.fixed-table th {
  max-width: 12rem;
  overflow: hidden;
  padding: 0.5rem;
  vertical-align: top;
}

.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.2rem;
  max-height: 3.6rem;
  -webkit-line-clamp: 3;
}
#CRUD-buttons {
  display: block;
  width: 100%;
  overflow: visible;
}
.resource-container-scrollable-transfer {
  /*max-height: 55rem;*/
  max-width: 100%;
  overflow: auto;
  margin: 0rem auto !important;
  margin-top: 0rem;
  border-top: 0.1px solid #766a68;    
  border-bottom: 0.1px solid #766a68;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}
#scroll-container {
  scroll-behavior: smooth;
}
.logout-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.logout-modal-overlay.active {
  display: flex;
}
.logout-modal-content {
  background: #fff;
  padding: 1.5rem;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logout-modal-buttons {
  text-align: right;
  margin-top: 1rem;
}

.logout-modal-buttons button + button {
  margin-left: 0.5rem;
}
.barcode-options {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.override-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.delimiter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delimiter-input {
    width: 3rem;
    height: 1.5rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.dashboard-input-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 13rem));
  gap: 0.5rem 0.8rem;
  min-height: auto;
}

.dashboard-input-fields input,
.dashboard-input-fields select,
.dashboard-input-fields textarea {
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.4rem 0.5rem;
  min-height: 1.7rem;
}

.dashboard-input-fields label,
.dashboard-search-labels {
  font-size: 0.8rem;   
  font-weight: 400;
}

/* Slightly more breathing room on very small screens */
@media (max-width: 576px) {
  .dashboard-input-fields {
    gap: 0.6rem 0.9rem;
  }
}

.dashboard-input-fields.row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.dashboard-input-fields.row > * {
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--modal-overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--modal-z);
}

.app-modal {
  background: var(--modal-bg);
  color: var(--modal-fg);
  padding: var(--modal-padding);
  border-radius: var(--modal-radius);
  max-width: var(--modal-max-w);
  min-width: var(--modal-min-w);
  box-shadow: var(--modal-shadow);
  word-break: break-word;
  border: var(--modal-border);
  outline: none;
}

.app-modal--error {
  background: var(--modal-error-bg);
  border: var(--modal-error-border);
}

.app-modal__title {
  margin: 0 0 .5rem 0;
  font-size: var(--modal-title-size);
}

.app-modal--error .app-modal__title {
  color: var(--modal-error-title);
}

.app-modal__body {
  margin: 0 0 1rem 0;
  white-space: pre-wrap;
}

.app-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--modal-gap);
}

.app-modal :is(button,[href],[tabindex]:not([tabindex="-1"])):focus {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .app-modal {
    transform: translateY(2px);
    opacity: 0;
    animation: app-modal-in .12s ease-out forwards;
  }
  @keyframes app-modal-in {
    to { transform: translateY(0); opacity: 1; }
  }
}
#user-workspace-table tr {
  border: none !important;
}
#user-workspace-table th {
  white-space: normal !important;
  font-size: .8rem;
}

#user-workspace-table td {
  white-space: normal !important;
  font-size: .8rem; 
}
#user-workspace-table { 
  table-layout: auto !important; 
}
.body-no-x-overflow {
  overflow-x: hidden;
}