.signature-date {
	width: 35%;
}

.signature-name {
	width: 45%;
}

.logoContainer{
    text-align: left; 
	float: left !important;
    width: 100%; 
}

#bulkEdit-modalConfirm-fabricExport,
#bulkEdit-modalConfirm-fabricImport {
	.modal-dialog {
		display: flex;
		justify-content: center;
		margin-top: 10%;

		.modal-content {
			min-width: 80%;
		}
	}
}

.pattern-link:hover{
	text-decoration: underline !important;
}

.error-field{
	color:#F00 !important;
}

.error-box, .error-box > div{
	border-color:#F00 !important;
}

div.modal-dialog {
	max-width: calc(100vw - 20px) !important;
}

/* Center only the Edit COM Request modal (do not affect other modals). */
.modal.com-request-edit-modal-root {
	text-align: center;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	/* Neutralize react-bootstrap scrollbar padding that biases the dialog right */
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.modal.com-request-edit-modal-root .com-request-edit-modal.modal-dialog {
	display: inline-block;
	text-align: left;
	float: none !important;
	width: 96% !important;
	max-width: 96% !important;
	margin: 30px auto !important;
	position: relative;
	left: auto;
	right: auto;
}

.com-request-edit-modal .modal-content {
	width: 100%;
	max-width: 100%;
	/* visible so Reason select menus aren't clipped by the modal shell */
	overflow: visible;
	text-align: left;
}

.com-request-edit-modal .modal-body {
	max-width: 100%;
	overflow: visible;
}

.com-request-edit-modal .com-request-reason-select {
	position: relative;
	z-index: 20;
}

.com-request-edit-modal .fabric-association-sub-table,
.com-request-edit-modal .fabric-association-sub-table td,
.com-request-edit-modal .fabric-association-sub-table th,
.com-request-edit-modal td.sub-grid {
	overflow: visible !important;
}

.com-request-edit-modal .com-request-reason-select .select__menu {
	z-index: 10050;
}

.com-request-edit-modal .panel,
.com-request-edit-modal form {
	max-width: 100%;
}

.com-request-table-scroll,
.modal-body .table-responsive,
.container .table-responsive {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.com-request-edit-modal .modal-body .table-responsive.com-request-table-scroll {
	overflow-x: auto !important;
	overflow-y: visible;
}

.com-request-table-scroll > .table,
.modal-body .table-responsive > .table {
	margin-bottom: 0;
	width: auto;
	min-width: 100%;
}

.com-request-edit-modal .table td select,
.com-request-edit-modal .table td .form-group {
	max-width: 160px;
	margin-bottom: 0;
}

.com-request-resizable-table {
	border-collapse: collapse;
}

.com-request-edit-modal .fabric-association-sub-table {
	width: 100%;
}

.com-request-resizable-th {
	user-select: none;
}

.com-request-col-resize-handle {
	position: absolute;
	top: 0;
	right: -3px;
	width: 7px;
	height: 100%;
	cursor: col-resize;
	z-index: 2;
}

.com-request-col-resize-handle:hover,
.com-request-col-resize-handle:active {
	background: rgba(0, 0, 0, 0.08);
}

.com-request-out-of-sync {
	margin-top: 8px;
	padding: 8px 10px;
	border-radius: 6px;
	background: #fffbeb;
	border: 1px solid #f3e8c8;
	color: #6b5a2e;
	font-size: 11px;
	line-height: 1.35;
}

.com-request-out-of-sync__header {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #8a6d3b;
	cursor: pointer;
	user-select: none;
}

.com-request-out-of-sync__header:hover {
	color: #6b531f;
}

.com-request-out-of-sync__toggle {
	min-width: 12px;
	text-align: center;
	font-size: 13px;
	line-height: 1;
}

.com-request-out-of-sync__icon {
	font-size: 12px;
	color: #c9a227;
}

.com-request-out-of-sync__table {
	margin-top: 8px;
	margin-bottom: 0;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #ede4c8;
	table-layout: fixed;
	width: 100%;
}

.com-request-out-of-sync__table thead th {
	padding: 6px 10px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #7a6a45;
	background: #faf6ea;
	border: none;
	border-bottom: 1px solid #ede4c8;
	vertical-align: middle;
}

.com-request-out-of-sync__table tbody td {
	padding: 8px 10px;
	border: none;
	border-bottom: 1px solid #f3efe3;
	vertical-align: middle;
	color: #4a4a4a;
}

.com-request-out-of-sync__table tbody tr:last-child td {
	border-bottom: none;
}

.com-request-out-of-sync__table tbody tr:hover td {
	background: #faf8f2;
}

.com-request-out-of-sync__field {
	font-size: 12px;
	font-weight: 700;
	color: #5c4a1f;
	width: 28%;
}

.com-request-out-of-sync__value {
	font-size: 11px;
	font-weight: 600;
	color: #8a3b12;
	background: rgba(255, 244, 229, 0.65);
}

.com-request-status-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

.com-request-status-tag--available {
	background: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #b7dfc2;
}

.com-request-status-tag--none {
	background: #f1f1f1;
	color: #6c757d;
	border: 1px solid #d6d6d6;
}

.com-request-option-group-tags {
	margin-top: 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.com-request-option-group-tag {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.5;
	background: #e7f0fb;
	color: #1c5fb0;
	border: 1px solid #bcd6f5;
	white-space: nowrap;
}

.com-request-option-group-tag--out-of-sync {
	background: #fff3cd;
	color: #8a6d3b;
	border: 1px solid #f0ad4e;
}

.com-request-view-fa-btn {
	padding: 3px 9px;
}

.com-request-conflict-details {
	margin-top: 6px;
}

.com-request-conflict-details__button {
	padding: 0;
	font-size: 11px;
	font-weight: 600;
}

.com-request-fa-dialog {
	width: 980px;
	max-width: 96%;
}

.modal.com-request-fa-dialog-root {
	overflow: visible !important;
}

.com-request-fa-dialog .modal-content {
	overflow: visible !important;
}

.com-request-fa-dialog .modal-body {
	overflow: visible !important;
	min-height: 320px;
	padding-bottom: 200px;
}

.com-request-fa-dialog-readonly-alert {
	margin-bottom: 12px;
}

.com-request-fa-dialog-table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
}

div.com-request-fa-dialog-table, .com-request-fa-dialog-table div, .com-request-fa-dialog-table table{
	overflow: hidden !important;
}

.com-request-fa-dialog .fabric-association-sub-table,
.com-request-fa-dialog .fabric-association-sub-table td,
.com-request-fa-dialog .fabric-association-sub-table th {
	overflow: visible !important;
}


.com-request-fa-dialog .fabric-association-sub-table {
	min-width: 100% !important;
}

.com-request-fa-dialog .com-request-reason-select {
	position: relative;
	z-index: 30;
}

.com-request-fa-dialog .com-request-reason-select .select__menu {
	z-index: 10050;
}

/*
 * On React 15 the reason menu renders inline (no portal), so it must be able to
 * overflow the dialog table instead of being clipped. The aggressive
 * "overflow: hidden" applied to every div inside .com-request-fa-dialog-table also
 * clips react-select's own wrapper divs, hiding the open menu — so force the whole
 * reason-select subtree to overflow visible, then restore scrolling on the menu list.
 */
.com-request-fa-dialog .com-request-fa-dialog-table,
.com-request-fa-dialog .com-request-reason-select,
.com-request-fa-dialog .com-request-reason-select div {
	overflow: visible !important;
}

.com-request-fa-dialog .com-request-reason-select .select__menu-list {
	overflow-y: auto !important;
}

.com-request-product-row--active > td {
	background-color: #e7f0fb !important;
}

.com-request-product-row--active-out-of-sync > td {
	background-color: #fff3cd !important;
}

/* Material header menu — primary material navigation (shared across opcos) */
/*
 * Keep this row OUTSIDE Bootstrap `.navbar-collapse.collapse`, which forces
 * `display: block !important` and would defeat a flex row beside the logo.
 */
.material-header-menu__row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
}

/*
 * Full-width header shell: materials row + always-visible secondary band.
 * Separators are thin borders on the secondary band (mockup), not panel elevation.
 */
.navbar.navWithLogo {
	position: relative;
	overflow: visible;
	border-bottom: 0;
	box-shadow: none;
	margin-bottom: 0;
}

.material-header-menu {
	display: block;
	width: 100%;
}

/*
 * Space between shell header (after secondary row) and page content.
 * Applied on the Header element — outside the 34px secondary band.
 * Lane B .sm-ui/.sm-page already supplies ~16px top padding; skip shell gap there
 * so spacing is not doubled.
 */
.body-content > header {
	margin-bottom: 14px;
}

.body-content > header:has(+ .sm-ui) {
	margin-bottom: 0;
}

/*
 * Header-only content band: full shell width with shell padding.
 * Replaces Bootstrap .container here so logo/triggers are left-aligned without
 * globally overriding .container (page/form layouts stay centered).
 */
.material-header-menu__container {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding-left: 24px;
	padding-right: 24px;
}

.material-header-menu__row .logoContainer {
	width: auto !important;
	float: none !important;
	flex: 0 0 auto;
}

/* Legacy flat selector (retained for any remaining MaterialSelector mounts) */
.material-context-selector {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	margin-left: 28px;
	min-height: 40px;
}

.material-context-selector__label {
	color: #9a9a9a;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-right: 16px;
	white-space: nowrap;
	flex: 0 0 auto;
}

.material-context-selector__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	min-width: 0;
}

