﻿
.app-sidebar {
	border-right: 1px solid #f3f3f4;
}
.app-footer {
	border-top: 1px solid #f3f3f4;
}

 invoicefilelist body table.dataTable tbody tr.selected td {
	background: var( --app-component-active-bg);
	color: #fff !important;
	box-shadow: none
}

 .formheading {
	 font-size: 15px;
	 font-weight: bold;
 }

.app-content {
	padding-top: 1.25rem;
	padding-right: 2.0rem;
	padding-left: 2.0rem;
}

.shopify-app-content {
	padding-top: 1.25rem;
	padding-right: 2.0rem;
	padding-left: 2.0rem;
	margin-left: 15px;
}

#shopify-logo-overlay {
	position: fixed; /* stay on top of everything */
	top: 50%; /* adjust vertical position */
	left: 50%; /* adjust horizontal position */
	transform: translate(-50%, -50%);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	/*width: 100vw;
	height: 100vh;*/
	z-index: 9999; /* make sure it’s above other content */
	pointer-events: none; /* allow clicks to pass through */
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease, transform 1s ease;
}

#shopify-logo-img {
	width: 500px; /* adjust size */
	height: auto;
	opacity: 1;
}


#quote_result {
	text-align: right;
	font-size: 2.25em;
	font-weight: bold;
}

#quote_terms {
	font-size: 0.7em;
	display:none;
}

.table.rightborder td:not(:last-child) {
	border-right: 1px solid currentColor;
}

.piechart {
	min-height: 180px;
}

.center-header tr th, 
td.center {
	text-align: center;
}

.modal-content {
	border: 3px solid var( --app-component-color);
}

tr.total td {
	font-weight: bold;
}


tr.internalevent td {
	background:  #f3f3f3;
}

span.internalevent {
	color: var( --app-theme);
	background: #fff;
	padding: 2px 5px;
	border: 1px solid var( --app-theme);
}

span.milestoneevent {
	color: #fff;
	background: var( --app-theme);
	padding: 2px 5px;
	border: 1px solid var( --app-theme);
}

.tab-label {
	background: var( --app-theme);
	color: var(--app-theme-color);
	font-weight: 600;
	font-size: .75rem;
	padding: 0 .375rem;
	min-width: 1.25rem;
	height: 1.25rem;
	align-items: center;
	justify-content: center;
	border-radius: 1.25rem;
	right: .65rem;
}

th.number {
	text-align:right !important;
	padding-right: 6px;
}

.table.dataTable td.number, .table.dataTable td.currency {
	text-align:right;
	padding-right: 26px;
}

.needtoprint {
	background-color: #30beff !important;
	color: #fff !important;
}

.needtoinvoice {
	background-color: var(--app-sidebar-menu-link-active-bg) !important;
	color: #fff !important;
}

.menu-label.danger {
	background: var( --app-component-active-bg) !important;
}

.updatemenu {
	display:none;
}

.pagetitle {
	width: 100%;
}

.pagetitle div{
	margin-left: 20px;
}

#accountname {
	font-size:1.8rem;
} 

.app-header .brand {
	width: 18rem !important;
	height: 6.625rem; 
	display: flex;
	align-items: center;
}

#dtinactive {
	font-size: 1.1rem;
	color: var( --app-component-active-bg);
	font-weight: 400;
}

.dt-right, .text-end {
	text-align: right !important;
}

/* Reduce scroll header height */

.dataTables_scrollHead table thead th {
	padding-top: 0.25rem !important;
	padding-bottom: 0.25rem !important;
	line-height: 1.1 !important;
}

/* Title block behaves like the search area: flex + bottom aligned */
.dataTables_wrapper .dt-title-wrap {
	display: flex;
	align-items: flex-end;
}

.dt-table-title {
	color: var(--main-color);
	margin-top: 0;
	margin-bottom: .5rem;
	font-weight: 600;
	font-size: 1.4rem;
	line-height: 1.2;
}

