/* prettier-ignore */
/*# sourceMappingURL=user.css.map */
.py-1-5 {
    padding-top: 0.395rem; /* 6px */
    padding-bottom: 0.395rem; /* 6px */
}

/* Initially hide the panel */
#bulkActionPanel {
	display: none;
	position: absolute;
	top: 15px;
	left: 200px;
	z-index: 1000;
}

/* Show the panel when this class is applied */
.show-panel {
	display: flex !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
	#bulkActionPanel {
		position: fixed;
		top: 15px;
		left: 50%;
		transform: translateX(-50%);
		background-color: rgba(210, 230, 255, 0.1);
		width: 200%;
		max-width: 300px;
		padding: 10px;
		border-radius: 8px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	}

	#bulkActionPanel select,
	#bulkActionPanel span,
	#bulkActionPanel button {
		width: 100%;
		text-align: center;
		margin: 5px 0;
	}
}
@font-face {
    font-family: 'CustomFont';
    src: url('/assets/fonts/flexo-bold.woff2') format('woff2'),
         url('/assets/fonts/flexo-bold.woff') format('woff'),
         url('/assets/fonts/flexo-bold.woff') format('eot'),
         url('/assets/fonts/flexo-bold.woff') format('ttf');
    font-weight: normal;
    font-style: normal;
}

.logo-large {
    font-family: 'flexo-bold', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #E94A3F; /* Match the red color */
    letter-spacing: 0.5px;
}

.logo-small {
    font-family: 'flexo-bold', sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #2C3E50; /* Match the dark color */
    text-transform: uppercase;
    letter-spacing: 1px;
}
.text_danger_chronos {
	color: #e84c3d;
}
.text_secondary_chronos {
	color: #4d6175;
}

/* SHOW NOTIFICATION BOX */

.notification-box {
	position: fixed;
	top: 0.69rem;
	right: 15rem;
	z-index: 1500; /* Ensure it stays on top of other elements */
	display: flex;
	align-items: center;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	white-space: nowrap;
	/*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
	transition: transform 0.2s ease-in-out, opacity 0.3s ease-in-out;
}

.notification-box.success {
	background-color: #d4edda;
	color: #155724;
}

.notification-box.error {
	background-color: #f8d7da;
	color: #721c24;
}

.notification-box.warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

.notification-box.info {
	background-color: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

.notification-box .close-btn {
	background: transparent;
	border: none;
	color: inherit;
	margin-left: 0.5rem;
	cursor: pointer;
	font-size: 1rem;
}

.notification-box.hidden {
	transform: translateY(-150%);
	opacity: 0;
}

@media (max-width: 768px) {
	.notification-box {
		right: 0.5rem;
		left: 0.5rem; /* Centered on smaller screens */
		max-width: unset;
	}
}

.support-chat-container.show {
	z-index: 50000 !important;
}

.support-chat {
  	max-width: 36rem;
	transform-origin: bottom left !important;
	left: 0 !important; /* Force the chat to the left */
  	right: auto !important; /* Ensure it's not positioned on the right */
	bottom: 9rem !important;
	padding-bottom: 0 !important;
	/*margin: 0 !important;
	padding: 0 !important;*/
}

.support-chat .card {
	-webkit-box-shadow: 0px 0px 24px 0px rgba(36, 40, 46, 0.52);
	box-shadow: 0px 0px 24px 0px rgba(36, 40, 46, 0.52);
	border-radius: 0;
}

.support-chat .card .card-header, .support-chat .card .card-footer {
	/*background-color: var(--phoenix-navbar-vertical-link-hover-bg);*/
	border-radius: 0;
}

.navbar-vertical-footer-chrona {
  position: fixed;
  width: 15.875rem;
  height: 4rem;
  display: inline;
	bottom: 4rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  
  border-top: 1px solid var(--phoenix-navbar-footer-border-color);
	border-right: 1px solid var(--phoenix-navbar-footer-border-color);
  -webkit-transition: width 0.2s ease;
  -o-transition: width 0.2s ease;
  transition: width 0.2s ease;
	padding: 0 !important;
	margin: 0 !important;
}

.ask-chrona-btn {
  /*width: 3rem;*/ /* Collapse width */
  justify-content: left; /* Center icon */
  padding: 0 0 0 22px !important;
  margin: 0 !important;
  overflow: hidden; /* Hide text */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 4rem !important;
  border-radius: 0;
	
}