.material-context-selector__item {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.material-context-selector__link {
	display: inline-block;
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	text-decoration: none;
	padding: 6px 14px;
	margin: 0 2px;
	border-radius: 4px;
	line-height: 1.3;
	white-space: nowrap;
}

.material-context-selector__link:hover,
.material-context-selector__link:focus {
	color: #2f2f2f;
	text-decoration: none;
	background: transparent;
}

.material-context-selector__link--active,
.material-context-selector__link--active:hover,
.material-context-selector__link--active:focus {
	background: #5a5a5a;
	color: #fff;
	text-decoration: none;
}

/* MaterialHeaderMenu — materials band + shared secondary row */
.material-header-menu__nav {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	margin-left: 28px;
}

.material-header-menu__bar {
	display: flex;
	align-items: center;
	min-height: 44px;
	min-width: 0;
}

.material-header-menu__label {
	color: #3d3d3d;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-right: 20px;
	white-space: nowrap;
	flex: 0 0 auto;
}

.material-header-menu__triggers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	min-width: 0;
	gap: 8px;
}

.material-header-menu__trigger-item {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.material-header-menu__trigger {
	display: inline-block;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 3px;
	color: #6a6a6a;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
	padding: 8px 12px;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.12s ease, background 0.12s ease;
}

.material-header-menu__trigger:link,
.material-header-menu__trigger:visited {
	color: #6a6a6a;
	text-decoration: none;
}

.material-header-menu__trigger:hover {
	color: #2f2f2f;
	text-decoration: none;
}

.material-header-menu__trigger:focus {
	color: #2f2f2f;
	outline: 1px dotted #666;
	outline-offset: 2px;
	text-decoration: none;
}

.material-header-menu__trigger:focus:not(:focus-visible) {
	outline: none;
}

.material-header-menu__trigger:focus-visible {
	outline: 1px dotted #666;
	outline-offset: 2px;
}

/* Current material from URL — shared active pill (Textiles / Mesh / Knits / Paints / GC) */
.material-header-menu__trigger--active,
.material-header-menu__trigger--active:link,
.material-header-menu__trigger--active:visited {
	background: #5a5a5a;
	border-radius: 3px;
	color: #fff;
	font-weight: 600;
}

.material-header-menu__trigger--active:hover,
.material-header-menu__trigger--active:focus {
	background: #4a4a4a;
	color: #fff;
	text-decoration: none;
}

/*
 * Always-visible secondary navigation band (context-specific items, shared geometry).
 * Compact ~34px row: HNI accent links / active underline flush to the band bottom.
 */
.material-header-menu__secondary {
	box-sizing: border-box;
	width: 100%;
	background: #fff;
	border-top: 1px solid #d0d0d0;
	border-bottom: 1px solid #d0d0d0;
}

.material-header-menu__secondary-nav {
	display: flex;
	align-items: stretch;
	min-height: 34px;
	padding-top: 0;
	padding-bottom: 0;
}

.material-header-menu__secondary-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	/* Vertical gap only when wrapping; keep 20px horizontal item spacing */
	gap: 0 20px;
	min-width: 0;
	width: 100%;
	min-height: 34px;
}

