html,
body {
	margin: 0;
	padding: 0;
	background-color: #e9edf3;
	overflow-x: hidden;
	font-family: Arial, sans-serif;
	font-size: 13px;
}

/* ================= NAVBAR ================= */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
}


.app-home-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 28px;
	padding: 0 10px;
	border: 1px solid rgba(68, 114, 196, 0.3);
	border-radius: 6px;
	background: rgba(68, 114, 196, 0.08);
	color: #4472C4 !important;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.app-home-btn:hover {
	background: rgba(68, 114, 196, 0.16);
	border-color: #4169e1;
	transform: translateY(-1px);
}

.app-home-btn i,
.app-home-btn span {
	font-size: 12px;
	line-height: 1;
	color: #4472C4 !important;
}

/* .bnb-logo img {
	height: 39px;
	width: 36vh;
	object-fit: contain;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
	margin-left: -11vh;
} */

.bnb-logo {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.bnb-logo img {
	height: 22px !important;
	width: auto !important;
	max-height: 22px !important;
	max-width: 120px !important;
	object-fit: contain !important;
	display: block !important;
	margin: auto 0 !important;
	padding: 0 !important;
	border: none !important;
	filter: none !important;
	vertical-align: middle !important;
}

.navbar-custom {
	background: #ffffff !important;
	color: #000000 !important;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	height: var(--app-header-height, 50px) !important;
	min-height: var(--app-header-height, 50px) !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	display: flex !important;
	align-items: center !important;
}

body.sales-performance-page {
	padding-top: 64px;
}

body.sales-performance-page .navbar-custom {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1400;
	background: #ffffff !important;
	border-bottom: 1px solid #e2e8f0;
}

body.sales-performance-page .sidebar {
	top: 64px;
}


.main-content.sales-performance-host {
	margin-top: 0;
	padding-top: 0;
}

.navbar-brand {
	color: #000000;
	font-weight: 500;
}

/* .app-launcher {
	color: #000000;
	font-size: 18px;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 8px;
	margin-left: 150vh;
} */

/* .app-launcher:hover {
	background: rgba(0, 0, 0, 0.08);
} */

.navbar-custom .navbar-brand {
	color: #4472C4 !important;
	text-decoration: none;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active {
	color: #4472C4 !important;
	text-decoration: none;
}

.navbar-custom #notificationBell,
.navbar-custom .notification-wrapper > i {
	color: #4472C4 !important;
}

.profile-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #4169e1 !important;
	border: 2px solid rgba(68, 114, 196, 0.2);
	color: #ffffff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.04em;
	box-shadow: 0 4px 12px rgba(68, 114, 196, 0.25);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.profile-circle:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(68, 114, 196, 0.35);
	filter: brightness(1.08);
}

.profile-card {
	position: fixed;
	top: 68px;
	right: 16px;
	width: 320px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid #dbe4f0;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
	padding: 0;
	display: none;
	z-index: 3000;
	overflow: hidden;
}

.profile-card::before {
	content: "";
	position: absolute;
	top: 10px;
	right: 18px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-top: 1px solid #dbe4f0;
	border-left: 1px solid #dbe4f0;
	transform: rotate(45deg);
}

.profile-card p {
	margin: 0;
	font-size: 13px;
	color: #334155;
}

.profile-card .profile-name {
	padding: 18px 18px 10px;
	font-weight: 500;
	font-size: 16px;
	color: #4169e1;
	background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent);
}

.profile-card .profile-info {
	padding: 0 18px 10px;
	font-size: 13px;
	color: #475569;
	line-height: 1.45;
}

.profile-status {
	font-size: 12px;
	/* font-weight: 500; */
	color: green;
}

#profileRole {
	padding-bottom: 16px;
}

.profile-card hr {
	margin: 0;
	border: 0;
	border-top: 1px solid #e5edf6;
}

