@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300..900;1,300..900&display=swap');

.container-2 .icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%)
}

.angled-frame,
.header_img,
.nav {
	overflow: hidden
}

:root {
	/* ── Brand Primary ─────────────────────────────── */
	--mc-blue: #0073DF;
	--mc-blue-hover: #005FBD;
	--mc-blue-press: #004A93;
	--mc-blue-tint: rgba(0, 115, 223, 0.08);
	--mc-blue-ring: rgba(0, 115, 223, 0.22);
	--mc-navy: #1C3850;
	--mc-navy-hover: #15293B;
	--mc-black: #000000;
	--mc-white: #FFFFFF;

	/* ── Greyscale ─────────────────────────────────── */
	--grey-50: #FAFAFA;
	--grey-100: #F1F1F1;
	--grey-200: #F7F7F7;
	--grey-300: #EDEBEB;
	--grey-400: #DEDDDD;
	--grey-500: #CCCCCC;
	--grey-600: #AEAEAE;
	--grey-700: #848282;
	--grey-800: #5E5E5E;
	--grey-900: #373737;
	--grey-1000: #161616;

	/* ── Utility ───────────────────────────────────── */
	--utility-blue: #5373A6;
	--utility-green: #01761C;
	--utility-red: #CC0000;
	--utility-orange: #D64000;

	/* ── Ink / Text ────────────────────────────────── */
	--fg-1: var(--grey-1000);
	--fg-2: var(--grey-900);
	--fg-3: var(--grey-800);
	--fg-4: var(--grey-700);
	--fg-disabled: var(--grey-600);
	--fg-on-brand: var(--mc-white);
	--fg-link: var(--mc-blue);

	/* ── Surface ───────────────────────────────────── */
	--bg-page: var(--mc-white);
	--bg-app: var(--grey-50);
	--bg-field: var(--grey-100);
	--bg-row-hover: var(--grey-50);
	--bg-elevated: var(--mc-white);

	/* ── Border ────────────────────────────────────── */
	--border-1: var(--grey-300);
	--border-2: var(--grey-400);
	--border-3: var(--grey-500);
	--border-focus: var(--mc-blue);

	/* ── Status ────────────────────────────────────── */
	--status-approved-fg: #01761C;
	--status-approved-bg: rgba(1, 118, 28, 0.10);
	--status-approved-dot: #01761C;
	--status-pending-fg: #D64000;
	--status-pending-bg: rgba(214, 64, 0, 0.10);
	--status-pending-dot: #D64000;
	--status-rejected-fg: #CC0000;
	--status-rejected-bg: rgba(204, 0, 0, 0.10);
	--status-rejected-dot: #CC0000;
	--status-draft-fg: var(--grey-800);
	--status-draft-bg: var(--grey-200);
	--status-draft-dot: var(--grey-700);
	--status-info-fg: #0073DF;
	--status-info-bg: rgba(0, 115, 223, 0.10);
	--status-info-dot: #0073DF;

	/* ── Elevation ─────────────────────────────────── */
	--shadow-sm: 0 1px 2px rgba(28, 56, 80, 0.06);
	--shadow-md: 0 1px 3px rgba(28, 56, 80, 0.08), 0 1px 2px rgba(28, 56, 80, 0.04);
	--shadow-lg: 0 12px 24px -8px rgba(28, 56, 80, 0.12), 0 4px 8px -4px rgba(28, 56, 80, 0.08);
	--shadow-focus: 0 0 0 3px var(--mc-blue-ring);

	/* ── Radii ─────────────────────────────────────── */
	--radius-sm: 6px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;
	--radius-pill: 999px;

	/* ── Spacing (4px base) ────────────────────────── */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 20px;
	--sp-6: 24px;
	--sp-8: 32px;
	--sp-10: 40px;

	/* ── Typography ────────────────────────────────── */
	--font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--fs-12: 12px;
	--fs-13: 13px;
	--fs-14: 14px;
	--fs-16: 16px;
	--fs-18: 18px;
	--fs-20: 20px;
	--fs-24: 24px;
	--fs-30: 30px;
	--fw-400: 400;
	--fw-500: 500;
	--fw-600: 600;
	--fw-700: 700;

	/* ── Layout ────────────────────────────────────── */
	--header-height: 4rem;
	--nav-width: 64px;
	--nav-expanded-width: 240px;
	--z-fixed: 100;
	--transition: 0.25s ease;

	/* ── Legacy aliases (keeps older rules working) ── */
	--first-color: var(--mc-blue);
	--bs-primary-rgb: 0, 115, 223;
	--second-color: var(--mc-navy);
	--txt-color: var(--fg-1);
	--bs-body-color: var(--fg-2);
	--txt-color-light: var(--fg-3);
	--bs-secondary-color: var(--fg-4);
	--first-color-light: var(--bg-field);
	--white-color: var(--bg-elevated);
	--menu-bg: var(--bg-elevated);
	--bs-table-border-color: var(--border-1);
	--bs-border-color: var(--border-1);
	--border: 1px solid var(--border-1);
	--body-font: var(--font-sans);
	--normal-font-size: var(--fs-14);
	--card-shadow: var(--shadow-md);
	--border-radius: var(--radius-md);
	--color-light-blue: rgba(0, 115, 223, 0.08);
	--color-black: var(--fg-1)
}

body {
	position: relative;
	margin: var(--header-height) 0 0 0;
	font-family: var(--body-font);
	font-size: var(--normal-font-size);
	color: var(--txt-color);
	transition: var(--transition);
	width: 100vw;
	overflow-x: hidden;
}

.progress {
	height: 6px;
	border-radius: 10px;
	margin-top: 8px
}

.strength-text {
	text-align: left;
	font-size: 13px;
	margin-top: 5px;
	font-weight: 500
}

.password-rules {
	text-align: left;
	font-size: 13px;
	padding-left: 10px;
	color: var(--txt-color-light);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 40px
}

.password-rules li {
	list-style: none;
	margin-bottom: 5px
}

.password-rules .valid {
	color: #01761c
}

.password-rules .invalid,
.red {
	color: #c00
}

.text-warning {
	color: var(--utility-orange) !important
}

.txt-light-green {
	color: var(--utility-green) !important
}

.password-rules i {
	font-size: 12px;
	margin-right: 5px
}

.sub-select {
	max-width: 92px;
}

.sub-select+.select2-container {
	max-width: 92px;
	width: 100% !important;
}

.row.g-2:has(.sub-select) {
	flex-wrap: nowrap;
}

.row.g-2:has(.sub-select)>.col-7 {
	flex: 1 1 0;
	width: auto;
	max-width: none;
}

.row.g-2:has(.sub-select)>.col-5 {
	flex: 0 0 auto;
	width: auto;
}

.f-14 {
	font-size: 14px !important
}

.wrap {
	flex-wrap: wrap
}

.form-control::placeholder {
	color: rgba(97, 117, 138, .6);
	opacity: 1
}

.form-control::-ms-input-placeholder {
	color: rgba(97, 117, 138, .6)
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	text-transform: capitalize;
	color: rgba(97, 117, 138, .6);
	font-size: 14px;
	font-family: var(--body-font);
	font-weight: 400
}

a {
	text-decoration: none;
	color: var(--first-color)
}

a:hover {
	text-decoration: underline
}

.menu__link,
.menu__link:hover,
.nav_link:hover,
a.page-link {
	text-decoration: none
}

