.component {
	outline: solid 1px #BBBBBB;
	box-shadow: 0px 5px 10px -5px #444444;
	margin: 10px 0 0 0;
	padding: clamp(10px, 3vw, 15px) 15px;
	height: fit-content;
	background-color: #FFF;
}

.pageHeader {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	position: sticky;
	top: 0px;
	z-index: 10;
}

.pageHeader-search {
	font-size: min(4vw, 16px);
	margin-right: 15px;
	flex-shrink: 1;
}

.pageHeader-pagination {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: baseline;
	flex-shrink: 0;
}

.pageHeader-status {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: baseline;
	flex-shrink: 0;
}

.pageHeader-label {
	font-size: min(4vw, 16px);
}

.orderDetails {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-between;
	padding: 0 5px;
	color: #555;
	font-size: clamp(12px, 3vw, 16px);
}

.orderDetails-label {
	font-size: clamp(10px, 3vw, 16px);
}

.orderHistory-list-item {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	background-color: whitesmoke;
}

.orderHistory-list-item-desc {
	flex-shrink: 1;
	min-width: 80px;
}

.orderHistory-list-item-img {
	flex-shrink: 0;
	width: clamp(100px, 30vw, 120px);
	min-width: 80px;
	aspect-ratio: 40 / 25;
	background-repeat: no-repeat !important;
	background-size: 100% !important;
	background-position: center !important;
	margin-right: 15px;
}

.orderHistory-groupLabel {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	font-weight: bold;
	font-size: clamp(12px, 3vw, 16px);
	margin-bottom: 0px;
}

.orderHistory-itemLabel {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	font-size: clamp(14px, 4vw, 18px);
	margin-bottom: 0px;
}

.orderHistory-itemNo {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	word-break: break-all;
	text-overflow: ellipsis;
	font-size: clamp(10px, 3vw, 16px);
	margin-bottom: 0px;
	color: #555555;
}

.orderHistory-qty {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: baseline;
	margin-bottom: 0px;
}

.orderHistory-qty-label {
	font-size: min(4vw, 16px);
	color: #555555;
	margin: 0 15px 0 0;
}

.orderHistory-qty-amount {
	font-size: min(4vw, 16px);
	margin: 0 15px 0 0;
}

.orderHistory-calc {
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0px;
	align-items: flex-end;
}

.orderHistory-calc-summary {
	width: 100%;
	max-width: 400px;
}

.orderHistory-custDetails {
	position: sticky;
	top: 0px;
	z-index: 10;
	background-color: #FFF;
}

#custDetails {
	cursor: default;
}

#custDetails:hover {
	outline: 0;
	box-shadow: none;
	background-color: whitesmoke;
}

.orderHistory-calc-label {
	font-size: clamp(12px, 3vw, 14px);
	color: #777;
}

.orderHistory-calc-amount {
	text-align: right;
	font-size: clamp(14px, 4vw, 18px);
	color: #777;
}

.orderHistory-price {
	font-weight: bold;
	font-size: clamp(12px, 3vw, 20px);
	margin-bottom: 0px;
	color: var(--bs-primary);
}

.orderHistory-price-label {
	font-size: clamp(10px, 3vw, 14px);
}

.orderHistory-itemDisc {
	font-size: clamp(12px, 3vw, 16px);
	margin: 0px;
}

.orderHistory-oriPrice {
	text-decoration: line-through;
	font-weight: 600;
	color: #999;
}

.orderHistory-discLabel {
	font-weight: 600;
	color: whitesmoke;
	background-color: #f74821;
	border-radius: 0.35vw;
	padding: 0 5px;
}

.extra {
	justify-content: space-between;
	font-size: min(4vw, 16px);
	color: #555555;
	cursor: default;
}

.link {
	cursor: pointer;
}

.link:hover {
	text-decoration: underline;
}

.orderTotal {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	background-color: #F0F0F0;
	padding: 5px 0.75rem;
}

.orderTotal-qty-label {
	font-size: min(4vw, 16px);
	color: #555555;
	margin: 0 15px 0 0;
}

.orderTotal-price {
	font-weight: bold;
	font-size: clamp(16px, 4vw, 22px);
	margin-bottom: 0px;
	color: var(--bs-primary);
}

.orderTotal-price-label {
	font-size: clamp(10px, 3vw, 16px);
}

.printBtn {
	width: 100%;
	max-width: 400px;
	margin: 15px 0 0 0;
	background-color: var(--bs-primary);
	color: whitesmoke;
}

.cancelBtn {
	width: 100%;
	max-width: 400px;
	margin: 2px 0 0 0;
	background-color: var(--bs-danger);
	color: whitesmoke;
}

.Completed {
	display: inline-block !important;
	font-weight: bold;
	color: var(--bs-success);
}

.Pending {
	display: inline-block !important;
	font-weight: bold;
	color: var(--bs-orange);
}

.Ongoing {
	display: inline-block !important;
	font-weight: bold;
	color: var(--bs-teal);
}

.Cancelled {
	display: inline-block !important;
	font-weight: bold;
	color: var(--bs-danger);
}

.orderDiv {
	margin: 0.5rem;
	color: white;
}

.itemRemoved {
	display: flex;
	position: absolute;
	left: 0;
	top: 0;
	border-radius: inherit;
	width: 100%;
	height: 100%;
	opacity: 0.75;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	font-weight: 600;
	color: darkred;
	background-color: #DDD;
	cursor: not-allowed;
}

.relatedDocs {
	cursor: pointer;
	color: var(--bs-success);
	opacity: 0.75;
}

.relatedDocs:hover {
	opacity: 1;
}

@media (max-width: 466px) {
	.orderHistory-qty-label {
		display: none !important;
	}

	.orderTotal-qty-label {
		display: none;
	}
}

.modal {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: rgba(100, 100, 100, 0.5);
}

.loading {
	width: 250px;
	height: 200px;
	padding: 0px !important;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	background-color: whitesmoke;
}

.visible {
	display: block !important;
}

.hide {
	display: none !important;
}