.profile-card .change-pass-circle,
.profile-card .logout-circle {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: none;
	width: 42px;
	height: 42px;
	margin: 16px 0 18px;
	border-radius: 50%;
	font-size: 16px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.profile-card .change-pass-circle {
	margin-left: 18px;
	background: linear-gradient(135deg, #4169e1, #4169e1);
}

.profile-card .logout-circle {
	margin-left: 10px;
	background: linear-gradient(135deg, #ff5f57, #ff3b30);
}

.profile-card .change-pass-circle:hover,
.profile-card .logout-circle:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
	filter: saturate(1.05);
}

.logout-circle {
	width: 32px;
	height: 30px;
	border-radius: 50%;
	background: #ff4d4d; /* red */
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition:
		background 0.3s ease,
		transform 0.2s ease;
}

.logout-circle:hover {
	background: #e63b3b;
	transform: translateX(-50%) scale(1.1);
}

.change-pass-circle {
	width: 32px;
	height: 30px;
	border-radius: 50%;
	background: #4169e1;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	position: absolute;
	bottom: 8px;
	left: 28%;
	transform: translateX(-50%);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.change-pass-circle:hover {
	background: #4169e1;
}
.change-pass-card {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px; /* increased size */
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
	padding: 28px 30px;
	z-index: 4000;
	display: none;
}

.profile-name {
	font-size: 18px;
	font-weight: 400;
	color: #4169e1;
}

.change-pass-card input {
	font-size: 14px;
	border-radius: 8px;
	height: 40px;
}

.pass-wrapper {
	position: relative;
	margin-bottom: 16px;
}

.pass-wrapper input {
	width: 100%;
	padding: 10px 40px 10px 12px;
	border: 1px solid #ced4da;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}

.pass-wrapper input:focus {
	outline: none;
	border-color: #4169e1;
	box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.15);
}

.pass-wrapper i {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #6c757d;
	font-size: 17px;
}

.btn-primary {
	background-color: #4169e1;
	border: none;
	border-radius: 8px;
	padding: 8px;
	font-size: 14px;
}

.btn-primary:hover {
	background-color: #4169e1;
}

.cp-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(5px);
	z-index: 3500;
	display: none;
}
#cpEmail {
	text-align: left !important;
}
.close-btn {
	position: absolute;
	top: 12px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 22px;
	font-weight: 400;
	color: #6c757d;
	cursor: pointer;
	line-height: 1;
}

.close-btn:hover {
	color: #4169e1;
}

/* ✅ SweetAlert Fix + Small & Cute */
.small-swal {
	width: 320px !important;
	padding: 18px !important;
	border-radius: 12px !important;
}

.small-swal .swal2-title {
	font-size: 18px !important;
	margin-bottom: 8px !important;
}

.small-swal .swal2-html-container {
	font-size: 14px !important;
	color: #555;
}

.small-swal .swal2-confirm {
	background-color: #4169e1 !important;
	border-radius: 6px !important;
	padding: 6px 18px !important;
	font-size: 14px !important;
}

.small-swal-cancel-btn {
	background-color: #6c757d !important;
	color: #fff !important;
	border-radius: 6px !important;
	padding: 6px 18px !important;
	font-size: 14px !important;
	border: none !important;
}

.small-swal-cancel-btn:hover {
	background-color: #5a6268 !important;
}
.swal2-container {
	z-index: 9999 !important;
}

/* .pass-wrapper {
	position: relative;
	margin-bottom: 12px;
}

.pass-wrapper input {
	width: 100%;
	padding: 8px 36px 8px 10px;
	font-size: 13px;
}

.pass-wrapper i {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #666;
	font-size: 16px;
} */

/* ================= SIDEBAR ================= */
/* .sidebar {
	position: fixed;
	top: 56px;
	left: 0;
	width: 60px;
	height: calc(100vh - 56px);
	background: #f0f0f0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 20px;
	z-index: 999;
} */

.sidebar {
	position: fixed;
	top: 64px;
	left: 0;
	width: 72px;
	height: calc(100vh - 64px);
	background: #ffffff;
	border-right: 1px solid #e4ebf4;
	box-shadow: 6px 0 22px rgba(15, 23, 42, 0.055);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 4px 2px calc(4vh + 8px) 2px;
	z-index: 999;
}

.sidebar .menu-item {
	margin: 0;
	cursor: pointer;
}

.sidebar .menu-item i {
	font-size: 18px;
	transition: color 0.2s ease;
}

/* Sidebar icon colors */
.bi-person-fill {
	color: #2563eb;
}
.bi-people-fill {
	color: #16a34a;
}
.bi-person-lines-fill {
	color: #0ea5e9;
}
.bi-building {
	color: #9333ea;
}
.bi-lightning-fill {
	color: #f97316;
}
.bi-box-seam {
	color: #dc2626;
}

.bi-calendar-event-fill {
	color: #7f39fb;
}

.bi-clipboard-check-fill {
	color: #28a745;
}

.sidebar-dashboard-icon {
	color: #4f46e5;
}

.sidebar-all-data-icon {
	color: #0891b2; /* cyan-600 */
}

.bi-kanban-fill {
	color: #7c3aed; /* Elegant Purple */
}
.sidebar-geo-icon {
	color: #0f766e;
}
.sidebar-company-icon {
	color: #1e40af; /* Deep Corporate Blue */
}
.sidebar-asset-icon {
	color: #f59e0b;
}

.sidebar .menu-item[data-type="onbef"] i,
.launcher-item[data-type="onbef"] i {
	color: #0f766e;
}

.sidebar .menu-item[data-type="onbel"] i,
.launcher-item[data-type="onbel"] i {
	color: #2563eb;
}

/* Project Management sidebar colors */
.sidebar .menu-item.pm-side-color i {
	transition: color 0.2s ease;
}
.sidebar .menu-item.pm-side-color .menu-label {
	font-weight: 400;
}
.sidebar .menu-item.pm-color-root i,
.sidebar .menu-item.pm-color-root .menu-label {
	color: #1d4ed8;
}
.sidebar .menu-item.pm-color-dashboard i,
.sidebar .menu-item.pm-color-dashboard .menu-label {
	color: #2563eb;
}
.sidebar .menu-item.pm-color-workspace i,
.sidebar .menu-item.pm-color-workspace .menu-label {
	color: #0f766e;
}
.sidebar .menu-item.pm-color-projects i,
.sidebar .menu-item.pm-color-projects .menu-label {
	color: #7c3aed;
}
.sidebar .menu-item.pm-color-templates i,
.sidebar .menu-item.pm-color-templates .menu-label {
	color: #d97706;
}
.sidebar .menu-item.pm-color-mytasks i,
.sidebar .menu-item.pm-color-mytasks .menu-label {
	color: #16a34a;
}
.sidebar .menu-item.pm-color-section i,
.sidebar .menu-item.pm-color-section .menu-label {
	color: #be123c;
}
.sidebar .menu-item.pm-color-overview i,
.sidebar .menu-item.pm-color-overview .menu-label {
	color: #0369a1;
}
.sidebar .menu-item.pm-color-phases i,
.sidebar .menu-item.pm-color-phases .menu-label {
	color: #6d28d9;
}
.sidebar .menu-item.pm-color-activities i,
.sidebar .menu-item.pm-color-activities .menu-label {
	color: #16a34a;
}
.sidebar .menu-item.pm-color-tasks i,
.sidebar .menu-item.pm-color-tasks .menu-label {
	color: #0f766e;
}
.sidebar .menu-item[data-type="projectmanagement"] .menu-label {
	color: #1d4ed8;
	font-weight: 400;
}

.sidebar .menu-item[data-type="onbef"] .menu-label,
.launcher-item[data-type="onbef"] span {
	color: #0f766e;
	font-weight: 400;
}

.sidebar .menu-item[data-type="onbel"] .menu-label,
.launcher-item[data-type="onbel"] span {
	color: #2563eb;
	font-weight: 400;
}

/* PM mode: collapsible/expandable vertical sidebar */
body.pm-vertical-submenu .sidebar {
	width: 72px;
	align-items: stretch;
	overflow-y: auto;
	overflow-x: hidden;
	transition: width 0.2s ease;
	background: #ffffff;
	border-right: 1px solid #dbe3ef;
	box-shadow: 1px 0 0 rgba(15, 23, 42, 0.03);
	padding: 4px 4px;
}

body.pm-vertical-submenu.pm-sidebar-expanded .sidebar {
	width: 236px;
}

body.pm-vertical-submenu .main-content {
	margin-left: 72px;
	transition: margin-left 0.2s ease;
}

body.pm-vertical-submenu.pm-sidebar-expanded .main-content {
	margin-left: 236px;
}

body.pm-vertical-submenu .sidebar .menu-item {
	width: 100%;
	min-height: 42px;
	margin: 1px 0;
	padding: 8px 9px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	border-radius: 8px;
	color: #334155;
	transition:
		background 0.16s ease,
		color 0.16s ease,
		box-shadow 0.16s ease;
}

body.pm-vertical-submenu .sidebar .menu-item:hover {
	background: #f1f5f9;
	color: #0f172a;
}

body.pm-vertical-submenu .sidebar .menu-item.active,
body.pm-vertical-submenu .sidebar .menu-item.pm-side-item.active {
	background: #eaf2ff;
	box-shadow: inset 3px 0 0 #2563eb;
}

body.pm-vertical-submenu .sidebar .menu-item i {
	min-width: 22px;
	width: 22px;
	text-align: center;
	color: #64748b !important;
	font-size: 18px;
}

body.pm-vertical-submenu .sidebar .menu-item .menu-label {
	display: none;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	font-weight: 400;
	color: #334155 !important;
	text-align: left;
	white-space: nowrap;
	line-height: 1.2;
}

body.pm-vertical-submenu.pm-sidebar-expanded .sidebar .menu-item .menu-label {
	display: inline-block;
}

body.pm-vertical-submenu .sidebar .menu-item.active i,
body.pm-vertical-submenu .sidebar .menu-item.active .menu-label {
	color: #1d4ed8 !important;
}

body.pm-vertical-submenu .sidebar .menu-item.pm-dynamic-tree-node {
	padding-top: 7px;
	padding-bottom: 7px;
}

body.pm-vertical-submenu .sidebar .menu-item.pm-tree-project {
	padding-left: 18px;
}

body.pm-vertical-submenu .sidebar .menu-item.pm-tree-child {
	padding-left: 36px;
}

/* PM Projects Section tree (matches requested visual style) */
body.pm-vertical-submenu .pm-project-tree-block {
	width: 100%;
	padding: 10px 8px 12px;
}

body.pm-vertical-submenu .pm-project-tree-title {
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #6b7280;
	padding: 6px 10px 8px;
	display: none;
}

body.pm-vertical-submenu.pm-sidebar-expanded .pm-project-tree-title {
	display: block;
}

body.pm-vertical-submenu .pm-project-tree-item {
	width: 100%;
}

body.pm-vertical-submenu .pm-tree-project-row {
	width: 100%;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
}

body.pm-vertical-submenu .pm-tree-project-row:hover {
	background: rgba(0, 0, 0, 0.05);
}

body.pm-vertical-submenu .pm-tree-chevron {
	font-size: 14px;
	color: #111827;
	transition: transform 0.2s ease;
}

body.pm-vertical-submenu .pm-tree-chevron.open {
	transform: rotate(90deg);
}

body.pm-vertical-submenu .pm-tree-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #4169e1;
	flex: 0 0 auto;
}

