html {
	scroll-behavior: smooth;
}

body {
	width: 100%;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
		Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans',
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
	background: var(--app-bg);
}

:root {
	/* Acento lime para itens ativos, botões e destaques */
	--primary: #C9F31D;
	--primary-100: #F2FCD9;
	--primary-200: #E8FAA8;
	--primary-300: #DDF873;
	--primary-700: #A7D40A;
	--primary-800: #8CB508;
	--primary-900: #6E9406;

	/* Paleta navy para sidebar escura */
	--navy-900: #0F1020;
	--navy-800: #171833;
	--navy-700: #1F2147;

	/* Semantic Variables - Light Mode */
	--bg-main: #F7F8FA;
	--bg-card: #FFFFFF;
	--bg-navbar: #FFFFFF;
	--text-main: #1F2147;
	--text-muted: #6c757d;
	--border-color: #e9ecef;
	--sidebar-bg: #0F1020;
	--sidebar-text: #FFFFFF;
	--card-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

[data-theme-style="dark"] {
	--bg-main: #09090b;
	--bg-card: #18181b;
	--bg-navbar: #18181b;
	--text-main: #fafafa;
	--text-muted: #a1a1aa;
	--border-color: #27272a;
	--sidebar-bg: #18181b;
	--sidebar-text: #fafafa;
	--card-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}

body {
	width: 100%;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
		Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans',
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
	background: var(--bg-main);
	color: var(--text-main);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.app-container {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.app-sidebar {
	display: flex;
	flex-direction: column;
	min-width: 240px;
	max-width: 240px;
	background: var(--sidebar-bg);
	border-radius: 16px;
	padding: 24px 20px 28px 20px;
	margin: 1.5rem .5rem;
	position: relative;
	top: initial;
	bottom: initial;
	left: initial;
	z-index: 101;
	overflow: hidden;
	transition: background-color 0.3s ease;
}

@media (min-width: 992px) {
	.app-sidebar {
		margin: 1.5rem;
	}
}


/* Removed redundant dark mode override */

/* Custom scrollbar for sidebar */
[data-theme-style="light"] .app-sidebar * {
	scrollbar-color: var(--gray-700) var(--navy-900) !important;
	scrollbar-width: thin !important;
}

[data-theme-style="light"] .app-sidebar *::-webkit-scrollbar-thumb {
	background: var(--navy-900);
}

[data-theme-style="light"] .app-sidebar *::-webkit-scrollbar,
[data-theme-style="light"] .app-sidebar *::-webkit-scrollbar-track {
	background: var(--gray-700);
}

.app-sidebar-title {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: .5rem 0;
	height: 75px;
}

.app-sidebar-title a {
	font-size: 2.3rem;
	font-weight: lighter;
	color: #FFFFFF;
}

.app-sidebar-brand-text {
	color: #FFFFFF;
	font-weight: 600;
	font-size: 1.05rem;
	margin-left: .75rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: .2px;
}

[data-theme-style="dark"] .app-sidebar-title a {
	color: var(--gray-700);
}

.app-sidebar-title a:hover {
	text-decoration: none;
}

.app-sidebar-links-wrapper {
	overflow: hidden;
	padding: 0 0px;
}

.app-sidebar-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 8px;
	width: 100%;
}

.app-sidebar-links li {
	transition: all .3s;
	width: 100%;
}

.app-sidebar-links li a {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: .75rem;
	padding: 12px 14px;
	font-size: 0.95rem;
	color: #FFFFFF;
	border-radius: 50rem;
	line-height: 1.2;
	min-height: 44px;
	text-decoration: none;
}

.app-sidebar-links li:hover {
	color: #FFFFFF;
	background: transparent;
}

.app-sidebar-links li a:hover {
	background: rgba(201, 243, 29, 0.15);
	border-radius: 50rem;
	text-decoration: none;
}

[data-theme-style="dark"] .app-sidebar-links li:hover {
	color: var(--gray-900);
	background: transparent;
}

[data-theme-style="dark"] .app-sidebar-links li a:hover {
	background: rgba(201, 243, 29, 0.2);
	border-radius: 50rem;
}

.app-sidebar-links li.active a {
	background: var(--primary);
	color: #0F1020;
	border-radius: 50rem;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(201, 243, 29, 0.4);
}

.app-sidebar-links li a i,
.app-sidebar-links li a svg {
	color: var(--primary);
	font-size: 1.05rem;
	transition: transform .2s ease;
}

.app-sidebar-links li a:hover i,
.app-sidebar-links li a:hover svg {
	transform: translateX(4px);
}

.app-sidebar-links li.active a i,
.app-sidebar-links li.active a svg {
	color: #0F1020;
}

.app-sidebar-link-text {
	color: #FFFFFF;
	font-weight: 400;
	white-space: nowrap;
	letter-spacing: .2px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.app-sidebar-links li.active .app-sidebar-link-text {
	color: #0F1020;
	font-weight: 600;
}

.app-sidebar-links li a i,
.app-sidebar-links li a svg {
	color: var(--primary);
}

[data-theme-style="dark"] .app-sidebar-links li.active {
	background: var(--primary-300);
}

[data-theme-style="dark"] .app-sidebar-links li.active a {
	color: var(--gray-900);
}

.app-content {
	margin-left: 0;
	flex-grow: 1;
	min-width: 0;
	/* Fix for flex container overflow */
	overflow-x: hidden;
	/* Prevent horizontal scrollbar */
}

[dir="rtl"] .app-content {
	margin-left: initial;
	margin-right: 0;
}

@media (min-width: 992px) {
	.app-content {
		margin-left: 0;
	}

	[dir="rtl"] .app-content {
		margin-right: 0;
	}
}

@media print {
	.app-content {
		margin-left: 0 !important;
	}
}

.app-navbar {
	min-height: 75px;
	background: var(--bg-navbar);
	border-radius: var(--border-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .04);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.app-sidebar-footer-text {
	font-size: .9rem;
	font-weight: 500;
}

.app-navbar-avatar {
	width: 35px;
	height: 35px;
	border-radius: 50%;
}

/* Dropdown */
.dropdown-item {
	color: var(--gray-800);
	font-weight: 450;
	font-size: .9rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	border-radius: var(--border-radius);
}

.dropdown-item svg {
	color: var(--gray-600);
}

.dropdown-item:active svg,
.dropdown-item.active svg {
	color: var(--white);
}

/* Footer */
.app-footer {
	margin: 3rem 0 3rem 0;
	background: var(--white);
	border-radius: calc(2*var(--border-radius));
	padding: 1.25rem;
}

.app-footer {
	color: var(--gray-700);
}

.app-footer a:not(.dropdown-item),
.app-footer a:hover:not(.dropdown-item) {
	color: var(--gray-700);
}

.app-footer a.icon {
	color: var(--gray-700);
}

.app-footer button,
.app-footer button:hover {
	color: var(--gray) !important;
}

.footer-logo {
	max-height: 2.5rem;
	height: 2.5rem;
}

.footer-heading {
	color: var(--black) !important;
}

/* Filters */
.filters-dropdown {
	width: 18rem;
	max-height: 30rem;
	overflow-y: auto;
}

.visitor-avatar {
	width: 40px;
	height: 40px;
}

.team-user-avatar {
	width: 45px;
	height: 45px;
}

canvas {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.modal-backdrop {
	backdrop-filter: blur(5px);
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
	padding: 1.5rem;
	border: none;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	border-radius: 24px;
}

.modal-header {
	padding: 0 0 1.5rem 0;
	border-bottom: 0;
}

.modal-footer {
	border-top: 0;
	padding: 1.5rem 0 0 0;
}

/* Forms */
.input-group-text {
	font-size: 0.9rem;
}

.form-control-range {
	/* removing default appearance */
	-webkit-appearance: none;
	appearance: none;

	/*  slider progress trick  */
	overflow: hidden;

	/* creating a custom design */
	accent-color: var(--primary);
	background: var(--gray-200);
	border-radius: var(--border-radius);
	height: .5rem;
	margin: 0.75rem 0;
}

/* Track: webkit browsers */
.form-control-range::-webkit-slider-runnable-track,
.form-control-range::-moz-range-track {
	background: var(--gray-200);
}

/* Thumb: webkit */
.form-control-range::-webkit-slider-thumb {
	/* removing default appearance */
	-webkit-appearance: none;
	appearance: none;

	/* creating a custom design */
	height: .75rem;
	width: .75rem;
	background-color: var(--primary);
	border-radius: 50%;
	border: 2px solid var(--white);

	/*  slider progress trick  */
	box-shadow: -2007px 0 0 2000px var(--primary-300);
}

.form-control-range::-moz-range-thumb {
	/* removing default appearance */
	-webkit-appearance: none;
	appearance: none;

	/* creating a custom design */
	height: .75rem;
	width: .75rem;
	background-color: var(--primary);
	border-radius: 50%;
	border: 2px solid var(--white);

	/*  slider progress trick  */
	box-shadow: -2007px 0 0 2000px var(--primary-300);
}

/* Custom breadcrumbs */
.custom-breadcrumbs {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.custom-breadcrumbs>li {
	margin-right: .5rem;
}

.custom-breadcrumbs>li>a {
	color: var(--gray);
}

.custom-breadcrumbs>li>svg {
	color: var(--gray-400);
	margin-left: .5rem;
}



/* Helper classes */
.font-size-little-small {
	font-size: .95rem;
}

.font-size-small {
	font-size: .9rem;
}

.font-weight-450 {
	font-weight: 450;
}

.font-weight-500 {
	font-weight: 500;
}


.list-style-none {
	list-style: none;
	padding: 0;
}

.cursor-pointer {
	cursor: pointer;
}

.no-focus:focus {
	outline: 0;
	box-shadow: none;
}

.appearance-none {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}

img {
	vertical-align: inherit !important;
}

.icon-favicon {
	width: .95rem;
	height: auto;
}

.icon-favicon-small {
	width: .75rem;
	height: auto;
}

/* Fix stupid border color from bootstrap on hover */
.btn:hover {
	border-color: transparent !important;
}

/* Primary buttons */
.btn-primary {
	background-color: var(--primary) !important;
	border-color: var(--primary) !important;
	box-shadow: 0 4px 14px rgba(201, 243, 29, 0.4);
	transition: all .2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--primary-700) !important;
	border-color: var(--primary-700) !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(201, 243, 29, 0.6);
}

/* Cards */
.card {
	border: 0;
	border-radius: calc(2 * var(--border-radius));
	box-shadow: var(--card-shadow);
	background: var(--bg-card);
	transition: transform .2s ease, box-shadow .3s ease, background-color 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.auth-container {
	min-height: calc(100vh - 180px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.auth-container .row {
	width: 100%;
}

.auth-card {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	border-radius: 24px;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
}

/* Ensure full-width inputs/buttons inside auth card */
.auth-card .form-control {
	width: 100%;
}

.auth-card .btn-block {
	width: 100%;
	display: block;
}

.auth-header {
	text-align: center;
	margin-bottom: 1rem;
}

.auth-title {
	color: var(--gray-900);
	font-weight: 600;
	margin-bottom: .25rem;
}

.auth-subtitle {
	color: var(--gray-600);
	font-size: .95rem;
}

@media (max-width: 576px) {
	.auth-card {
		max-width: 100%;
	}
}

.card-header {
	background: var(--gray-50);
	border-bottom: 0;
}

/* Navbar custom menu */
.navbar-main .navbar-nav>li>a {
	padding: 1rem 0 !important;
	color: var(--gray-800);
}

@media (min-width: 992px) {
	.navbar-main .navbar-nav>li>a {
		padding: 1rem !important;
		color: var(--gray-800);
	}
}

.navbar-logo {
	max-height: 2rem;
	height: 2rem;
}

.navbar-logo-mini {
	max-height: 1.25rem;
	height: 1.25rem;
}

.navbar-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.navbar-custom-toggler {
	padding: 0.5rem .8rem;
	font-size: 1.25rem;
	line-height: 1;
	background-color: transparent;
	border-radius: var(--border-radius);

	color: var(--gray-700);
	border-color: var(--gray-300);
}

.chart-container {
	position: relative;
	margin: auto;
	height: 275px;
	width: 100%;
}

@media print {
	.chart-container canvas {
		min-height: 100%;
		max-width: 100%;
		max-height: 100%;
		height: auto !important;
		width: auto !important;
	}
}

@media print {
	.chart-container canvas {
		min-height: 100%;
		max-width: 100%;
		max-height: 100%;
		height: auto !important;
		width: auto !important;
	}
}

/* Header container */
.user-avatar {
	border-radius: 50%;
	max-width: 70px;
	max-height: 70px;
}

/* Others */
.container-disabled {
	pointer-events: none;
	opacity: .5;
}

.container-disabled-simple {
	pointer-events: none;
}

/* Other animations */
@keyframes slowbounce {
	from {
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
	}

	to {
		-webkit-transform: translateY(-30px);
		transform: translateY(-30px);
	}
}

/* Tables */
.table-image-wrapper {
	border-radius: 50%;
	width: 2.5rem;
	height: 2.5rem;
	max-width: 2.5rem;
	max-height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-100);
}

.table-custom-container {
	border: 0;
	border-radius: calc(2 * var(--border-radius));
	box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
	overflow: hidden;
}

.table-custom {
	margin-bottom: 0;
}

.table-custom thead th {
	border-top: 0;
	border-bottom: 0;
	color: var(--gray-700);
	background: var(--gray-50);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
}

[data-theme-style="dark"] .table-custom thead th {
	background: var(--gray-100);
	color: var(--gray-800)
}

.table-custom th {
	padding: 1.5rem 1.25rem;
}

.table-custom td {
	padding: 1.5rem 1.25rem;
	background: var(--white);
	vertical-align: middle;
	border-top: 1px solid var(--gray-100);
}

[data-theme-style="dark"] .table-custom tbody tr td {
	border-color: var(--gray-200)
}

.table-custom tbody tr {
	transition: background-color .2s ease;
}

.table-custom tbody tr:hover td {
	background: var(--primary-100);
}

.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
	background-color: var(--primary) !important;
	color: var(--white) !important;
}

.dropdown-menu {
	border-radius: 16px;
	border: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	padding: 0.5rem;
	animation: dropdownSlideIn 0.2s ease forwards;
	margin-top: 10px !important;
}

@keyframes dropdownSlideIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dropdown-item {
	border-radius: 8px;
	padding: 0.6rem 1rem;
	transition: all 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
	background-color: var(--gray-100);
	color: var(--primary-900);
	transform: translateX(4px);
}


/* Custom PRE container */
.pre-custom {
	background: var(--gray-300);
	padding: 2rem;
	font-size: 0.75rem;
}

/* Heatmaps */
.heatmap-container {
	position: relative;
	overflow: scroll;
	overflow-x: hidden;
	transform-origin: top left;
	height: 900px;
}

.heatmap-container iframe {
	border: 0;
	overflow: scroll;
}

.heatmap-canvas {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	opacity: 0.75;
}


/* Helpers */
.zoomer {
	transition: transform .3s ease-in-out;
}

.zoomer:hover {
	transform: scale(1.02);
}

/* Pricing */
.pricing {
	width: 100%;
	margin: 0 auto 3em;
}

.pricing-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: center;
	flex: 0 1 100%;
}

@media (min-width: 768px) {
	.pricing-item {
		flex: 0 1 330px;
	}
}

.pricing-feature-list {
	text-align: left;
}

.pricing-palden .pricing-item {
	cursor: default;
	color: #7b7f84;
	background: var(--gray-50);
	border-radius: var(--border-radius);
	margin: 2rem 0 2rem 0;
}

@media (min-width: 768px) {
	.pricing-palden .pricing-item {
		margin: 2rem 2rem 2rem 0;
	}
}

.pricing-palden .pricing-deco {
	border-radius: var(--border-radius) var(--border-radius) 0 0;
	background: var(--primary);
	padding: 2em 0 9em;
	position: relative;
}

.pricing-palden .pricing-deco-img {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 170px;
}

.pricing-palden .pricing-title {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #fff;
	margin: 0;
}

.pricing-palden .deco-layer {
	transition: transform 0.5s;
}

.pricing-palden .deco-layer-1 {
	fill: var(--gray-300);
}

.pricing-palden .deco-layer-2 {
	fill: var(--gray-50);
}

.pricing-palden .icon {
	font-size: 2.5em;
}

.pricing-palden .pricing-price {
	font-size: 4em;
	font-weight: bold;
	padding: 0;
	color: #fff;
	margin: 0 0 0.25em 0;
	line-height: 0.75;
}

.pricing-palden .pricing-currency {
	font-size: 0.7rem;
	vertical-align: top;
}

.pricing-palden .pricing-sub {
	font-size: 0.9rem;
	margin: 2rem .5rem;
	color: #fff;
}

.pricing-palden .pricing__sentence {
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 0 0 0.5em;
}

.pricing-palden .pricing-feature-list {
	margin: 0;
	padding: 0.25em 2.5rem 2.5em;
	list-style: none;
}

.pricing-palden .pricing-feature {
	padding: .75rem 0;
}

.pricing-palden .pricing-action {
	font-weight: bold;
	margin: auto 2.5rem 1.5rem 2.5rem;
	font-size: 1rem;
}

.pricing-palden .pricing-action:hover,
.pricing-palden .pricing-action:focus {}

.pricing-palden .pricing-action-disabled {
	font-weight: bold;
	font-size: 1rem;
	margin: auto 2.5rem 1.5rem 2.5rem;
}

.pricing-palden .pricing-item--featured .pricing-deco {
	padding: 5em 0 8.885em 0;
}

.pricing-tag {
	position: absolute;
	font-size: 80%;
	font-weight: 600;
	background: var(--gray-600);
	color: var(--gray-50);
	padding: 0.1rem 0.8rem;
	border-radius: var(--border-radius);
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

/* Custom Radio Boxes */
.custom-radio-box {
	cursor: pointer;
}

.custom-radio-box .custom-radio-box-main-text {
	font-size: 1.15rem;
	font-weight: bold;
}

.custom-radio-box .custom-radio-box-main-icon {
	font-size: 1.25rem;
}

.custom-radio-box input[type="radio"]+div,
.custom-radio-box input[type="checkbox"]+div {
	transition: all .3s ease-in-out;
	border: 2px solid var(--gray-200);
	background: var(--white);
}

.custom-radio-box input[type="radio"]:checked+div,
.custom-radio-box input[type="checkbox"]:checked+div {
	border: 2px solid var(--primary);
}

.custom-radio-box input[type="radio"]:hover+div,
.custom-radio-box input[type="checkbox"]:hover+div {
	border: 2px solid var(--primary);
}

/* Round circles */
.round-circle-sm {
	width: 1.5rem;
	height: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

.round-circle-md {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

.round-circle-lg {
	width: 4.5rem;
	height: 4.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

/* Cards icons for analytics */
.analytics-go-back {
	position: absolute;
	left: 1.25rem;
}



/* Invoice css */
.invoice-table th {
	border-top: 0 !important;
}

.invoice-table td {
	vertical-align: baseline !important;
}

@media print {
	.invoice-logo {
		filter: grayscale(100%);
	}
}

/* Base animation */
.altum-animate {
	-webkit-animation-duration: 500ms;
	animation-duration: 500ms;
}

.altum-animate-fill-both {
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.altum-animate-fill-none {
	-webkit-animation-fill-mode: none;
	animation-fill-mode: none;
}

@keyframes fadeIn {
	0% {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

.altum-animate-fade-in {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn
}


/* Custom button */

.btn-custom {
	padding: .5rem 1.5rem;
	color: var(--gray);
	border-radius: var(--border-radius);
	font-size: .9rem;
	background: var(--white);

}

.btn-secondary {
	background: var(--gray-100);
	border-color: var(--gray-100);
	color: var(--gray-800);
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: var(--gray-200);
	border-color: var(--gray-200);
	color: var(--gray-900);
}

.form-control:focus,
.custom-select:focus {
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 .2rem var(--primary-100) !important;
}

.badge-primary {
	background-color: var(--primary);
}

.link-primary {
	color: var(--primary);
}

.btn-custom:hover {
	color: var(--gray-700);
}

.btn-custom.active {
	color: var(--primary);
	background: var(--primary-100)
}

/* Blog */
.blog-post-image {
	max-height: 20rem;
	object-fit: cover;
}

.blog-post-image-small {
	height: 13rem;
	max-height: 13rem;
	object-fit: cover;
}

.blog-post-content {
	line-height: 1.75;
	word-break: break-word;
}

.blog-post-content p {
	margin-bottom: 1.5rem;
}

/* Helper for quill editor code block */
.ql-code-block {
	background-color: var(--gray-200);
	color: var(--gray-600);
	padding: 1rem;
	border-radius: var(--border-radius);
	overflow-x: auto;
	font-family: 'Courier New', Courier, monospace;
	white-space: pre;
	font-size: .9rem;
	line-height: 1.5;
}

.ql-content p {
	margin-bottom: 0 !important;
}

.ql-content li[data-list="bullet"] {
	list-style-type: disc;
}

blockquote {
	border-left: 4px solid var(--gray-400);
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	background-color: var(--gray-100);
	font-style: italic;
	color: var(--gray-600);
	font-size: 1.1rem;
	line-height: 1.6;
	border-radius: var(--border-radius);
}

/* File input */
.altum-file-input {
	padding: 1rem;
	background: var(--gray-100);
	border: 1px solid var(--gray-200);
	border-radius: var(--border-radius);
	cursor: pointer;
	font-size: .9rem;
}

.altum-file-input:hover {
	border-color: var(--gray-300);
}

.altum-file-input::file-selector-button {
	border: 0;
	padding: .4rem .75rem;
	border-radius: var(--border-radius);
	background-color: var(--white);
	cursor: pointer;
	font-size: .9rem;
	margin-right: 1rem;
}

/* File input preview */
.altum-file-input-preview {
	max-width: 100%;
	max-height: 68px;
	min-height: 68px;
	object-fit: cover;
}

.sticky {
	position: sticky !important;
	top: 1rem;
	height: min-content;
}

/* Icons on links animations */
a svg {
	transition: transform .15s;
}

a:hover svg {
	transform: scale(1.1);
}

a:active svg {
	transform: scale(.9);
}

/* Helper zoom class for icons */
.icon-zoom-animation svg {
	transition: transform .15s;
}

.icon-zoom-animation:hover svg {
	transform: scale(1.1);
}

/* Self zoom */
.zoom-animation {
	transition: transform .15s;
}

.zoom-animation:hover {
	transform: scale(1.05);
}

.zoom-animation:active {
	transform: scale(.95);
}

.zoom-animation-subtle {
	transition: transform .3s;
}

.zoom-animation-subtle:hover {
	transform: scale(1.025);
}

.zoom-animation-subtle:active {
	transform: scale(.98);
}

.up-animation {
	transition: transform .3s;
}

.up-animation:hover {
	transform: translateY(-10px);
}

/* Color picker */
@media print {
	.pcr-app {
		display: none;
	}
}

.pcr-button {
	border: 1px solid white !important;
	outline: 1px solid var(--gray-300) !important;
	height: calc(var(--input-padding-y) + var(--input-padding-x) + var(--input-font-size) + calc(var(--input-font-size) / 2.75)) !important;
	border-radius: var(--border-radius) !important;
	width: 100% !important;
}

.pcr-button::before,
.pcr-button::after {
	border-radius: var(--border-radius) !important;
}

/* Width fit content */
.w-fit-content {
	width: fit-content !important;
}

/* Ajax loading overlay */
.loading-overlay {
	padding: 1.25rem;
	border-radius: var(--border-radius);
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	height: 100%;
	background: var(--white);
	z-index: 100;
	opacity: 0.8;
}

[data-theme-style="dark"] .loading-overlay {
	background: var(--gray-50);
}

/* Shiki code highlighter */
.shiki {
	overflow: auto;
	border-radius: var(--border-radius);
	padding: 1.5rem;
	font-size: .9rem;
	line-height: 1.5rem;
}

.shiki code {
	background: initial !important;
}

/* Btn group */
.btn-group-custom {
	border: 1px solid var(--gray-100);
	padding: 0.5rem;
	border-radius: var(--border-radius);
	flex-wrap: wrap;
	display: inline-flex;
	gap: 0.5rem;
}

.btn-group-custom .btn {
	border-radius: var(--border-radius) !important;
	background: var(--gray-100);
}

.btn-group-custom .btn.active {
	background: var(--dark);
	color: var(--white);
	z-index: 0 !important;
}

/* Custom scrollbar */
body * {
	scrollbar-color: var(--gray-200) var(--white) !important;
	scrollbar-width: thin !important;
}

body *::-webkit-scrollbar-thumb {
	background: var(--gray-200);
	border-radius: 10px;
	width: 6px;
	height: 6px;
}

body *::-webkit-scrollbar,
body *::-webkit-scrollbar-track {
	background: var(--white);
	border-radius: 10px;
	width: 6px;
	height: 6px;
}

/* Notification bell */
.internal-notification-icon {
	animation: pulse-animation 2s infinite;
	background: #F3D0C2 !important;
	color: #0F1020 !important;
	border-radius: 999px !important;
	min-width: 16px;
	min-height: 16px;
}

@keyframes pulse-animation {
	0% {
		box-shadow: 0 0 0 0px var(--danger);
	}

	100% {
		box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
	}
}

/* Teams */
.team-user-avatar {
	width: 45px;
	height: 45px;
}

.team-delegate-access-wrapper {
	margin: .75rem;
	border-radius: .5rem;
}

@media (min-width: 992px) {
	.team-delegate-access-wrapper {
		border-radius: 5rem;
	}
}

/* Announcements */
.announcement-wrapper {
	margin: .75rem;
	border-radius: .5rem;
	opacity: 0;
	transition: opacity .3s ease-in;
	animation: ac-fade-in-down .3s ease-in .6s forwards;
}

@media (min-width: 992px) {
	.announcement-wrapper {
		border-radius: 5rem;
	}
}

@keyframes ac-fade-in-down {
	from {
		opacity: 0;
		transform: translate3d(0, -100%, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/* PWA */
.pwa-wrapper {
	position: fixed;
	bottom: 0;
	width: calc(100% - 1.5rem);
	z-index: 1000;
	background: hsla(0, 0%, 90%, 50%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

[data-theme-style="dark"] .pwa-wrapper {
	background: hsla(0, 0%, 22%, 50%);
}



.rounded-2x {
	border-radius: calc(2*var(--border-radius));
}

.rounded-3x {
	border-radius: calc(3*var(--border-radius));
}

/* Pointer events */
.pointer-events-all {
	pointer-events: all !important;
}

/* Prevent fontawesome layout shifts */
i.fa-fw {
	width: 1.25em;
	display: inline-block;
}

i.fa-xs {
	font-size: .85em;
}

i.fa-sm {
	font-size: .875em;
}

i.fa-lg {
	font-size: 1.25em;
}

i.xl {
	font-size: 1.5em;
}

/* Custom light buttons */
.btn-light {
	background: var(--white);
	color: var(--gray);
}

/* Row with hidden icon */
.row-fade-show-icon a>svg {
	opacity: 0;
	transition: .3s opacity;
}

.row-fade-show-icon:hover a>svg {
	opacity: 1;
}

/* Ratings */
.rating-star {
	cursor: pointer;
}

.rating-star svg {
	color: #ffc107;
	transition: color .15s;
}

.rating-star:hover svg,
.rating-star:hover~.rating-star svg {
	color: #ff8800 !important;
}

.rating-star-chosen svg,
.rating-star-chosen~.rating-star svg {
	color: #dd6200;
}

/* Modern Inputs */
.form-control:focus,
.custom-select:focus {
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 4px rgba(201, 243, 29, 0.15) !important;
	transition: all .2s ease;
}

.form-control,
.custom-select {
	border: 1px solid var(--gray-200);
	border-radius: var(--border-radius);
	padding: 0.75rem 1rem;
	transition: all .2s ease;
}

.form-control:hover,
.custom-select:hover {
	border-color: var(--gray-300);
}

/* 1. Page Transitions */
body {
	animation: fadeInPage 0.5s ease-out;
}

@keyframes fadeInPage {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 2. Custom Scrollbars */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
	background: var(--gray-400);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--gray-600);
}

/* 3. Modern Alerts */
.alert {
	border: 0;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 1rem 1.25rem;
}

.alert-success {
	background-color: #d1fae5;
	color: #065f46;
}

.alert-danger {
	background-color: #fee2e2;
	color: #991b1b;
}

.alert-info {
	background-color: #dbeafe;
	color: #1e40af;
}

.alert-warning {
	background-color: #fef3c7;
	color: #92400e;
}

/* 4. Modern Tooltips */
.tooltip-inner {
	background-color: var(--navy-900);
	color: #fff;
	border-radius: 8px;
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
	border-top-color: var(--navy-900);
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
	border-right-color: var(--navy-900);
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
	border-bottom-color: var(--navy-900);
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
	border-left-color: var(--navy-900);
}

/* AI Chatbot */
.chatbot-launcher {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: var(--primary);
	color: #0F1020;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(201, 243, 29, 0.5);
	z-index: 10000;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-launcher:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 24px rgba(201, 243, 29, 0.7);
}

.chatbot-container {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 350px;
	height: 500px;
	background: var(--bg-card);
	border-radius: 20px;
	box-shadow: var(--card-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 10000;
	transition: all 0.3s ease;
	border: 1px solid var(--border-color);
}

.chatbot-header {
	padding: 1.25rem;
	background: var(--primary);
	color: #0F1020;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chatbot-messages {
	flex-grow: 1;
	padding: 1.25rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.chatbot-message {
	max-width: 80%;
	padding: 0.75rem 1rem;
	border-radius: 15px;
	font-size: 0.9rem;
	line-height: 1.4;
}

.chatbot-message-user {
	align-self: flex-end;
	background: var(--primary-100);
	color: #0F1020;
	border-bottom-right-radius: 2px;
}

.chatbot-message-ai {
	align-self: flex-start;
	background: var(--bg-main);
	color: var(--text-main);
	border-bottom-left-radius: 2px;
}

.chatbot-input-container {
	padding: 1rem;
	border-top: 1px solid var(--border-color);
	display: flex;
	gap: 0.5rem;
}

.chatbot-input {
	flex-grow: 1;
	border: none;
	background: transparent;
	outline: none;
	color: var(--text-main);
	font-size: 0.9rem;
}

.chatbot-send {
	background: none;
	border: none;
	color: var(--primary-700);
	cursor: pointer;
	font-size: 1.1rem;
}

.chatbot-container.d-none {
	display: none !important;
}

/* Daterangepicker z-index fix */
.daterangepicker {
    z-index: 1100 !important;
}