/* Keep the title snug to the baseline */
.datatable-title {
	line-height: 1;
	padding-bottom: .125rem;
	margin: 0;
	font-weight: bold;
	font-size: 1.75rem;
}

/* keep Search flush-right & baseline-aligned on DT 1.x */
.dataTables_wrapper .dataTables_filter {
	margin: 0;
}

	.dataTables_wrapper .dataTables_filter label {
		margin: 0;
	}

.dt-right, .text-end {
	text-align: right !important;
}

/* Use the parent col as flex row (you already have this in dom1x) */
/* <"col-sm-12 col-md-7 d-flex align-items-center gap-3"il> */

/* Fix vertical alignment of info + Show dropdown */
.dataTables_wrapper .dataTables_info {
	padding-top: 0 !important; /* DT adds ~0.85em by default */
	margin-bottom: 0; /* keep it tight */
}

.dataTables_wrapper .dataTables_length label {
	padding-top: 0 !important; /* some themes add padding on label */
	margin-bottom: 0;
}

/* Optional: small gap between them */
.dataTables_wrapper .dataTables_info {
	margin-right: 0.75rem;
}

/* Keep search + Excel on the same baseline */
.dataTables_filter {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .5rem;
}

	.dataTables_filter label {
		margin-bottom: 0;
		display: flex;
		align-items: center;
		gap: .25rem;
	}

	/* Kill extra vertical margin on DT buttons inside the filter row */
	.dataTables_filter .dt-buttons .dt-button {
		margin-top: 0;
		margin-bottom: 0;
	}



.dataTables_scrollHead {
	/*
	height: 2.45rem;

	*/
}

/* Make more space between header text and the sort icons */
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
	padding-right: 28px !important; /* default is ~20px */
}

/* If you want a little more separation from the right edge */
table.dataTable thead th {
	vertical-align: bottom;
}

/* optional: for tighter vertical alignment of arrows */
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after {
	right: 8px !important; /* default is ~4px */
}




#timer {
	padding: 3px;
	font-size: 1.5rem;
	background-color: var( --app-component-active-bg);
	color: white;
	font-weight: 400;
}

/* White background + 10% tick marks */
/* White track + tick marks from before */
.timeout-progress {
	position: relative;
	background-color: #fff !important;
	height: 0.75rem;
	overflow: hidden;
}

	/* 10% ticks (keep what you already had or this version) */
	.timeout-progress::before {
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		background-image: repeating-linear-gradient( to right, #888 0, #888 1px, transparent 1px, transparent 10% );
		z-index: 2;
	}

	/* 👇 This is the important part for smooth animation */
	.timeout-progress .progress-bar {
		transition: width 1s linear; /* match your 1s JS interval */
	}



.timeout-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem; /* fixed width */
	/* optional: fixed height if you want a perfect box */
	/* height: 3rem;      */
	background-color: #f15a24; /* your orange */
	color: #fff;
	font-weight: 600;
	border-radius: 0.15rem;
	text-align: center;
	box-sizing: border-box;
}

	.timeout-badge #timer {
		display: inline-block;
		text-align: center;
		margin-right: 0.1rem;
		// tiny gap before the "s"
	}

/* If screen is smaller that this, hide these */
@media (max-width: 781.98px) {
	.app-header .brand {
		display: none;
	}

	.brand-logo img {
		display: none;
	}
}

/* Screen must be at least this big to show these */
@media (max-width: 991.98px) {
	.menu-search {
		display: none;
	}
}