body.pm-vertical-submenu .pm-tree-name {
	font-size: 13px;
	color: #111827;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.pm-vertical-submenu .pm-tree-child-list {
	display: none;
	padding: 2px 0 6px 34px;
}

body.pm-vertical-submenu.pm-sidebar-expanded .pm-project-tree-item:hover .pm-tree-child-list {
	display: block;
}

body.pm-vertical-submenu .pm-tree-child-list.open {
	display: block;
}

body.pm-vertical-submenu .pm-tree-child-link {
	width: 100%;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 8px;
	font-size: 12px;
	color: #4b5563;
	text-align: left;
}

body.pm-vertical-submenu .pm-tree-child-link:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #1f2937;
}

body.pm-vertical-submenu .pm-tree-child-link i {
	font-size: 15px;
	min-width: 18px;
	text-align: center;
}

/* Project Management root table page */
.pm-root-shell .pm-root-card {
	border-radius: 12px;
	overflow: hidden;
}

.pm-root-shell #opportunityTable thead th {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.03em;
}

/* MENU ITEM LAYOUT */
.sidebar .menu-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	flex: 1 1 auto;
	min-height: 42px;
	max-height: 54px;
	padding: 3px 2px;
	border-left: 3px solid transparent;
	border-radius: 6px;
	transition:
		border-color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

/* LABEL BELOW ICON */
.sidebar .menu-label {
	color: #49617d;
	display: block;
	flex: 0 1 auto;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: -0.1px;
	line-height: 1.1;
	min-width: 0;
	overflow: visible;
	text-align: center;
	white-space: normal;
	word-break: break-word;
}

/* OPTIONAL: subtle hover enhancement */
.sidebar .menu-item:hover .menu-label {
	color: #111827;
}

.sidebar .menu-item:hover {
	background: #f4f7fb;
	transform: translateY(-1px);
}

.sidebar .menu-item.active {
	background: #f6f9ff;
	border-left-color: var(--active-border-color, #4169e1) !important;
	box-shadow: 0 8px 18px rgba(30, 99, 200, 0.08) !important;
}

.sidebar .menu-item.active .menu-label {
	color: #4169e1;
	font-weight: 500;
}

.sidebar .menu-item i {
	align-items: center;
	background: #f6f8fc;
	border-radius: 6px;
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 12px;
	justify-content: center;
	height: 22px;
	width: 22px;
}

/* ================= MAIN CONTENT ================= */

/* .main-content {
	margin-left: 60px;
	margin-top: 47px;
	padding: 20px;
} */

.main-content {
	margin-left: 72px;
	margin-top: 64px;
	padding-top: 8px;
	min-height: calc(100vh - 64px);
}

.main-content.ticketing-host {
	height: calc(100vh - 64px);
	min-height: 0;
	overflow: hidden;
	padding-top: 0;
}

.main-content.assetmgmt-host {
	height: calc(100vh - 64px);
	min-height: 0;
	overflow: hidden;
	margin-top: 64px;
	padding-top: 0;
}

.main-content.projectmanagement-host {
	height: calc(100vh - 64px - 4vh - 20px);
	min-height: 0;
	overflow: hidden;
	margin-top: 64px;
	padding-top: 0;
}

body.mom-page {
	background: #ffffff;
}

body.mom-page .sidebar,
body.mom-page .submenu-bar,
body.mom-page .side-panel,
body.mom-page #dynamicSidebarRoot {
	display: none !important;
}

body.mom-page .main-content.mom-host {
	margin-left: 0;
	margin-top: 64px;
	min-height: calc(100vh - 64px);
	background: #ffffff;
}

body.mom-page .app-footer {
	margin-left: 0;
}

/* ================= LAUNCHER PANEL ================= */
.launcher-panel {
	position: fixed;
	top: 60px;
	right: 12px;
	width: 360px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
	padding: 16px;
	display: none;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	z-index: 9999;
}

.launcher-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 6px;
	border-radius: 12px;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.launcher-item:hover {
	background: #f3f6fb;
	transform: translateY(-2px);
}

.launcher-item i {
	font-size: 26px;
	margin-bottom: 6px;
}

.launcher-item span {
	font-size: 13px;
	font-weight: 500;
	color: #1f2937;
}

/* Launcher icon colors */
.icon-admin {
	color: #2563eb;
}
.icon-lead {
	color: #16a34a;
}
.icon-contact {
	color: #0ea5e9;
}
.icon-account {
	color: #9333ea;
}
.icon-opportunity {
	color: #f97316;
}
.icon-product {
	color: #dc2626;
}
.icon-calendar {
	color: #7f39fb;
}
.icon-task {
	color: #28a745;
}
.icon-report {
	color: #0891b2; /* teal-700 */
}
.icon-asset {
	color: #f59e0b;
}

.launcher-dashboard-icon {
	color: #4f46e5;
}

/* submenu */

/* ================= SUBMENU BAR ================= */
.submenu-bar {
	position: fixed;
	top: 64px;
	left: 72px;
	width: calc(100% - 72px);
	height: 40px;
	background: #ffffff;
	border-bottom: 1px solid #e4ebf4;
	/* background: #f0e8e8f2; */

	display: none;
	/* display: flex;
	visibility: hidden; */
	align-items: center;
	padding: 0 20px;
	z-index: 998;
}

/* .submenu-group {
	display: none;
	gap: 20px;
} */

.submenu-item {
	font-size: 14px;
	font-weight: 400;
	color: #1f2937;
	cursor: pointer;
	position: relative;
	padding: 6px 4px;
	background: transparent;
}