.form-control:focus,
.form-select:focus {
	box-shadow: none
}

.status-active,
.status-inactive,
.status-pending,
.status-pending-upload {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	min-width: unset;
	padding: 3px 10px;
	border-radius: 999px;
}

.status-active {
	background-color: rgba(1, 118, 28, .1);
	border: 1px solid rgba(1, 118, 28, .1);
	color: #01761c
}

.status-inactive {
	background-color: rgba(204, 0, 0, .1);
	border: 1px solid rgba(204, 0, 0, .1);
	color: #c00
}

.status-pending {
	background-color: var(--status-pending-bg);
	border: 1px solid var(--status-pending-bg);
	color: var(--status-pending-fg)
}

.status-pending-upload {
	background-color: rgba(22, 22, 22, .1);
	border: 1px solid rgba(22, 22, 22, .1);
	color: #5E5E5E
}

.wf-enrichment {
	background-color: rgba(83, 115, 166, .15);
	border-color: rgba(83, 115, 166, .15);
	color: #5373A6;
}

.wf-info {
	background-color: rgba(214, 64, 0, .15);
	border-color: rgba(214, 64, 0, .15);
	color: #D64000;
}

.wf-cancelled {
	background-color: rgba(204, 0, 0, .15);
	border-color: rgba(204, 0, 0, .15);
	color: #CC0000;
}

.wf-approve {
	background-color: rgba(1, 118, 28, .1);
	border-color: rgba(1, 118, 28, .1);
	color: #01761C;
}

.wf-approved {
	background-color: rgba(132, 130, 130, .15);
	border-color: rgba(132, 130, 130, .15);
	color: #848282;
}

#wfActionsMenu {
	min-width: 220px;
	width: max-content;
}

#wfActionsToggle {
	width: fit-content;
	min-width: 110px;
	white-space: nowrap;
}

.datepicker-box {
	width: 100%;
	right: 0;
	margin-top: 8px;
}

.container-2 {
	width: 100%;
	height: 40px;
	white-space: nowrap;
	position: relative
}

.form-control:focus,
.form-select:focus {
	box-shadow: none;
}

mi-date:focus {
	text-transform: uppercase;
}

.container-2 input.th-datepicker,
.container-2 input.th-input,
.container-2 input.th-daterange {
	height: 40px;
	min-width: 150px;
	font-size: 10pt;
	float: right;
	padding-left: 16px;
	border-radius: 5px;
	transition: width var(--transition);
	width: 100%;
	background: #fff;
	border: var(--border);
	color: var(--txt-color);
	padding-right: 30px;
}

.table ::placeholder {
	color: rgba(97, 117, 138, .6);
	opacity: 1;
	text-transform: capitalize;
	font-size: 14px;
	font-family: var(--body-font)
}

.table ::-webkit-input-placeholder,
.table ::-moz-placeholder,
.table ::-moz-placeholder,
.table ::-ms-input-placeholder {
	color: rgba(97, 117, 138, .6);
	text-transform: capitalize;
	font-size: 14px;
	font-family: var(--body-font)
}

.container-2 .icon {
	right: 10px;
	z-index: 1;
	color: var(--txt-color-light)
}

.date-wrapper {
	position: relative;
}

.ph-date {
	color: var(--fg-4);
	cursor: pointer;
}

.mi-date {
	position: absolute;
	inset: 0;
	background: transparent;
	color: transparent;
	caret-color: transparent;
	cursor: pointer;
	text-transform: uppercase;
}

.mi-date::-webkit-calendar-picker-indicator {
	opacity: 1;
	filter: invert(35%);
	cursor: pointer;
}

.ph-date.has-value {
	color: #444;
}

.container-2 input.th-datepicker:active,
.container-2 input.th-datepicker:focus,
.container-2 input.th-input:active,
.container-2 input.th-input:focus {
	outline: 0;
	width: 100%;
	background: #fff;
	border: var(--border);
	color: var(--txt-color);
	padding-right: 30px
}

.container-2:hover input.th-datepicker,
.container-2:hover input.th-input {
	width: 100%;
	background: #fff;
	border: var(--border);
	color: var(--txt-color);
	padding-right: 30px
}

.container-2 input:-internal-autofill-selected,
.container-2 input:-webkit-autofill,
.container-2 input:-webkit-autofill:focus,
.container-2 input:-webkit-autofill:hover,
.container-2 input:autofill {
	background-color: transparent !important
}

.container-2 input:autofill,
.container-2:hover input:-internal-autofill-selected,
.container-2:hover input:-webkit-autofill,
.container-2:hover input:-webkit-autofill:focus,
.container-2:hover input:-webkit-autofill:hover {
	background-color: #fff !important;
	box-shadow: none;
	border: var(--border)
}

.container-2:hover .icon {
	color: var(--fg-4)
}

.btn-icon,
.btn-outline-secondary {
	color: var(--first-color)
}

.border {
	border-color: var(--border)
}

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 30px
}

.slider,
.slider:before {
	position: absolute;
	transition: var(--transition)
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0
}

.slider {
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #f1f3f5;
	border-radius: 34px;
	box-shadow: inset -2px 2px 6px rgba(0, 0, 0, .1)
}

.slider:before {
	content: "";
	height: 25px;
	width: 25px;
	left: 3px;
	bottom: 3px;
	background-color: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2)
}

.btn-primary,
.btn-outline-secondary {
	min-width: 85px;
}

.btn-primary,
.switch input:checked+.slider {
	background-color: var(--first-color)
}

.switch input:checked+.slider:before {
	transform: translateX(20px)
}

.form-check {
	margin-bottom: 0
}

.input-group-text {
	border-radius: 8px
}

.input-group .select2-container--default .select2-selection--single {
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px
}

.btn {
	text-transform: uppercase;
	padding: .5rem 1rem;
	min-height: 48px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px
}

.btn:hover {
	text-decoration: none
}

.btn.filter-tab {
	min-height: 0 !important;
	min-width: 0 !important;
	padding: .25rem .75rem !important;
	font-size: .875rem !important;
	line-height: 1.5 !important;
	border-width: 1px !important;
	font-weight: 500 !important;
}

.btn.btn-sm {
	padding: .25rem;
	min-height: auto
}

.btn-outline-secondary {
	border: var(--border);
	font-weight: 500
}

.btn-icon:hover,
.btn-outline-secondary:hover {
	background-color: var(--first-color);
	border: 1px solid var(--first-color);
	color: #fff
}

body:has(.login-container) {
	background: url("../assets/brand/micro-center-miami-3.png") center bottom/cover no-repeat;
	position: relative;
	margin: 0;
	padding: 0;
	min-height: 100vh;
	width: 100vw;
	overflow-x: hidden;
	display: flex;
	align-items: center;
	justify-content: center
}

.header,
.header-right {
	align-items: center;
	display: flex
}

.header-right .form-select:has(+ .btn) {
	height: 48px
}

body:has(.login-container)::before {
	position: absolute;
	content: "";
	width: 45%;
	height: 100%;
	top: 0;
	right: -5%;
	background: #fff;
	transform: skewX(-10deg);
	/* clip-path:polygon(15% 0,100% 0,100% 100%,100% 100%,0 100%) */
}

.login-container {
	position: relative;
	max-width: 1170px;
	width: 90%;
	border: var(--border);
	margin: 0 auto;
	border-radius: 30px;
	overflow: hidden;
	box-shadow: 00px 0 0 1000px rgba(255, 255, 255, .7)
}

