 :root {
	--site-font-family: "Source Code Pro", monospace;

	/* Brand */
	--color-brand-teal:         #00A19C;
	--color-brand-teal-dark:    #007f7b;
	--color-accent-olive:       #91AF3D;
	--color-accent-olive-dark:  #7F9F33;
	--color-primary-blue:       #0B6E99;
	--color-primary-blue-dark:  #0A5D82;

	/* Text */
	--color-text-strong:  #102A43;
	--color-text-default: #1F2937;
	--color-text-muted:   #52606D;

	/* Surfaces */
	--color-surface-page-top:    #F7F8F2;
	--color-surface-page-bottom: #EEF1E4;
	--color-surface-card:        #FFFFFF;
	--color-surface-soft:        #F8FBF0;
	--color-surface-row:         #FBFCF8;

	/* Borders */
	--color-border-soft:   #D9DFC7;
	--color-border-subtle: #EEF1E4;

	/* Semantic */
	--color-danger:  #CE352C;
	--color-warning: #FF9900;

	/* Shadows */
	--shadow-soft: 0 10px 24px rgba(68, 82, 26, 0.08);

	/* Legacy aliases — kept for backward compatibility */
	--shell-brand-teal:    var(--color-brand-teal);
	--shell-brand-teal-dark: var(--color-brand-teal-dark);
	--shell-accent-olive:  var(--color-accent-olive);
	--shell-text-strong:   var(--color-text-strong);
	--shell-text-default:  var(--color-text-default);
	--shell-text-muted:    var(--color-text-muted);
	--shell-border-soft:   var(--color-border-soft);
	--shell-border-subtle: var(--color-border-subtle);
	--shell-surface-card:  var(--color-surface-card);
	--shell-surface-soft:  var(--color-surface-soft);
	--shell-shadow-soft:   var(--shadow-soft);
}

::-webkit-scrollbar-thumb {
    background: #a5a5a5;
}
::-webkit-scrollbar-track {
    background: #dfdfde;
}
#top-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 18px 0 14px;
	border-bottom: 1px solid var(--shell-border-soft);
	background: linear-gradient(180deg, #ffffff 0%, #fbfcf8 100%);
	box-shadow: 0 6px 18px rgba(68, 82, 26, 0.05);
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 60px;
	right: 0px;
	overflow: hidden;
	box-sizing: border-box;
}

.list-item-active > a {
    border-color: var(--shell-brand-teal) !important;
    background: linear-gradient(180deg, var(--shell-brand-teal) 0%, var(--shell-brand-teal-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 161, 156, 0.2);
}
div#spine-link {
    display: flex;
    align-items: center;
    margin-right: 0;
}
div#spine-link a {
    color: var(--shell-brand-teal);
    text-decoration: none;
}

div#spine-link a:hover {
color: var(--shell-brand-teal-dark);
}

#ndt-logo {
background: url(/images/ndteclogonew.png) no-repeat scroll 0 50% transparent;
    background-size: 145px;
    height: 53px;
    width: 240px;
    flex: 0 0 240px;
}
#ndt-logo {
	text-decoration: none;
}

#ndt-logo h1 {
	margin: 0;
	padding: 0;
	padding-right: 20px;
	text-align: right;
	font-family: var(--site-font-family);
	font-size: 20px;
	line-height: 45px;
	color: var(--shell-text-strong);
}


#page-content {
	position: absolute;
	top: 118px;
	bottom: 25px;
	left: 0px;
	right: 0px;
	overflow: hidden;
	padding-left: 15px;
	padding-right: 15px;
}

.barcode-pager:before {
    content: 'Results per Page:';
    font-size: 12px;
    position: relative;
    top: -2px;
    left: 10px;
}
select#change_results_per_page {
    margin-left: 14px;
}
.barcode-pager {
    margin-left: 7px;
    position: absolute;
    top: 28px;
    width: 100%;
}
.barcode-results {
    height: calc(100% - 50px);
}
#products{
	overflow: hidden !important;
}
.pv-barcode-value-result {
    width: 188px !important;
    height: 188px !important;
    padding: 12px !important;
    margin: 14px !important;
}
.barcode-result-count{
	    top: -6px !important;
}
.counter-availfilters {
    padding: 9px 3px 3px 11px !important;
}
select#select_page {
     margin-left: 95px;
}
.barcode-pager:after {
    content: 'Select Page:';
    position: relative;
    left: -160px;
    font-size: 12px;
    top: -2px;
}

