html {
	scroll-behavior: smooth;
}

body {
	background: var(--body-bg);
}

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

.modal-content {
	padding: 1rem;
	border: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: calc(2 * var(--border-radius));
}

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

label {
	color: var(--gray-900) !important;
	font-weight: 500;
}

[data-theme-style="dark"] label {
	color: var(--gray-800) !important;
}

.form-text {
	color: var(--gray-600) !important;
}

[data-theme-style="dark"] .form-text {
	color: var(--gray-500) !important;
}

.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);
}

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

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

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

.footer button,
.footer button:hover {
	color: var(--gray-700) !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;
}

/* 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;
}

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;
}

/* 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);
}

.navbar-main {
	padding: .75rem 1rem;
	min-height: 0 !important;
	z-index: 1000;
	backdrop-filter: blur(5px);
	background: #ffffffa3;
}

[data-theme-style="dark"] .navbar-main {
	background: #1a1a1aa3;
}

.navbar-main .navbar-nav>li>a {
	padding: 1rem 0 !important;
	font-size: .9rem;
	font-weight: 500;
}

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

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

.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);
}

/* Notification create */
@media (min-width: 992px) {
	.notification-create-preview-normal {
		position: fixed;
		right: 20px;
		bottom: 20px;
		z-index: 100;
	}

	.notification-create-preview-bar {
		position: fixed;
		bottom: 0;
		z-index: 100;
		width: 100%
	}
}

.notification-avatar {
	background: var(--gray-100);
	width: 50px;
	height: 50px;
	color: var(--gray);
	display: flex;
	align-items: center;
	justify-content: center;
}

.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;
	}
}

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

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

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

/* Nav pills custom */
.nav-custom .nav-link {
	transition: all .3s ease-in-out;
	color: var(--gray-600);
	border-bottom: 3px solid var(--gray-300);
}

.nav-custom .nav-link.active {
	color: var(--primary-900);
	border-color: var(--primary-900);
}

.nav-custom .nav-link:hover {
	color: var(--primary-900);
	border-color: var(--primary-900);
}

/* Nav pills custom 2 */
.nav-custom2 .nav-link {
	background: var(--gray-200);
	margin-bottom: 1rem;
	font-size: .9rem;
	font-weight: 500;
}

.notification-preview {
	height: min-content;
	position: sticky;
	top: 1rem;
}

/* Header container */
.header {
	background: var(--white);
	padding: 3rem 0;
}

[data-theme-style="dark"] .header {
	background: var(--gray-100);
}

.user-avatar {
	border-radius: 50%;
	max-width: 80px;
	max-height: 80px;
}

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

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

/* Animate dropdown menu */
.dropdown .dropdown-menu {
	animation-name: opacityIn;
	animation-duration: 0.3s;
}

@keyframes opacityIn {
	from {
		opacity: .3;
	}

	to {
		opacity: 1;
	}
}

/* Chart Container */
.chart-container {
	background: white !important;
	border-radius: var(--border-radius);
	padding: 1rem !important;
}

[data-theme-style="dark"] .chart-container {
	background: var(--gray-100) !important;
}

/* Chart Cards */
.card {
	border: 1px solid var(--gray-200);
	background: white;
	color: var(--gray-900);
}

.card .card-header {
	background: white;
	padding: 1.25rem 1.5rem;
}

.card .card-header h3,
.card .card-header h4,
.card .card-header h5 {
	color: var(--gray-900) !important;
}

.card .card-title {
	color: var(--gray-900) !important;
}

.card .card-text,
.card small {
	color: var(--gray-700);
}

[data-theme-style="dark"] .card {
	background: var(--gray-100);
	border-color: var(--gray-300);
	color: var(--gray-800);
}

[data-theme-style="dark"] .card .card-header {
	background: var(--gray-100);
}

[data-theme-style="dark"] .card .card-header h3,
[data-theme-style="dark"] .card .card-header h4,
[data-theme-style="dark"] .card .card-header h5 {
	color: var(--gray-800) !important;
}

[data-theme-style="dark"] .card .card-title {
	color: var(--gray-800) !important;
}

[data-theme-style="dark"] .card .card-text,
[data-theme-style="dark"] .card small {
	color: var(--gray-600);
}

/* 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: 1px solid var(--gray-200);
	border-radius: calc(2*var(--border-radius));
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme-style="dark"] .table-custom-container {
	border-color: var(--gray-300);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.table-custom thead th {
	border-top: 0;
	border-bottom: 2px solid var(--gray-300);
	background: var(--gray-50);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--gray-900);
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

[data-theme-style="dark"] .table-custom thead th {
	background: var(--gray-200);
	color: var(--gray-900);
	border-bottom-color: var(--gray-400);
}

.table-custom th {
	padding: 1rem 1.5rem;
	vertical-align: middle;
}

.table-custom td {
	padding: 1.25rem 1.5rem;
	background: var(--white);
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid var(--gray-150);
	color: var(--gray-900);
}

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

.table-custom tbody tr:last-child td {
	border-bottom: 0;
}

.table-custom tbody tr td {
	transition: all .3s ease-in-out;
}

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

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

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

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

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

/* Headers */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	color: var(--gray-900);
}

