@font-face {
	font-family: "NeoSansProMedium";
	src:
		url("/PenOrder/faces/javax.faces.resource/resources/css/fonts/85588158313378a1efcb0139ab3c9962.woff?ln=xpertivy-14105-webContent&xv=293522562000")
		format("woff");
}

#scanner-header {
  position: fixed;
  height: 93px;
  background-color: rgb(24, 83, 129);
  width: 100%;
  left: 0;
  top: 0;
  z-index: -10;
}

.cur-header .ui-button-icon-left.ui-icon.fa-chevron-left {
	left: 18.58px;
}

body .fa-plus-circle-box {
	border-radius: 50%;
	width: 30px;
	height: 30px;
	right: 20px;
	padding: 6px;
	position: fixed;
}

html, body {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: auto;
	font-family: NeoSansProMedium;
}

body form {
	margin-left: 20px;
	margin-top: 20px;
	flex-direction: column;
	padding-bottom: 80px;
}


body .cur-back-button {
	margin-right: 20px;
	aspect-ratio: 1;
}

body .cur-user-name {
	color: white;
	font-weight: normal;
	display: flex;
	margin-left: auto;
	margin-right: 10px;
	padding-inline: 10px;
}

body .cur-upper-button-small {
    display: flex;
    align-items: center;
    padding-right: 20px;
    justify-content: space-between;
}

.scandit .scandit-viewfinder {
	z-index: 0 !important;
}

body .cur-menu-button {
	display: block;
}

body .cur-lan-button {
	max-width: 50px;
	width: 15px;
}

body .cur-table-trash-button {
	margin-left: auto;
}

.cur-price-delete-cell {
	display: flex;
	align-items: center;
}

body .cur-anzahl-content-collapsible {
	display: inline-flex;
	width: 100%;
}

body .ui-datatable .ui-selection-column .ui-chkbox-all {
	width: initial;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-right: 7px;
}