#navigation {
	padding: 0 0 10px 10px;
	position: absolute;
	right: 0;
	top: 0;
	width: 20%;
}

#footer {
	position: absolute;
	bottom: 0px;
	height: 25px;
	left: 0px;
	right: 0px;
	overflow: hidden;
	font-size: 9px;
	text-align: center
}

#navigation ul {
	float: right;
	padding-right: 10px;
}

ul.app_nav {
	list-style: none outside none;
	margin: 0;
	padding: 0;
}

ul.app_nav li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

#list-table {
	width: 100%
}

html {
	height: 100%
}

body {
	font-family: var(--site-font-family);
	font-size: 11px;
	display: block;
	height: 100%
}

button,
input,
select,
textarea {
	font-family: var(--site-font-family);
}

#container {
	display: table;
	width: 100%;
	height: 100%;
	border: 1px solid red;
	text-align: center;
}

#container>div {
	display: table-row;
	width: 100%;
}

#container>div>div {
	display: table-cell;
	width: 100%;
	border-radius: 10px;
}
ul, menu, dir {
  -webkit-margin-before: 0px;
  -webkit-margin-after: 0px;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
}

.admin-dashboard{
	width: 300px;
}
#admin-menu {
	position: absolute;
	top: 60px;
	left: 0px;
	right: 0px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-bottom: 1px solid var(--shell-border-soft);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 6px 18px rgba(68, 82, 26, 0.05);
	overflow: visible;
	box-sizing: border-box;
	white-space: nowrap;
}

#dash_stats {
	display: inline-block;
	padding: 10px;
	margin: 10px
}

#match_total {
	font-weight: bold
}

#tools-menu {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	z-index: 999;
}

#tools-menu ul {
	list-style: none inside none;
}

#sku-menu {
	display: flex;
	flex: 0 0 auto;
	height: auto;
	z-index: 999;
}

#sku-menu ul {
	list-style: none inside none;
}

.app-menu-group {
	display: flex;
	align-items: center;
}

.app-menu-list {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.app-menu-dropdown {
	position: relative;
}

.app-menu-dropdown details {
	position: relative;
}

.app-menu-dropdown summary {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--shell-text-default);
	cursor: pointer;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	list-style: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.app-menu-dropdown summary::-webkit-details-marker {
	display: none;
}

.app-menu-dropdown summary::after {
	border-bottom: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	display: inline-block;
	height: 5px;
	margin-left: 8px;
	transform: rotate(45deg) translateY(-2px);
	width: 5px;
}

.app-menu-dropdown details[open] > summary,
.app-menu-dropdown summary:hover,
.app-menu-dropdown.menu-group-active summary {
	border-color: var(--shell-border-soft);
	background: var(--shell-surface-soft);
	color: var(--shell-text-strong);
}

.app-menu-dropdown details[open] > summary::after {
	transform: rotate(225deg) translate(-1px, -1px);
}

.app-menu-dropdown-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	display: block;
	min-width: 220px;
	margin: 0;
	padding: 6px;
	border: 1px solid var(--shell-border-soft);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(68, 82, 26, 0.14);
	list-style: none;
	z-index: 1001;
}

.app-menu-dropdown-list li {
	display: block;
}

#admin-menu .app-menu-dropdown-list li > a {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	box-sizing: border-box;
	min-height: 34px;
	padding: 0 10px;
	border-radius: 7px;
	font-size: 11px;
	text-align: left;
	text-transform: none;
}

