.login .login-content {
	max-width: 30.5rem;
}





section.bordered-section {
	border: 1px solid var(--app-component-border-color);
	padding: 20px;
	position: relative; /* For the label positioning */
	margin-top: 30px; /* To prevent overlap with content above */
}

.border-label {
	position: absolute;
	top: -15px; /* Adjust based on your preferences */
	left: 20px;
	background-color: white;
	padding: 0 10px;
}

.page-header {
	margin: 8px 0px;
	font-size: 1.3rem;
}

div.wcgformlistcontainer label {
	padding: 0px 0px 3px;
}

	div.wcgformlistcontainer label:has(button i) {
		padding: 0px 0px 2px;
	}

.control-label button.fieldnotepopover:hover {
	cursor: help;
}

table thead tr {
	vertical-align: middle;
}

.btn-sm {
	padding: 2px 4px;
}

@media (min-width: 576px) {
	.modal-xl {
		max-width: calc(100vw - 100px); /* 50px margin left + right */
		margin: 0 auto;
	}
}


table tbody tr {
	vertical-align: middle;
}

table.dataTable thead tr th:after {
	/* content: "\f0dc";  Add your icon or text 
	margin-left: 4px; 	
	display: inline-block; 
	vertical-align: middle; 
	*/
}

table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
	padding-right: 26px !important;
}


button.fieldnotepopover {
	padding: 0px 3px;
}

div.wcgformlistcontainer i.fa-info-circle {
	vertical-align: 2px
}

.piechart {
	min-height: 180px;
}

.list-group-item {
	min-height: 60px;
}

.rounded-circle {
	/* 
		Add a 1px black border 
	border: 1px solid #82888f; 
	*/
	padding: 1px;
}

.page-item.active .page-link {
	z-index: 3;
	font-weight: 600;
	background-color: var(--app-component-active-bg);
	border-color: var(--app-component-active-bg);
}


p {
	font-family: var(--bs-body-font-family);
	font-size: var(--bs-body-font-size);
	color: var(--bs-body-color);
	text-align: var(--bs-body-text-align);
	background-color: var(--bs-body-bg);
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}


.list-group-item {
	border: none;
	padding: 0.25rem;
}

.form-group textarea {
	/* white-space: pre-wrap; */
}

table.mapping tbody tr td select.form-select {
	padding: 2px 0px 2px 10px;
}

table.mapping {
	width: 100%;
}

.mappingcontainer {
	max-height: 300px;
	overflow-y: auto;
}

table.dataviewer td,
table.dataviewer th {
	font-size: 11px;
	max-width: 120px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*Removes thead color modification caused by the table-hover*/
table.table-hover > tbody > tr:hover > * {
	color: inherit !important;
}

.nav.nav-tabs > li.active > a {
	color: var(--app-sidebar-menu-link-color);
	font-weight: 600;
}

.wcgformlistcontainer {
	margin-bottom: 100px;
}

.app-sidebar .menu .menu-item.active:not(.has-sub) > .menu-link {
	/* color: var(--app-sidebar-menu-link-color); */
	color: var( --bs-body-bg);
	font-weight: 600;
	background: var(--app-sidebar-menu-link-active-bg);
}


.center-header tr th {
	text-align: center;
}

.modal-content {
	border: 3px solid var( --app-component-color);
}

tr.total td {
	font-weight: bold;
}


tr.internalevent td {
	background: #f3f3f3;
}

.alert.alert-light {
	background: #f3f3f3;
	border: 1px solid;
}


.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;
}

.menu-label.danger {
	background: var( --app-component-active-bg) !important;
}

.updatemenu {
	display: none;
}

.pagetitle {
	width: 100%;
}

/* WW - Use to align icon text with labels */
.wcg-icontext {
	position: relative; 
	top: 3px;
}

.pagetitle div {
	margin-left: 4px;
	margin-top: 0px;
}

h1 {
	font-size: 1.4rem;
}

h2 {
	font-size: 1.2rem;
}

h3 {
	font-size: 1.1rem;
}

#footer {
	font-weight: var(--bs-body-font-weight);
}

.copyright {
	font-size: 0.85rem;
	letter-spacing: -0.01rem;
}

@media (max-width: 575.98px) { /* Small screens like Bootstrap's 'sm' breakpoint */
	.hide-small-column {
		display: none;
	}
}

#accountname {
	font-size: 1.4rem;
	color: var( --app-component-active-bg);
}

.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;
}

#timer {
	padding: 10px;
	font-size: 4rem;
	background-color: var( --app-component-active-bg);
	color: white;
	font-weight: 400;
}

/* 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;
}

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

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

.tableFixHead {
	overflow: auto;
	height: 100px;
}

	.tableFixHead thead th {
		position: sticky;
		top: 0;
		z-index: 1;
	}

.app {
	background-color: #f9f9f9;
}

.app-sidebar {
	border-right: none;
	background-color: #f9f9f9;
}

.app-footer {
	border: none;
	background-color: #f9f9f9;
}

.app-content {
	/* Footer only shows if there's no overflow content*/
	padding: 0.0rem 2.0rem 0.0rem !important;
	min-height: calc(100% - 100px);
	background-color: #f9f9f9;
}

