:root {
	--blue: #0014a8;
	--indigo: #6610f2;
	--purple: #6f42c1;
	--pink: #e83e8c;
	--red: #dc3545;
	--orange: #fd7e14;
	--yellow: #ffc107;
	--green: #28a745;
	--teal: #20c997;
	--cyan: #17a2b8;
	--white: #fff;
	--gray: #6c757d;
	--gray-dark: #343a40;
	--primary: #FFDA00; /* #007bff */
	--primary-fade: var(--light);
	/* --primary-fade: #FFEDAF; */
	--secondary: #0014a8;
	--success: #28a745;
	--info: #17a2b8;
	--warning: #ffc107;
	--danger: #dc3545;
	--light: #f5f5f5;
	--dark: #272a2e;
	--theme-dark: #272a2e;
	--border-radius: 1rem;
	/* --border-radius: 0.5em; */
	--breakpoint-xs: 0;
	--breakpoint-sm: 576px;
	--breakpoint-md: 768px;
	--breakpoint-lg: 992px;
	--breakpoint-xl: 1200px;
	--font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Define Figtree font */
@font-face {
    font-family: 'Figtree';
    src: url('/static/fonts/Figtree-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Adjust as needed based on your font's weight range */
    font-style: normal;
}

/* Define RobotoFlex font */
@font-face {
    font-family: 'RobotoFlex';
    src: url('/static/fonts/RobotoFlex-VariableFont_GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('truetype');
    font-weight: 300 900; /* Adjust as needed based on your font's weight range */
    font-style: normal;
}

/* You can define italic if needed */
@font-face {
    font-family: 'RobotoFlex';
    src: url('/static/fonts/RobotoFlex-VariableFont_GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('truetype');
    font-weight: 300 900; 
    font-style: italic;
}

* {
	transition: all;
	transition-duration: .1s;
}

*:not(video,table,th,td), button, .btn, .dropdown-menu {
	border-radius: var(--border-radius);
}

html {
	height: 100%;
	scrollbar-width: none;
	font-size: 0.8rem;
	font-family: 'Figtree', 'RobotoFlex', sans-serif;
}

/* Apply Montserrat as the font for the entire site or specific elements */
body {
	background: var(--theme-dark);
	color: var(--light);
	font-family: 'Figtree', 'RobotoFlex', sans-serif;
	-webkit-font-smoothing: antialiased;
  	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
h5, h6, .h1, .h2,
.h3, .h4, .h5, .h6 {
	/* color: var(--secondary); */
	margin: 0;
	font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: inline-block; /* makes it a block element for scaling without affecting layout */
  transition: transform 0.2s ease; /* smooth scaling transition */
}

a:hover {
  color: inherit;
  z-index: 1000;
}

a[role=button]:hover {
	transform: scale(1.02);
	transform-origin: center; /* ensures scaling happens evenly */
}

*[contenteditable="true"]{
	padding: 0.2rem 0.5rem;
	background-color: var(--theme-dark);
	border-bottom: 1px solid var(--primary);
}

.position-relative {
	position: relative;
}

.position-absolute.right {
	right: 0;
}

.position-absolute.left {
	left: 0;
}

.position-absolute.bottom {
	bottom: 0;
}

.position-absolute.top {
	top: 0;
}

.text-primary {
	color: var(--primary)!important;
}

.text-secondary {
	/* color: var(--secondary)!important; */
	color: inherit !important;
}

hr {
	margin: 0;
}

th {
	cursor: pointer;
}

.bold {
	font-weight: 800;
}

.icon {
	font-size: 2em;
}
.icon-md {
	font-size: 1em;
}

.icon-sm {
	font-size: 0.8em;
}

.action-bar-icon {
	padding: 0.3rem 1rem !important;
}

.navbar-link {
	color: var(--secondary);
}

.navbar-link > a {
	text-decoration: none;
	font-weight: 600;
}

.quick-info {
	cursor: pointer;
	border: 1px solid var(--primary);
	display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 2rem;
	padding: 0.2rem;
    text-align: center;
    font-size: 1rem;
	
}

.section-quick-info {
	color: inherit;
}

*[data-priority="high" i] {
	color: var(--danger) !important;
}

.toast {
    background-color: var(--theme-dark);
	border-radius: inherit;
	border: 1px solid var(--light);
}
.toast-header {
    color: inherit;
    background-color: inherit;
	border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

button {
	background-color: transparent;
	border-color: var(--light);
	color: var(--light);
}

button, .btn, .icon {
	transform: scale(1);
	backdrop-filter: invert(0);
	transition: all 0.3s ease, color 0.3s ease, backdrop-filter 0.3s ease-in-out;
}


/* scale buttons when hovered */
button:hover, .btn:hover, .icon:hover {
	color: inherit;
}

/* scale buttons when hovered */
button:hover, .btn:hover, .icon:hover {
	/* transform: scale(1.1); */
    backdrop-filter: invert(0.1);
}

.btn {
	color: inherit;
	padding: 1em 2em;
}

.btn-primary {
	color: inherit;
	background-color: var(--primary);
	border: none;
}
.btn-primary:hover {
	background-color: var(--secondary);
	border: none;
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
	backdrop-filter: invert(0.5);
	background-color: var(--primary);
	border-color: var(--secondary);
	box-shadow: none;
}
.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
	backdrop-filter: invert(0.5);
	background-color: var(--primary);
	border-color: var(--secondary);
}
.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
  	box-shadow: 0 0 0 0.25rem var(--secondary);
}
.btn-primary:disabled, .btn-primary.disabled {
	color: #fff;
	background-color: var(--primary);
	filter: saturate(0.2);
	border: none;
}

.btn-secondary {
	color: inherit;
	background-color: var(--secondary);
	border: none;
}
.btn-secondary:hover {
	filter: brightness(1.3);
	border: none;
}
.btn-check:focus + .btn-secondary, .btn-secondary:focus {
	backdrop-filter: invert(0.5);
	background-color: var(--secondary);
	border-color: var(--secondary);
	box-shadow: none;
}
.btn-check:checked + .btn-secondary, .btn-check:active + .btn-secondary, .btn-secondary:active, .btn-secondary.active, .show > .btn-secondary.dropdown-toggle {
	color: #fff;
	background-color: var(--secondary);
	border-color: var(--secondary);
}
.btn-check:checked + .btn-secondary:focus, .btn-check:active + .btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus, .show > .btn-secondary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.25rem var(--secondary);
}
.btn-secondary:disabled, .btn-secondary.disabled {
	color: #fff;
	background-color: var(--secondary);
	filter: saturate(0.2);
 	border: none;
}


.btn-outline-primary {
  color: inherit;
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-outline-primary:disabled, .btn-outline-primary.disabled {
  color: var(--primary);
  background-color: transparent;
}

.form-control, .form-select {
	border-radius: var(--border-radius);
	border: 1px solid var(--gray)!important;
}
.form-control:hover {
	border: 1px solid var(--primary)!important;
	box-shadow: none;
	outline: none;
}
.form-control:focus {
	/* border: 3px solid var(--primary)!important; */
	background-color: var(--theme-dark);
	box-shadow: none;
	outline: 3px solid var(--primary)!important;
}

.list-group {
    border-radius: calc(var(--border-radius) / 2);
}

.list-group-item {
    cursor: pointer;
}

/* input:not([type="submit"]), select, textarea {
	border: 1px solid var(--gray)!important;
	box-shadow: none;
	outline: none;
} */

.accordion, .accordion-item, .accordion-button, .accordion-button:not(.collapsed) {
	background-color: inherit;
	color: inherit;
}

.accordion-header {
	border: 1px solid white;
}

.accordion-button:after {
	filter: brightness(100);
}

input, select, textarea, input:not([type="submit"]), input:not(.btn), .form-control, .form-select {
	background-color: var(--theme-dark);
	color: var(--light)!important;
}
input:disabled, select:disabled, textarea:disabled, input:not([type="submit"]):disabled,
input:not(.btn):disabled, .form-control:disabled, .form-select:disabled {
	background-color: var(--theme-dark);
	color: var(--light)!important;
	opacity: 0.8;
}

.form-control:disabled, .form-control[readonly] {
    background-color: inherit;
}

.form-check-input, input.form-check-input, input[type="checkbox"] {
	background-color: inherit;
	filter: invert(1);
}

.form-check-input:checked[type=checkbox], input:checked[type="checkbox"] {
	filter: invert(1);
}


.dropup .dropdown-toggle::after {
	display: none;
}

.hide-dropdown-toggle::after {
	display: none;
}

.navbar .dropdown-menu-center {
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}

.dropdown-menu {
  max-width: 70vw;
}

.modal-content, .card, .form-control, .list-group-item {
	background-color: var(--theme-dark);
}

.modal, .modal-dialog,
.modal-content, .card, .form-control {
	border-radius: var(--border-radius);
	border: none;
}

.modal-content,
.modal-header .close {
	padding: 1rem;
}

.modal-header {
	border: none;
	padding: 0;
}

.modal-content {
	max-height: 80vh;
}

.modal-body {
	margin: 1rem 0 0 0;
	max-height: 80vh;
	overflow:auto;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    border: none;
    border-radius: var(--border-radius);
    backdrop-filter: brightness(0.5);
}
.modal-footer>* {
	margin: 0;
}

@media (max-width: 500px) {	
	.modal-dialog {
		max-width: 95%;
		margin: auto;
	}
}

.note-card {
	padding: 1rem;
	cursor: pointer;
	border: 1px solid;
	background-color: var(--light);
}
.bg-light {
	background-color: var(--light);
}

.bg-primary {
	color: var(--secondary);
	background-color: var(--primary);
}
.gradient-primary {
	background: radial-gradient(85.35% 85.35% at 0% 0%, var(--primary) 0%, var(--primary-fade) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.section {
	margin-bottom: 1em;
	border: 1px solid var(--light);
	color: inherit;
}

.modal-content .section {
	border: none;
}

.section-header, .section-body {
	padding: 0.5em 1em;
}

.section-header {
	background-color: inherit;
	border-radius: 0.2rem;
	border-bottom: 1px solid var(--light);
}

.section-header.h5 {
	margin: 0;
}

.section > .container {
	max-width: 100%;
}

.container-9 {
	height: 9em;
	overflow-y: auto;
}

.container-10 {
	height: 10em;
	overflow-y: auto;
}

.container-vh-50 {
	min-height: 10vh;
	max-height: 50vh;
	overflow-y: auto;
}

.container-vh-50-fixed-height {
	min-height: 50vh;
	max-height: 50vh;
	overflow-y: auto;
}

.quick-stats {
	color: var(--light);
	width: 100px;
	height: 100px;
	display:flex;
	align-items:center;
	text-align:center;
	border: 1px solid var(--light);
	border-radius: 50%;
}

.quick-stats>div {
	width: 100%;
}

.quick-stats .h1, .quick-stats .h2,
.quick-stats .h3, .quick-stats .h4,
.quick-stats .h5, .quick-stats .h6 {
	font-weight: 400;
}

.quick-stats>div>p {
	margin: 0;
}

.row-item {
	padding: 0.5em;
	margin-top: 0.3rem;
	margin-bottom: 0.3rem;
}

.finance-row-card {
	padding-top: 1em;
	padding-bottom: 1em;
}

.status-ongoing {
	background-color: var(--gray);
}
.status-completed {
	background-color: var(--primary);
}
.not-started {
	background-color: var(--danger);
}

.shadow {
	box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.25)!important;
}

.no-scroll {
    overflow: hidden;
}

#right-slide-in-menu {
	position: fixed;
	height: 100vh;
	z-index: 2000;
	overflow: hidden;
	top: 0;
	background-color: inherit;
	max-width: 800px;
	box-shadow: 0 0 0 var(--primary);
	transition: all 0.5s;
}

#right-slide-in-menu.collapsed {
	width: 70%;
	right: -100%;
}

#right-slide-in-menu.expanded {
	width: 100%;
	right: 0;
	box-shadow: 0 0 1em var(--primary);
}

.hoverable {
	background-color: inherit;
}
.hoverable:hover {
	backdrop-filter: sepia(0.3);
	box-shadow: 0 0 5px var(--light);
	transition-timing-function: ease;
	transition-duration: 0.3s;
}

* > .action-buttons {
	display: flex;
	height: 0;
	overflow: hidden;
	opacity:0;
	transition-duration: .3s;
} 

*:hover > .action-buttons {
	display: flex;
	height: auto;
	opacity:1;
}

@media (max-width: 500px) {	
	* > .action-buttons {
		display: flex;
		height: auto;
		opacity:1;
	}
}


/* CHAT AREA */

.chat {
    border: 1px solid grey;
}

#chat-window {
    overflow-y: scroll;
  }
  
.incoming-message {
    margin-right: 4em;
    margin-bottom: 10px;
    align-self: start;
}

.outgoing-message {
    margin-bottom: 10px;
    margin-left: 4em;
    text-align: end;
    align-self: end;
}

.message-header {
    color: gray;
}

.message-body {
    /* border-radius: 1rem; */
    padding: 0.2rem 1rem;
    padding-bottom: 0.5rem;
}

.outgoing-message .message-body {
    color: black;
    background-color: #b6b6b6;
	padding: 0.2rem 1rem;
}

.incoming-message .message-body {
    /* background-color: var(--gray); */
	color: inherit;
}



/* END CHAT AREA */



/* START: NOTIFICATIONS */



/* END CHAT AREA */



/* START: NOTIFICATIONS */
.notification-icon-active{
	color: rgb(231, 0, 0);
    transform: rotate(10deg) scale(0.8);
    z-index: 1;
    position: absolute;
    top: 0px;
    left: 0.5rem;
}

.notification-card {
	background-color: var(--light);
    width: 100%;
	padding: 10px;
}

.notifications-card h4 {
	/* color: #fff; */
    margin-bottom: 10px;
}
/* END: NOTIFICATIONS */

.color-option {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}
.color-option:hover {
	transform: scale(1.1);
}

/* START: AI Style */
.btn-ai {
	color: var(--gray-dark);
	border-color: 1px solid var(--primary);
}

.btn-ai:hover {
	background-color: rgb(22, 185, 255);
	border-color: #fff;
}

.btn-ai:focus, .btn-primary.focus {
	color: #fff;
	background-color: rgb(0, 48, 69);
	border-color: #0062cc;
	box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-ai.disabled {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}
/* END: AI Style */


/* START: CATALYST */
.catalyst-side-panel, .catalyst-side-panel-body, .catalyst-side-panel-body-wrapper {
	transition: width 0.5s ease, opacity 0.5s ease;

}

.catalyst-side-panel {
	position: relative;
	background-color: #19191a;
	overflow-y:auto;
	z-index:2;
}

.catalyst-side-panel.mobile {
	position: absolute;
}

.catalyst-side-panel-body-wrapper {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	overflow: hidden;
}

.catalyst-side-panel-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: hidden;
}

.catalyst-view-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: hidden;
}