.submenu-item::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background: #4169e1;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

/* ACTIVE TEXT — FIX FOR QUICK CLICK */
.submenu-item.active .submenu-text {
	font-weight: 400 !important;
	color: #1f2937;
}

.submenu-item.active::after {
	transform: scaleX(1);
}

/*  REMOVE hover blue background */
.submenu-item:hover {
	background: transparent;
	color: #1f2937;
}

/* .submenu-group {
	display: none;
	align-items: center;
	gap: 22px;
} */

.submenu-group {
	display: none;
	align-items: center;
	gap: 20px;
	min-height: 48px;
}

body.pm-project-focus-mode .sidebar {
	display: flex;
}

body.pm-project-focus-mode .submenu-bar {
	display: none !important;
}

body.pm-project-focus-mode .main-content.projectmanagement-host {
	margin-left: 72px;
	margin-top: 64px;
}

body.pm-project-focus-mode.pm-vertical-submenu .main-content.projectmanagement-host {
	margin-left: 72px;
}

body.pm-project-focus-mode.pm-vertical-submenu.pm-sidebar-expanded .main-content.projectmanagement-host {
	margin-left: 236px;
}

.pm-focus-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 16px;
	min-height: calc(100vh - 130px);
}

.pm-focus-side {
	background: #f3f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 10px;
}

.pm-focus-side-title {
	font-size: 22px;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin: 0 8px 10px;
}

.pm-focus-side-title.pm-focus-project-title {
	font-size: 30px;
	letter-spacing: 0;
	color: #1f2937;
	font-weight: 500;
	line-height: 1.2;
}

.pm-focus-project-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	color: #111827;
	font-weight: 500;
	border-radius: 8px;
	border: none;
	background: transparent;
	width: 100%;
	text-align: left;
}

.pm-focus-project-row:hover,
.pm-focus-project-row.active {
	background: #e8edf7;
}

.pm-focus-chevron {
	transition: transform 0.2s ease;
}

.pm-focus-chevron.open {
	transform: rotate(90deg);
}

.pm-focus-project-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

.pm-focus-sub-list {
	display: none;
	gap: 4px;
	padding-left: 26px;
}

.pm-focus-sub-list.open {
	display: grid;
}

.pm-focus-sub {
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	color: #4b5563;
	text-align: left;
}

.pm-focus-sub:hover,
.pm-focus-sub.active {
	background: #e8edf7;
	color: #1f2937;
}

.pm-focus-node {
	display: grid;
	gap: 4px;
}

.pm-focus-node.level-2,
.pm-focus-node.level-3 {
	padding-left: 12px;
	border-left: 1px solid #dde3ee;
	margin-left: 6px;
}

.pm-focus-node-btn {
	width: 100%;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 6px;
	text-align: left;
	color: #334155;
}

.pm-focus-node-btn:hover,
.pm-focus-node-btn.active {
	background: #e8edf7;
	color: #0f172a;
}

.pm-focus-node-btn span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
}

.pm-tree-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding-left: 6px;
}

.pm-tree-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	font-size: 12px;
	border: none;
	cursor: pointer;
	opacity: 0.88;
	font-weight: 500;
}

.pm-tree-icon-btn.add {
	color: #5f6368;
	background: transparent;
}

.pm-tree-icon-btn.del {
	color: #5f6368;
	background: transparent;
}

.pm-tree-icon-btn:hover {
	background: #e2e8f0;
	opacity: 1;
}

.pm-tree-inline-add {
	margin: 4px 0 4px 28px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.pm-tree-inline-input {
	width: 100%;
	max-width: 160px;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	padding: 3px 8px;
	font-size: 12px;
	background: #fff;
}

.pm-tree-inline-input:focus {
	outline: none;
	border-color: #4169e1;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.pm-tree-inline-ok,
.pm-tree-inline-cancel {
	border: none;
	background: transparent;
	color: #475569;
	font-size: 13px;
	font-weight: 500;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	line-height: 1;
	padding: 0;
}

.pm-tree-inline-ok:hover,
.pm-tree-inline-cancel:hover {
	background: #e2e8f0;
}

.pm-tree-icon-btn:focus {
	outline: 2px solid #2563eb55;
	outline-offset: 1px;
}

.pm-focus-node-meta {
	font-size: 10px;
	color: #64748b;
}

.pm-focus-node-chevron {
	font-size: 12px;
	transition: transform 0.2s ease;
}

.pm-focus-node-chevron.open {
	transform: rotate(90deg);
}

.pm-focus-node-children {
	display: none;
	gap: 4px;
}

.pm-focus-node-children.open {
	display: grid;
}

.pm-focus-leaf {
	width: 100%;
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 8px 5px 28px;
	border-radius: 6px;
	font-size: 12px;
	color: #475569;
	text-align: left;
}

.pm-focus-leaf.active,
.pm-focus-leaf:hover {
	background: #edf2fb;
	color: #0f172a;
}

.pm-focus-main {
	background: transparent;
}

.pm-focus-main-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

/* Project Management: show submenu as vertical left panel */
body.pm-vertical-submenu .submenu-bar {
	top: 64px;
	left: 72px;
	width: 220px;
	height: calc(100vh - 64px);
	padding: 12px 10px;
	align-items: flex-start;
	overflow-y: auto;
}

body.pm-vertical-submenu .submenu-group[data-module="projectmanagement"] {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	width: 100%;
	min-height: auto;
}

body.pm-vertical-submenu .submenu-group[data-module="projectmanagement"] .submenu-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 8px 10px;
	border-radius: 8px;
}

body.pm-vertical-submenu .submenu-group[data-module="projectmanagement"] .submenu-item::after {
	bottom: 0;
	height: 0;
}

body.pm-vertical-submenu .submenu-group[data-module="projectmanagement"] .submenu-item.active {
	background: #e9eef7;
}

body.pm-vertical-submenu .submenu-group[data-module="projectmanagement"] .submenu-text {
	font-weight: 500;
	padding-bottom: 0;
}

body.pm-vertical-submenu .main-content {
	margin-left: 280px;
}

.submenu-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* text */
.submenu-text {
	font-size: 14px;
	font-weight: 400;
	color: #1f2937;
	cursor: pointer;
	position: relative;
	padding-bottom: 6px;
}

.submenu-item.active .submenu-text::after {
	transform: scaleX(1);
}

/* chevron */
.submenu-chevron {
	cursor: pointer;
	display: flex;
	align-items: center;
}

.submenu-chevron i {
	font-size: 14px;
	color: #2563eb;
	transition: transform 0.25s ease;
}

.submenu-item.open .submenu-chevron i {
	transform: rotate(180deg);
}

/* ================= DROPDOWN CARD ================= */
.submenu-dropdown {
	position: fixed;
	top: 104px;
	left: 140px;
	width: 260px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	display: none;
	font-family: "Segoe UI", Arial, sans-serif;
}

.dropdown-header {
	padding: 10px 14px;
	font-weight: 400;
	color: #2563eb;
	border-bottom: 1px solid #e5e7eb;
	cursor: pointer;
}

.dropdown-section-title {
	padding: 8px 14px;
	font-size: 12px;
	color: #6b7280;
}

.dropdown-item {
	padding: 8px 14px;
	font-size: 14px;
	cursor: pointer;
}

.dropdown-item:hover {
	background: #f3f6fb;
	color: #2563eb;
}

/* Container to stack Name and Tagline */
.header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end; /* Keeps text flushed to the right */
	justify-content: center;
}

