/* Optional: Add some basic styling */
@media print {
	.noprint { display: none; }
}
.hidden {
	display: none !important;
}
html {
	height:100%;
}
body {
	font-family: Arial, sans-serif;
	height: 100%;
	display: grid;
	grid-template-rows: min-content auto min-content;
	margin: 0px;
}
table.normal {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}
.thin {
	width: 300px;
}
.normal th, .normal td {
	border: 1px solid #dddddd;
	padding: 8px;
	text-align: left;
}
.thin th, .thin td {
	padding: 2px;
}
.normal th {
	background-color: #f2f2f2;
}
.normal tr:nth-child(even) {
	background-color: #f9f9f9;
}
#top-div {
	margin-left: 5px;
	margin-right: 5px
}
#maindiv {
}
#orderNo {
	height: 100%;
}
#status-bar {
	background-color: #333; /* Background color of the status bar */
	color: #fff; /* Text color */
/*	position: fixed; /* Fixed position at the bottom */
/*	bottom: 0; /* Stick to the bottom of the viewport */
/*	width: 100%; /* Full width */
	padding: 10px; /* Padding for content inside the status bar */
	text-align: center; /* Center-align text */
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3); /* Optional: Adds a shadow below the status bar */
}
#status-bar span {
	margin: 0 10px; /* Add some space between elements */
}

.navbar {
	background-color: #333;
	overflow: hidden; /* Clear floats */
	margin-bottom: 10px;
}

.navbar a {
	float: left; /* Float the links to create a horizontal layout */
	display: block; /* Make the links block-level to occupy full width */
	color: #fff;
	text-align: center; /* Center-align text */
	padding: 14px 20px; /* Padding inside each link */
	text-decoration: none; /* Remove underline from links */
}

.navbar label {
	float: left; /* Float the links to create a horizontal layout */
	display: block; /* Make the links block-level to occupy full width */
	color: #fff;
	text-align: center; /* Center-align text */
	padding: 14px 20px; /* Padding inside each link */
	text-decoration: none; /* Remove underline from links */
}

.navbar select {
	float: left; /* Float the links to create a horizontal layout */
	display: block; /* Make the links block-level to occupy full width */
	text-align: center; /* Center-align text */
	margin-top: 12px;
	text-decoration: none; /* Remove underline from links */
}
.navbar input {
	float: left; /* Float the links to create a horizontal layout */
	width: 100px;
	display: block; /* Make the links block-level to occupy full width */
	text-align: center; /* Center-align text */
	margin-top: 12px;
	text-decoration: none; /* Remove underline from links */
}

.navbar a:hover {
	background-color: #ddd; /* Background color on hover */
	color: #333; /* Text color on hover */
}
.navbar div:hover {
	background-color: #ddd; /* Background color on hover */
	color: #333; /* Text color on hover */
}
.navbar div {
	float: left; /* Float the links to create a horizontal layout */
	display: block; /* Make the links block-level to occupy full width */
	color: #fff;
	text-align: center; /* Center-align text */
	padding: 14px 20px; /* Padding inside each link */
	text-decoration: none; /* Remove underline from links */
}

.disabled {
	pointer-events: none;
	cursor: default;
}

.barcode {
	font-family: "Libre Barcode 39 Text", system-ui;
	font-weight: 400;
	font-style: normal;
	font-size: 60px;
}
.code-128-barcode {
	font-family: "Libre Barcode 128", system-ui;
	font-weight: 400;
	font-style: normal;
	font-size: 40pt;
	padding: 0px 10px 0px 10px;
	max-height: 35px;
	text-align: center;
}
.code-128-text {
	text-align: center;
}


.loader-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.8); /* Optional: semi-transparent background */
}