div.test {
	background: var(--bs-info);
	color: var(--app-sidebar-menu-link-active-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	font-size: 13px;
	padding: 6px;
	margin-left: 10px;
}

.page-header .small, .page-header small {
	font-size: 1.4rem;
	color: var( --app-component-active-bg);
	font-weight: 400;
}

table.dataTable.table-striped > tbody > tr.odd.selected > * {
	box-shadow: none;
}

.invheader {
	font-weight: 500;
	font-size: 14px;
}

.tableFixHead {
	overflow: auto;
	height: 100px;
}

	.tableFixHead thead th {
		position: sticky;
		top: 0;
		z-index: 1;
	}

body table.dataTable tbody tr.selected td a {
	color: #fff !important;
}

body table.dataTable tbody tr.selected td {
	background: #ef4f24 !important;
	color: #fff !important;
	box-shadow: none
}

.carrierlogo {
	width: 125px;
}


.terminalname, .carriername {
	background: #ef4f24;
	color: #fff;
	font-size: 1.45em;
	font-weight: 600;
	margin: 0px 8px;
	padding: 4px 20px;
	text-align: center;
}


td.label {
	text-align: right;
	font-weight: bold;
	min-width: 40px;
}

body {
	padding-bottom: var(--footer-height, 48px);
}


@media (max-width: 991.98px) {
	.app-footer {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		margin-left: 0 !important
	}
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}



.user-icon-container {
	position: absolute;
	top: 0px;
}

.flexheader {
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	width: 100%;
}

.flexheadercolumn {
}

.flexheadercolumn i {
	font-size: 1.25rem;
	margin-right: 20px;
}

#invoicetitle {
	flex: 1 1 auto; /* allow grow and shrink */
	min-width: 0; /* <-- REQUIRED so the box can get narrower than content */
	max-width: 100%; /* stay within the row */
	white-space: normal;
	overflow-wrap: anywhere; /* optional safety net */
}


.formbuttonrow {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

.formbuttoncolumn {
	display: flex;
	flex-direction:column;
	flex-basis: 100%;
	flex: 1;
}

.user-icon-background {
	width: 200px;
	height: 200px;
	border-radius: 400px;
	border: 1px solid var(--app-component-table-border-color) ;
	background: #eee;
}

a.listicon:hover {
	cursor:pointer;
}

.user-icon-text {
	width: 100%;
	position: absolute;
	left: 0px;
	text-align: center;
	font-size: 62px;
	padding-top: 0.9em;
}

.user-info-table {
	padding-top: 50px;
}

.user-history-info-table {
	padding-top: 225px;
}

.profileimage {
	border-radius: 100px;
	margin-top: 5px;
	margin-right: 10px;
}

.profile-icon-container {
	margin-top: 5px;
	margin-right: 10px;
}

.profile-icon-background {
	width: 40px;
	height: 40px;
	border-radius: 400px;
	border: 1px solid var(--app-component-table-border-color) ;
	background: #eee;
}

.profile-icon-text {
	width: 100%;
	left: 0px;
	text-align: center;
	font-size: 14px;
	padding-top: 0.65em;
}

a.usericon {
	text-decoration: none;
	color: var( --app-component-color);
}

/* File Import Tab */
.file-upload-error-box {
	margin: 10px 10px;
	background-color: #dc3545;
	transition: background-color 1s;
}

	.file-upload-error-box hr {
		margin: 0 0 3px 0;
	}

#file-upload-spinner {
	display: none;
	align-items: center;
}

.three-dot-spinner {
	width: 30px;
	height: 30px;
	margin-left: 10px;
	position: relative;
}

#file-upload-complete {
	display: none;
}

.accordion-button:not(.collapsed) {
	color: var(--app-component-color);
	background-color: var(--bs-body-bg);
}

.accordion-button:focus {
	z-index: 3;
	border-color: #eaeaea;
	box-shadow:0 0 0 0.25rem #eaeaea;
}




td.label {
	text-align:right;
	font-weight: bold;
	min-width: 40px;
}

@media (max-width: 991.98px) {
	.app-footer {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		margin-left: 0 !important
	}
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}



.user-icon-container {
	position: absolute;
	top: 0px;
}