.login-image {
	min-height: 65vh;
	max-height: 95vh;
	border-radius: 30px 0 0 30px;
	border: 20px solid #fff;
	border-right: none
}

.angled-frame {
	width: 100%;
	height: 100%;
	position: relative;
	margin-left: 3%;
	border-radius: 20px
}

.angled-frame::after {
	content: "";
	position: absolute;
	bottom: 0px;
	right: 15%;
	width: 100%;
	height: 100%;
	/* min-height: 65vh; */
	/* max-height: 85vh; */
	background: 0 0;
	transform: skewX(-10deg);
	transform-origin: bottom right;
	border-radius: 30px;
	box-shadow: 0 0 0 4000px #fff
}

.login-form {
	position: relative;
	padding: 40px 40px 40px 0;
	background: #fff;
	min-height: 65vh;
	max-height: 95vh;
	overflow: auto
}

.dp-logo {
	background: var(--first-color);
	padding: 24px;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	margin: 0 auto
}

.header {
	background-color: var(--bg-page)
}

.nav_link.active::before {
	background-color: var(--mc-blue)
}

.nav_link,
.nav_logo {
	margin-bottom: 1.5rem
}

.dp-logo img {
	width: 100%;
	height: auto
}

h1,
h2,
h3,
h4,
h5,
h6,
.login-form h1,
.login-form h2 {
	color: var(--second-color)
}

.text-muted {
	color: var(--txt-color-light);
	font-size: 16px
}

.login-form .btn-social {
	width: 100%;
	border-radius: 8px;
	border: var(--border)
}

.login-form .btn-social img {
	height: 24px
}

.form-control,
.select2-container--default .select2-selection--single {
	border-radius: var(--bs-border-radius);
	font-weight: 500;
	padding: .5rem .75rem;
	border: var(--border);
	font-size: .875rem;
}

.select2-container--default .select2-selection--multiple {
	position: relative;
	border-radius: 8px;
	font-weight: 500;
	border: var(--border)
}

.select2-container--default .select2-selection--multiple::after {
	content: "\F229";
	position: absolute;
	right: 12px;
	top: 22px;
	transform: translateY(-50%);
	font-family: 'bootstrap-icons';
	font-size: 11px;
	color: var(--fg-4)
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple::after {
	content: "\F235"
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: var(--bs-secondary-bg);
	border: var(--border);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: var(--bs-secondary);
	margin-right: 4px
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
	border: 1px solid var(--first-color);
	border-bottom: none
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
	border: 1px solid var(--first-color)
}

.select2-container .select2-selection--single {
	height: auto;
	position: relative
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.5;
	padding-left: 0px;
	padding-right: 20px;
	min-height: 1.5em
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
	width: 24px
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	display: none
}

.select2-container--default .select2-selection--single .select2-selection__arrow::after {
	content: "\F229";
	font-family: 'bootstrap-icons';
	font-size: 11px;
	color: var(--fg-4);
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%)
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
	content: "\F235"
}

.select2-search--dropdown {
	padding: 6px 8px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
	color: #fff;
	background-color: var(--first-color)
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	color: var(--txt-color);
	background-color: var(--bs-gray-300)
}

.select2-dropdown {
	border: 1px solid var(--first-color);
	border-radius: 8px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1)
}

.header {
	width: 100%;
	height: var(--header-height);
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.5rem;
	z-index: var(--z-fixed);
	background: var(--bg-page);
	border-bottom: 1px solid var(--border-1);
	box-shadow: var(--shadow-sm);
	transition: var(--transition)
}

.filter-bar,
.nav_link,
.nav_link.active {
	position: relative
}

.header_img {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: var(--bg-field)
}

.header_img img {
	width: 36px;
	height: 36px;
	object-fit: cover
}

.header-right {
	display: flex;
	align-items: center;
	gap: 12px
}

.header-right .icons-right {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fg-3);
	background: transparent;
	font-size: 18px;
	transition: background var(--transition), color var(--transition)
}

.nav_link.active,
.nav_link:hover {
	background-color: rgba(255, 255, 255, 0.15)
}

.nav_link.active,
.nav_link:hover {
	color: #fff
}

.header-right .icons-right:hover {
	background: var(--mc-blue-tint);
	color: var(--mc-blue)
}

/* ── Sidebar — blue background ────────────────────────────────── */
.l-navbar {
	top: 0;
	left: -30%;
	width: var(--nav-width);
	background-color: var(--mc-blue);
	border-right: none;
	box-shadow: var(--shadow-sm);
	padding: .5rem 0 0;
	transition: var(--transition);
	z-index: 9999;
	overflow: hidden
}

.nav {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between
}

.nav_link,
.nav_logo {
	display: flex;
	align-items: center;
	column-gap: 1rem;
	padding: .75rem 0 .75rem 1.25rem;
	white-space: nowrap;
	overflow: hidden
}

.nav_logo img {
	flex-shrink: 0
}

/* Logo white on blue sidebar */
.l-navbar .logo-icon,
.l-navbar .logo-name {
	filter: brightness(0) invert(1)
}

.logo-icon {
	width: 2rem;
	height: 2rem;
	object-fit: contain
}

.logo-name {
	height: 1.75rem;
	object-fit: contain
}

.nav_logo-icon {
	font-size: 1.25rem
}

.l-navbar .logo-name,
.l-navbar:hover .logo-icon,
.nav_name {
	display: none
}

.l-navbar:hover .logo-name,
.l-navbar:hover .nav_name {
	display: block
}

.nav_link {
	color: rgba(255, 255, 255, 0.75);
	font-size: var(--fs-14);
	font-weight: var(--fw-500);
	transition: background var(--transition), color var(--transition)
}

.nav_link.active::before {
	content: '';
	position: absolute;
	left: 0;
	width: 4px;
	height: 100%;
	border-radius: 0 4px 4px 0;
	background: #fff
}

/* ── Sidebar icons — Lucide SVGs via background-image ─────────── */
.nav_icon {
	font-size: 0 !important;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-block !important;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain
}

/* Products → Lucide "package" */
.nav_list>a:nth-child(1) .nav_icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E")
}

/* Bulk Upload → Lucide "upload-cloud" */
.nav_list>a:nth-child(2) .nav_icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 16 12 12 8 16'/%3E%3Cline x1='12' y1='12' x2='12' y2='21'/%3E%3Cpath d='M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3'/%3E%3C/svg%3E")
}

.l-navbar.show {
	left: 0
}

.body-pd {
	padding-left: calc(var(--nav-width) + 1rem)
}

.height-100 {
	height: calc(100vh - 64px)
}

.filter-search,
.search-bar {
	max-width: 670px;
	min-width: 600px;
	background-color: #fff;
	border-radius: 50px;
	border: var(--border)
}

.filter-search,
.filter-search .form-control:focus,
.filter-search input {
	background: var(--first-color-light)
}

.search-bar .input-group-text {
	border-radius: 50px 0 0 50px
}

.search-bar .form-control {
	border-radius: 0 50px 50px 0 !important;
	box-shadow: none
}

.filter-search {
	border-radius: 8px;
	border: var(--border)
}

.filter-bar {
	display: flex;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: var(--z-fixed);
	transition: var(--transition)
}