#catalyst_content_wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  overflow: hidden;
}

#catalyst-chat-window {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 8px;
}

#catalyst-chat-card-footer {
  flex-shrink: 0;
}

.catalyst-side-panel.expanded {
	display: flex;
	width: 370px;
	max-width: 95%;
	opacity: 1;
}

.catalyst-side-panel.collapsed {
	width: 30px;
}

.catalyst-side-panel-header {
	display: flex;
}

.catalyst-side-panel.expanded > .catalyst-collapsed-content {
	display: none;
}

.catalyst-side-panel.expanded > .catalyst-expanded-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.catalyst-side-panel.collapsed > .catalyst-expanded-content {
	display: none;
}

.catalyst-side-panel.collapsed.mobile {
	width: 0;
	opacity: 0;
	/* visibility: hidden;
	pointer-events: none; */
}

#catalyst-chat-window h1 {
    font-size: 1.3rem;  /* Adjust to a smaller size */
    font-weight: bold;
}

#catalyst-chat-window h2 {
    font-size: 1.2rem;
    font-weight: bold;
}

#catalyst-chat-window h3 {
    font-size: 1.1rem;
    font-weight: bold;
}

.mobile-catalyst-button {
	position : fixed;
	left: 10px;
	backdrop-filter : blur(14px);
	-webkit-backdrop-filter: blur(14px);
	z-index : 3;
	display: none;
}