.ask-chrona-btn.toggled {
    background-color: var(--phoenix-navbar-vertical-link-hover-bg);
	border-right: 1px solid var(--phoenix-navbar-footer-border-color);
}

.navbar-vertical-collapsed .ask-chrona-btn {
  display: none; /* Hide text in collapsed state */
}

.navbar-vertical-collapsed .ask-chrona-btn .chrona-icon {
  margin: 0; /* Remove margin */
}

.footer-btn:hover{
	background-color: var(--phoenix-navbar-vertical-link-hover-bg);
	border-right: 1px solid var(--phoenix-navbar-footer-border-color);
}

html.navbar-vertical-collapsed .navbar-vertical-footer-chrona {
    width: 64px; /* Shrinks the width */
    padding: 0; /* Removes extra padding */
    text-align: center; /* Ensures icon stays centered */
}

html.navbar-vertical-collapsed .navbar-vertical-footer-chrona img {
    margin: 0; /* Adjust icon margin */
    width: 24px; /* Resize icon if needed */
    height: 24px;
}

html.navbar-vertical-collapsed .navbar-vertical-footer:hover {
    border-right: 0 !important;
	background-color: var(--phoenix-navbar-vertical-link-hover-bg) !important;
}







.support-modal-container {
    position: absolute; /* Position dynamically */
    z-index: 50001; /* Ensure it's above other content */
    display: none; /* Hidden by default */
	right: auto !important;
	bottom: 9rem !important;
	padding-bottom: 0 !important;
	border-radius: 0;
}

.support-modal-container .card {
    width: 100%; /* Match the chat window width */
    border-radius: 0px;
}

.support-modal-container .card-header {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.support-modal-container .card-body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
	max-height: 78.79vh;
	overflow-y: auto;
}