.sort-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 6px 15px;
	border: var(--bs-border-width) solid var(--bs-border-color);
	border-radius: var(--bs-border-radius);
	background-color: #fff;
	color: var(--bs-body-color);
	font-size: 1rem;
	cursor: pointer
}

.sort-button:hover {
	background: var(--first-color);
	border: var(--bs-border-width) solid var(--first-color);
	color: #fff
}

.sort-button .bi-filter-left {
	font-size: 1.5rem;
	line-height: 1
}

.sort-button .bi-chevron-down {
	margin-left: 8px
}

.offcanvas-backdrop.show {
	width: 100%
}

.offcanvas.offcanvas-end {
	left: auto
}

.filter-menu {
	position: fixed;
	top: 0;
	left: auto;
	right: 0;
	z-index: 1050;
	width: 300px;
	height: 100vh;
	background-color: #fff;
	padding: 15px 20px 15px 40px;
	box-shadow: -2px 0 5px rgba(0, 0, 0, .1);
	overflow-y: auto
}

.menu__content,
.table_drop_menu__button {
	position: absolute;
	transition: var(--transition)
}

.disabled>.page-link,
.page-link.disabled,
.table_drop_menu__button {
	background-color: transparent
}

.filter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px
}

.filter-section {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: var(--border)
}

.filter-section .btn-link {
	min-height: auto;
	transition: var(--transition)
}

.filter-section .btn-link.collapsed {
	transform: rotate(180deg)
}

.form-check {
	display: flex;
	align-items: center;
	gap: 10px
}

.form-check-label {
	padding-top: 2px
}

.form-check-input {
	border: var(--bs-border-width) solid #5e5E5E99
}

th .form-check-input {
	width: 1.15em;
	height: 1.15em
}

.table>:not(caption)>*>th {
	text-transform: uppercase;
	color: var(--fg-3);
	padding: 1.25rem .5rem;
	font-size: 14px;
	font-weight: 600;
	vertical-align: top !important;
	white-space: nowrap;
	border-bottom: var(--border)
}

.table>:not(caption)>*>th:has(.search-box, .table_drop_menu__button, .datepicker-box) {
	position: relative;
	padding: 1.25rem 1.5rem 1.25rem .5rem
}

.table>:not(caption)>*>th:has(.search-box, .table_drop_menu__button, .datepicker-box) {
	position: sticky;
	padding: 1.25rem 1.5rem 1.25rem .5rem;
}

.fixed-header-table.table>:not(caption)>*>th {
	position: sticky;
	top: 0px;
	z-index: 2;
}

.search-box {
	margin-top: 8px;
}

.table>:not(caption)>*>td {
	padding: .625rem .5rem;
	font-size: 14px
}

.table>:not(caption)>*>td .btn {
	font-size: 1.125rem;
	display: inline-flex;
	color: var(--txt-color)
}

.table>:not(caption)>*>td .btn:hover {
	color: #fff
}

.pagination {
	gap: 10px
}

a.page-link {
	color: var(--txt-color);
	border: transparent;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px
}

.next .page-link,
.prev .page-link {
	width: auto;
	height: auto;
	border-radius: 8px
}

.table_drop_menu__button {
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: var(--txt-color-light);
	font-size: 1.2em;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 600
}

.table_drop_menu__button:hover {
	background-color: var(--color-light-blue)
}

.menu__button-icon {
	width: 1.5em;
	transition: var(--transition)
}

.table_drop_menu__button:hover .menu__button-icon {
	transform: rotate(-180deg)
}

.menu__content {
	width: 100%;
	margin-top: 1.5em;
	border-radius: 8px;
	background: #fff;
	border: var(--border);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	visibility: hidden;
	opacity: 0
}

td .wrap,
td.wrap {
	white-space: break-spaces;
	max-width: 125px
}

th:has(.table_drop_menu__button):hover .menu__content {
	visibility: visible;
	opacity: 1
}

.menu__link {
	display: block;
	padding: .5em 1em;
	margin: .25em .25em 0;
	color: var(--color-black);
	border-left: .125em solid var(--white-color);
	border-radius: 1px
}

.menu__link:last-child {
	margin-bottom: .25em
}

.menu__link:hover {
	background-color: var(--first-color-light);
	border-left-color: var(--first-color)
}

.nav-tabs {
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	height: auto
}

.nav-tabs .nav-link {
	color: var(--txt-color-light);
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition);
	border: none;
	border-bottom: var(--bs-nav-tabs-border-width) solid transparent;
	margin-bottom: 0px
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-tabs:hover .nav-link:hover,
.nav-tabs .nav-link:focus-visible,
.nav-tabs .nav-link:focus {
	color: var(--second-color);
	font-weight: 700;
	outline: none;
	border-bottom: var(--bs-nav-tabs-border-width) solid var(--second-color)
}

.nav-tabs .nav-link.has-error {
	color: var(--utility-red)
}

.nav-tabs .nav-link .tab-error-badge {
	margin-left: 6px;
	vertical-align: 2px;
}

.breadcrumb-item a {
	color: var(--txt-color-light)
}

.breadcrumb-item a:hover {
	color: var(--first-color)
}

.breadcrumb-item.active {
	color: var(--txt-color)
}

.form-label {
	color: var(--txt-color-light)
}

.workflow-card-box {
	position: sticky;
	top: 128px
}

.workflow-card-box .btn.w-50 {
	width: calc(50% - 5px) !important;
}


.workflow-card-box .d-flex.wrap {
	gap: 10px;
}

.workflow-card ul {
	position: relative;
	padding: 10px 0;
	max-height: 415px;
	overflow: auto;
}

.workflow-card ul::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 0;
	width: 1px;
	height: 100%;
	background: var(--bs-table-border-color)
}

.workflow-card ul li {
	display: flex;
	gap: 20px
}

.workflow-card ul li:not(:last-child) {
	margin-bottom: 1rem
}

.flow-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 1.375em;
	padding: 10px
}

.workflow-card h6 {
	font-weight: 600;
	margin-bottom: 0;
	padding-top: 3px
}

.tab-content>.tab-pane {
	width: 100%
}

.prod-img {
	border: var(--border);
	border-radius: 8px
}

.prod-img .img-fluid {
	min-width: 100%;
	min-height: 100%
}

.asset-card {
	border-radius: 10px;
	border: var(--border);
	padding: 20px;
	background: var(--first-color-light);
	height: 100%
}

/* ── Image gallery thumbnail grid ── */
.asset-thumb-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.asset-thumb-item {
	width: 150px;
	flex-shrink: 0;
}

.asset-thumb-img {
	width: 150px;
	height: 150px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--bs-border-color);
	background: var(--bg-field);
}