.material-header-menu__secondary-item {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	max-width: 100%;
	display: flex;
	align-items: stretch;
}

.material-header-menu__secondary-link {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	color: #ee3c24;
	cursor: pointer;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.3;
	min-height: 34px;
	padding: 0;
	border: 0;
	border-bottom: 3px solid transparent;
	text-decoration: none;
	text-transform: uppercase;
	background-color: transparent;
	white-space: nowrap;
	transition: color 0.12s ease, border-bottom-color 0.12s ease;
}

.material-header-menu__secondary-link:link,
.material-header-menu__secondary-link:visited {
	color: #ee3c24;
	text-decoration: none;
}

.material-header-menu__secondary-link:hover {
	color: #c8331f;
	text-decoration: none;
}

.material-header-menu__secondary-link:focus {
	color: #c8331f;
	outline: 1px dotted #666;
	outline-offset: 2px;
	text-decoration: none;
}

.material-header-menu__secondary-link:focus:not(:focus-visible) {
	outline: none;
}

.material-header-menu__secondary-link:focus-visible {
	outline: 1px dotted #666;
	outline-offset: 2px;
}

.material-header-menu__secondary-link--active,
.material-header-menu__secondary-link--active:link,
.material-header-menu__secondary-link--active:visited {
	color: #ee3c24;
	border-bottom-color: #ee3c24;
	font-weight: 400;
}