.logo-text {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
	line-height: 1;
	color: #4472C4 !important;
}

.tagline {
	font-size: 8px;
	font-weight: 400;
	letter-spacing: 1.5px;
	color: rgba(0, 0, 0, 0.75);
	text-transform: uppercase;
	margin: 2px 0 0 0;
	font-style: normal;
}

.navbar-custom .container-fluid {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 24px;
	padding-right: 24px;
	height: 100% !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: transparent !important;

	border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
	padding: 5px 3px;
}

/* NEW CSS FOR FOOTER */
/* ================= FOOTER STYLES ================= */
.app-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30px;
	background: #4169e1 !important;
	color: #ffffff !important;
	display: flex;
	align-items: center;
	z-index: 1050;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 -2px 10px rgba(65, 105, 225, 0.2);
	padding: 0 16px;
}

.footer-text {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	color: #ffffff !important;
}

/* Adjust Sidebar and Main Content to prevent overlap */
/* .sidebar {
	height: calc(100vh - 56px - 30px); 
} */

.error-msg {
	font-size: 12px;
	display: block;
	margin-top: 3px;
}

/* =========================================================
   GLOBAL FIXED APPLICATION HEADER
   High-specificity rules prevent module styles from displacing it.
========================================================= */
:root {
	--app-header-height: 50px;
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body > .navbar.navbar-custom {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	left: 0 !important;
	z-index: 1080 !important;
	width: 100% !important;
	height: var(--app-header-height, 50px) !important;
	min-height: var(--app-header-height, 50px) !important;
	padding: 0 16px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	background: #ffffff !important;
	color: #000000 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
	transform: none !important;
	backface-visibility: hidden;
}

body > .navbar.navbar-custom .container-fluid {
	height: 100% !important;
	min-height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 0 8px !important;
	margin: 0 !important;
}

/* Keep global navigation rails fully below the fixed application header. */
body > .sidebar {
	position: fixed !important;
	top: var(--app-header-height) !important;
	bottom: auto !important;
	height: calc(100vh - var(--app-header-height)) !important;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 999;
}

body > .submenu-bar {
	position: fixed !important;
	top: var(--app-header-height) !important;
	box-sizing: border-box;
}

body > .sidebar > #dynamicSidebarRoot {
	max-width: 100%;
}

/* Standard module hosts sit immediately below the fixed header. */
body > #mainContent.main-content {
	margin-top: var(--app-header-height) !important;
	scroll-margin-top: var(--app-header-height);
}

/* This host already receives its header offset from body padding. */
body.sales-performance-page > #mainContent.main-content.sales-performance-host {
	margin-top: 0 !important;
}

.pass-wrapper {
	position: relative;
}

.pass-wrapper i {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

/* Select2 container same bootstrap select jaisa */
.select2-container--default .select2-selection--single {
	height: 38px;
	border: 1px solid #ced4da;
	border-radius: 6px;
	padding: 5px 10px;
	display: flex;
	align-items: center;
}

/* text alignment */
.select2-container--default
	.select2-selection--single
	.select2-selection__rendered {
	line-height: normal;
	padding-left: 0;
	color: #495057;
}

/* arrow position */
.select2-container--default
	.select2-selection--single
	.select2-selection__arrow {
	height: 100%;
	right: 8px;
}

/* dropdown style */
.select2-dropdown {
	border-radius: 6px;
	border: 1px solid #ced4da;
}

/* search box style */
.select2-search--dropdown .select2-search__field {
	border-radius: 6px;
	border: 1px solid #ced4da;
	padding: 6px 10px;
}

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

.filter-icon {
	color: #0b5ed7 !important; /* Default color */
	transition: all 0.3s ease; /* Smooth transition */
}
.filter-icon:hover {
	transform: scale(1.2); /* Slight zoom */
}



/* location icon css */

		.location-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #2c3e50; /* match your theme */
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	transition: 0.3s;
}

.location-circle:hover {
	background: #1abc9c;
}

#mapContainer {
    height: 100%; /* Important: Leaflet needs a height to show up */
    min-height: 400px;
    background: #f8f9fa;
}

/* Optional: Make the Layer Control look cleaner */
.leaflet-control-layers {
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.notification-dropdown {
  position: absolute;
  right: 0;
  top: 40px;
  width: 300px;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
}

/* .notification-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
} */

.notification-dropdown {
  position: absolute;
  right: 0;
  top: 64px;
  width: 340px;
  max-height: 460px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  z-index: 1000;
}

.notification-dropdown::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 20px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-top: 1px solid #dbe4f0;
	border-left: 1px solid #dbe4f0;
	transform: rotate(45deg);
}

.notification-dropdown > .p-2.border-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px !important;
	border-bottom: 1px solid #e5edf6 !important;
	background: linear-gradient(180deg, rgba(37, 99, 235, 0.07), transparent);
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
}

.notification-dropdown > .p-2.border-bottom .fw-bold {
	font-size: 15px;
	font-weight: 500 !important;
	color: #4169e1;
}

#markAllBtn {
	padding: 6px 10px;
	border-radius: 10px;
	border: none;
	background: linear-gradient(135deg, #4169e1, #4169e1);
	box-shadow: 0 8px 16px rgba(29, 111, 232, 0.2);
	font-size: 12px;
	font-weight: 500;
}

#notificationList {
	max-height: 390px;
	overflow-y: auto;
}

#notificationList::-webkit-scrollbar {
	width: 7px;
}

#notificationList::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 999px;
}

.notification-item {
	padding: 14px 16px;
	border-bottom: 1px solid #eaf0f6;
	background: transparent;
	color: #0f172a;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}

.notification-item:last-child {
	border-bottom: none;
}

.notification-item:hover {
	background: #f8fbff;
}

.notification-item.is-unread {
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.03));
}

.notification-item.is-read {
	opacity: 0.72;
}

.notification-item-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
}

.notification-item-title {
	font-size: 14px;
	font-weight: 500;
	color: #4169e1;
	line-height: 1.3;
}

.notification-item-body {
	font-size: 12px;
	line-height: 1.45;
	color: #64748b;
}

.notification-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
	background: #4169e1;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}