.asset-thumb-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.asset-thumb-name {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.upload-box {
	position: relative;
	border: 2px dashed var(--border-2);
	border-radius: 12px;
	text-align: center;
	padding: 32px 24px;
	color: var(--txt-color);
	width: 100%;
	clear: both;
	background: var(--bg-app);
	transition: border-color 0.2s, background 0.2s;
	cursor: pointer;
}

.upload-box:hover {
	border-color: var(--mc-blue);
	background: var(--mc-blue-tint);
}

.upload-box.drag-over {
	border-color: var(--mc-blue);
	background: var(--mc-blue-tint);
}

.upload-box .upload-icon {
	width: 48px;
	height: 48px;
	opacity: 0.45;
	margin-bottom: 10px;
}

.upload-box .upload-label {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
}

.upload-box .upload-sub {
	font-size: 13px;
	margin-bottom: 14px;
}

.upload-box-compact {
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-start;
	background: var(--bg-app);
}

.upload-box-compact .btn {
	margin: 0;
}

.file-message {
	font-size: small;
	font-weight: 300;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.file-message:not(:empty) {
	margin-top: 1rem
}

.file-input {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	cursor: pointer;
	opacity: 0
}

.progress,
.progress-bar {
	border-radius: 1rem;
	height: 0.5rem
}

@media screen and (min-width:768px) {
	body {
		margin: calc(var(--header-height) + 1rem) 0 0 0;
		padding-left: var(--nav-width)
	}

	.header {
		height: var(--header-height);
		padding: 0 1.5rem 0 calc(var(--nav-width) + 1.5rem)
	}

	.header_img {
		width: 36px;
		height: 36px
	}

	.header_img img {
		width: 36px;
		height: 36px;
		object-fit: cover
	}

	.l-navbar {
		left: 0;
		padding: .5rem 0 0
	}

	.l-navbar:hover,
	.l-navbar.show {
		width: calc(var(--nav-width) + 200px)
	}

	.body-pd {
		padding-left: calc(var(--nav-width) + 188px)
	}

	.login-container {
		width: 95%;
		max-height: 95vh;
		min-height: 65vh
	}

	body:has(.login-container)::before {
		transform: skewX(-5deg);
	}

	.angled-frame {
		margin-left: 5%
	}

	.angled-frame::after {
		transform: skewX(-5deg)
	}
}

@media only screen and (max-width:600px) {

	.login-image,
	body:has(.login-container)::before {
		display: none
	}

	.login-form {
		padding: 40px 20px
	}
}

.daterangepicker .drp-selected,
.daterangepicker.opensright:before,
.daterangepicker.opensright:after {
	display: none;
}

.daterangepicker.show-calendar .drp-buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
	background-color: var(--first-color);
}

.sort-button.btn-primary {
	background-color: var(--first-color);
	color: #fff;
}

.sort-button.btn-primary:hover {
	color: var(--bs-btn-hover-color);
	background-color: var(--bs-btn-hover-bg);
	border-color: var(--bs-btn-hover-border-color);
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
	display: flex;
	width: 100%;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	min-height: 38px;
	padding: 0 1.75rem 0 .75rem;
	color: var(--bs-body-color);
	appearance: none;
	background-color: var(--bs-body-bg);
	background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
	background-repeat: no-repeat;
	background-position: right .75rem center;
	background-size: 16px 12px;
	border: var(--bs-border-width) solid var(--bs-border-color) !important;
	border-radius: var(--bs-border-radius);
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-selection__clear {
	display: none;
}

ul.select2-container .select2-selection--clearable .select2-selection__rendered {
	display: inline-flex;
	width: 100%;
	flex-wrap: wrap;
	gap: 2px;
	padding: 6px 0;
	margin: 0;
}

.select2-search.select2-search--inline {
	height: 38px;
	display: inline-block;
	align-items: center;
	margin: 0;
	top: 0;
	padding: 10px 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
	font-size: 12px;
}

/* Status and Coord: handled by .card.bg-light rules */

.table-responsive.border-top {
	max-height: calc(100vh - 305px);
	overflow-y: auto;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
	display: none;
}

.toggle-password {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: gray;
	cursor: pointer;
}

.password-wrapper {
	position: relative;
}

div:has(input.password:focus)~.toggle-password,
.toggle-password:hover,
input.password:focus~.toggle-password {
	color: #161616;
}

.prop-details {
	height: 100px;
	overflow-y: auto;
	font-size: 12px;
	line-height: 1.4;
	padding: 8px;
	border: var(--bs-border-width) solid var(--bs-border-color);
	background: var(--bg-app);
	border-radius: 5px;
	position: relative;
	width: 100%;
	margin-top: 8px;
}

.col-lg-4.col-md-6:has(.prop-details) {
	position: relative;
}

.prop-details:after {
	content: "";
	position: absolute;
	top: -5px;
	left: 45px;
	width: 10px;
	height: 10px;
	background: var(--bg-app);
	border-top: var(--bs-border-width) solid var(--bs-border-color);
	border-left: var(--bs-border-width) solid var(--bs-border-color);
	transform: rotate(45deg);
}

.prop-item {
	padding: 8px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
	background: white;
	border-radius: 4px;
	color: var(--bs-secondary-color);
	display: flex;
	flex-wrap: wrap;
	gap: 0 10px;
}

.prop-item:not(:last-child) {
	margin-bottom: 5px;
}

.prop-item .bi-exclamation-triangle {
	font-size: 18px;
	color: var(--utility-orange);
}

.prop-item span {
	width: calc(100% - 28px);
	padding-top: 4px;
}

.prop-item a {
	margin-left: auto;
}

.prop-details:not(.prop-item) {
	display: none;
}

.sortable {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sort-icon {
	font-size: 0 !important;
	line-height: 0;
}

.sort-icon::after {
	content: "▼";
	font-size: 8px;
	font-style: normal;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--fg-4);
	line-height: 1;
	transition: color 0.15s;
}

.sortable.active .sort-icon::after {
	color: var(--mc-blue);
}

.sortable.active.asc .sort-icon::after {
	content: "▲";
}

.sortable.active.desc .sort-icon::after {
	content: "▼";
}

.select2-container--default .select2-search--inline .select2-search__field {
	margin: 0;
	font-size: .875rem;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
	color: rgba(97, 117, 138, .6);
	font-weight: 400;
	opacity: 1;
}

.select2-container {
	width: 100% !important;
}

.card.bg-light {
	border: var(--border);
}

/* Fix Select2 multiple height + wrapping */
#requestInfoForBuyer+.select2-container .select2-selection--multiple {
	min-height: 38px !important;
	height: 38px !important;
	overflow-y: auto;
}

#requestInfoForBuyer+.select2-container .select2-selection__rendered {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	overflow-x: auto;
	height: 100%;
}

#requestInfoForBuyer+.select2-container .select2-selection__choice {
	margin-top: 0 !important;
	flex-shrink: 0;
}

/* Unified disabled/readonly appearance for all form controls */
.form-control:disabled,
.form-control[readonly],
.form-select:disabled,
.select2-container--disabled .select2-selection--single,
.select2-container--disabled .select2-selection--multiple {
	background-color: var(--bg-field) !important;
	cursor: not-allowed;
	opacity: 1;
}