.flexBetween {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

body .ui-menu-dynamic {
	width: 90% !important;
	max-width: 290px !important;
}

body .penorder-mylist-page-title {
	display: flex;
	align-items: center;
	margin-left: 10px;
	padding-right: 20px;
	justify-content: space-between;
	padding-top: 10px;
	padding-bottom: 10px;
}

body .cur-menu-item-button {
	position: fixed;
	bottom: 10px;
	z-index: 1000;
	left: 50%;
	transform: translateX(-50%);
	width: 50px !important;
	height: 50px !important;
	border-radius: 50%;
}

body .cur-page-title {
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: large;
	display: block;
}

body .cur-page-field-description {
	margin-right: 15px;
	font-weight: bold;
}

body .cur-increment-button {
	background: gray;
}

body .cur-page-field-input {
	width: 130px;
}

body .cur-buttton-box-lower {
	position: fixed;
	bottom: 65px;
	display: inline-flex;
	list-style-type: none;
	padding-right: 40px;
	width: 100%;
	right: 0px;
	justify-content: space-between;
}

body .cur-order-list-box {
    margin-right: 20px;
    margin-top: 20px;
}

body .ui-column-title {
	font-weight: bold;
}

body .cur-button {
	margin-bottom: 10px;
}

body .cur-stackable-button {
	margin-right: 10px;
	margin-bottom: 10px;
	width: 230px;
}

body .cur-commit-button {
	background-color: rgb(24, 83, 129);
	border-bottom-color: rgb(255, 255, 255);
	border-bottom-left-radius: 19px;
	border-bottom-right-radius: 19px;
	border-bottom-style: none;
	border-bottom-width: 0px;
	border-image-outset: 0;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
	border-left-color: rgb(255, 255, 255);
	border-left-style: none;
	border-left-width: 0px;
	border-right-color: rgb(255, 255, 255);
	border-right-style: none;
	border-right-width: 0px;
	border-top-color: rgb(255, 255, 255);
	border-top-left-radius: 19px;
	border-top-right-radius: 19px;
	border-top-style: none;
	border-top-width: 0px;
	box-shadow: rgba(0, 0, 0, 0) 2px 2px 11px 0px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: inline-block;
	font-family: "NeoSansProMedium", sans-serif;
	font-size: 14px;
	font-weight: 500;
	height: 34px;
	line-height: 35px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	overflow: visible;
	overflow-x: visible;
	overflow-y: visible;
	padding-bottom: 0px;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 0px;
	text-align: center;
	text-transform: uppercase;
	transition-delay: 0s, 0s, 0s, 0s;
	transition-duration: 0.15s, 0.15s, 0.15s, 0.15s;
	transition-property: color, background-color, border-color, box-shadow;
	transition-timing-function: ease-in-out, ease-in-out, ease-in-out,
		ease-in-out;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
	-moz-appearance: button;
}

body .cur-commit-button:focus {
	background-color: #0069d9;
}

/* On mouseover */
.cur-commit-button:hover {
	background-color: #3cb7e0;
}

.cur-commit-button:active {
	background-color: #0a2438;
}

.cur-commit-button:focus, .cur-commit-button:active {
	background-color: #0a2438;
}

.cur-logo {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	max-height: 50px;
	max-width: 100%;
}

.cur-header {
	background: rgb(24, 83, 129);
	margin-left: -20px;
	margin-top: -20px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 20px;
}

body .cur-upper-button-small {
    display: flex;
    align-items: center;
    padding-right: 20px;
    justify-content: space-between;
    padding-bottom: 10px;
}

.cur-section {
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 0px;
}

.cur-form {
	box-sizing: border-box;
	color: rgb(65, 65, 65);
	float: left;
	font-family: "GalaxiePolarisBook", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 16.25px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	text-align: left;
	width: 366.1px;
}

.cur-form-control-label {
	box-sizing: border-box;
	clear: both;
	color: rgb(24, 83, 129);
	display: inline-block;
	font-family: GalaxiePolarisBook, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 16.25px;
	margin-bottom: 8px;
	margin-top: 10px;
	padding-top: 10px;
	text-align: right;
	text-transform: none;
}

.cur-form-control {
	background-attachment: scroll;
	background-clip: border-box;
	background-color: rgb(255, 255, 255);
	background-image: none;
	background-origin: padding-box;
	background-position: 0% 0%;
	background-position-x: 0%;
	background-position-y: 0%;
	background-repeat: repeat;
	background-size: auto;
	border-bottom-color: rgb(187, 187, 187);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-style: solid;
	border-bottom-width: 0.566667px;
	border-image-outset: 0;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
	border-left-color: rgb(187, 187, 187);
	border-left-style: solid;
	border-left-width: 0.566667px;
	border-right-color: rgb(187, 187, 187);
	border-right-style: solid;
	border-right-width: 0.566667px;
	border-top-color: rgb(187, 187, 187);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-top-style: solid;
	border-top-width: 0.566667px;
	box-sizing: border-box;
	color: rgb(139, 139, 139);
	display: block;
	font-family: GalaxiePolarisBook, sans-serif;
	font-size: 12px;
	font-weight: 700;
	height: 34px;
	line-height: 17.5667px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	overflow: visible;
	overflow-x: visible;
	overflow-y: visible;
	padding-bottom: 7px;
	padding-left: 8px;
	padding-right: 14px;
	padding-top: 7px;
	text-align: start;
	transition-delay: 0s, 0s;
	transition-duration: 0.15s, 0.15s;
	transition-property: border-color, box-shadow;
	transition-timing-function: ease-in-out, ease-in-out;
	width: auto;
	max-width: 400px;
}

.cur-form-control:hover {
	box-shadow: rgba(24, 83, 129, 0.97) 0px 0px 4.84586px 0px;
}

.cur-form-control:active {
	box-shadow: rgba(24, 83, 129, 0.97) 0px 0px 4.84586px 0px;
}

.cur-form-control:focus {
	box-shadow: rgba(24, 83, 129, 0.97) 0px 0px 4.84586px 0px;
}

.cur-content {
	display: grid;
	width: 100%;
}

.cur-text-content {
	text-align: center;
	font-family: "GalaxiePolarisBook", sans-serif;
	font-size: 0.8125rem;
	color: #414141;
	line-height: 1.25em;
	width: 100%;
}

.cur-footer {
	position: fixed;
	background-color: rgb(24, 83, 129);
	box-sizing: border-box;
	color: rgb(65, 65, 65);
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	font-family: NeoSansProMedium;
	font-size: 13px;
	font-weight: 400;
	line-height: 16.25px;
	text-align: center;
	bottom: 0px;
	width: 100%;
	z-index: 999;
	margin-top: auto;
}

.cur-footer-content {
	text-align: center;
	margin: auto;
	padding-top: 25px;
	padding-bottom: 10px;
}

.cur-table {
	width: 100%;
	font-family: "GalaxiePolarisBook", sans-serif;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button
	{
	-webkit-appearance: none;
	margin: 0;
}

button {
	border: none !important;
	box-shadow: 0 3px 10px rgb(0 0 0/ 0.2);
}

body .ui-datatable .ui-datatable-data>tr.ui-state-highlight {
	background: none;
	color: #69707A;
}

.icon-scanner {
	background: url("/PenOrder/faces/javax.faces.resource/layouts/images/scanner.svg?ln=xpertivy-14105-webContent&xv=293522562000") no-repeat
		center center;
	background-size: contain;
	width: 20px;
	height: 20px;
	filter: brightness(0) invert(1); /* Optional: makes the icon white */
	background-position: calc(50% - 1px) calc(50% - 0.5px);
	/* Moves the icon slightly up and to the left */
}

.fa-qrcode {
	font-size: 20px;
}

.cur-collapsible-column1 {
	width: 50%;
	min-width: 250px;
}

.cur-collapsible-column2 {
	width: 15%;
	min-width: 250px;
}

.cur-collapsible-column3 {
	width: 10%;
	min-width: 250px;
}

.loader-scanner-container {
	font-size: 1.5rem;
	color: #333;
	text-align: center;
	margin-block: 6rem;
	place-self: center;
}

#scrollToTopBtn {
	display: none;
	position: fixed;
	bottom: 40px;
	right: 30px;
	z-index: 99999;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: red;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
}
/* General label styling */
.status-label {
	padding: 5px 10px;
	border-radius: 5px;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 155px !important;
    display: inline-block;
}
/* Green label for ACTIVE (status = 1) */
.status-label.green {
	background-color: #28a745; /* Green background */
	color: white;
	border: 2px solid #218838; /* Darker green border */
}
/* Red label for other statuses */
.status-label.red {
	background-color: #dc3545; /* Red background */
	color: white;
	border: 2px solid #c82333; /* Darker red border */
}

.status-label.light-red {
	background-color: #fed2d9; /* Red background */
	color: white;
	border: 2px solid #dc3545; /* Darker red border */
}

/* Gray label for INACTIVE */
.status-label.gray {
	background-color: #6c757d; /* Gray background */
	color: white;
	border: 2px solid #5a6268; /* Darker gray border */
}

.storage-collapsible-column-5 {
	min-width: 122px;
	width: 122px;
}
/*-------------------------------------------------------------*/
body .cur-button-big {
	display: flex;
	justify-content: space-around;
	align-items: center;
	position: fixed;
	bottom: 10px;
	width: 90%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
}
/* Ensure buttons are fixed in size */
body .cur-button-big>button, body .cur-button-big>.button-placeholder {
	left: 0.1vw;
	width: 50px !important;
	height: 50px !important;
	border-radius: 50%;
	flex: none;
}
/* Hide the third button instead of removing it */
#isScanning {
	visibility: hidden;
}
/* Placeholder div to maintain space when third button disappears for scanner*/
.button-placeholder {
	visibility: hidden;
}
/*-------------------------------------------------------------*/
/*Used for the phone reflow datatable view */
.ui-reflow-label {
	margin-top: 5px !important;
	margin-left: 10px !important;
}