.side-panel {
    position: fixed;
    top: 120px;
    left: 112px;
    width: 220px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 6px 0;
    z-index: 1000;
	max-height: calc(96vh - 76px);
	overflow-x: hidden;
	overflow-y: auto;

    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.side-panel.show {
    opacity: 1;
    visibility: visible;
}

.side-panel-title {
    font-weight: 400;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.side-panel-item {
    padding: 6px 12px;
	 font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.side-panel-item:hover {
    background: #f5f5f5;
}

.side-panel-item.active {
    background: #e0edff;
    color: #0b5ed7;
    font-weight: 500;
    border-left: 3px solid #4169e1;
}

.side-panel-item {
    display: flex;
    align-items: center;
    gap: 8px; /* space between icon & text */
}

.side-panel-item i {
    font-size: 14px;
    width: 16px; /* align all icons */
}

#dynamicSidebarRoot {
	display: contents;
}

.menu-item.dynamic-db-sidebar i {
	font-size: 20px;
}

.dynamic-sidebar-panel .side-panel-title {
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

#accountPanel {
    top: 160px; /* different position */
}

#taskPanel{
	top: 190px;
}


.pm-project-hover-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #4169e1;
	flex: 0 0 auto;
}

.pm-project-hover-name {
	font-size: 13px;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.dataTables_length select {
    display: inline-block;
    width: auto;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}
.container-fluid{
	padding-top:5px !important;
}

/* Shared field-level edit approval workflow */
.edit-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.edit-field-option { border:1px solid #dce5ef; border-radius:8px; padding:9px 11px; background:#f8fafc; cursor:pointer; }
.edit-record-name { padding:10px 12px; border-radius:8px; background:#eef5ff; color:#4169e1; font-weight:600; }
.solution-edit-request-card { background:#fff; border:0!important; border-radius:12px!important; box-shadow:0 12px 40px rgba(0,0,0,.25)!important; left:50%!important; max-height:calc(100vh - 32px); max-width:500px!important; overflow:hidden; position:fixed!important; top:50%!important; transform:translate(-50%,-50%)!important; width:min(500px,90vw)!important; }
.solution-edit-request-card .quick-card-header { min-height:48px; padding:14px 18px!important; background:linear-gradient(135deg,#4169e1,#4169e1)!important; color:#fff!important; }
.solution-edit-request-card .quick-card-header span { color:#fff!important; font-size:14px; font-weight:600; }
.solution-edit-request-card .quick-card-header .edit-approval-close { color:#fff; cursor:pointer; font-size:16px; }
.solution-edit-request-card .quick-card-body { background:#fff; max-height:calc(100vh - 80px); overflow-y:auto; padding:24px!important; }
.solution-edit-request-card .form-label { margin-bottom:7px; color:#27313f; font-size:14px; font-weight:600!important; }
.solution-edit-request-card .edit-record-name { min-height:42px; padding:10px 12px; border:1px solid #cbd5e1; border-radius:6px; background:#f8fafc; color:#334155; }
.solution-edit-request-card textarea.form-control { min-height:72px; padding:10px 12px; border:1px solid #cbd5e1; border-radius:6px; color:#334155; font-size:13px; resize:vertical; }
.solution-edit-request-card textarea.form-control:focus { border-color:#4169e1; box-shadow:0 0 0 3px rgba(65, 105, 225,.12); }
.solution-edit-request-card .btn { border-radius:6px; font-size:12px; font-weight:600; padding:8px 14px; }
.solution-edit-request-card .btn-primary { background:#4169e1; border-color:#4169e1; }
.solution-edit-request-card .btn-secondary { background:#6b7280; border-color:#6b7280; }
.solution-page .action-btn-circle { width:32px; height:32px; border-radius:50%!important; display:inline-flex!important; align-items:center; justify-content:center; padding:0!important; font-size:14px!important; transition:all .2s ease; }
.solution-page .action-btn-circle:hover:not(:disabled) { transform:translateY(-1px); box-shadow:0 4px 6px rgba(0,0,0,.15)!important; }
.solution-page .solution-history-action { width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; padding:0; border-radius:5px; }
#solutionEditApprovalAdminModal .solution-history-action { width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; padding:0; border-radius:5px; }
.edit-field-locked { background-color:#f1f3f5 !important; cursor:not-allowed !important; opacity:.72; }
.edit-requests-modal { width:min(96vw,1500px) !important; max-width:1500px !important; max-height:92vh; }
.edit-requests-modal .quick-card-body { overflow:auto; max-height:calc(92vh - 60px); }
.edit-request-kpi-grid { display:grid; grid-template-columns:repeat(5,minmax(110px,1fr)); gap:10px; margin-bottom:14px; }
.edit-request-kpi-card { border:1px solid #dce5ef; border-radius:10px; background:#fff; padding:10px 14px; text-align:left; color:#52667c; }
.edit-request-kpi-card strong { display:block; color:#1f4164; font-size:22px; }
.edit-request-kpi-card.active { border-color:#4169e1; box-shadow:0 0 0 2px rgba(44,111,187,.12); }
.requests-count-badge { display:inline-flex; min-width:24px; height:24px; align-items:center; justify-content:center; border-radius:12px; background:#fff; color:#4169e1; font-size:12px; }
.history-backdrop { position:fixed; inset:0; background:rgba(15,23,42,.35); z-index:3099; }
.history-drawer { position:fixed; top:0; right:-480px; width:min(92vw,460px); height:100vh; background:#fff; z-index:3100; box-shadow:-8px 0 30px rgba(15,23,42,.18); transition:right .25s ease; }
.history-drawer.open { right:0; }
.history-drawer-header { display:flex; justify-content:space-between; align-items:center; padding:18px; background:#4169e1; color:#fff; }
.history-drawer-header .close-btn { border:0; background:transparent; color:#fff; font-size:28px; }
.history-drawer-body { padding:20px; overflow:auto; height:calc(100vh - 70px); }
.history-timeline { list-style:none; padding:0; margin:0; }
.history-timeline li { border-left:2px solid #dce5ef; margin-left:6px; padding:0 0 20px 18px; position:relative; }
.history-dot { position:absolute; width:10px; height:10px; border-radius:50%; background:#4169e1; left:-6px; top:5px; }
.solution-history-drawer { right:-500px; width:min(94vw,500px); display:flex; flex-direction:column; }
.solution-history-drawer .history-drawer-header { background:linear-gradient(135deg,#4169e1,#4169e1); box-shadow:0 2px 10px rgba(0,0,0,.1); }
.solution-history-drawer .history-drawer-header h5 { margin:0; color:#fff; font-weight:600; }
.solution-history-drawer .history-drawer-body { flex-grow:1; height:auto; padding:24px; }
.solution-history-drawer .history-timeline { position:relative; padding-left:24px; }
.solution-history-drawer .history-timeline::before { content:""; position:absolute; z-index:1; top:0; bottom:0; left:5px; width:2px; background:#e9ecef; }
.solution-history-drawer .history-timeline-item { border:0; margin:0 0 24px; padding:0; position:relative; }
.solution-history-drawer .history-timeline-item::before { content:""; position:absolute; z-index:2; top:5px; left:-24px; width:12px; height:12px; border:2px solid #4169e1; border-radius:50%; background:#4169e1; }
.solution-history-drawer .history-timeline-item.created::before { border-color:#28a745; background:#28a745; }
.solution-history-drawer .history-timeline-item.requested::before { border-color:#fd7e14; background:#fd7e14; }
.solution-history-drawer .history-timeline-item.approved::before { border-color:#20c997; background:#20c997; }
.solution-history-drawer .history-timeline-item.rejected::before { border-color:#dc3545; background:#dc3545; }
.solution-history-drawer .history-timeline-title { margin-bottom:2px; color:#212529; font-size:.95rem; font-weight:600; }
.solution-history-drawer .history-timeline-time { margin-bottom:8px; color:#868e96; font-size:.8rem; }
.solution-history-drawer .history-timeline-detail { padding:10px 14px; border-left:3px solid #dee2e6; border-radius:8px; background:#f8f9fa; color:#495057; font-size:.85rem; line-height:1.4; white-space:pre-line; }
.solution-history-drawer .history-change { margin-top:7px; white-space:normal; }
@media (max-width:768px) { .edit-field-grid,.edit-request-kpi-grid { grid-template-columns:1fr 1fr; } }

/* Solution edit requests: visual parity with the Opportunity request card. */
#solutionEditApprovalAdminModal.solution-edit-requests-modal {
	background:#fff!important; border:1px solid #e5ebf3!important; border-radius:10px!important;
	box-shadow:0 18px 55px rgba(15,23,42,.22)!important; overflow:hidden;
	position:fixed!important; left:50%!important; top:50%!important; transform:translate(-50%,-50%)!important;
	width:95vw!important; max-width:1400px!important; max-height:92vh!important;
}
#solutionEditApprovalAdminModal .quick-card-header {
	background:linear-gradient(135deg,#4169e1,#4169e1)!important; border-bottom:0; color:#fff!important;
	min-height:58px; padding:14px 20px!important;
}
#solutionEditApprovalAdminModal .quick-card-header>span { color:#fff; font-size:14px; font-weight:600; }
#solutionEditApprovalAdminModal .quick-card-header .requests-count-badge {
	background:rgba(255,255,255,.2); border-radius:6px; color:#fff; font-size:13px; font-weight:700;
	height:auto; margin-left:10px; min-width:24px; padding:3px 8px;
}
#solutionEditApprovalAdminModal .quick-card-header .edit-admin-close { color:#fff; cursor:pointer; font-size:16px; }
#solutionEditApprovalAdminModal .quick-card-header .btn { border:0; font-size:11px; padding:7px 13px; }
#solutionEditApprovalAdminModal .quick-card-header .btn:disabled { opacity:.42; }
#solutionEditApprovalAdminModal .quick-card-body {
	background:#f8fafc; max-height:calc(92vh - 58px); overflow-y:auto; padding:20px!important;
}
#solutionEditApprovalAdminModal .solution-edit-kpi-grid {
	display:grid; grid-template-columns:repeat(5,minmax(180px,1fr)); gap:12px; margin-bottom:16px;
}
#solutionEditApprovalAdminModal .edit-request-kpi-card {
	align-items:center; background:#fff; border:1px solid #cbd5e1; border-radius:8px; box-shadow:0 1px 3px rgba(0,0,0,.05);
	cursor:pointer; display:flex; gap:12px; padding:12px 16px; text-align:left; transition:.2s ease-in-out; width:100%;
}
#solutionEditApprovalAdminModal .edit-request-kpi-card:hover { border-color:#94a3b8; box-shadow:0 4px 8px rgba(15,23,42,.1); }
#solutionEditApprovalAdminModal .edit-request-kpi-card.active { background:#eff6ff; border-color:#4169e1; box-shadow:0 4px 12px rgba(59,130,246,.1); }
#solutionEditApprovalAdminModal .edit-request-kpi-icon {
	align-items:center; border-radius:8px; display:flex; flex:0 0 40px; font-size:18px; height:40px; justify-content:center; width:40px;
}
#solutionEditApprovalAdminModal .edit-request-kpi-icon-total { background:#eff6ff; color:#4169e1; }
#solutionEditApprovalAdminModal .edit-request-kpi-icon-pending { background:#fffbeb; color:#d97706; }
#solutionEditApprovalAdminModal .edit-request-kpi-icon-approved { background:#f0fdf4; color:#16a34a; }
#solutionEditApprovalAdminModal .edit-request-kpi-icon-rejected { background:#fef2f2; color:#dc2626; }
#solutionEditApprovalAdminModal .edit-request-kpi-icon-consumed { background:#f1f5f9; color:#475569; }
#solutionEditApprovalAdminModal .edit-request-kpi-card.active .edit-request-kpi-icon-total { background:#4169e1; color:#fff; }
#solutionEditApprovalAdminModal .edit-request-kpi-card.active .edit-request-kpi-icon-pending { background:#d97706; color:#fff; }
#solutionEditApprovalAdminModal .edit-request-kpi-card.active .edit-request-kpi-icon-approved { background:#16a34a; color:#fff; }
#solutionEditApprovalAdminModal .edit-request-kpi-card.active .edit-request-kpi-icon-rejected { background:#dc2626; color:#fff; }
#solutionEditApprovalAdminModal .edit-request-kpi-card.active .edit-request-kpi-icon-consumed { background:#475569; color:#fff; }
#solutionEditApprovalAdminModal .edit-request-kpi-content { display:flex; flex:1; flex-direction:column; min-width:0; }
#solutionEditApprovalAdminModal .edit-request-kpi-label { color:#64748b; font-size:11px; font-weight:600; letter-spacing:.5px; margin:0; text-transform:uppercase; }
#solutionEditApprovalAdminModal .edit-request-kpi-count { color:#0f172a; font-size:24px; font-weight:700; line-height:1.1; margin:2px 0; }
#solutionEditApprovalAdminModal .edit-request-kpi-description { color:#94a3b8; font-size:10.5px; margin:0; white-space:nowrap; }
#solutionEditApprovalAdminModal .edit-request-filter-card {
	background:#fff!important; border:1px solid #e2e8f0!important; border-radius:8px!important;
	box-shadow:0 1px 3px rgba(0,0,0,.05)!important; padding:16px!important;
}
#solutionEditApprovalAdminModal .edit-request-filter-card label { color:#475569; font-size:11.5px; font-weight:600; margin-bottom:6px; }
#solutionEditApprovalAdminModal .edit-request-filter-card .form-control,
#solutionEditApprovalAdminModal .edit-request-filter-card .form-select { background:#fff; border:1px solid #cbd5e1; color:#4169e1; font-size:12px; min-height:32px; padding:6px 10px; }
#solutionEditApprovalAdminModal .edit-request-filter-card .form-control:focus,
#solutionEditApprovalAdminModal .edit-request-filter-card .form-select:focus { border-color:#94a3b8; box-shadow:0 0 0 2px rgba(148,163,184,.1); }
#solutionEditApprovalAdminModal .edit-request-selection-summary {
	background:#fff; border:1px solid #e2e8f0; border-radius:8px; box-shadow:0 1px 2px rgba(0,0,0,.05);
	color:#475569; font-size:12px; font-weight:600; padding:7px 14px;
}
#solutionEditApprovalAdminModal .edit-request-table-wrapper {
	background:#fff; border:1px solid #e2e8f0!important; border-radius:8px!important;
	box-shadow:0 4px 12px rgba(15,23,42,.03)!important; overflow:hidden; padding:14px;
}
#solutionEditApprovalAdminModal .edit-request-table-container,
#solutionEditApprovalTable_wrapper { min-width:0; overflow-x:hidden; width:100%; }
#solutionEditApprovalTable { border-collapse:separate!important; border-spacing:0; font-size:11px; margin:0!important; min-width:0!important; table-layout:fixed; width:100%!important; }
#solutionEditApprovalTable thead th { background:#f8fafc!important; border-bottom:1px solid #e2e8f0!important; color:#4169e1!important; font-size:10px!important; font-weight:600!important; line-height:1.25; overflow-wrap:anywhere; padding:9px 5px!important; text-transform:uppercase; white-space:normal; word-break:normal; }
#solutionEditApprovalTable tbody td { border-bottom:1px solid #f1f5f9!important; color:#334155; line-height:1.35; overflow-wrap:anywhere; padding:9px 5px!important; vertical-align:top; white-space:normal; word-break:break-word; }
#solutionEditApprovalTable th:nth-child(1), #solutionEditApprovalTable td:nth-child(1) { text-align:center; width:3%; }
#solutionEditApprovalTable th:nth-child(2), #solutionEditApprovalTable td:nth-child(2) { width:4%; }
#solutionEditApprovalTable th:nth-child(3), #solutionEditApprovalTable td:nth-child(3) { width:7%; }
#solutionEditApprovalTable th:nth-child(4), #solutionEditApprovalTable td:nth-child(4) { width:5%; }
#solutionEditApprovalTable th:nth-child(5), #solutionEditApprovalTable td:nth-child(5) { width:8%; }
#solutionEditApprovalTable th:nth-child(6), #solutionEditApprovalTable td:nth-child(6) { width:7%; }
#solutionEditApprovalTable th:nth-child(7), #solutionEditApprovalTable td:nth-child(7) { width:10%; }
#solutionEditApprovalTable th:nth-child(8), #solutionEditApprovalTable td:nth-child(8) { width:12%; }
#solutionEditApprovalTable th:nth-child(9), #solutionEditApprovalTable td:nth-child(9) { width:9%; }
#solutionEditApprovalTable th:nth-child(10), #solutionEditApprovalTable td:nth-child(10) { width:7%; }
#solutionEditApprovalTable th:nth-child(11), #solutionEditApprovalTable td:nth-child(11) { width:7%; }
#solutionEditApprovalTable th:nth-child(12), #solutionEditApprovalTable td:nth-child(12) { width:9%; }
#solutionEditApprovalTable th:nth-child(13), #solutionEditApprovalTable td:nth-child(13) { width:12%; }
#solutionEditApprovalTable input[type="checkbox"] { cursor:pointer; height:16px; width:16px; }
#solutionEditApprovalTable input[type="checkbox"]:disabled { cursor:not-allowed; opacity:.5; }
#solutionEditApprovalTable .edit-approval-readable { line-height:1.45; max-width:none; min-width:0; white-space:normal; }
#solutionEditApprovalTable .solution-edit-actions { align-items:flex-start; display:flex; flex-wrap:wrap; gap:4px; }
#solutionEditApprovalTable .solution-edit-actions .btn { font-size:10px; margin:0!important; padding:5px 7px; white-space:nowrap; }
#solutionEditApprovalTable .edit-request-status-badge { align-items:center; border-radius:999px; color:#fff; display:inline-flex; font-size:10px; font-weight:600; justify-content:center; min-height:22px; padding:3px 9px; }
#solutionEditApprovalTable .edit-request-status-badge.bg-pending { background:#f59e0b; }
#solutionEditApprovalTable .edit-request-status-badge.bg-approved { background:#22c55e; }
#solutionEditApprovalTable .edit-request-status-badge.bg-rejected { background:#ef4444; }
#solutionEditApprovalTable .edit-request-status-badge.bg-consumed { background:#64748b; }
#solutionEditApprovalTable .edit-request-status-badge.bg-cancelled { background:#334155; }
#solutionEditApprovalTable_wrapper .dataTables_length { color:#64748b; font-size:12px; font-weight:500; }
#solutionEditApprovalTable_wrapper .dataTables_length label { align-items:center; display:flex; gap:6px; margin:0; }
#solutionEditApprovalTable_wrapper .dataTables_length select { background:#fff; border:1px solid #cbd5e1; border-radius:6px; color:#4169e1; font-size:12px; min-height:30px; padding:4px 8px; }
#solutionEditApprovalTable_wrapper .dataTables_filter { display:flex; justify-content:flex-end; margin-bottom:8px; }
#solutionEditApprovalTable_wrapper .dataTables_filter label { display:block; font-size:0; margin:0; position:relative; width:min(250px,100%); }
#solutionEditApprovalTable_wrapper .dataTables_filter label:before { color:#94a3b8; content:"\F52A"; font-family:"bootstrap-icons"; font-size:14px; left:10px; position:absolute; top:50%; transform:translateY(-50%); z-index:2; }
#solutionEditApprovalTable_wrapper .dataTables_filter input { background:#fff; border:1px solid #cbd5e1; border-radius:6px; font-size:12px; height:32px; margin:0!important; padding:6px 10px 6px 32px; width:100%!important; }
#solutionEditApprovalTable_wrapper .dataTables_empty { color:#64748b!important; height:54px; text-align:center!important; }
#solutionEditApprovalTable_wrapper .dataTables_info { color:#475569; font-size:12px; padding-top:10px; }
#solutionEditApprovalTable_wrapper .pagination { gap:4px; margin:8px 0 0; }
#solutionEditApprovalTable_wrapper .page-link { border:1px solid #dfe8f3; border-radius:6px; color:#475569; font-size:12px; min-width:32px; text-align:center; }
#solutionEditApprovalTable_wrapper .page-item.active .page-link { background:#4169e1; border-color:#4169e1; color:#fff; }
@media (max-width:1050px) { #solutionEditApprovalAdminModal .solution-edit-kpi-grid { grid-template-columns:repeat(2,minmax(180px,1fr)); } }
@media (max-width:768px) {
	#solutionEditApprovalAdminModal.solution-edit-requests-modal { max-height:94vh!important; width:calc(100vw - 20px)!important; }
	#solutionEditApprovalAdminModal .solution-edit-kpi-grid { grid-template-columns:1fr; }
	#solutionEditApprovalAdminModal .edit-request-kpi-description { white-space:normal; }
}