@media (max-width: 500px) {
	.catalyst-side-panel {
		position: absolute;
		right: 0;
	}

	.catalyst-side-panel.expanded {
		right: 3px;
		/* visibility: visible;
		pointer-events: auto; */
	}
	.catalyst-side-panel.collapsed {
		width: 0;
		opacity: 0;
		/* visibility: hidden;
		pointer-events: none; */
	}
	.mobile-catalyst-button {
		display: block;
	}
}
/* END: CATALYST */


/* START: FLOATING TOOLBAR */
	/* .mobile-floating-toolbar-button {
		display: block;
	} */
	.floating-toolbar {
	height: auto;
	width: auto;
	max-width: 4.5rem;
	padding: 0 .2rem;
	position: relative;
}

/* When checkbox is checked, collapse the toolbar */
.floating-toolbar:has(input:checked[name="floatingtoolbartoggle"]) {
	width: 4.5rem;
	padding: 0;
	max-width: none;
}

/* Default state: collapsed content (except label) */
input[name="floatingtoolbartoggle"] ~ * {
	width: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
	display: flex;
}

/* Keep label visible in both states */
input[name="floatingtoolbartoggle"] ~ label[for="floatingtoolbartoggle"] {
	width: auto;
	height: auto;
	opacity: 1;
	visibility: visible;
	display: flex;
}