.formbuttonrow {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

.formbuttoncolumn {
	display: flex;
	flex-direction:column;
	flex-basis: 100%;
	flex: 1;
}

.user-icon-background {
	width: 200px;
	height: 200px;
	border-radius: 400px;
	border: 1px solid var(--app-component-table-border-color) ;
	background: #eee;
}

a.listicon:hover {
	cursor:pointer;
}

.user-icon-text {
	width: 100%;
	position: absolute;
	left: 0px;
	text-align: center;
	font-size: 62px;
	padding-top: 0.9em;
}

.user-info-table {
	padding-top: 50px;
}

.user-history-info-table {
	padding-top: 225px;
}

.profileimage {
	border-radius: 100px;
	margin-top: 5px;
	margin-right: 10px;
}

.profile-icon-container {
	margin-top: 5px;
	margin-right: 10px;
}

.profile-icon-background {
	width: 40px;
	height: 40px;
	border-radius: 400px;
	border: 1px solid var(--app-component-table-border-color) ;
	background: #eee;
}

.profile-icon-text {
	width: 100%;
	left: 0px;
	text-align: center;
	font-size: 14px;
	padding-top: 0.65em;
}

a.usericon {
	text-decoration: none;
	color: var( --app-component-color);
}

/* File Import Tab */
.file-upload-error-box {
	margin: 10px 10px;
	background-color: #dc3545;
	transition: background-color 1s;
}

	.file-upload-error-box hr {
		margin: 0 0 3px 0;
	}

.running {
		display:none;
}
.running.show {
		display: block;
}

#file-upload-spinner {
	display: none;
	align-items: center;
}

.three-dot-spinner {
	/* width: 50px; */
	/* height: 50px; */
	margin-left: 10px;
	position: relative;
}

#file-upload-complete {
	display: none;
}

.accordion-button:not(.collapsed) {
	color: var(--app-component-color);
	background-color: var(--bs-body-bg);
}

.accordion-button:focus {
	z-index: 3;
	border-color: #eaeaea;
	box-shadow:0 0 0 0.25rem #eaeaea;
}

table.reference { 
	table-layout: fixed; 
	border-collapse : collapse;
	width: 100%;
}

	table.reference thead tr th:first-child {
		width: 200px;
	}

	table.reference tbody tr td:first-child {
		width: 200px;
	}

button.fieldnotepopover {
	padding: 0px 3px;
}

div.wcgformlistcontainer i.fa-info-circle {
	vertical-align: 2px
}

td.adminborder, th.adminborder {
	border-left: 3px solid #eaeaea;
}

body.testlayout .app .app-header {
	background: var( --bs-info);
}

body.testlayout .app .app-header #accountname {
	color: #fff;
}

pre.syntaxhighlightcomplete {
	background: #f6f8fa;
	color: #24292e;
	padding: 6px;
	white-space: pre-wrap !important;
	word-wrap: break-word; /* older browsers */
	overflow-wrap: anywhere; /* modern browsers */

	max-height: 320px; /* cap height */
	overflow-x: auto; /* horizontal scrollbar when needed */
	overflow-y: auto; /* vertical scrollbar when needed */
	white-space: pre; /* keep long lines; no wrapping */
	max-width: 100%; /* stay within container */
}

span.string {
	color: inherit;
}
/* dark blue */
span.key {
	color: #d73a49;
}
/* red for keys */
span.number {
	color: #005cc5;
}
/* medium blue */
span.boolean {
	color: #e36209;
}
/* orange */
span.null {
	color: #6f42c1;
	font-style: italic;
}
/* purple */

#programSearchModal {
	
}

/* Item card */
#programSearchModal .menu-item {
	position: relative;
	align-items: start;
	padding: .1rem .625rem;
	border: 1px solid var(--bs-border-color);
	border-radius: .5rem;
	background: var(--bs-body-bg);
	transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
	font-size: 16px;
}
#programSearchModal .menu-item-main {
	min-width: 0;
}
#programSearchModal .menu-item a {
	word-break: break-word;
	text-decoration: none;
}