.max-width-override {
	max-width: 93rem;
}

.app-header {
	/* background-color: #f9f9f9; */
}

.wcgformlistcontainer {
	border-radius: 10px !important;
	background-color: var( --bs-body-bg);
	padding: 10px;
}

.rounded {
	border-radius: 10px !important;
	background-color: var( --bs-body-bg);
	padding: 10px 20px;
	margin-top: 4px;
	overflow-y: auto;
	max-height: calc(100vh - 60px);
	min-height: 80vh;
}

.rounded-section {
	border-radius: 10px !important;
	background-color: var( --bs-body-bg);
	padding: 10px 20px;
	margin-top: 10px;
	margin-bottom: 20px;
	overflow-y: auto;
}


.modal-xs {
	max-width: 300px; /* Adjust width as needed */
}

body table.dataTable tbody tr.selected td a {
	/*
	color: var(--app-component-color);
	*/
	color: #fff !important;
}

body table.dataTable tbody tr.selected td {
	background: var(--app-sidebar-menu-link-active-bg) !important;
	/*
	color: var(--app-component-color);
	*/
	color: #fff !important;
	box-shadow: none
}

/* WW Set max height, to maintain alignment of top row on tracking screen. */
.carrierlogo {
	max-height: 17px;
}

.labelvalue-row {
	min-height: 38px;
	border-bottom: 1px solid #eaeaea;
}

.labelvalue .label {
	white-space: nowrap;
	font-weight: 600;
	padding-right: 1rem;
}

.labelvalue .value {
	display: flex;
	flex-wrap: wrap;
}

	.labelvalue .value .filelink {
		max-width: 30ch; /* roughly limits to 30 characters */
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}


.labelvalue .value .btn-sm {
	font-size: inherit;
}


table.labelvalue tr td {
	min-height: 1.5rem;
}

table.labelvalue td {
	vertical-align: middle;
}

	table.labelvalue td.top {
		vertical-align: top;
	}

.page-header .small, .page-header small {
	font-size: 1.4rem;
	font-weight: 400;
}

.bg-info {
	--bs-bg-opacity: 1;
	background-color: var( --app-component-active-bg) !important;
}


.terminalname, .carriername {
	background: #009844;
	color: white;
	font-size: 1.55em;
	margin: 0px 8px;
	padding: 4px 10px;
}


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;
}

.alert-danger {
	color: #fff;
	background-color: #C42821;
	border-color: #C42821;
	border-radius: 6px;
}



.user-icon-container {
	position: absolute;
	top: 0px;
}

.sidebysideheader {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 15px 15px;
	width: 100%;
}

.flexheader {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	align-items: center;
}

	.flexheader .btn-group {
		padding: 0px 5px;
	}

.flexheadercolumn a.btn i {
	font-size: 1.25rem;
	margin-right: 5px;
}

.btn-header {
	margin: 0;
}


.flexheadercolumn i {
	font-size: 1.25rem;
	margin-right: 20px;
}


.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: .7em;
}

.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;
}


/* 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-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: 50px;
	height: 50px;
	border-radius: 400px;
	border: 1px solid var(--bs-body-color);
	background: #fff;
}

.profile-icon-text {
	width: 100%;
	left: 0px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	padding-top: 0.73rem;
}

a.usericon {
	width: 50px;
	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;
	}

.preserve-breaks {
	white-space: pre-line;
}

.form-check-input-lg {
	width: 1.5rem;
	height: 1.5rem;
}

#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;
	}

.ql-snow.ql-toolbar button:hover, .ql-snow a, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar button:focus, .ql-snow .ql-toolbar button:focus, .ql-snow.ql-toolbar button.ql-active, .ql-snow .ql-toolbar button.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item.ql-selected {
	color: inherit;
}

.ql-formats .dropdown button {
	width: inherit;
}


/* 
	Base style for .sourcecode paragraphs 
	assumes all p.sourcecode are children of the same parent, otherwise borders go wonky.
*/
p.sourcecode {
	border-top: none;
	border-bottom: none;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	padding: 2px 10px;
	background-color: #f5f5f5; /* Very light grey background */
	font-family: monospace;
	margin: 0px 10px;
}

	/* Add top padding and border to the first .sourcecode paragraph */
	p.sourcecode:first-of-type {
		padding-top: 10px;
		border-top: 1px solid #ccc;
	}


	/* Add bottom border to the last .sourcecode paragraph */
	p.sourcecode:last-of-type {
		padding-bottom: 10px;
		border-bottom: 1px solid #ccc;
	}

p[datadictionary] {
	/* Your CSS styles here */
	/* Example styles: */
	color: #333; /* Text color */
	background-color: #f0f0f0; /* Background color */
	border-left: 4px solid #007bff; /* Left border */
	padding: 10px; /* Padding */
	margin-bottom: 10px; /* Bottom margin */
}