/* When checked: expand toolbar (except label) */
input:checked[name="floatingtoolbartoggle"] ~ *:not(label[for="floatingtoolbartoggle"]) {
	width: 100%;
	height: 100%;
	opacity: 1;
	visibility: visible;
}

/* Icon toggle logic (reversed) */
input[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.collapse-icon {
	display: none;
}
input[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.expand-icon {
	display: block;
}
input:checked[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.collapse-icon {
	display: block;
}
input:checked[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.expand-icon {
	display: none;
}

/* Mobile (optional, unchanged unless further adjustments are needed) */
@media (max-width: 500px) {
	.floating-toolbar-wrapper {
		position: absolute;
		left: 0;
	}

	.floating-toolbar.expanded {
		right: 3px;
	}

	.floating-toolbar.collapsed {
		width: 0;
		opacity: 0;
	}
}

	
	
	/* .floating-toolbar {
		height:auto;
		width: 4.5rem;
		position: relative;
	}

	.floating-toolbar:has(input:checked[name="floatingtoolbartoggle"]) {
		width: auto;
		max-width: 4.5rem;
		padding: 0 .2rem;
	}

	input[name="floatingtoolbartoggle"] ~ * {
		width: 100%;
		height: 100%;
		opacity: 1;
		display: flex;
		visibility: visible;
	}

	input:checked[name="floatingtoolbartoggle"] ~ *:not(label[for=floatingtoolbartoggle]) {
		width: 0;
		height: 0;
		opacity: 0;
		visibility: hidden;
	}
	
	input[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.collapse-icon {
		display: block;
	}
	input[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.expand-icon {
		display: none;
	}
	input:checked[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.collapse-icon {
		display: none;
	}
	input:checked[name="floatingtoolbartoggle"] + label[for="floatingtoolbartoggle"] > span.expand-icon {
		display: block;
	}

	@media (max-width: 500px) {
		.floating-toolbar-wrapper {
			position: absolute;
			left: 0;
		}

		.floating-toolbar.expanded {
			right: 3px;
			// visibility: visible;
			// pointer-events: auto;
		}
		.floating-toolbar.collapsed {
			width: 0;
			opacity: 0;
			// visibility: hidden;
			// pointer-events: none;
		}
	} */
/* END: FLOATING TOOLBAR */




/* START: PULSELOG */
.pulselog_form_wrapper {
    transition: height 0.3s ease-in-out;
    overflow: hidden; /* Hide overflow during the transition */
}
/* END: PULSELOG */








/* Animations */
/* Animations */
/* Animations */
/* Animations */


@keyframes pulse {
	0% {
	  transform: scale(1);
	}
	50% {
	  transform: scale(1.1);
	}
	100% {
	  transform: scale(1);
	}
  }

@keyframes glide-horizontal {
	0% {
	  transform: translateX(0);
	}
	50% {
	  transform: translateX(5px);
	}
	100% {
	  transform: translateX(0);
	}
}

@keyframes glide-horizontal-sharp {
	0% {
	  transform: translateX(0);
	}
	13% {
	  transform: translateX(5px);
	}
	25% {
	  transform: translateX(-5px);
	}
	50% {
	  transform: translateX(0);
	}
	100% {
	  transform: translateX(0);
	}
}

@keyframes glide-vertical {
	0% {
	  transform: translateY(0);
	}
	50% {
	  transform: translateY(5px);
	}
	100% {
	  transform: translateY(0);
	}
}

.glide-horizontal-sharp {
	animation: glide-horizontal 2s infinite;
}
  
/* Section loader */
/* This is the loader for the buttons. It appears within dynamic buttons sections. */
.button-loading {
	animation: pulse 1s infinite;
}

.notification-pulse {
	animation: glide-horizontal 2s infinite,pulse 1s infinite;
}

.animation-glide-horizontal {
  animation: glide-vertical 2s infinite;
}

.animation-glide-vertical {
  animation: glide-vertical 2s infinite;
}


/* Section loader */
/* This isn't the loader for the buttons. It appears within dynamically updated sections. */

.loader-wrapper {
	width: 100%;
	height: 100%;
	top: 0;
	left:0;
	display: flex;
	background-color: rgba(255,255,255,0.8)!important;
}

.loader-wrapper-line {
	width: 100%;
	display: flex;
	background-color: rgba(255,255,255,0.8)!important;
}

.loader-wrapper-section {
	width: 100%;
	height: 100%;
	top: 0;
	left:0;
	display: flex;
	background-color: rgba(255,255,255,0.8)!important;
}

.loader {
	width: 20px;
	height: 20px;
	align-self:center;
	background-color: var(--dark); /* You can change this color */
	animation: expand-contract 2s linear infinite;
	position: relative;
}

@keyframes expand-contract {
	0%, 100% {
		width: 20%;
		left: 10%;
	}
	25% {
		width: 50%;
		left: 25%;
	}
	40% {
		width: 20%;
		left: 60%;
	}
    65% {
        width: 17%;
        left: 70%;
    }
}
	
  

/********* Premium Button  *******/
.btn-premium {
	background: linear-gradient(60deg, gold, gold, #b0970e, gold, gold, #efda6e);
	font-weight: 700;
	color: var(--dark);
}

.btn-premium:hover {
	background: linear-gradient(60deg, gold, gold, #b0970e, gold, #efda6e);
}
  


/********* SCROLL BAR STYLING  *******/


.no-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

div ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

div ::-webkit-scrollbar-track {
    background: rgb(179, 177, 177);
    border-radius: 10px;
}

div ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }

div ::-webkit-scrollbar-thumb:hover {
    background: var(--gray);
    border-radius: 10px;
}


/* Print-specific styles */
@media print {
    /* Remove default page header and footer */
    @page {
        margin: 0;
        size: auto; /* Automatically calculate the page size */
    }

    body {
        color: black;
        background-color: white;
        margin: 0;
        padding: 0; /* Reduce padding to eliminate extra space */
    }

    * {
        color: black !important;
        background-color: transparent !important;
    }

    /* Hide elements that shouldn't be printed */
    .nonPrintArea {
        display: none !important;
    }

    /* Ensure images are scaled correctly */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Optionally, modify layout for print */
    .container {
        max-width: none; /* Remove width restrictions */
        padding: 0;
    }
    
    /* Print container (modify to ensure it fits well) */
    .print-container {
        page-break-before: auto; /* Only add page break if necessary */
        page-break-after: avoid;
        margin: 0;
        padding: 0;
        width: 100%; /* Ensure full width */
        overflow: visible; /* Ensure content doesn't overflow onto another page */
    }

    /* Ensure no extra space between elements */
    .print-container > * {
        margin: 0;
        padding: 0;
    }

    /* Ensure the content fits within the page */
    .print-content {
        margin: 0;
        padding: 0;
    }

    /* Prevent large elements from causing page overflow */
    .print-container img {
        max-width: 100%;
        height: auto;
    }
}





/* ADJUSTMENTS FOR APPLE DEVICES */
/* ADJUSTMENTS FOR APPLE DEVICES */
/* ADJUSTMENTS FOR APPLE DEVICES */
/* ADJUSTMENTS FOR APPLE DEVICES */
/* ADJUSTMENTS FOR APPLE DEVICES */
.rounded-circle {
	width: 40px;
	height: 40px;
	display: inline;
	align-items: center;
	justify-content: center;
}







/* Adapt to user prefs */
@media (prefers-color-scheme: dark) {
	body {
		background-color: var(--theme-dark);
		color: var(--light);
	}
}

/* optional: explicit light scheme */
@media (prefers-color-scheme: light) {
	body {
		background-color: var(--light);
		color: var(--dark);
	}
}