/* ── Profile photo header link ─────────────────────────── */
a.header_img {
	cursor: pointer;
	overflow: hidden;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

a.header_img:hover {
	opacity: 0.8;
}

/* ── Profile pic upload widget ──────────────────────────── */
.profile-pic {
	color: transparent;
	width: 165px;
	height: 165px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.profile-pic input {
	display: none;
}

.profile-pic img {
	position: absolute;
	object-fit: cover;
	width: 165px;
	height: 165px;
	border: 1px solid var(--bs-border-color);
	border-radius: 100px;
	z-index: 0;
}

.profile-pic .-label {
	cursor: pointer;
	height: 165px;
	width: 165px;
	border-radius: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	margin-bottom: 0;
}

.profile-pic:hover .-label {
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 10000;
	color: #fafafa;
	transition: background-color 0.2s ease-in-out;
}

.profile-pic span {
	display: inline-flex;
	padding: 0.2em;
	align-items: center;
}

/* ── Header greeting ─────────────────────────────────────── */
.header-greeting {
	font-size: 14px;
	white-space: nowrap;
}

/* ── Header right — clean design ────────────────────────────── */

/* Hide debug role badges */
.header-right>span[style] {
	display: none !important;
}

/* Logout: override icons-right → proper bordered button */
.header-right a[href*="logout"] {
	width: auto !important;
	height: auto !important;
	padding: 7px 16px !important;
	border: 1px solid var(--border-2) !important;
	border-radius: var(--radius-md);
	background: #fff !important;
	color: var(--fg-1) !important;
	font-size: var(--fs-13);
	font-weight: var(--fw-600);
	text-decoration: none;
	transition: background var(--transition);
}

.header-right a[href*="logout"]:hover {
	background: var(--bg-app) !important;
	color: var(--fg-1) !important;
}

/* ── Header user profile ─────────────────────────────────── */
.header-user-profile {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--fg-1);
	cursor: pointer;
	position: relative;
	padding: 5px 10px;
	border-radius: var(--radius-md);
	transition: background var(--transition);
}

.header-user-profile:hover {
	background: var(--mc-blue-tint);
}

/* Avatar circle around the person icon */
.header-user-profile i {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bg-field);
	font-size: 19px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fg-2);
	flex-shrink: 0;
}

.header-user-name {
	font-size: var(--fs-13);
	font-weight: var(--fw-600);
	color: var(--fg-1);
	white-space: nowrap;
}

.header-user-hover {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #333;
	color: #fff;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
}

.header-user-hover::before {
	content: '';
	position: absolute;
	top: -5px;
	right: 10px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #333;
}

.header-user-profile:hover .header-user-name {
	color: var(--mc-blue);
}

.header-user-profile:hover .header-user-hover {
	display: block;
}

/* Profile: Notification toggle */
.notif-toggle {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 28px;
	cursor: pointer;
}

.notif-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.notif-slider {
	position: absolute;
	inset: 0;
	background: var(--border-2);
	border-radius: 34px;
	transition: background .25s;
}

.notif-slider::before {
	content: '';
	position: absolute;
	width: 22px;
	height: 22px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
	transition: transform .25s;
}

.notif-toggle input:checked+.notif-slider {
	background: var(--mc-blue);
}

.notif-toggle input:checked+.notif-slider::before {
	transform: translateX(24px);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--bs-body-color);
}

.select2-container--default .select2-selection--single .select2-selection__rendered[title="Select"] {
	color: rgba(97, 117, 138, .6);
	font-weight: 400;
	opacity: 1;
}




/* Target ONLY Select2 linked to #storeName */

/* 1. Container fix */
#storeName+.select2-container .select2-selection--multiple {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center;
	overflow: hidden;
}

/* 2. UL wrapper */
#storeName+.select2-container .select2-selection__rendered {
	display: flex !important;
	flex-wrap: wrap !important;
	width: 100%;
	overflow: hidden;
}

/* 3. Input field fix */
#storeName+.select2-container .select2-search--inline .select2-search__field {
	width: auto !important;
	min-width: 120px;
	max-width: 100% !important;
	flex: 1 1 auto;
}

/* 4. Inline search wrapper */
#storeName+.select2-container .select2-search--inline {
	flex: 1 1 auto;
	max-width: 100%;
	height: 28px;
}

/* Search/product listing page Status dropdown css */
#statusSelect+.select2-container .select2-search--inline .select2-search__field {
	width: auto !important;
	min-width: 120px;
	max-width: 100% !important;
	flex: 1 1 auto;
}

/* Coordinate Group: keep the multi-select compact (single-row height with scroll) */
.select2-container[data-select2-id*="statusSelect"] .select2-selection--multiple {
	max-height: 38px;
	overflow-y: auto;
	flex-wrap: nowrap;
	align-items: center;
}

/* Search/product listing page cordinate group dropdown css */
#searchCoord+.select2-container .select2-search--inline .select2-search__field {
	width: auto !important;
	min-width: 120px;
	max-width: 100% !important;
	flex: 1 1 auto;
}

/* Coordinate Group: keep the multi-select compact (single-row height with scroll) */
.select2-container[data-select2-id*="searchCoord"] .select2-selection--multiple {
	max-height: 38px;
	overflow-y: auto;
	flex-wrap: nowrap;
	align-items: center;
}

/* Add product page datepicker css */
.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
	background-color: var(--mc-blue) !important;
	background-image: none !important;
	color: #fff !important;
}

.border.tbl-rounded {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	overflow: hidden;
}

.border.tbl-rounded tr:last-child td {
	border-bottom: none;
}

.border.tbl-rounded thead tr:first-child th:first-child {
	border-top-left-radius: 8px;
}

.border.tbl-rounded thead tr:first-child th:last-child {
	border-top-right-radius: 8px;
}

.border.tbl-rounded tbody tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}

.border.tbl-rounded tbody tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}

#storeSplitTable td,
#storeSplitTable th {
	padding-top: 10px;
	padding-bottom: 10px;
}

.save-loader-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.save-loader-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.save-loader-text {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.03em;
}

.dot-loader {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 48px;
	height: 48px;
}

.dot-loader span {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--mc-blue);
	animation: dotPulse 1s ease-in-out infinite;
}

.dot-loader span:nth-child(1) {
	animation-delay: 0s;
}

.dot-loader span:nth-child(2) {
	animation-delay: 0.2s;
}

.dot-loader span:nth-child(3) {
	animation-delay: 0.4s;
}

.dot-loader span:nth-child(4) {
	animation-delay: 0.6s;
}