#admin-menu .app-menu-dropdown-list li > a:hover,
#admin-menu .app-menu-dropdown-list li.list-item-active > a {
	border-color: transparent;
	background: var(--shell-surface-soft);
	color: var(--shell-text-strong);
	transform: none;
}

#tools-menu .app-menu-list {
	flex-wrap: nowrap;
}

#admin-menu li {
	display: flex;
	align-items: center;
}

#admin-menu li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--shell-text-default);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

#admin-menu li > a:hover {
	border-color: var(--shell-border-soft);
	background: var(--shell-surface-soft);
	color: var(--shell-text-strong);
	transform: translateY(-1px);
}

#sku-menu li > a {
	border-color: transparent;
	background: transparent;
	color: var(--shell-text-default);
}

#sku-menu li > a:hover {
	border-color: var(--shell-border-soft);
	background: var(--shell-surface-soft);
	color: var(--shell-text-strong);
}

#admin-menu li[data-menu-kind="utility"] > a {
	border-color: rgba(0, 161, 156, 0.18);
	background: #ffffff;
	color: var(--shell-brand-teal);
}

#admin-menu li[data-menu-kind="utility"] > a:hover {
	border-color: rgba(0, 161, 156, 0.32);
	background: rgba(0, 161, 156, 0.06);
}

@media (max-width: 900px) {
	#top-banner {
		padding-right: 14px;
	}

	#page-content {
		top: 122px;
	}
}

@media (max-width: 640px) {
	#top-banner {
		padding-left: 10px;
		padding-right: 10px;
		gap: 10px;
	}

	#ndt-logo {
		width: 170px;
		flex-basis: 170px;
		background-size: 120px;
	}

	div#spine-link a {
		font-size: 16px;
	}

	#admin-menu {
		padding-left: 8px;
		padding-right: 8px;
		overflow-x: auto;
		overflow-y: visible;
	}

	#admin-menu li > a {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 10px;
	}
}

.general_stats {
	display: inline-block;
	padding: 10px;
	margin: 10px;
	border: 1px solid black;
}

.match_stats {
	display: inline-block;
	padding: 10px;
	margin: 10px;
	border: 1px solid black;
}

.heading {
	font-size: 14px;
}

.status-indicator,
.status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 30px;
	height: 20px;
	padding: 0 4px;
	border: 1px solid currentColor;
	border-radius: 2px;
	background: transparent;
	font-family: var(--site-font-family, "IBM Plex Mono", "JetBrains Mono", "Courier New", monospace);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	transition: background 140ms ease;
}

.status-indicator:hover,
.status-icon:hover {
	background: color-mix(in srgb, currentColor 10%, transparent);
}

.status-indicator.status-ok,
.status-icon.is-true {
	color: #287a3d; /* soft green; style guide allows "olive-based or soft green" for success */
}

.status-indicator.status-error,
.status-icon.is-false {
	color: var(--color-danger);
}

.status-indicator.status-warning,
.status-icon.is-warning {
	color: #C07800; /* text-safe amber; --color-warning (#FF9900) is too light for 11px text on white */
}

.status-indicator.status-neutral,
.status-icon.is-muted {
	color: var(--color-text-muted);
}

.noty_bar:has(.noty-btn-confirm) {
	border: 2px solid var(--color-danger);
	background: var(--color-surface-card);
	color: var(--color-danger);
	box-shadow: none;
	font-family: var(--site-font-family);
}

.noty-btn {
	display: inline-block;
	padding: 5px 14px;
	margin: 8px 4px 4px;
	font-size: 12px;
	font-family: var(--site-font-family, monospace);
	font-weight: 600;
	border-radius: 3px;
	border: 1px solid transparent;
	cursor: pointer;
}

.noty-btn-confirm {
	background: var(--color-danger);
	color: #fff;
	border-color: var(--color-danger);
}

.noty-btn-confirm:hover {
	background: #bd2e26;
	border-color: #bd2e26;
}

.noty-btn-cancel {
	background: transparent;
	color: var(--color-text-muted);
	border-color: var(--color-border-soft);
}

.noty-btn-cancel:hover {
	background: var(--color-surface-soft);
}