/* Ensure all table cells align vertically */
.table-list .table td, .table th {
    vertical-align: middle !important; /* Enforce vertical alignment across all cells */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Flexbox container for name column */
.table-list .d-flex.align-items-center {
    display: flex;
    align-items: center; /* Align avatar and text vertically */
    gap: 8px; /* Add spacing between avatar and text */
}

/* Avatar container styling */
.avatar-container {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; /* Prevent shrinking of the avatar */
    background-color: #f0f0f0; /* Background for avatars */
    display: inline-block;
}

/* Avatar image styling */
.avatar-image {
    width: auto;
    height: 100%; /* Ensure the height fills the container */
    position: relative;
    left: 50%; /* Horizontally center the image */
    transform: translateX(-50%);
    object-fit: cover; /* Properly crop the image */
}

.dropdown-avatar-image {
  width: 24px;
  height: 24px;
  object-fit: cover;
}
.dropdown-item.d-flex {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.search-box .dropdown-menu .dropdown-item.active {
  background-color: #eff2f6 !important;  /* Light gray background */
  color: black !important;  /* Black text */
  border-top: none !important;  /* Remove any top border */
  border-bottom: none !important;  /* Remove any bottom border */
  border-left: none !important;  /* Remove any left border */
  border-right: none !important;  /* Remove any right border */
  box-shadow: none !important;  /* Remove any box shadow */
}

/* Firefox-specific focus styles */
.search-box .dropdown-menu .dropdown-item:focus,
.search-box .dropdown-menu .dropdown-item:focus-visible,
.search-box .dropdown-menu .dropdown-item.active:focus,
.search-box .dropdown-menu .dropdown-item.active:focus-visible {
  background-color: #eff2f6 !important;  /* Light gray background */
  color: black !important;  /* Black text */
  border: none !important;  /* Remove all borders */
  outline: none !important;  /* Remove Firefox outline */
  box-shadow: none !important;  /* Remove any box shadow */
}

.dropdown-item.active {
	background-color: #eff2f6 !important; /* Light gray background to match search */
	color: black !important; /* Black text */
	border-top: none !important;  /* Remove any top border */
	border-bottom: none !important;  /* Remove any bottom border */
	border-left: none !important;  /* Remove any left border */
	border-right: none !important;  /* Remove any right border */
	box-shadow: none !important;  /* Remove any box shadow */
}

/* Firefox-specific focus styles for general dropdown items */
.dropdown-item:focus,
.dropdown-item:focus-visible,
.dropdown-item.active:focus,
.dropdown-item.active:focus-visible {
	background-color: #eff2f6 !important; /* Light gray background to match search */
	color: black !important; /* Black text */
	border: none !important;  /* Remove all borders */
	outline: none !important;  /* Remove Firefox outline */
	box-shadow: none !important;  /* Remove any box shadow */
}

/* Additional overrides for any Bootstrap or browser focus styles */
.dropdown-item:focus-within,
.dropdown-item.active:focus-within,
.search-box .dropdown-menu .dropdown-item:focus-within,
.search-box .dropdown-menu .dropdown-item.active:focus-within {
	background-color: #eff2f6 !important;
	color: black !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Override any potential Bootstrap button focus styles */
a.dropdown-item:focus,
a.dropdown-item:focus-visible,
a.dropdown-item.active:focus,
a.dropdown-item.active:focus-visible {
	background-color: #eff2f6 !important;
	color: black !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

/* Prevent horizontal scrollbars in search dropdown */
.search-box .accordion-body {
	overflow-x: hidden !important;
	padding-right: 0.5rem !important; /* Small padding to prevent text touching scrollbar */
}

.search-box .dropdown-item {
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
	padding-right: 1rem !important; /* Ensure some padding on the right */
}

/* Remove ellipsis from the span to prevent it on short names */
.search-box .dropdown-item span {
	overflow: visible !important;
	text-overflow: clip !important;
	display: inline !important;
	max-width: none !important;
	vertical-align: baseline !important;
	white-space: normal !important;
	word-break: break-word !important;
}

/* Ensure the highlight span doesn't cause misalignment */
.search-box .dropdown-item span .highlight {
	display: inline !important;
	vertical-align: baseline !important;
	line-height: 1 !important;
	position: relative !important;
	top: 0 !important;
}

/* Consistent accordion button styling */
.search-box .accordion-button {
	color: #0d6efd !important; /* Use Bootstrap primary blue color like the icons */
	background-color: transparent !important;
	text-decoration: none !important;
	cursor: pointer !important;
	font-size: 0.9rem !important; /* Bigger than before but still smaller than default */
	font-weight: 600 !important; /* Slightly bolder to maintain hierarchy */
}

.search-box .accordion-button:hover {
	background-color: var(--bs-accordion-btn-hover-bg) !important;
	color: #0d6efd !important; /* Keep same blue color on hover */
}

.search-box .accordion-button:focus,
.search-box .accordion-button:focus-visible {
	background-color: #e3f2fd !important;
	color: #0d6efd !important; /* Keep same blue color when focused */
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	z-index: 10 !important;
}

/* Custom focus class for keyboard navigation */
.search-box .accordion-button.search-focused {
	background-color: #e3f2fd !important;
	color: #0d6efd !important; /* Keep same blue color when search-focused */
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	word-break: break-word;
}


.dataTable {
    table-layout: fixed; /* Enforces the column widths */
	
}

table.dataTable td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.dataTable thead th.text-end {
	padding-right:25px !important;
}
table.dataTable thead th.text-start {
	padding-left:10px !important;
}

/*.dataTable tbody tr {
    font-size: 0.75rem;
}*/
/*.dataTables_filter {
	position: relative;
}

.dataTables_filter svg {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}*/


.highlight {
	background-color: #bfe5ff !important;
	display: inline !important;
	vertical-align: baseline !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	position: relative !important;
	top: 0 !important;
}

/* More specific selectors to ensure blue highlight in search */
.search-box .highlight,
.search-box .dropdown-item .highlight,
.search-box .dropdown-item span .highlight {
	background-color: #bfe5ff !important;
	color: #000 !important;
}

.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent overlay */
	z-index: 999; /* Adjust based on your search box z-index to ensure it's below */
	display: none; /* Initially hidden */
}

.search-box {
	position: relative;
	z-index: 1000; /* Ensure search box is above overlay */
}

.dropdown-menu {
	z-index: 1001; /* Ensure dropdown is above overlay */
}

#clearSearchX {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #6c757d;
}
#clearSearchX:hover {
	color: #000;
}

/* Dark mode improvements for notifications and table styling */
[data-bs-theme="dark"] .notification-box.warning {
	background-color: #4a3c1a;
	color: #ffeb3b;
	border: 1px solid #6b5b2e;
}

[data-bs-theme="dark"] .notification-box.info {
	background-color: #1a3b4a;
	color: #81d4fa;
	border: 1px solid #2e5b6b;
}

[data-bs-theme="dark"] .notification-box.success {
	background-color: #1e4a1e;
	color: #81c784;
}

[data-bs-theme="dark"] .notification-box.error {
	background-color: #4a1e1e;
	color: #f48fb1;
}