#signalrProgressContainer {
	margin-top: -20px !important;
	width: 50%;
}

#signalrStatus {
	height: 20px;
}

/*
div[chart] {
	padding: 20px;
}
*/

.note {
	margin-bottom: 5px;
	flex-direction: row;
	display: flex;
}

	.note p {
		padding: 0px;
		margin-bottom: 5px
	}

.note-image {
	flex: 1;
	flex: initial;
	margin: 0;
	padding: 0;
	width: 50px;
	min-width: 50px;
}

.note-content {
	padding-left: 10px; /* Indent content to align with image */
	width: 66%;
}

.note-date {
	flex: 1;
	text-align: right;
	color: #6c757d;
	width: 150px;
}


.note-content, .note-date {
	box-sizing: border-box; /* Include padding and border in width calculation */
}

.bt-col {
	padding-top: 5px;
	padding-bottom: 5px;
	border-top: 1px solid var(--bs-gray-100);
}

.note.bt {
	padding-top: 8px;
	border-top: 1px solid var(--bs-gray-100);
}

.note .col-1 {
	width: 60px; /* 60px width for the first column */
}

.note .col-7 {
	width: 58.3333%; /* 7 columns wide (out of 12) for the second column */
}

.note .col-3 {
	width: 25%; /* 3 columns wide (out of 12) for the third column */
}

.app-header .menu .menu-item .menu-label {
	text-align: center;
}

#notification-items {
	width: 20rem;
	max-height: 500px; /* Set the maximum height of the notification items container */
	overflow-y: auto; /* Enable vertical scrolling */
}

	#notification-items .dropdown-notification-icon {
		min-width: 40px;
		width: 40px;
	}

/* shows the database type i.e "TEST DB" */
.navbar-brand-webtest {
	background: #3276b1;
	color: #fff;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 0.875rem;
	float: left;
	margin-top: 8px;
	margin-left: 5px;
	border-radius: 5px;
}

.app-header {
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), /* Darker, closer shadow */
	0 8px 8px rgba(0, 0, 0, 0.0); /* Lighter, faded shadow */
}

.strikethrough-row td {
	text-decoration: line-through;
}

.syntaxhighlight, .syntaxhighlightcomplete {
	padding: 5px;
	margin: 5px;
	outline: 1px solid #ccc;
	min-height: 50px;
	max-height: 350px;
	overflow-y: auto;
}

span.string {
	color: green;
}

span.number {
	color: darkorange;
}

span.boolean {
	color: blue;
}

span.null {
	color: magenta;
}

span.key {
	color: red;
}



/* TOOGLE SWICH */
.onoffswitch {
	position: relative;
	width: 64px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.onoffswitch-checkbox {
	display: none;
}

.onoffswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #b92f3e;
	border-radius: 2px;
}

.onoffswitch-inner {
	width: 200%;
	margin-left: -100%;
	-moz-transition: margin 0.3s ease-in 0s;
	-webkit-transition: margin 0.3s ease-in 0s;
	-o-transition: margin 0.3s ease-in 0s;
	transition: margin 0.3s ease-in 0s;
}

	.onoffswitch-inner:before,
	.onoffswitch-inner:after {
		float: left;
		width: 50%;
		height: 20px;
		padding: 0;
		line-height: 20px;
		font-size: 12px;
		color: white;
		font-family: Trebuchet, Arial, sans-serif;
		font-weight: bold;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	.onoffswitch-inner:before {
		content: "ON";
		padding-left: 10px;
		background-color: #b92f3e;
		color: #FFFFFF;
	}

	.onoffswitch-inner:after {
		content: "OFF";
		padding-right: 10px;
		background-color: #FFFFFF;
		color: #999999;
		text-align: right;
	}

.onoffswitch-switch {
	width: 20px;
	margin: 0px;
	background: #FFFFFF;
	border: 2px solid #b92f3e;
	border-radius: 2px;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 44px;
	-moz-transition: all 0.3s ease-in 0s;
	-webkit-transition: all 0.3s ease-in 0s;
	-o-transition: all 0.3s ease-in 0s;
	transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
	margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
	right: 0px;
}

.neumorphism-box {
	border-radius: 4px;
	padding: 20px;
	margin: 10px;
	box-shadow: 4px 4px 4px #b3b3b3, -2px -2px 2px #f9f9f9
}

.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;
}

.userimageholder {
	display: inline-block;
	width: 25px;
}

th.admin, td.admin {
	border-left: 1px solid #ccc;
}

.dt-header-wrapper {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid #ccc; /* Optional visual separation */
}

	.dt-header-wrapper h3 {
		font-weight: 600;
		margin: 0;
	}

.dataTables_filter {
	margin-bottom: 0 !important;
}


.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;
}
.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;
	margin-top: 30px;
}

/* 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: 4px;
	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;
}
/* ===== 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: #028927;
		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;
	}


/* 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 */
}