[data-theme-style="dark"] .h1,
[data-theme-style="dark"] .h2,
[data-theme-style="dark"] .h3,
[data-theme-style="dark"] .h4,
[data-theme-style="dark"] .h5,
[data-theme-style="dark"] .h6,
[data-theme-style="dark"] h1,
[data-theme-style="dark"] h2,
[data-theme-style="dark"] h3,
[data-theme-style="dark"] h4,
[data-theme-style="dark"] h5,
[data-theme-style="dark"] h6 {
	color: var(--gray-800);
}

/* Helpers */
.cursor-pointer {
	cursor: pointer;
}

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

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

/* Pricing */
.pricing {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
	margin: 0 auto 3rem;
}

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

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

.pricing-palden .pricing-item {
	background: var(--gray-50);
	border-radius: calc(2*var(--border-radius));
	margin: 2rem 0;
	border: 1px solid var(--gray-200);
}

[data-theme-style="dark"] .pricing-palden .pricing-item {
	background: var(--gray-100);
}

.pricing-palden .pricing-deco {
	border-radius: calc(2*var(--border-radius)) calc(2*var(--border-radius)) 0 0;
	background: var(--primary);
	padding: 2rem 0 6rem;
	position: relative;
}

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

.pricing-palden .pricing-deco-img path {
	fill: var(--gray-50);
}

[data-theme-style="dark"] .pricing-palden .pricing-deco-img path {
	fill: var(--gray-100);
}

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

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

.pricing-palden .pricing-item:hover .deco-layer--1 {
	transform: translate3d(15px, 0, 0);
}

.pricing-palden .pricing-item:hover .deco-layer--2 {
	transform: translate3d(-15px, 0, 0);
}

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

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

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

.pricing-palden .pricing-sub {
	font-size: .9rem;
	margin: 2rem 0;
	color: #fff;
	padding: 0 1.5rem;
}

.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 2rem;
	list-style: none;
	font-size: .95rem;
}

.pricing-palden .pricing-feature {
	padding: .75rem 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);
}

/* Crypto icon */
.cryptocurrency-icon {
	width: 40px;
	height: 40px;
}

/* Round circles */
.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%;
}

/* Badge colors */
.badge {
	padding: 0.45em 0.9em;
	font-weight: 500;
	white-space: nowrap;
}

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

.badge-dark {
	color: white;
	background: var(--gray-800);
}

.badge-light {
	color: var(--gray-900);
	background: var(--gray-100);
	border: 1px solid var(--gray-300);
}

[data-theme-style="dark"] .badge-primary {
	background: var(--primary-800);
	color: var(--primary-100);
}

.badge-secondary {
	color: hsl(208, 7%, 35%);
	background-color: hsl(208, 7%, 85%);
}

[data-theme-style="dark"] .badge-secondary {
	background-color: hsl(208, 7%, 35%);
	color: hsl(208, 7%, 85%);
}

.badge-success {
	color: hsla(134, 50%, 30%, 1);
	background-color: hsla(134, 50%, 85%, 1);
}

[data-theme-style="dark"] .badge-success {
	background-color: hsla(134, 50%, 30%, 1);
	color: hsla(134, 50%, 85%, 1);
}

.badge-danger {
	color: hsla(354, 70%, 35%, 1);
	background-color: hsla(354, 70%, 85%, 1);
}

[data-theme-style="dark"] .badge-danger {
	background-color: hsla(354, 70%, 35%, 1);
	color: hsla(354, 70%, 85%, 1);
}

.badge-warning {
	background-color: hsla(45, 100%, 85%, 1);
	color: hsla(40, 80%, 30%, 1);
}

[data-theme-style="dark"] .badge-warning {
	background-color: hsla(50, 20%, 20%, 1);
	color: hsla(45, 100%, 85%, 1);
}

.badge-info {
	color: hsla(188, 60%, 30%, 1);
	background-color: hsla(188, 78%, 85%, 1);
}

[data-theme-style="dark"] .badge-info {
	background-color: hsla(188, 60%, 30%, 1);
	color: hsla(188, 78%, 85%, 1);
}

.badge-light {
	color: hsla(210, 15%, 35%, 1);
	background-color: hsl(210, 17%, 95%);
}

[data-theme-style="dark"] .badge-light {
	background-color: hsla(210, 15%, 20%, 1);
	color: hsl(210, 17%, 95%);
}