.material-header-menu__secondary-link--active:hover,
.material-header-menu__secondary-link--active:focus {
	color: #c8331f;
	border-bottom-color: #c8331f;
}

.material-header-menu__empty {
	color: #6a6a6a;
	font-size: 14px;
	margin: 0;
}

/*
 * Legacy secondary navigation bottom separator (Breadcrumb).
 * Global Configuration still mounts MaterialContextualNav as in-page tabs.
 */
.body-content > .breadcrumb-container {
	border-bottom: 1px solid #d0d0d0;
}

@media (max-width: 767px) {
	.modal-dialog {
		width: auto;
		margin: 10px;
	}

	.material-header-menu__row {
		flex-wrap: wrap;
	}

	.material-context-selector {
		margin-left: 0;
		margin-top: 8px;
		width: 100%;
	}

	.material-header-menu__nav {
		margin-left: 0;
		margin-top: 8px;
		width: 100%;
	}

	.material-header-menu__bar {
		flex-wrap: wrap;
	}

	.material-header-menu__label {
		margin-right: 12px;
		margin-bottom: 4px;
	}

	.material-header-menu__triggers {
		flex-wrap: wrap;
	}

	.material-header-menu__secondary-list {
		gap: 0 16px;
	}

	.material-header-menu__secondary-link {
		white-space: normal;
	}
}