.loader {
	border: 8px solid rgba(0, 0, 0, 0.1);
	border-left: 8px solid #3498db; /* Color of the spinner */
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.scrolly {
	overflow-y: scroll;
}
.three-grid {
	display: grid;
	grid-template-columns: 300px 300px 300px;
	grid-column-gap: 40px;
	height: max-content;
}
.index-a {
    text-decoration: none;
    color: #fff;
    background: #8BC34A;
    padding: 10px 16px;
    display: inline-block;
    border-radius: 3px;
    transition: 0.3s;
    margin-left: 10px;
    margin-right: 10px;
}
.fabric-barcodes-filter {
	display: grid;
	grid-template-columns: auto auto;
}
.two-column {
	display: grid;
	grid-template-columns: 100px 200px;
}
/*management stuff*/
table.mang {
	border-collapse: collapse;
	width: 100%;
	margin: 20px 0;
	user-select:none;
}
.mang th, .mang td {
	border: 1px solid #000000;
	padding: 8px;
	text-align: left;
}
.mang th {
	background-color: #f2f2f2;
}
.mang button {
	margin: 5px;
	padding: 5px 10px;
}
.mang-selected{
	background-color: #b0ffb0!important;
}
.mang-editable:hover {
	background-color: #f5f5f5;
	cursor: pointer;
}
.brightgreen {
	background-color: #00ff00;
}
.darkerblue {
	background-color: #6ea8ef;
}
.fadedgreen {
	background-color: #b6d7a8;
}
.palegreen {
	background-color: #d9ead3;
}
.fadedblue {
	background-color: #d0e0e3;
}
.darkerbrown {
	background-color: #e69138;
}
.fadedpink {
	background-color: #fce5cd;
}
.pink {
	background-color: #ea9999;
}
.pdateblue {
	background-color: #6d9eeb;
}
.folderpink {
	background-color: #f9cb9c;
}
.orangybrown {
	background-color: #ffd966;
}
.fadedbrown {
	background-color: #ffe599;
}
.lightblue {
	background-color: lightblue;
}
.lightpurple {
	background-color: #ff00ff;
}
.allocationblue {
	background-color: #4a86e8;
}
.onlineturquoise {
	background-color: #00ffff;
}
.desblue {
	background-color: #d9d2e9;
}
.packedpurple {
	background-color: #9900ff;
}
.collectorange {
	background-color: #ff9900;
}
.desblue {
	background-color: #0000ff;
}
.virtual-table {
    width: 100%;
    margin: 0px auto auto 0px;
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
    max-height: 100%;
    height: min-content;
    box-sizing: border-box;
    user-select: none;
}
.virtual-table table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}
.virtual-table  th, .virtual-table  td {
    border: 1px solid black;
    margin: 0px;
    padding: 2px;
    text-align: left;
    overflow: hidden;
    height: 40px;
    min-height: 0px;
    box-sizing: border-box;
}
.virtual-table span {
  display: block;
  height:40px;
  font-size: 14px;
  overflow: hidden;
}
.virtual-table span:focus {
  display: block;
  height: 40px;
  min-width: 100px;
  width: fit-content;
  font-size: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  position: absolute;
  z-index: 100;
  background-color: #b0ffb0!important;
  user-select: text;
  padding: 5px;
  transform: translateY(-20px)
}
.virtual-table  th {
    background-color: #f2f2f2;
    position: sticky;
    top: 0px;
}
.virtual-table > .spacer {
    height: 0; /* Adjusted dynamically */
}

    /* Dim the background */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    /* The popup window itself */
    .popup {
      background: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      max-width: 90%;
      max-height: 90%;
      overflow: auto;
    }
#top-div * {
  margin-top: 4px;
  margin-bottom: 4px;
}
.resizable-column {
	position: absolute;
	right: 0;
	top: 0;
	width: 5px;
	cursor: col-resize;
	user-select: none;
	height: 100%;
	z-index: 1;
}
.bgform-main-div {
	      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;

}
    .bgform-container {
      background-color: #fff;
      padding: 30px 40px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      width: 100%;
      max-width: 400px;
      box-sizing: border-box;
    }

    .bgform-title {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    .bgform-label {
      display: block;
      margin-bottom: 5px;
      color: #555;
    }

    .bgform-input {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-sizing: border-box;
    }

    .bgform-button {
      width: 100%;
      padding: 10px;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    .bgform-footer {
      text-align: center;
      margin-top: 15px;
      font-size: 14px;
      color: #777;
    }

    .bgform-footer a {
      color: #007bff;
      text-decoration: none;
    }

    .bgform-footer a:hover {
      text-decoration: underline;
    }
scans-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1rem 0;
  font-family: Arial, sans-serif;
}

.scans-filter-group label {
  padding-right: 2px;
  font-weight: bold;
  color: #333;
}

.scans-filter-group select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 150px;
  font-size: 14px;
  background-color: #fff;
  cursor: pointer;
}

.scans-filter-group select:hover,
.scans-filter-group select:focus {
  border-color: #007BFF;
  outline: none;
}
