body {
	background-color: #f8f9fc;
	color: #5a5c66;
}

.navbar {
	background: linear-gradient(to right, #1d3d4b, #203a43, #2c5364);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar .navbar-brand {
	color: #fff;
	font-weight: bold;
	font-size: 1.4rem;
	letter-spacing: 1px;
  }
  
  .navbar .nav-link {
	color: #ddd;
	margin-right: 1rem;
	transition: color 0.2s ease;
  }
  
.navbar .nav-link:hover,
.navbar .nav-link:focus {
color: #fff;
}

.navbar .navbar-toggler {
border: none;
}

.navbar .nav-link .active {
	color: #fff;
}

.navbar .nav-link.dropdown-toggle {
	color: #ddd;
}
	
.navbar .nav-link.dropdown-toggle:focus,
.navbar .nav-link.dropdown-toggle:hover,
.navbar .nav-link.dropdown-toggle:active,
.navbar .nav-link.dropdown-toggle.show {
color: white;
}

.shadow {
	box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important;
}

.card {
	color: #5a5c66;
}

.card-header {
	padding: .75rem 1.25rem;
	margin-bottom: 0;
	background-color: #f8f9fc;
	border-bottom: 1px solid #e3e6f0;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid #e3e6f0;
	border-radius: .35rem;
}

.text-primary {
	color: #4e73df !important;
}
.font-weight-bold {
	font-weight: 700 !important;
}

a {
	text-decoration: none;
}

canvas {
	border: 1px solid #CCC;
}

#contextmenu {
	position: absolute;
	display: none;
	z-index: 999;
	min-width: 180px;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.25rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
	z-index: 1050;
	padding: 0.25rem 0;
	font-size: 0.875rem;
}

#contextmenu .context-item {
	display: block;
	padding: 0.25rem 1.5rem;
	clear: both;
	font-weight: 400;
	color: #212529;
	text-align: inherit;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	cursor: pointer;
}

#contextmenu .context-item:hover {
	background-color: #4ba5ff;
	color: #16181b;
}

#contextmenu .divider {
  height: 1px;
  margin: 0.5rem 0;
  overflow: hidden;
  background-color: #e9ecef; /* Bootstrap's light gray */
}

#workplaceObjectSettings {
	position: absolute;
	left: 5px;
	top: 5px;
	display: 'block';
	
	z-index: 998;
	min-width: 180px;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.25rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
	z-index: 1050;
	padding: 0.25rem 0;
	font-size: 0.875rem;
}

/* Soften the table header */
.table thead th {
	font-weight: 500;
	color: #495057;
	background-color: #f8f9fa;
	border-bottom: 2px solid #dee2e6;
}

/* Make table rows clean and subtle on hover */
.table-hover tbody tr:hover {
	background-color: #f1f3f5;
}

/* Optional: remove bottom border from last row */
.table tbody tr:last-child td {
	border-bottom: none;
}

/* Full-page overlay */
#loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
	z-index: 9999;
	display: none; /* hidden by default */
	pointer-events: all; /* block clicks */
}

/* Spinner centered inside the overlay */
#loader .spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border: 5px solid #ccc;
	border-top: 5px solid #ffffff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
	to { transform: rotate(360deg); }
}

.small-column {
	width: 1px;
	white-space: nowrap;
}

.select2-error {
  border-color: rgb(185, 74, 72) !important;
}

/*
@view-transition {
  navigation: auto;
}
*/

.color-box {
	display: inline-block;   /* so it sits inline with text */
	width: 12px;             /* rectangle width */
	height: 12px;            /* rectangle height */
	vertical-align: middle;  /* aligns it nicely with text */
	margin-left: 4px;        /* space before rectangle */
	margin-right: 4px;       /* space after rectangle */
	border: 1px solid #000;  /* optional border */
}