@keyframes dotPulse {

	0%,
	100% {
		transform: scale(0.6);
		opacity: 0.4;
	}

	50% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Select2 invalid state — mirrors Bootstrap's .is-invalid border */
.select2-container.is-invalid .select2-selection {
	border-color: var(--utility-red) !important;
}

.select2-container.is-invalid~.invalid-feedback {
	display: block;
}

/* ================================================================
   DESIGN SYSTEM ALIGNMENT — matched to Micro Center Supplier Portal
   reference design (colors_and_type.css + component styles)
   ================================================================ */

/* ── Global base ──────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	background: var(--bg-app);
	color: var(--fg-2);
	font-family: var(--font-sans);
	font-size: var(--fs-14);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ── Typography scale ─────────────────────────────────────────── */
h1 {
	font-size: var(--fs-30);
	font-weight: var(--fw-700);
	line-height: 1.2;
	color: var(--fg-1);
	letter-spacing: -0.01em;
	margin: 0;
}

h2 {
	font-size: var(--fs-24);
	font-weight: var(--fw-700);
	line-height: 1.25;
	color: var(--fg-1);
	letter-spacing: -0.005em;
	margin: 0;
}

h3 {
	font-size: var(--fs-20);
	font-weight: var(--fw-600);
	line-height: 1.3;
	color: var(--fg-1);
	margin: 0;
}

h4 {
	font-size: var(--fs-16);
	font-weight: var(--fw-600);
	line-height: 1.35;
	color: var(--fg-1);
	margin: 0;
}

h5 {
	font-size: var(--fs-14);
	font-weight: var(--fw-600);
	color: var(--fg-1);
	margin: 0;
}

h6 {
	font-size: var(--fs-13);
	font-weight: var(--fw-600);
	color: var(--fg-2);
	margin: 0;
}

/* ── Nav active indicator colour ──────────────────────────────── */
.nav_link.active::before {
	background: var(--mc-blue);
}

/* ── Cards ────────────────────────────────────────────────────── */
.card,
.asset-card,
.section-card {
	background: var(--bg-page);
	border: 1px solid var(--border-1);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.card.bg-light {
	background: var(--bg-page);
	border: 1px solid var(--border-1);
	box-shadow: var(--shadow-sm);
	border-radius: var(--radius-md);
}

.workflow-card-box {
	background: var(--bg-page);
	border: 1px solid var(--border-1);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
	font-family: var(--font-sans);
	font-weight: var(--fw-600);
	font-size: var(--fs-14);
	border-radius: var(--radius-md);
	line-height: 1;
	transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn-primary {
	background: var(--mc-blue);
	border-color: var(--mc-blue);
	color: var(--fg-on-brand);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--mc-blue-hover);
	border-color: var(--mc-blue-hover);
}

.btn-primary:active {
	background: var(--mc-blue-press);
	border-color: var(--mc-blue-press);
}

.btn-primary:focus-visible {
	box-shadow: var(--shadow-focus);
}

.btn-outline-primary {
	color: var(--mc-blue);
	border-color: var(--mc-blue);
	background: transparent;
}

.btn-outline-primary:hover {
	background: var(--mc-blue-tint);
	color: var(--mc-blue);
	border-color: var(--mc-blue);
}

.btn-secondary,
.btn-outline-secondary {
	background: var(--bg-page);
	color: var(--fg-1);
	border-color: var(--border-2);
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
	background: var(--bg-app);
	color: var(--fg-1);
	border-color: var(--border-2);
}

/* ── Form controls ────────────────────────────────────────────── */
.form-control,
.form-select {
	font-family: var(--font-sans);
	font-size: var(--fs-14);
	color: var(--fg-1);
	background: var(--bg-page);
	border: 1px solid var(--border-2);
	border-radius: var(--radius-md);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
	border-color: var(--border-focus);
	box-shadow: var(--shadow-focus);
	outline: none;
	background: var(--bg-page);
}

.form-control::placeholder {
	color: var(--fg-4);
}

textarea.form-control {
	height: calc(var(--fs-14) * 1.5 + 0.75rem + 2px);
	min-height: unset;
	resize: none;
	overflow-y: auto;
}

.form-label {
	font-size: var(--fs-13);
	font-weight: var(--fw-500);
	color: var(--fg-2);
	margin-bottom: 6px;
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
	background: var(--bg-field) !important;
	color: var(--fg-disabled);
	cursor: not-allowed;
	opacity: 1;
}

/* ── Table ────────────────────────────────────────────────────── */
.table> :not(caption)>*>th {
	font-size: 11px;
	font-weight: var(--fw-700);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--fg-3);
	background: var(--bg-app);
	border-bottom: 1px solid var(--border-1);
	padding: 12px 16px;
	white-space: nowrap;
	vertical-align: top !important;
}

.table> :not(caption)>*>td {
	font-size: var(--fs-14);
	color: var(--fg-2);
	border-bottom: 1px solid var(--border-1);
	padding: 14px 16px;
	vertical-align: middle;
}

.table>tbody>tr:hover>td {
	background: var(--bg-row-hover);
}

.table>tbody>tr:last-child>td {
	border-bottom: 0;
}

.table-responsive.border-top {
	max-height: calc(100vh - var(--header-height) - 14rem);
}

.fixed-header-table.table> :not(caption)>*>th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: var(--bg-app);
}

/* ── Status pills ─────────────────────────────────────────────── */
.pill,
.status-active,
.status-inactive,
.status-pending,
.status-pending-upload,
.wf-enrichment,
.wf-info,
.wf-cancelled,
.wf-approve,
.wf-approved {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	font-size: 11px;
	font-weight: var(--fw-700);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	min-width: auto;
	border: none;
}

.status-active {
	background: var(--status-approved-bg);
	color: var(--status-approved-fg);
}

.status-inactive {
	background: var(--status-rejected-bg);
	color: var(--status-rejected-fg);
}

.status-pending {
	background: var(--status-pending-bg);
	color: var(--status-pending-fg);
}

.status-pending-upload {
	background: var(--status-draft-bg);
	color: var(--status-draft-fg);
}

/* ── Navigation tabs ──────────────────────────────────────────── */
.nav-tabs {
	border-bottom: 1px solid var(--border-1);
	gap: 0;
	margin-bottom: 0;
	padding: 0 4px;
	background: var(--bg-page);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.nav-tabs .nav-link {
	color: var(--fg-3);
	font-weight: var(--fw-500);
	font-size: var(--fs-14);
	padding: 16px 8px;
	margin-right: 16px;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	white-space: nowrap;
	transition: color var(--transition), border-color var(--transition);
}

.nav-tabs .nav-link:hover {
	color: var(--fg-1);
	border-bottom-color: transparent;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus-visible {
	color: var(--mc-blue);
	font-weight: var(--fw-600);
	border-bottom-color: var(--mc-blue);
	background: transparent;
	outline: none;
}

/* ── Pagination ───────────────────────────────────────────────── */
.pagination {
	gap: 4px;
	flex-wrap: nowrap;
	align-items: center;
}

a.page-link {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-sm);
	font-size: var(--fs-13);
	font-weight: var(--fw-500);
	color: var(--fg-2);
	background: var(--bg-page);
	border: none;
	box-shadow: none;
	display: grid;
	place-items: center;
	transition: background var(--transition);
}

.prev a.page-link,
.next a.page-link {
	width: auto;
	padding: 0 10px;
	display: flex;
	align-items: center;
	gap: 4px;
}

a.page-link:hover {
	background: var(--bg-app);
}

.page-item.active a.page-link {
	background: var(--mc-blue);
	color: var(--fg-on-brand);
}

#productPagination {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 12px !important;
	justify-content: space-between !important;
}

#productPagination nav,
#productPagination>.d-flex {
	flex: 0 0 auto;
}

#productPagination nav>ul {
	width: auto !important;
	flex-wrap: nowrap !important;
}

#productPagination #paginationInfo {
	font-size: var(--fs-13);
	color: var(--fg-3);
	white-space: nowrap;
	margin-right: auto;
	flex: 0 0 auto;
}

#pageCountSelect {
	width: auto !important;
}

/* ── Filter card (product listing) ───────────────────────────── */
.card.bg-light .row.flex-nowrap {
	display: grid !important;
	grid-template-columns: repeat(7, 1fr) auto !important;
	gap: 12px 16px !important;
	margin: 0 !important;
	align-items: end;
}

.card.bg-light .row.flex-nowrap>.col,
.card.bg-light .row.flex-nowrap>.col-auto {
	padding: 0 !important;
	width: auto !important;
	min-width: 0;
}

/* Labels — match reference: small, uppercase, bold */
.card.bg-light .form-label {
	font-size: 11px !important;
	font-weight: 700 !important;
	color: var(--fg-3) !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 5px !important;
	display: block;
}

/* Text inputs — uniform 38px, rounded */
.card.bg-light .form-control,
.card.bg-light .form-control-sm {
	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	padding: 0 12px !important;
	font-size: var(--fs-13) !important;
	border-radius: 8px !important;
	border: 1px solid var(--border-2) !important;
	background: #fff !important;
	line-height: 38px;
}