.badge-dark {
	color: hsla(210, 10%, 90%, 1);
	background-color: hsla(210, 10%, 20%, 1);
}

[data-theme-style="dark"] .badge-dark {
	background-color: hsla(210, 10%, 90%, 1);
	color: hsla(210, 10%, 20%, 1);
}

/* 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 switch fix */
.custom-switch {
	z-index: 0;
}

/* Custom button */

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

}

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

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

/* 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;
}

@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;
}

/* 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;
}

.index-widget-icon {
	width: 2.5rem;
	height: 2.5rem;
}

/* ============================================
   PopupSnap Design Language - Dashboard Cards
   ============================================ */

/* PopupSnap Gradient Variables */
:root {
	--ps-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--ps-gradient-primary-light: linear-gradient(135deg, #7c8bf7 0%, #8557b8 100%);
	--ps-gradient-start: #667eea;
	--ps-gradient-end: #764ba2;
}

/* Dashboard Stats Cards - PopupSnap Style */
.ps-dashboard-card {
	background: var(--ps-gradient-primary) !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	position: relative !important;
	overflow: hidden !important;
	border: none !important;
	color: white !important;
}

.ps-dashboard-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.6s ease;
}

.ps-dashboard-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25), 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.ps-dashboard-card:hover::before {
	left: 100%;
}

.ps-dashboard-card .card-body {
	padding: 1.5rem !important;
	text-align: center !important;
}

.ps-dashboard-card .stat-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: white;
}

.ps-dashboard-card .stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: white;
	line-height: 1.2;
}

.ps-dashboard-card .stat-label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 0.25rem;
}

.ps-dashboard-card .stat-icon {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: rgba(255, 255, 255, 0.9);
}

/* Dashboard Chart Card - PopupSnap Style */
.ps-chart-card {
	background: white !important;
	border-radius: 16px !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid var(--gray-200) !important;
	overflow: hidden;
}

[data-theme-style="dark"] .ps-chart-card {
	background: var(--gray-100) !important;
	border-color: var(--gray-300) !important;
}

.ps-chart-card .card-body {
	padding: 1.5rem !important;
}

/* No Data State - PopupSnap Style */
.ps-no-data {
	text-align: center;
	padding: 3rem 2rem;
}

.ps-no-data-icon {
	font-size: 3rem;
	color: var(--ps-gradient-start);
	margin-bottom: 1rem;
	opacity: 0.7;
}

.ps-no-data-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--gray-700);
	margin-bottom: 0.5rem;
}

.ps-no-data-text {
	font-size: 0.95rem;
	color: var(--gray-500);
}

/* Dashboard Header - PopupSnap Style */
.ps-page-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	padding: 2rem 0 !important;
	color: white !important;
	border-radius: 0 0 24px 24px;
	margin-bottom: 1.5rem;
}

.ps-page-hero h1,
.ps-page-hero .h3,
.ps-page-hero .h4 {
	color: white !important;
}

.ps-page-hero .text-muted {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* Section Panel */
.ps-panel {
	background: white;
	border-radius: 16px;
	padding: 1.25rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border: 1px solid var(--gray-200);
	color: var(--gray-900);
}

.ps-panel h1,
.ps-panel h2,
.ps-panel h3,
.ps-panel h4,
.ps-panel h5,
.ps-panel h6,
.ps-panel .h1,
.ps-panel .h2,
.ps-panel .h3,
.ps-panel .h4,
.ps-panel .h5,
.ps-panel .h6 {
	color: var(--gray-900) !important;
}

.ps-panel label {
	color: var(--gray-900) !important;
	font-weight: 500;
}

.ps-panel .form-text {
	color: var(--gray-600);
}

[data-theme-style="dark"] .ps-panel {
	background: var(--gray-100);
	border-color: var(--gray-300);
	color: var(--gray-800);
}

[data-theme-style="dark"] .ps-panel h1,
[data-theme-style="dark"] .ps-panel h2,
[data-theme-style="dark"] .ps-panel h3,
[data-theme-style="dark"] .ps-panel h4,
[data-theme-style="dark"] .ps-panel h5,
[data-theme-style="dark"] .ps-panel h6,
[data-theme-style="dark"] .ps-panel .h1,
[data-theme-style="dark"] .ps-panel .h2,
[data-theme-style="dark"] .ps-panel .h3,
[data-theme-style="dark"] .ps-panel .h4,
[data-theme-style="dark"] .ps-panel .h5,
[data-theme-style="dark"] .ps-panel .h6 {
	color: var(--gray-800) !important;
}

[data-theme-style="dark"] .ps-panel label {
	color: var(--gray-800) !important;
}

/* Section Container */
.ps-section {
	padding-bottom: 2rem;
}

/* Badge PopupSnap Style */
.ps-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.75rem;
	background: var(--ps-gradient-primary);
	color: white !important;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.ps-badge:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
	color: white !important;
}