/*scandit scanner div*/
.scandit .scandit-barcode-picker {
	height: 37vh;
	max-height: 40vh;
	border: 1px solid gray;
}
/*-------------------------------------------------------------*/
/*Media queries*/
@media (max-width: 376px) {
#scanner-header {
	height: 77.6667px;
	}
	body #penorder-scanner-form  {
  	margin-left:0px;
  	}
}

@media (max-width: 638px) {
#scanner-header {
	height: 78.4px;
	}
	body #penorder-scanner-form  {
 	margin-left:0px;
  	}
}

@media (max-width: 999px) {
body #penorder-scanner-form  {
  margin-left:0px;
  }
}


@media ( max-width : 375px) {
	body {
		font-size: 11px !important;
	}
	.cur-form-control-label, .ui-column-title {
		font-size: 10px !important;
	}
	.scandit .scandit-barcode-picker {
		height: 30vh;
		max-height: 30vh;
	}
}

@media ( max-width : 445px) {
	body {
		font-size: 11px !important;
	}
	.cur-form-control-label, .ui-column-title {
		font-size: 12px !important;
	}
}

@media ( max-width : 480px) {
	body .ui-menu.ui-menu-dynamic.ui-widget.ui-widget-content.ui-corner-all.ui-helper-clearfix.ui-shadow
		{
		left: 50% !important;
		transform: translateX(-50%) !important;
		position: fixed;
	}
	.flexBetween {
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		gap: 8px;
	}
	body {
		font-size: 12px !important;
	}
	.cur-form-control-label, .ui-column-title {
		font-size: 13px !important;
	}
}