/* Select2 full width */
.card.bg-light .select2-container {
	width: 100% !important;
}

/* Single select: flexbox centering */
.card.bg-light .select2-container .select2-selection--single {
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	border-radius: 8px !important;
	border: 1px solid var(--border-2) !important;
	background: #fff !important;
}

.card.bg-light .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1 !important;
	padding: 0 28px 0 12px !important;
	font-size: var(--fs-13);
	flex: 1;
}

.card.bg-light .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50% !important;
	transform: translateY(-50%) !important;
	height: auto !important;
	right: 4px;
}

/* Multi select: fixed 38px height, scrollable when tags overflow */
.card.bg-light .select2-container .select2-selection--multiple {
	min-height: 38px !important;
	height: 38px !important;
	max-height: 38px !important;
	overflow: clip !important;

	padding: 4px 28px 4px 8px !important;
	border-radius: 8px !important;
	border: 1px solid var(--border-2) !important;
	background: #fff !important;
	display: block !important;
}

/* Chevron stays vertically centred regardless of height */
.card.bg-light .select2-container .select2-selection--multiple::after {
	top: 50% !important;
	transform: translateY(-50%) !important;
}

/* Rendered tag list */
.card.bg-light .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 3px !important;
	padding: 0 !important;
	margin: 0 !important;
	align-items: center;
	list-style: none;
}

/* Individual tag: flex so × and text sit side by side */
.card.bg-light .select2-container--default .select2-selection--multiple .select2-selection__choice {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin: 0 !important;
	padding: 2px 6px !important;
	font-size: var(--fs-12) !important;
	line-height: 1.4 !important;
	max-width: 130px;
	border-radius: 4px;
}

/* Remove button — normalize <button> + inner <span> so × sits centred */
.card.bg-light .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	order: -1;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: none !important;
	background: none !important;
	cursor: pointer;
	font-size: 13px !important;
	line-height: 1 !important;
	align-self: center !important;
}

.card.bg-light .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span {
	display: block;
	line-height: 1;
	font-size: 13px;
}

/* Tag text: truncate if too long */
.card.bg-light .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: var(--fs-12) !important;
}

/* Inline search field inside multi */
.card.bg-light .select2-search.select2-search--inline {
	height: auto !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
}

.card.bg-light .select2-search--inline .select2-search__field {
	margin: 0 !important;
	height: 26px !important;
	line-height: 26px !important;
	font-size: var(--fs-13) !important;
	font-weight: 400 !important;
	font-family: var(--font-sans) !important;
	color: var(--fg-1) !important;
}

.card.bg-light .select2-search--inline .select2-search__field::placeholder {
	color: var(--fg-4) !important;
	font-weight: 400 !important;
}

/* ── Sort / action buttons ────────────────────────────────────── */
.sort-button {
	font-family: var(--font-sans);
	font-size: var(--fs-14);
	font-weight: var(--fw-500);
	border-color: var(--border-2);
	border-radius: var(--radius-md);
	color: var(--fg-1);
	background: var(--bg-page);
}

.sort-button:hover {
	background: var(--mc-blue);
	border-color: var(--mc-blue);
	color: var(--fg-on-brand);
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
	font-size: var(--fs-13);
	margin-bottom: 8px;
}

.breadcrumb-item a {
	color: var(--fg-3);
}

.breadcrumb-item a:hover {
	color: var(--mc-blue);
	text-decoration: underline;
}

.breadcrumb-item.active {
	color: var(--fg-1);
	font-weight: var(--fw-500);
}

/* ── Upload dropzone ──────────────────────────────────────────── */
.upload-box {
	border: 1.5px dashed var(--border-2);
	border-radius: var(--radius-lg);
	background: var(--bg-app);
}

.upload-box:hover {
	border-color: var(--mc-blue);
	background: var(--mc-blue-tint);
}

/* ── Character count indicators (add/edit product) ───────────── */
.tab-pane .row.g-4>[class*="col-"] {
	position: relative;
}

small.text-muted:has(span[id$="_count"]) {
	position: absolute;
	bottom: 0;
	transform: translateY(calc(100% + 2px));
	font-size: var(--fs-12);
	line-height: 1;
	white-space: nowrap;
}

/* ── Workflow card (add/edit product) ─────────────────────────── */
.workflow-card-box {
	padding: 1.25rem;
}

.workflow-card-box>h5,
.workflow-card h5 {
	font-size: var(--fs-14);
	font-weight: var(--fw-600);
	color: var(--fg-1);
	border-bottom: 1px solid var(--border-1);
	padding-bottom: 12px;
	margin-bottom: 16px;
}

.workflow-card h6 {
	font-weight: var(--fw-600);
	color: var(--fg-1);
	font-size: var(--fs-13);
	margin-bottom: 2px;
	padding-top: 0;
}

.workflow-card ul li p.text-muted {
	font-size: var(--fs-12);
	color: var(--fg-3);
	margin-bottom: 0;
	line-height: 1.4;
}

.workflow-card>p.fw-bold {
	color: var(--fg-3);
	font-size: var(--fs-13);
	text-align: center;
	padding: 24px 0;
	margin: 0;
}

.workflow-card ul::before {
	background: var(--border-1);
}

.flow-icon {
	background: var(--mc-blue-tint);
	border: 1px solid var(--border-1);
	color: var(--mc-blue);
	width: 28px;
	height: 28px;
	font-size: var(--fs-14);
	flex-shrink: 0;
}

/* ── Auth / login card ────────────────────────────────────────── */
.auth-card {
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border-1);
	background: var(--bg-page);
}

/* ── Header user / avatar ─────────────────────────────────────── */
.header_img {
	background: var(--bg-field);
	border-radius: 50%;
}

/* ── Offcanvas / filter menu ──────────────────────────────────── */
.filter-menu {
	box-shadow: var(--shadow-lg);
	border-left: 1px solid var(--border-1);
}

/* ── Select2 alignment with design system ─────────────────────── */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	border: 1px solid var(--border-2) !important;
	border-radius: var(--radius-md) !important;
	background: var(--bg-page);
	font-family: var(--font-sans);
	font-size: var(--fs-14);
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--border-focus) !important;
	box-shadow: var(--shadow-focus) !important;
}

/* ── Misc utilities ───────────────────────────────────────────── */
.badge {
	font-weight: var(--fw-600);
	font-size: var(--fs-12);
	letter-spacing: 0.03em;
	border-radius: var(--radius-pill);
}

code,
.code {
	font-family: var(--font-mono);
	font-size: 0.92em;
	background: var(--bg-field);
	padding: 1px 6px;
	border-radius: 4px;
}

/* ── Login page background: image set in the original rule above ── */

/* ── Completeness bar ─────────────────────────────────────────── */
.compl .bar {
	background: var(--border-1);
	border-radius: var(--radius-pill);
}

.compl .fill {
	border-radius: var(--radius-pill);
}

.compl .fill.low {
	background: var(--utility-red);
}

.compl .fill.mid {
	background: var(--utility-orange);
}

.compl .fill.high {
	background: var(--utility-green);
}

/* ── Custom scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: var(--border-2);
	border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--fg-4);
}

/* ── Input focus ring ─────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
	border-color: var(--mc-blue) !important;
	box-shadow: 0 0 0 3px var(--mc-blue-ring) !important;
	outline: none;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: var(--mc-blue) !important;
	box-shadow: 0 0 0 3px var(--mc-blue-ring) !important;
}