/* Primary Button PopupSnap Style */
.btn-primary {
	background: var(--ps-gradient-primary) !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 0.6rem 1.25rem !important;
	font-weight: 500 !important;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25) !important;
	transition: all 0.3s ease !important;
}

.btn-primary:hover {
	background: var(--ps-gradient-primary-light) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35) !important;
}

.btn-primary:active,
.btn-primary:focus {
	background: var(--ps-gradient-primary) !important;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
}

/* Notification Cards Custom Radio Boxes */
.notification-radio-box:hover {
	cursor: pointer;
}

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

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

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

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

/* Notification and Alert Font Styling */
.alert,
.alert-heading,
.toast,
.toast-header,
.toast-body,
.notification-preview,
.notification-avatar,
.notification-radio-box,
[class*="notification"] {
	font-family: 'Cairo', 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Ensure Arabic text renders with proper spacing */
[dir="rtl"] .alert,
[dir="rtl"] .toast,
[dir="rtl"] .notification-preview {
	font-family: 'Cairo', 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	letter-spacing: 0;
	word-spacing: 0.1em;
}

/* ============================================
   Ramadan Offer Bar - Responsive RTL Banner
   ============================================ */

.ps-ramadan-offer-bar {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	padding: 12px 16px;
	position: relative;
	overflow: hidden;
	font-family: 'Cairo', 'Poppins', sans-serif;
}

.ps-ramadan-offer-bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.ps-ramadan-offer-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
}

.ps-ramadan-offer-bar__copy {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	flex: 1;
	min-width: 0; /* Prevents flex item from overflowing */
}

.ps-ramadan-offer-bar__pill {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.ps-ramadan-offer-bar__text {
	color: #fff;
	font-size: 0.9rem;
	line-height: 1.5;
	flex: 1;
	min-width: 0;
}

.ps-ramadan-offer-bar__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ps-ramadan-offer-bar__cta {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #fff !important;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.ps-ramadan-offer-bar__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
	color: #fff !important;
}

.ps-ramadan-offer-bar__close {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.8);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 1.25rem;
	line-height: 1;
	padding: 0;
}

.ps-ramadan-offer-bar__close:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* Tablet Responsive (768px - 991px) */
@media (max-width: 991px) {
	.ps-ramadan-offer-bar__inner {
		flex-wrap: wrap;
	}

	.ps-ramadan-offer-bar__copy {
		flex-basis: 100%;
		order: 1;
	}

	.ps-ramadan-offer-bar__actions {
		flex-basis: 100%;
		justify-content: flex-start;
		margin-top: 8px;
		order: 2;
	}
}

/* Mobile Responsive (< 768px) */
@media (max-width: 767px) {
	.ps-ramadan-offer-bar {
		padding: 10px 12px;
	}

	.ps-ramadan-offer-bar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.ps-ramadan-offer-bar__copy {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.ps-ramadan-offer-bar__pill {
		font-size: 0.75rem;
		padding: 3px 10px;
	}

	.ps-ramadan-offer-bar__text {
		font-size: 0.85rem;
		line-height: 1.6;
	}

	.ps-ramadan-offer-bar__actions {
		justify-content: space-between;
		margin-top: 4px;
	}

	.ps-ramadan-offer-bar__cta {
		flex: 1;
		text-align: center;
		padding: 10px 16px;
		font-size: 0.85rem;
	}

	.ps-ramadan-offer-bar__close {
		width: 38px;
		height: 38px;
		flex-shrink: 0;
	}
}

/* Extra Small Mobile (< 375px) */
@media (max-width: 374px) {
	.ps-ramadan-offer-bar__text {
		font-size: 0.8rem;
	}

	.ps-ramadan-offer-bar__cta {
		font-size: 0.8rem;
		padding: 8px 12px;
	}
}

/* RTL Specific Adjustments */
[dir="rtl"] .ps-ramadan-offer-bar {
	font-family: 'Cairo', 'Poppins', sans-serif;
}

[dir="rtl"] .ps-ramadan-offer-bar__inner {
	flex-direction: row-reverse;
}

[dir="rtl"] .ps-ramadan-offer-bar__actions {
	flex-direction: row-reverse;
}

/* Mobile RTL */
@media (max-width: 767px) {
	[dir="rtl"] .ps-ramadan-offer-bar__inner {
		flex-direction: column;
	}

	[dir="rtl"] .ps-ramadan-offer-bar__actions {
		flex-direction: row-reverse;
	}
}

/* Dark mode compatibility */
[data-theme-style="dark"] .ps-ramadan-offer-bar {
	/* Already dark, no changes needed */
}

/* Hidden state */
.ps-ramadan-offer-bar.hidden {
	display: none !important;
}