#programSearchModal .menu-desc {
	font-size: .875rem;
	line-height: 1.2;
}

/* Tags wrap neatly on the right; stack under title on small screens */
#programSearchModal .menu-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	align-content: start;
}

@media (max-width: 575.98px) {
	#programSearchModal .menu-item {
		grid-template-columns: 1fr;
	}

	#programSearchModal .menu-tags {
		margin-top: .25rem;
	}
}

/* Sticky section headers inside scrollable modal */
#programSearchModal .modal-dialog-scrollable .menu-group-header {
	top: 0;
	z-index: 1; /* stay above items */
}

/* Tiny, pill-like badges with consistent height */
#programSearchModal .badge.text-bg-light {
	border: 1px solid var(--bs-border-color);
	background-color: var(--bs-light-bg-subtle, #f8f9fa) !important;
	color: var(--bs-body-color);
	font-weight: 500;
}

#programSearchModal h3 {
	color: var(--app-header-color);
}

.onclick-tooltip {
	position: absolute;
	background: #333;
	color: #fff;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	white-space: normal;
	pointer-events: auto;
	z-index: 9999;
	display: none;
	max-width: 360px;
	user-select: text;
	font-family: monospace;
	line-height: 1.6;
}

	.onclick-tooltip a {
		color: #ffc451;
		text-decoration: none;
		margin-left: 6px;
		cursor: pointer;
	}

	.onclick-tooltip i {
		pointer-events: none;
	}

code {
	color: #ffc451 !important;
}

pre.code {
	background: #333;
	color: #fff;
	overflow-x: auto;
	overflow-y: auto;
	tab-size: 2; /* Adjust to your desired tab width */
	-moz-tab-size: 2; /* For older Firefox versions */
	max-height: 650px;
}



.tooltip-container {
	position: absolute;
	/*
	background: rgba(0, 0, 0, 0.85);
	color: white;
	*/
	background: #fff;
	padding: 10px;
	border-radius: 5px;
	display: none;
	font-size: 14px;
	z-index: 1000;
	max-width: 250px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.tooltip-content {
	width: 400px;
	height: 400px;
	display: flex;
	align-items: center;
	gap: 10px;
}
/* Cap the table to the available screen height and scroll */
.table-scroll {
	max-height: 70vh;
	overflow: auto;
	border: 1px solid #dee2e6;
	position: relative; /* Important for sticky positioning context */
}

/* Force horizontal scroll for wide tables */
.wide-table {
	min-width: 1200px;
	table-layout: auto;
}

	/* Regular header cells - sticky to top only */
	.wide-table thead th {
		position: sticky;
		top: 0;
		z-index: 3;
		background: #fff;
		box-shadow: 0 1px 0 #dee2e6;
	}

	/* Sticky columns in body (first two columns) */
	.wide-table tbody th.sticky-col:nth-child(1),
	.wide-table tbody td.sticky-col:nth-child(1) {
		position: sticky;
		left: 0;
		z-index: 2;
		background: #fff;
		border-right: 2px solid #dee2e6;
		width: 70px;
		white-space: nowrap;
	}
	.wide-table tbody th.sticky-col:nth-child(2),
	.wide-table tbody td.sticky-col:nth-child(2) {
		position: sticky;
		left: 70px;
		z-index: 2;
		background: #fff;
		border-right: 2px solid #dee2e6;
		width: 70px;
		white-space: nowrap;
	}
	/* CRITICAL: Header sticky columns - need both top AND left */
	.wide-table thead th.sticky-col:nth-child(1) {
		position: sticky;
		top: 0;
		left: 0;
		z-index: 5 !important; /* Highest priority */
		background: #fff;
		border-right: 2px solid #dee2e6;
		width: 70px;
		white-space: nowrap;
	}
	.wide-table thead th.sticky-col:nth-child(2) {
		position: sticky;
		top: 0;
		left: 70px;
		z-index: 5 !important; /* Highest priority */
		background: #fff;
		border-right: 2px solid #dee2e6;
		width: 70px;
		white-space: nowrap;
	}
	/* Make all table cells more compact */
	.wide-table th,
	.wide-table td {
		padding: .5rem .5rem;
		border: 1px solid #dee2e6;
		white-space: nowrap;
	}
		/* Make zone columns specifically narrower */
		.wide-table th.number,
		.wide-table td.number {
			width: 40px;
			text-align: right;
		}


.action-card {
	transition: all 0.15s ease-in-out;
	border-radius: 0.75rem;
	background-color: #fff;
}

	.action-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
		text-decoration: none;
	}

	.action-card i {
		transition: transform 0.2s ease;
	}

	.action-card:hover i {
		transform: scale(1.1);
	}