/* Hide last column delete button on mobile */
@media ( max-width : 640px) {
	.delete-btn-last {
		display: none !important;
	}
	/* Ensure first-column delete button is shown on mobile */
	.delete-btn-first {
		display: inline-flex !important;
	}
	.first-column {
		display: flex;
		justify-content: space-between; /* Pushes content to opposite sides */
		align-items: center; /* Keeps everything aligned vertically */
		width: 100%;
	}
	.product-number {
		flex-grow: 1; /* Allows text to take available space */
		text-align: left; /* Ensures text aligns like other columns */
	}
	.scandit .scandit-barcode-picker {
		height: 35vh;
		max-height: 35vh;
	}
}
/* Ensure desktop shows the last column delete button and hides the first-column one */
@media ( min-width : 641px) {
	.delete-btn-first {
		display: none !important;
	}
	.delete-btn-last {
		display: inline-flex !important;
	}
}

@media ( max-width : 640px) {
	body .cur-user-name {
		font-size: 0.8125rem;
	}
	.cur-logo {
		height: 35px;
		object-fit: contain;
	}
	body .ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title
		{
		display: block;
		margin-bottom: 0px;
	}
	body .ui-datatable tbody tr td[role="gridcell"] {
		padding: 0.5em 0.8em 0.257em;
	}
	body .ui-datatable-reflow .ui-datatable-data td[role="gridcell"]:not(.ui-helper-hidden)
		{
		display: flex;
	}
	body .cur-position-price {
		min-width: 120px;
	}
	body .cur-anzahl-full-row {
		padding-bottom: 10px !important;
	}
	body .cur-footer {
		display: block;
	}
}

@media ( min-width : 1000px) {
	.scanner-pannel {
		max-width: 800px;
		margin-inline: auto;
	}
}

@media ( min-width : 1200px) {
	.scanner-pannel {
		max-width: 1000px;
	}
}

@media ( max-width : 1300px) and (min-width: 640px) {
	body .cur-collapsible-column1 {
		width: 35% !important;
		min-width: 50px !important;
	}
	body .cur-collapsible-column3 {
		width: 20% !important;
		min-width: 250px !important;
	}
}
/*-------------------------------------------------------------*/