.text-orange {
	color: #e75b0b;
}
/* ===== Program Search Modal (Scoped Styles) ===== */
#programSearchModal {
	background: #fff;
	padding: 0;
	margin: 0;
}

	/* ===== Search Bar ===== */
	#programSearchModal .search-container {
		text-align: right;
		padding: 10px 15px 0 15px;
		margin-bottom: 0;
	}

	#programSearchModal #programSearchInput {
		max-width: 300px;
		font-size: 13px;
		height: 28px;
		margin-left: 72%;
	}

	/* ===== Left Column: Navigation Menu ===== */
	#programSearchModal #tagNav {
		background: #fafafa;
		border-right: 1px solid #ddd;
		padding: 15px 10px;
		min-height: 65vh;
		max-height: 70vh;
		overflow-y: auto;
	}

		#programSearchModal #tagNav h3 {
			font-size: 15px;
			font-weight: 700;
			margin: 0 0 10px 5px;
			color: #535456;
		}

		#programSearchModal #tagNav ul {
			list-style: none;
			padding-left: 0;
			margin: 0;
			display: block;
		}

		#programSearchModal #tagNav li {
			display: block;
			margin: 3px 0;
		}
		#programSearchModal #tagNav a {
			display: block;
			padding: 5px 8px;
			color: var( --main-color);
			text-decoration: none;
			font-size: 14px;
			border-radius: 3px;
			transition: background-color 0.15s, color 0.15s;
		}
			#programSearchModal #tagNav a:hover {
				background-color: #e9ecef;
				color: #A53319;
				text-decoration: none;
			}
	/* ===== Right Column: Content ===== */
	#programSearchModal #tagContent {
		padding: 15px 25px;
		max-height: 70vh;
		overflow-y: auto;
	}

		#programSearchModal #tagContent h3 {
			margin-top: 15px;
			margin-bottom: 8px;
			font-size: 16px;
			font-weight: 700;
			color: #535456;
			border-bottom: 1px solid #eee;
			padding-bottom: 3px;
		}

	/* ===== Menu Item Styling ===== */
	#programSearchModal .menu-item {
		margin-bottom: 6px; /* tightened spacing */
		padding-bottom: 4px;
		border-bottom: 1px solid #f5f5f5; /* subtle divider for clarity */
	}

		#programSearchModal .menu-item:last-child {
			border-bottom: none;
		}

	/* Program name (like Company, GL Code) */
	#programSearchModal .menu-link {
		display: inline-block;
		color: #ef4f24;
		font-weight: 600;
		font-size: 16px; /* slightly larger for emphasis */
		text-decoration: none;
		line-height: 1.2em;
		margin-bottom: 1px;
	}

		#programSearchModal .menu-link:hover {
			text-decoration: underline;
			color: #0056b3;
		}

	/* Program description (smaller and lighter) */
	#programSearchModal .menu-desc {
		display: block;
		font-size: 12.5px;
		color: #555;
		line-height: 1.3em;
	}

	/* ===== Scrollbar Styling ===== */
	#programSearchModal #tagNav::-webkit-scrollbar,
	#programSearchModal #tagContent::-webkit-scrollbar {
		width: 6px;
	}

	#programSearchModal #tagNav::-webkit-scrollbar-thumb,
	#programSearchModal #tagContent::-webkit-scrollbar-thumb {
		background: #ccc;
		border-radius: 3px;
	}

		#programSearchModal #tagNav::-webkit-scrollbar-thumb:hover,
		#programSearchModal #tagContent::-webkit-scrollbar-thumb:hover {
			background: #999;
		}

.event-row.selected {
	background-color: #ffedd3 !important;
	font-weight: 600;
}
	/* Prevent hover from removing highlight */
	.event-row.selected:hover {
		background-color: #e3f0ff !important;
	}

/* Force base JSON text to black */
.syntaxhighlight {
	color: #000 !important;
}

/* Highlight keys specifically */
.syntaxhighlight .json-key {
color: #ef4f24 !important;
font-weight: 600 !important;
}
/* Outer Container */
.webhook-container {
	font-family: Arial, sans-serif;
}

/* Back Link */
.webhook-header-link {
	display: block;
	margin-bottom: 12px;
}

/* Left / Right Panel Wrapper */
.webhook-main {
	height: 80vh;
	overflow: hidden;
}

/* Left Event Panel */
.webhook-sidebar {
	border-right: 1px solid #ddd;
	overflow-y: auto;
	height: 100%;
}

/* Controls row above event list */
.webhook-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-bottom: 8px;
}

/* Right Payload Panel */
.webhook-payloads {
	overflow-y: auto;
	height: 100%;
	background: #fafafa;
	padding: 10px;
}
.webhook-refresh-btn {
	width: 50px;
	height: 30px;
	padding-top: 5px;
	line-height: 1.2;
}

.webhook-add-btn {
	padding-top: 6px;
	padding-bottom: 6px;
	line-height: 1.2;
	width: 80px;
	height: 30px;
}
.webhook-controls .btn i {
	vertical-align: middle;
	line-height: 1;
}

/* Hide all payloads by default */
.payload-panel {
	display: none;
}

/* Default "no selection" message */
.payload-panel-default {
	color: #777;
}

/* Title row inside payload panel */
.flexheader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}
/* Status icon cell */
.status-cell {
	width: 22px;
	text-align: center;
}

/* The green checkmark */
.exists-icon {
	font-size: 14px;
	color: #28a745; /* bootstrap success green */
	font-weight: bold;
}

td a.btn {
	text-align:left;
}

#rateTableScroll table {
	table-layout: fixed;
}

#rateTableScroll th,
#rateTableScroll td {
	width: 10%; 
}
.api-log-viewer .log-item.selected {
	background-color: #e9ecef;
}

/* Multi Account Select */
.multi-select {
	position: relative;
	display: flex;
	align-items: flex-start; /* better alignment when wrapping */
	gap: 6px;
	width: 100%;
	flex-wrap: nowrap; /* prevent wrapping of main layout */
}

#accountInput {
	width: 200px;
	flex-shrink: 0; /* prevents input from shrinking */
}

#selectedAccounts {
	display: flex;
	flex-wrap: wrap; /* tags wrap inside this area */
	gap: 4px;
	flex: 1; /* take remaining horizontal space */
	min-width: 0; /* prevents overflow issues */
}

.multiaccount-input-wrapper {
	position: relative;
	width: 200px;
	flex-shrink: 0;
}

.results div.active {
	background: #ddd;
}

.tag {
	padding: 4px 8px;
	background: #ddd;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
}

	.tag button {
		margin-left: 6px;
	}

.results {
	position: absolute;
	top: 100%;
	left: 0;
	width: 200px;
	background: white;
	z-index: 10;
	max-height: 500px;
	overflow-y: auto;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
	.results div {
		padding: 6px;
		cursor: pointer;
		border-bottom: 1px solid #ccc;
	}
	.results div:hover {
		background: #eee;
	}
