html {
	scroll-behavior: smooth;
}

/* Toast Notification System - Colorful & Elegant */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 420px;
    width: 100%;
    pointer-events: none;
}

.toast-notification {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    border: none;
}

.toast-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 1rem 1rem 0 0;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

/* Success Toast - Vibrant Green */
.toast-notification.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid #28a745;
}

.toast-notification.success::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

/* Error Toast - Vibrant Red */
.toast-notification.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 5px solid #dc3545;
}

.toast-notification.error::before {
    background: linear-gradient(90deg, #dc3545, #e74c3c);
}

/* Info Toast - Vibrant Blue */
.toast-notification.info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-left: 5px solid #17a2b8;
}

.toast-notification.info::before {
    background: linear-gradient(90deg, #17a2b8, #3498db);
}

/* Warning Toast - Vibrant Orange */
.toast-notification.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 5px solid #ffc107;
}

.toast-notification.warning::before {
    background: linear-gradient(90deg, #ffc107, #f39c12);
}

.toast-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.toast-icon.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.toast-icon.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.toast-icon.info {
    background: linear-gradient(135deg, #17a2b8, #3498db);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.toast-icon.warning {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.toast-content {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.toast-content.success {
    color: #155724;
}

.toast-content.error {
    color: #721c24;
}

.toast-content.info {
    color: #0c5460;
}

.toast-content.warning {
    color: #856404;
}

.toast-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 1rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 0 0 1rem 1rem;
    transition: width linear;
}

.toast-progress.success {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.toast-progress.error {
    background: linear-gradient(90deg, #dc3545, #e74c3c);
}

.toast-progress.info {
    background: linear-gradient(90deg, #17a2b8, #3498db);
}

.toast-progress.warning {
    background: linear-gradient(90deg, #ffc107, #f39c12);
}

/* Dark theme support */
[data-theme-style="dark"] .toast-notification {
    background: #2d3748;
    color: #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.2);
}

[data-theme-style="dark"] .toast-notification.success {
    background: linear-gradient(135deg, #2d5a3d 0%, #38a169 20%);
}

[data-theme-style="dark"] .toast-notification.error {
    background: linear-gradient(135deg, #5a2d2d 0%, #e53e3e 20%);
}

[data-theme-style="dark"] .toast-notification.info {
    background: linear-gradient(135deg, #2d4a5a 0%, #3182ce 20%);
}

[data-theme-style="dark"] .toast-notification.warning {
    background: linear-gradient(135deg, #5a4d2d 0%, #d69e2e 20%);
}

[data-theme-style="dark"] .toast-content {
    color: #e2e8f0;
}

[data-theme-style="dark"] .toast-close {
    color: #a0aec0;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme-style="dark"] .toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast-notification {
        margin-bottom: 0.75rem;
        padding: 1rem 1.25rem;
        min-height: 70px;
    }
    
    .toast-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }
    
    .toast-content {
        font-size: 0.9rem;
    }
}

/* Animation keyframes */
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}

/* Hover pause effect */
.toast-notification:hover .toast-progress {
    animation-play-state: paused !important;
}

.toast-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Icon Loading Improvements */
/* Prevent icon flash during loading */
i[class*="fa-"] {
	display: inline-block;
	min-width: 1em;
	text-align: center;
}

/* Loading state for icons */
.icon-loading {
	opacity: 0.5;
	animation: icon-pulse 1.5s ease-in-out infinite;
}

@keyframes icon-pulse {
	0% { opacity: 0.5; }
	50% { opacity: 0.8; }
	100% { opacity: 0.5; }
}

/* Ensure icons have proper spacing */
.fa-fw {
	width: 1.25em !important;
	text-align: center;
}

b, strong {
	font-weight: 500;
}

/* Phoenix Theme Variables */
:root {
  --phoenix-primary: #038747;
  --phoenix-secondary: #6c757d;
  --phoenix-success: #00d27a;
  --phoenix-info: #27bcfd;
  --phoenix-warning: #f5803e;
  --phoenix-danger: #e63757;
  --phoenix-light: #f9fafd;
  --phoenix-dark: #0b1727;
  --phoenix-body-bg: #f5f7fa;
  --phoenix-border-color: #e6e8ed;
  --phoenix-card-shadow: 0 0 0.375rem 0.25rem rgba(0, 0, 0, 0.03);
  --phoenix-enhanced-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --phoenix-sidebar-bg: #0b1727;
  --phoenix-sidebar-color: #9da9bb;
  --phoenix-sidebar-active: #038747;
}

/* Cancel the bg white for dark mode */
body[data-theme-style="dark"].bg-white {
	background: var(--body-bg) !important;
}

/* App */
.app {
	background: hsl(210, 50%, 99%);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

[data-theme-style="dark"].app {
	background: #0D0F11;
}

.app-container {
}

.app-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background: var(--gray-100);
	z-index: 100;
	opacity: .5;
}

/* Sidebar Styling - Merged */
.app-sidebar {
	display: flex;
	flex-direction: column;
	min-width: 200px;
	max-width: 200px;
	background: var(--white);
	border-radius: 0;
	margin: 0 0 0 -300px;
	transition: margin-left .15s linear, margin-right .15s linear;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 101;
	box-shadow: var(--phoenix-card-shadow, 0 0 0.375rem 0.25rem rgba(0, 0, 0, 0.03));
	border-right: 1px solid var(--gray-100);
}

[dir="rtl"] .app-sidebar {
	margin-left: initial;
	left: initial;
	right: 0;
	margin-right: -300px;
	margin-top: 0;
	margin-bottom: 0;
	border-left: 1px solid var(--gray-100);
	border-right: 0;
}

[dir="rtl"] [data-theme-style="dark"] .app-sidebar {
	border-right: 0;
	border-left: 1px solid var(--gray-100);
}

body.app-sidebar-opened .app-sidebar {
	margin-left: 0;
}

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

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

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

.app-sidebar-title {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--gray-100);
}

.app-sidebar-title a {
	font-size: 1.2rem;
	color: var(--gray-900);
	font-weight: 600;
}

.app-sidebar-title img {
	max-height: 2.5rem;
	height: 2.5rem;
}

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

.app-sidebar-footer {
	width: 100%;
	border-top: 1px solid var(--phoenix-border-color);
}

.app-sidebar-footer > a {
	width: 100%;
	padding: .75rem 1.75rem;
	border-top: 1px solid var(--gray-100);
	display: flex;
	align-items: center;
	color: var(--gray-500);
	font-size: .9rem;
	font-weight: 500;
	transition: background .3s;
	border-radius: var(--border-radius);
}

.app-sidebar-footer > a:hover {
	text-decoration: none;
	background: var(--phoenix-light);
	color: var(--phoenix-dark);
}

.app-sidebar-links-wrapper {
	background: var(--white);
	border-radius: 0;
	padding: 0.15rem 0.25rem;
	overflow-y: scroll;
	height: calc(100% - 60px);
	width: calc(100%);
	scrollbar-width: none;
}

.app-sidebar-links-wrapper:hover {
	width: 100%;
	scrollbar-width: initial;
}

.app-sidebar-links-wrapper::-webkit-scrollbar {
	background-color: transparent;
	width: 0;
}

.app-sidebar-links-wrapper::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

.app-sidebar-links-wrapper:hover::-webkit-scrollbar {
	width: 8px;
}

.app-sidebar-links-wrapper:hover::-webkit-scrollbar-track {
	width: 8px;
}

.app-sidebar-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

.app-sidebar-links > li {
	width: 100%;
	padding: 0.15rem 0.25rem;
}

.app-sidebar-links > .divider-wrapper {
	width: 100%;
	padding: 0 calc(0.75rem - 8px) 0 0.75rem;
	margin: 1rem 0;
}

.app-sidebar-links > .divider-wrapper > .divider {
	border-top: 1px solid var(--gray-100);
}

.app-sidebar-links > li > a {
	width: 100%;
	display: block;
	color: var(--gray-700);
	border-radius: 0.375rem;
	padding: 0.25rem 0.35rem;
	transition: all 0.3s ease;
	font-size: 0.85rem;
	font-weight: 500;
}

.app-sidebar-links > li > a:hover {
	text-decoration: none;
	background: var(--gray-100);
	color: var(--gray-900);
}

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

.app-sidebar-links > li.active > a:not(.default) {
	background: var(--phoenix-primary);
	color: white;
	font-weight: 500;
}

.app-sidebar-links > li.active > a svg {
	color: white;
}

[data-theme-style="dark"] .app-sidebar-links > li.active > a:not(.default) {
	background: var(--primary-800);
	color: var(--white);
}

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

.app-sidebar-footer-block {
	max-width: 100%;
}

.app-sidebar-footer-text {
	color: var(--phoenix-secondary);
}

/* Content Area */
.app-content {
	margin-left: 0;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	height: 100%; /* Added to make the footer stick to the bottom */
	padding-bottom: 60px; /* Added to prevent content from being hidden behind the fixed footer */
}

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

@media (min-width: 992px) {
	.app-content {
		margin-left: 200px;
	}
	[dir="rtl"] .app-content {
		margin-left: initial;
		margin-right: 200px;
	}
}

/* Make all containers full width - matching admin panel */
.app-content .container {
  max-width: 100%;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header matching admin panel */
.app-navbar {
	min-height: 60px !important;
	border-bottom: 1px solid var(--gray-100);
	padding: 0.75rem 1.5rem !important;
	margin-bottom: 1rem;
}

.app-navbar .navbar-brand {
	font-size: 1.2rem !important;
	padding: 0.25rem !important;
	font-weight: 600;
	color: var(--phoenix-dark);
}

.app-navbar h1 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0;
	color: var(--phoenix-dark);
}

.app-navbar .navbar-nav .nav-link {
	padding: 0.5rem 1rem !important;
	font-size: 1rem !important;
}

.app-navbar .dropdown-toggle {
	padding: 0.5rem 1rem !important;
}

.app-navbar .btn {
	padding: 0.5rem 1rem !important;
	font-size: 1rem !important;
}

[data-theme-style="dark"] .app-navbar {
	border-color: var(--gray-200);
}

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

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

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--phoenix-dark);
}

.modal-body {
  padding: 1.5rem;
  background-color: white;
}

.modal-footer {
  border-top: 1px solid var(--phoenix-border-color);
  padding: 1rem 1.5rem;
  background-color: white;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.close {
  color: var(--phoenix-secondary);
  opacity: 0.75;
  transition: all 0.2s ease;
}

.close:hover {
  color: var(--phoenix-danger);
  opacity: 1;
}

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

.form-control {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-color: var(--phoenix-border-color);
  border-radius: 0.375rem;
}

.form-control:focus {
  border-color: var(--phoenix-primary);
  box-shadow: 0 0 0 0.2rem rgba(94, 68, 255, 0.25);
}

.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;
	padding-top: 3rem;
	padding-bottom: 3rem;
	background: var(--white);
}

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

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

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

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

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

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

/* App footer */
.app-footer {
	background: var(--white);
	border-top: 1px solid var(--gray-100);
	font-size: 0.85rem;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

@media (min-width: 992px) {
	.app-footer {
		left: 200px; /* Match the sidebar width */
	}
	
	[dir="rtl"] .app-footer {
		left: 0;
		right: 200px; /* For RTL languages */
	}
}

/* Footer container */
.app-content .px-lg-5 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: auto;
  width: 100%;
}

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

.custom-breadcrumbs > li.active {
}

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

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

/* Card Styling - Phoenix */
.card {
  border: none;
  box-shadow: var(--phoenix-card-shadow);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.card-body {
  padding: 1rem;
}

/* Dashboard Cards */
.dashboard-card {
  transition: transform 0.2s ease-in-out;
}

.dashboard-card:hover {
  transform: translateY(-3px);
}

/* Dashboard Stats Cards */
.card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Apply Phoenix styling to dashboard cards */
.dashboard-card .card-body {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.dashboard-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.dashboard-card .card-icon i {
  font-size: 1.25rem;
}

.dashboard-card .card-info {
  flex-grow: 1;
}

.dashboard-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.dashboard-card .card-subtitle {
  font-size: 0.85rem;
  color: var(--phoenix-secondary);
}

/* Dashboard Specific Styles */
.dashboard-stats-card {
  display: flex;
  align-items: center;
}

.dashboard-stats-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.dashboard-stats-info {
  flex-grow: 1;
}

.dashboard-stats-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.dashboard-stats-label {
  font-size: 0.85rem;
  color: var(--phoenix-secondary);
}

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

/* Dropdown Menu Styling - Phoenix */
.dropdown-menu {
  border: none;
  box-shadow: var(--phoenix-enhanced-shadow);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 12rem;
  background-color: white;
  z-index: 1000;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--phoenix-dark);
  transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: var(--phoenix-light);
  color: var(--phoenix-primary);
}

.dropdown-item.active, 
.dropdown-item:active {
  background-color: var(--phoenix-primary);
  color: white;
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-top: 1px solid var(--phoenix-border-color);
}

.dropdown-header {
  color: var(--phoenix-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

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

/* Navbar */
.navbar-main {
	min-height: 0 !important;
	background: var(--white);
	border-bottom: 1px solid var(--gray-100);
}

.navbar-main .navbar-nav > li {
	padding: .5rem 0 !important;
}

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

.navbar-logo {
	max-height: 2.5rem;
	height: 2.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);
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255,255,255,.85);
}

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

/* Tables - Phoenix */
.table-custom-container {
  border: none;
  border-radius: 0.5rem;
  box-shadow: var(--phoenix-card-shadow);
}

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

.table-custom thead th {
  background: var(--phoenix-light);
  color: var(--phoenix-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  border-top: 0;
  border-bottom: 0;
}

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

.table-custom td {
  padding: 1rem;
  font-size: 0.9rem;
  background: var(--white);
  vertical-align: middle;
  border-color: var(--gray-100);
}

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

/* Buttons - Phoenix */
.btn {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
}

.btn-primary {
  background-color: var(--phoenix-primary);
  border-color: var(--phoenix-primary);
}

.btn-primary:hover {
  background-color: #4e37d0;
  border-color: #4e37d0;
}

/* Custom button */
.btn-custom {
	padding: .5rem 1.5rem;
	color: var(--gray);
	border-radius: var(--border-radius);
	border: 1px solid var(--gray-100) !important;
	font-size: .9rem;
	background: var(--white);
}

.btn-custom:hover {
	color: var(--gray);
	border: 1px solid var(--gray-200) !important;
}

.btn-custom.active {
	color: var(--primary);
	border: 1px solid var(--primary);
}

/* Index */
.index {
	background: #f9fcff;
}

[data-theme-style="dark"].index {
	background: var(--body-bg);
}

.index .navbar-main .btn {
	border-radius: 5rem;
	padding: 0.5rem 1rem;
}

.index-container-content {
	margin-top: 4rem;
	margin-bottom: 4rem;
}

.index-container {
	width: 100%;
	padding: 0 0 4rem 0;
}

@media (min-width: 992px) {
	.index-container-content {
		margin-top: 6rem;
	}

	.index-container {
		padding: 0 0 8rem 0;
	}
}

@keyframes index-image-one-switch {
	33% {
		transform: scale(1.05);
		left: 3rem;
	}
	66% {
		transform: scale(0.9);
	}
	100% {
		z-index: 1;
		left: 9rem;
		transform: scale(0.9);
		filter: blur(1px);
	}
}

@keyframes index-image-two-switch {
	33% {
		right: -6rem;
		transform: scale(0.95);
	}
	66% {
		transform: scale(1.1);
		top: -2rem;
	}
	100% {
		z-index: 2;
		right: -3rem;
		top: -2rem;
		filter: blur(0px);
		transform: scale(1.05);
	}
}

.index-image {
	width: auto;
	max-height: 540px;
	position: absolute;
	transition: all 0.3s ease-out;
	border-radius: 30px;
}

.index-image-one {
	z-index: 2;
	top: -1.5rem;
	right: 11.5rem;
}

.index-image-two {
	z-index: 1;
	right: 0;
	top: -5rem;
	filter: blur(1px);
}

[dir="rtl"] .index-image-one {
	left: 3.5rem;
	right: inherit;
}

@media (min-width: 1325px) {
	.index-image {
		max-height: 600px;
	}

	.index-image-one {
		top: -1.5rem;
		left: 9rem;

		animation: index-image-one-switch 2s forwards;
		animation-delay: 2s;
	}

	.index-image-two {
		right: -3rem;
		top: -5rem;
		left: inherit;

		animation: index-image-two-switch 2s forwards;
		animation-delay: 2s;
	}

	[dir="rtl"] .index-image-one {
		animation: none;
	}

	[dir="rtl"] .index-image-two {
		animation: none;
		right: 3rem;
	}
}

.index-header {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--black);
}

@media (min-width: 768px) {
	.index-header {
		font-size: 3rem;
	}
}

@media (min-width: 1200px) {
	.index-header {
		font-size: 4rem;
	}
}

.index-input {
	padding: 1.5rem 1rem;
}

.index-feature {
	line-height: 2.5rem;
	font-weight: 500;
	transition: background .6s;
	border-radius: 100px;
}

.index-feature a {
	color: var(--gray-800);
	text-decoration: none;
	transition: color .6s;
}

.index-feature:hover {
	background: var(--primary-100);
}

.index-feature:hover a {
	color: var(--primary-600);
}

.index-button {
	padding: 1.2rem 2.2rem;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	transition: all .3s ease-in-out;
}

.index-button-white, .index-button-white:hover {
	color: white;
}

.index-card-image {
	max-width: 100%;
	height: auto;
	object-fit: cover;
	box-shadow: 10px 10px 0 #ebf5ff;
	border: 1px solid var(--gray-300);
	transition: all .3s ease-in-out;
}

.index-card-image:hover {
	box-shadow: 0 0 0 var(--gray-300);
}

.index-highly-rounded {
	border-radius: 1rem;
}

.index-fade {
	position: absolute;
	background: linear-gradient(0deg, var(--body-bg), hsla(0, 0%, 100%, 0)) !important;
	bottom: 0;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1;
}

/* Index testimonial */
.index-testimonial-avatar {
	width: 85px;
	height: 85px;
	border-radius: 50%;
	transform: translateY(-70%);
	border: 4px solid var(--white);
	position: absolute;
	left: 50%;
	margin-left: -52px;
}

/* Index FAQ */
.index-faq svg {
	transition: all .15s;
	color: var(--primary-800);
}

/* Index call to action */
.index-cta {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 1920 1080" width="1920" height="1080"><defs><linearGradient gradientTransform="rotate(0, 0.5, 0.5)" x1="50%" y1="0%" x2="50%" y2="100%" id="ffflux-gradient"><stop stop-color="%230063ef" stop-opacity="1" offset="0%"></stop><stop stop-color="%23aa02b4" stop-opacity="1" offset="100%"></stop></linearGradient><filter id="ffflux-filter" x="-20%" y="-20%" width="140%" height="140%" filterUnits="objectBoundingBox" primitiveUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feTurbulence type="fractalNoise" baseFrequency="0.005 0.003" numOctaves="1" seed="131" stitchTiles="stitch" x="0%" y="0%" width="100%" height="100%" result="turbulence"></feTurbulence><feGaussianBlur stdDeviation="20 0" x="0%" y="0%" width="100%" height="100%" in="turbulence" edgeMode="duplicate" result="blur"></feGaussianBlur><feBlend mode="color-dodge" x="0%" y="0%" width="100%" height="100%" in="SourceGraphic" in2="blur" result="blend"></feBlend></filter></defs><rect width="1920" height="1080" fill="url(%23ffflux-gradient)" filter="url(%23ffflux-filter)"></rect></svg>');
	background-repeat: no-repeat;
	background-size: cover;
	color: white !important;
}

.index-cta a.btn {
	color: white;
	background: var(--dark);
	border-color: var(--dark);
	padding: 1.1rem 4rem;
	font-size: 1.15rem;
}

.index-cta a.btn:hover {
	background: var(--primary-900);
	border-color: var(--primary-900);
}

[data-theme-style="dark"] .index-cta a.btn {
	background: var(--light);
	border-color: var(--light);
}

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

/* Link Settings page */
.link-background-type-preset {
	width: 100%;
	height: 5rem;
	border-radius: var(--border-radius);
	transition: .3s transform, opacity;
}

.link-background-type-preset:hover {
	cursor: pointer;
	transform: scale(1.025);
}

input[type="radio"]:checked ~ .link-background-type-preset {
	transform: scale(1.05);
	opacity: .25;
}


/* Microsite theme */
.link-microsite-theme {
	transition: .3s transform, .3s opacity, .3s border-color;
	height: 15rem !important;
	background-size: cover !important;
	background-position: center center !important;
	border-width: 2px;
}

.link-microsite-theme:hover {
	cursor: pointer;
	transform: scale(1.025);
}

input[type="radio"]:checked ~ .link-microsite-theme {
	transform: scale(1.05);
	border-color: var(--primary);
}

.link-microsite-theme-custom {
	background: linear-gradient(to top right, var(--body-bg), var(--gray-200));
}

.link-btn-straight {
	border-radius: 0;
}

.link-btn-round {
	border-radius: 50px;
}

/* smaller rounded buttons for some links */
[data-microsite-block-type="review"] .link-btn-round {
	border-radius: 25px;
}

.link-btn-rounded {
	border-radius: .4rem;
}

.microsite-switch-buttons .nav-link.active {
	background: var(--gray-500);
}


/* Microsite preview iframe */
.microsite-preview {
	position: relative;
	margin: 0 auto;
	height: auto;
	width: auto;
	display: inline-block;
	text-align: left;
}

.microsite-preview-iframe-container {
	overflow: hidden;
	width: 300px;
	height: 625px;
	border-radius: 2.5rem;
	border: 10px solid black;
	position: relative;
	box-shadow: 0 0 30px rgba(0,0,0,0.20);
}

@media (min-width: 768px) {
	.microsite-preview-iframe-container {
		width: 375px;
		height: 800px;
	}
}

.microsite-preview-iframe-loading {
	width: 100%;
	height: 100%;
	background: hsla(0, 0%, 0%, .6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
}

.microsite-preview-iframe {
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
}

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

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

/* Custom row */
.custom-row {
	border-radius: var(--border-radius);
	padding: 1.25rem;
	position: relative;
	border: 1px solid var(--gray-100);
	background: var(--white);
}

.custom-row-inactive {
	background: var(--gray-100);
}

.custom-row-side-controller {
	right: 100%;
	top: 25%;
	font-size: 1.2em;
	padding: .2em .2em;
}

[dir="rtl"] .custom-row-side-controller {
	right: initial;
	left: 100%;
}

@media (min-width: 992px) {
	.custom-row-side-controller {
		position: absolute;
		padding: .4em .8em;
	}
}

.custom-row-side-controller-grab {
	cursor: grab;
	opacity: .5;
	transition: .3s opacity;
}

.microsite_block:hover .custom-row-side-controller-grab {
	opacity: 1;
}

/* 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-radius: var(--border-radius);
	border: 1px solid var(--gray-100);
}

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

.table-custom thead th {
	border-top: 0;
	border-bottom: 0;
	background: var(--white);
	color: var(--gray-900)
}

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

.table-custom td {
	/*padding: 1.55rem 1rem;*/
	background: var(--white);
	vertical-align: middle;
	border-color: var(--gray-100);
}

/* Helpers */
.appearance-none {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}

/* Pricing */
.pricing-plan {
	border: 1px solid var(--gray-100);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.pricing-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2.2rem 2.2rem 0 2.2rem;
	background: var(--white);
	border-bottom: 1px solid var(--gray-100);
	border-radius: var(--border-radius);
}

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

.pricing-name {
	background: var(--primary-200);
	padding: .15rem 1.25rem;
	color: var(--primary-600);
	font-size: .85rem;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: var(--border-radius);
}

.pricing-price {
	margin: 1rem 0;
}

.pricing-price-amount {
	font-size: 3.3rem;
	font-weight: bold;
}

.pricing-price-currency {
	font-size: .9rem;
	color: var(--gray);
}

.pricing-details {
	text-align: center;
	font-size: .85rem;
	color: var(--primary-800);
	margin-bottom: 1.5rem;
}

.pricing-body {
	padding: 0 2.2rem 2.2rem 2.2rem;
	background: var(--white);
	height: 100%;
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
}

.pricing-features {
	margin: 2rem 0;
	list-style: none;
	padding: 0;
}

.pricing-features li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 1rem 0;
}

/* 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 {
	transition: all .3s ease-in-out;
	border: 1px solid var(--gray-100);
	background: var(--white);
}

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

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

/* QR Codes */
.qr-code {
	width: 350px;
    padding-bottom: 3rem;
}

.qr-code-loading {
	animation: opacity-loading 1s infinite ease-in-out alternate;
}

@keyframes opacity-loading {
	0% { opacity: 1; }
	100% { opacity: .5; filter: blur(5px) }
}

.qr-code-avatar {
	width: 65px;
	height: 65px;
	border-radius: var(--border-radius);
	padding: .25rem;
	border: 1px solid var(--gray-100);
}

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

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

[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, 10%, 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 */
.seegap-animate {
	-webkit-animation-duration:500ms;
	animation-duration:500ms;
}

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

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

@keyframes fadeIn{
	0% {
		opacity:0
	}
	to {
		opacity:1
	}
}
.seegap-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);
	border: 1px solid var(--gray-100) !important;
	font-size: .9rem;
	background: var(--white);
}

.btn-custom:hover {
	color: var(--gray);
	border: 1px solid var(--gray-200) !important;
}

.btn-custom.active {
	color: var(--primary);
	border: 1px solid 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;
}

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

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

.seegap-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 */
.seegap-file-input-preview {
	max-width: 100%;
	max-height: 68px;
	min-height: 68px;
	object-fit: cover;
}

/* File input preview */
.seegap-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);
}

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

/* Signatures */
.signature-avatar {
	width: 50px;
	height: 50px;
	object-fit: cover;
	background: var(--primary-100);
}

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

/* Input group button */
.input-group > .input-group-append > .btn {
	font-size: .9rem;
}

/* AIX */
.ai-chat-avatar {
	width: 35px;
	height: 35px;
}

.ai-chat-big-avatar {
	width: 50px;
	height: 50px;
}

.chat-messages {
	height: 25rem;
	overflow-y: scroll;
}

.chat-image > img {
	max-height: 15rem;
}

.chat-content {
	word-break: break-word;
}

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

/* Fa stack small */
.fa-stack-small {
	font-size: 0.65rem;
	vertical-align: middle;
}

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

.btn-group-custom .btn {
	margin: 0 .5rem;
	border-radius: var(--border-radius) !important;
	background: var(--gray-200);
}

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

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

/* Gradient text */
.text-gradient-primary {
	background: linear-gradient(135deg, var(--gradient-one), var(--gradient-two));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Gradient background */
.bg-gradient {
	animation: bg-gradient-animation 3s ease infinite alternate;
	background: linear-gradient(60deg,#f79533,#f37055,#ef4e7b,#a166ab,#5073b8,#1098ad,#07b39b,#6fba82);
	background-size: 300% 300%;
}

@keyframes bg-gradient-animation {
	0% {
		background-position: 0 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0 50%;
	}
}

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

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

/* Toolkit */
.tool-icon {
	min-width: 2.75rem;
	max-height: 2.75rem;
	width: 2.75rem;
	height: 2.75rem;
}

.tool-icon-wrapper {
	padding: 0 1.25rem;
}

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

/* Links */
.link-type-icon {
	min-width: 2.25rem;
	max-height: 2.25rem;
	width: 2.25rem;
	height: 2.25rem;
}

/* Microsites themes */
.microsite-themes-wrapper-left, .microsite-themes-wrapper-right {
	width: 60px;
	position: absolute;
	height: 100%;
	z-index: 1;
	top: 0;
	bottom: 0;
	transition: opacity .3s;
}

.microsite-themes-wrapper-left {
	left: 0;
	background: linear-gradient(to right, var(--white), transparent);
}

.microsite-themes-wrapper-right {
	right: 0;
	background: linear-gradient(to left, var(--white), transparent);
}

/* Settings Panel Compact Styles */
/* Make form controls smaller in settings panel */
.link-settings .card-body .form-control,
.link-settings .card-body .custom-select {
  padding: 0.3rem 0.5rem !important;
  font-size: 0.85rem !important;
  min-height: 30px !important;
}

/* Make input groups smaller in settings panel */
.link-settings .card-body .input-group-sm > .form-control,
.link-settings .card-body .input-group-sm > .input-group-prepend > .input-group-text,
.link-settings .card-body .input-group-sm > .input-group-append > .input-group-text {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.85rem !important;
}

/* Reduce padding in card body in settings panel */
.link-settings .card-body {
  padding: 0.75rem !important;
}

/* Reduce margin between form groups in settings panel */
.link-settings .form-group {
  margin-bottom: 0.5rem !important;
}

/* Make labels smaller and reduce margin in settings panel */
.link-settings .form-group label {
  font-size: 0.8rem !important;
  margin-bottom: 0.25rem !important;
}

/* Make custom switches smaller in settings panel */
.link-settings .custom-switch .custom-control-label {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.link-settings .custom-switch .custom-control-label::before {
  height: 1rem !important;
  width: 1.75rem !important;
}

.link-settings .custom-switch .custom-control-label::after {
  width: calc(1rem - 4px) !important;
  height: calc(1rem - 4px) !important;
}

.link-settings .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(0.75rem) !important;
}

/* Make buttons in rows normal size in settings panel */
.link-settings .row .btn {
  padding: 0.5rem 1rem !important;
  font-size: 1rem !important;
}

/* Reduce padding in collapse containers in settings panel */
.link-settings .collapse .form-group:first-child {
  margin-top: 0.5rem !important;
}

/* Normal spacing in button groups in settings panel */
.link-settings .btn-group-toggle .btn {
  padding: 0.5rem 1rem !important;
}

/* Make small text smaller in settings panel */
.link-settings small.form-text {
  font-size: 0.7rem !important;
  margin-top: 0.1rem !important;
}

/* Reduce padding in dropdown menus in settings panel */
.link-settings .dropdown-menu {
  padding: 0.25rem !important;
}

.link-settings .dropdown-item {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.85rem !important;
}

/* Reduce spacing in color pickers in settings panel */
.link-settings .pcr-button {
  height: calc(1.5em + 0.5rem + 2px) !important;
}

/* Make range inputs smaller in settings panel */
.link-settings input[type="range"] {
  margin: 0.5rem 0 !important;
}

/* Make main sections independently scrollable */
.link-settings > .col-12 {
  max-height: 90vh;
  overflow-y: auto;
  padding-right: 10px;
}

/* Make headers in link pages more compact */
.container h1.h3 {
  font-size: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  font-weight: 600 !important;
}

/* Make the header row more compact */
.container .row:first-of-type {
  margin-bottom: 0.5rem !important;
}

/* Make the action buttons normal size */
.container .d-flex.align-items-center .btn {
  font-size: 1rem !important;
}

/* Make the breadcrumbs more compact */
.custom-breadcrumbs {
  margin-bottom: 0.5rem !important;
  font-size: 0.75rem !important;
}

/* Make the subheader more compact */
.container .d-flex.align-items-baseline {
  margin-bottom: 0.75rem !important;
  font-size: 0.85rem !important;
}

/* Content padding consistent with admin panel */
.app-content .py-4.p-lg-5 {
  padding: 1.5rem !important;
}

@media (min-width: 992px) {
  .app-content .py-4.p-lg-5 {
    padding: 2rem !important;
  }
}

/* Make collapsible sections independently scrollable */
.link-settings .collapse {
  max-height: none;
  overflow: visible;
}

/* Custom scrollbar for sections */
.link-settings .collapse::-webkit-scrollbar {
  width: 5px;
}

.link-settings .collapse::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.link-settings .collapse::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.link-settings .collapse::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* /* Settings Panel Compact Styles */
/* Make form controls smaller 
.card-body .form-control,
.card-body .custom-select {
  padding: 0.3rem 0.5rem;
  font-size: 0.85rem;
  min-height: 30px;
  height: calc(1.5em + 0.5rem + 2px);
} */

/* Make input groups smaller */
.card-body .input-group-sm > .form-control,
.card-body .input-group-sm > .input-group-prepend > .input-group-text,
.card-body .input-group-sm > .input-group-append > .input-group-text {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  height: calc(1.5em + 0.5rem + 2px);
}

/* Reduce padding in card body */
.card-body {
  padding: 0.75rem;
}

/* Reduce margin between form groups */
.form-group {
  margin-bottom: 0.5rem;
}

/* Make labels smaller and reduce margin */
.form-group label {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

/* Make custom switches smaller */
.custom-switch .custom-control-label {
  padding-top: 0;
  padding-bottom: 0;
}

.custom-switch .custom-control-label::before {
  height: 1rem;
  width: 1.75rem;
}

.custom-switch .custom-control-label::after {
  width: calc(1rem - 4px);
  height: calc(1rem - 4px);
}

.custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(0.75rem);
}


/* Reduce padding in collapse containers */
.collapse .form-group:first-child {
  margin-top: 0.5rem;
}

/* Normal spacing in button groups */
.btn-group-toggle .btn {
  padding: 0.5rem 1rem;
}

/* Make small text smaller */
small.form-text {
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

/* Reduce padding in dropdown menus */
.dropdown-menu {
  padding: 0.25rem;
}

.dropdown-item {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
}

/* Reduce spacing in color pickers */
.pcr-button {
  height: calc(1.5em + 0.5rem + 2px) !important;
}

/* Make range inputs smaller */
input[type="range"] {
  margin: 0.5rem 0;
}

/* Authentication Pages Styling - Minimalistic & Theme Compatible */
:root {
  --auth-bg-light: #f8fafc;
  --auth-bg-dark: #0f172a;
  --auth-card-bg-light: rgba(255, 255, 255, 0.95);
  --auth-card-bg-dark: rgba(15, 23, 42, 0.95);
  --auth-border-light: rgba(226, 232, 240, 0.8);
  --auth-border-dark: rgba(51, 65, 85, 0.8);
  --auth-text-light: #334155;
  --auth-text-dark: #e2e8f0;
  --auth-input-bg-light: #ffffff;
  --auth-input-bg-dark: #1e293b;
  --auth-shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --auth-shadow-dark: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Base Authentication Background */
.login-background,
.register-background,
.lost-password-background,
.resend-activation-background,
.reset-password-background {
  min-height: 100vh;
  background: var(--auth-bg-light);
  transition: background-color 0.3s ease;
}

/* Dark theme support */
[data-theme-style="dark"] .login-background,
[data-theme-style="dark"] .register-background,
[data-theme-style="dark"] .lost-password-background,
[data-theme-style="dark"] .resend-activation-background,
[data-theme-style="dark"] .reset-password-background {
  background: var(--auth-bg-dark);
}

/* System theme support */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background,
  body[data-theme-style="system"] .register-background,
  body[data-theme-style="system"] .lost-password-background,
  body[data-theme-style="system"] .resend-activation-background,
  body[data-theme-style="system"] .reset-password-background {
    background: var(--auth-bg-dark);
  }
}

/* Authentication Container - Minimalistic */
.login-background main,
.register-background main,
.lost-password-background main,
.resend-activation-background main,
.reset-password-background main {
  padding: 1rem 0;
}

.login-background .container,
.register-background .container,
.lost-password-background .container,
.resend-activation-background .container,
.reset-password-background .container {
  max-width: 480px;
}

@media (min-width: 768px) {
  .login-background .container,
  .register-background .container,
  .lost-password-background .container,
  .resend-activation-background .container,
  .reset-password-background .container {
    max-width: 520px;
  }
}

/* Logo Section - Condensed */
.login-background .mb-5,
.register-background .mb-5,
.lost-password-background .mb-5,
.resend-activation-background .mb-5,
.reset-password-background .mb-5 {
  margin-bottom: 1.5rem !important;
}

.login-background .mb-5 img,
.register-background .mb-5 img,
.lost-password-background .mb-5 img,
.resend-activation-background .mb-5 img,
.reset-password-background .mb-5 img {
  max-height: 2rem;
}

/* Authentication Card - Minimalistic */
.login-background .card,
.register-background .card,
.lost-password-background .card,
.resend-activation-background .card,
.reset-password-background .card {
  background: var(--auth-card-bg-light);
  border: 1px solid var(--auth-border-light);
  border-radius: 0.75rem;
  box-shadow: var(--auth-shadow-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Dark theme card */
[data-theme-style="dark"] .login-background .card,
[data-theme-style="dark"] .register-background .card,
[data-theme-style="dark"] .lost-password-background .card,
[data-theme-style="dark"] .resend-activation-background .card,
[data-theme-style="dark"] .reset-password-background .card {
  background: var(--auth-card-bg-dark);
  border-color: var(--auth-border-dark);
  box-shadow: var(--auth-shadow-dark);
}

/* System theme card */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .card,
  body[data-theme-style="system"] .register-background .card,
  body[data-theme-style="system"] .lost-password-background .card,
  body[data-theme-style="system"] .resend-activation-background .card,
  body[data-theme-style="system"] .reset-password-background .card {
    background: var(--auth-card-bg-dark);
    border-color: var(--auth-border-dark);
    box-shadow: var(--auth-shadow-dark);
  }
}

/* Card Body - Condensed */
.login-background .card-body,
.register-background .card-body,
.lost-password-background .card-body,
.resend-activation-background .card-body,
.reset-password-background .card-body {
  padding: 1.5rem !important;
}

/* Headers - Minimalistic */
.login-background h1,
.register-background h1,
.lost-password-background h1,
.resend-activation-background h1,
.reset-password-background h1 {
  font-size: 1.25rem !important;
  font-weight: 600;
  margin-bottom: 0.75rem !important;
  color: var(--auth-text-light);
  text-align: center;
}

/* Dark theme headers */
[data-theme-style="dark"] .login-background h1,
[data-theme-style="dark"] .register-background h1,
[data-theme-style="dark"] .lost-password-background h1,
[data-theme-style="dark"] .resend-activation-background h1,
[data-theme-style="dark"] .reset-password-background h1 {
  color: var(--auth-text-dark);
}

/* System theme headers */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background h1,
  body[data-theme-style="system"] .register-background h1,
  body[data-theme-style="system"] .lost-password-background h1,
  body[data-theme-style="system"] .resend-activation-background h1,
  body[data-theme-style="system"] .reset-password-background h1 {
    color: var(--auth-text-dark);
  }
}

/* Subheaders */
.login-background p.text-muted,
.register-background p.text-muted,
.lost-password-background p.text-muted,
.resend-activation-background p.text-muted,
.reset-password-background p.text-muted {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Form Styling - Condensed */
.login-background .mt-4,
.register-background .mt-4,
.lost-password-background .mt-4,
.resend-activation-background .mt-4,
.reset-password-background .mt-4 {
  margin-top: 1rem !important;
}

.login-background .form-group,
.register-background .form-group,
.lost-password-background .form-group,
.resend-activation-background .form-group,
.reset-password-background .form-group {
  margin-bottom: 0.75rem;
}

.login-background .form-control,
.register-background .form-control,
.lost-password-background .form-control,
.resend-activation-background .form-control,
.reset-password-background .form-control {
  background: var(--auth-input-bg-light);
  border: 1px solid var(--auth-border-light);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  color: var(--auth-text-light);
}

/* Dark theme form controls */
[data-theme-style="dark"] .login-background .form-control,
[data-theme-style="dark"] .register-background .form-control,
[data-theme-style="dark"] .lost-password-background .form-control,
[data-theme-style="dark"] .resend-activation-background .form-control,
[data-theme-style="dark"] .reset-password-background .form-control {
  background: var(--auth-input-bg-dark);
  border-color: var(--auth-border-dark);
  color: var(--auth-text-dark);
}

/* System theme form controls */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .form-control,
  body[data-theme-style="system"] .register-background .form-control,
  body[data-theme-style="system"] .lost-password-background .form-control,
  body[data-theme-style="system"] .resend-activation-background .form-control,
  body[data-theme-style="system"] .reset-password-background .form-control {
    background: var(--auth-input-bg-dark);
    border-color: var(--auth-border-dark);
    color: var(--auth-text-dark);
  }
}

.login-background .form-control:focus,
.register-background .form-control:focus,
.lost-password-background .form-control:focus,
.resend-activation-background .form-control:focus,
.reset-password-background .form-control:focus {
  border-color: var(--phoenix-primary);
  box-shadow: 0 0 0 0.125rem rgba(94, 68, 255, 0.25);
  outline: none;
}

/* Labels - Condensed */
.login-background label,
.register-background label,
.lost-password-background label,
.resend-activation-background label,
.reset-password-background label {
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--auth-text-light);
}

/* Dark theme labels */
[data-theme-style="dark"] .login-background label,
[data-theme-style="dark"] .register-background label,
[data-theme-style="dark"] .lost-password-background label,
[data-theme-style="dark"] .resend-activation-background label,
[data-theme-style="dark"] .reset-password-background label {
  color: var(--auth-text-dark);
}

/* System theme labels */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background label,
  body[data-theme-style="system"] .register-background label,
  body[data-theme-style="system"] .lost-password-background label,
  body[data-theme-style="system"] .resend-activation-background label,
  body[data-theme-style="system"] .reset-password-background label {
    color: var(--auth-text-dark);
  }
}

/* Primary Button - Minimalistic */
.login-background .btn-primary,
.register-background .btn-primary,
.lost-password-background .btn-primary,
.resend-activation-background .btn-primary,
.reset-password-background .btn-primary {
  background: var(--phoenix-primary);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
}

.login-background .btn-primary:hover,
.register-background .btn-primary:hover,
.lost-password-background .btn-primary:hover,
.resend-activation-background .btn-primary:hover,
.reset-password-background .btn-primary:hover {
  background: #4e37d0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(94, 68, 255, 0.3);
}

/* Social Login Buttons - Minimalistic */
.login-background .btn-light,
.register-background .btn-light {
  background: var(--auth-input-bg-light);
  border: 1px solid var(--auth-border-light);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  color: var(--auth-text-light);
}

/* Dark theme social buttons */
[data-theme-style="dark"] .login-background .btn-light,
[data-theme-style="dark"] .register-background .btn-light {
  background: var(--auth-input-bg-dark);
  border-color: var(--auth-border-dark);
  color: var(--auth-text-dark);
}

/* System theme social buttons */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .btn-light,
  body[data-theme-style="system"] .register-background .btn-light {
    background: var(--auth-input-bg-dark);
    border-color: var(--auth-border-dark);
    color: var(--auth-text-dark);
  }
}

.login-background .btn-light:hover,
.register-background .btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-background .btn-light img,
.register-background .btn-light img {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

/* Divider - Minimalistic */
.login-background hr,
.register-background hr {
  margin: 1rem 0;
  border-color: var(--auth-border-light);
}

/* Dark theme divider */
[data-theme-style="dark"] .login-background hr,
[data-theme-style="dark"] .register-background hr {
  border-color: var(--auth-border-dark);
}

/* System theme divider */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background hr,
  body[data-theme-style="system"] .register-background hr {
    border-color: var(--auth-border-dark);
  }
}

/* Custom Controls - Condensed */
.login-background .custom-control,
.register-background .custom-control {
  margin-bottom: 0.5rem;
}

.login-background .custom-control-label,
.register-background .custom-control-label {
  font-size: 0.8rem;
  color: var(--auth-text-light);
}

/* Dark theme custom controls */
[data-theme-style="dark"] .login-background .custom-control-label,
[data-theme-style="dark"] .register-background .custom-control-label {
  color: var(--auth-text-dark);
}

/* System theme custom controls */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .custom-control-label,
  body[data-theme-style="system"] .register-background .custom-control-label {
    color: var(--auth-text-dark);
  }
}

/* Links - Minimalistic */
.login-background .text-muted a,
.register-background .text-muted a,
.lost-password-background .text-muted a,
.resend-activation-background .text-muted a,
.reset-password-background .text-muted a {
  color: var(--phoenix-primary);
  text-decoration: none;
  font-size: 0.8rem;
}

.login-background .text-muted a:hover,
.register-background .text-muted a:hover,
.lost-password-background .text-muted a:hover,
.resend-activation-background .text-muted a:hover,
.reset-password-background .text-muted a:hover {
  text-decoration: underline;
}

/* Bottom Links - Condensed */
.login-background .mt-5,
.register-background .mt-5 {
  margin-top: 1.5rem !important;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 576px) {
  .login-background .container,
  .register-background .container,
  .lost-password-background .container,
  .resend-activation-background .container,
  .reset-password-background .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .login-background .card-body,
  .register-background .card-body,
  .lost-password-background .card-body,
  .resend-activation-background .card-body,
  .reset-password-background .card-body {
    padding: 1rem !important;
  }
}

/* Demo Banner Adjustments */
.login-background .card.mb-4,
.register-background .card.mb-4 {
  margin-bottom: 1rem !important;
  background: rgba(255, 243, 205, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

[data-theme-style="dark"] .login-background .card.mb-4,
[data-theme-style="dark"] .register-background .card.mb-4 {
  background: rgba(45, 55, 72, 0.9);
  border-color: rgba(245, 158, 11, 0.3);
}

@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .card.mb-4,
  body[data-theme-style="system"] .register-background .card.mb-4 {
    background: rgba(45, 55, 72, 0.9);
    border-color: rgba(245, 158, 11, 0.3);
  }
}

/* GS1 Link Create Styles */
.gs1-link-create .card {
    height: fit-content;
}

/* GS1 Link Settings Styles */
.gs1-link-settings .card {
    height: fit-content;
}

/* Flow Visualization Styles */
.gs1-flow-visualization {
    padding: 1rem 0;
}

.flow-step {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #dee2e6;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flow-icon {
    margin-right: 1rem;
    min-width: 60px;
    text-align: center;
}

.flow-content {
    flex: 1;
}

.flow-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.flow-arrow {
    text-align: center;
    margin: 0.5rem 0;
}

.flow-arrow i {
    font-size: 1.2rem;
}

/* Mobile Preview Styles */
.mobile-preview {
    position: relative;
	margin: 0 auto;
	height: auto;
	width: auto;
	display: inline-block;
	text-align: left;
}

.mobile-frame {
    overflow: hidden;
	width: 300px;
	height: 625px;
	border-radius: 2.5rem;
	border: 10px solid black;
	position: relative;
	box-shadow: 0 0 30px rgba(0,0,0,0.20);
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.mobile-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-url-display {
    font-family: 'Courier New', monospace;
    word-break: break-all;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .mobile-frame {
        width: 240px;
        height: 480px;
        padding: 15px 12px;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .flow-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Dense Grid Layout for QR Code Manager and GS1 Link Manager */
.qr-code-manager .card,
.gs1-link-manager .card {
    margin-bottom: 0.5rem !important;
}

.qr-code-manager .card-body,
.gs1-link-manager .card-body {
    padding: 0.75rem !important;
}

.qr-code-manager .form-group,
.gs1-link-manager .form-group {
    margin-bottom: 0.5rem !important;
}

.qr-code-manager .form-control,
.gs1-link-manager .form-control,
.qr-code-manager .custom-select,
.gs1-link-manager .custom-select {
    padding: 0.375rem 0.5rem !important;
    font-size: 0.875rem !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
}

.qr-code-manager label,
.gs1-link-manager label {
    font-size: 0.8rem !important;
    margin-bottom: 0.25rem !important;
    font-weight: 500 !important;
}

.qr-code-manager .btn,
.gs1-link-manager .btn {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
}

.qr-code-manager .row,
.gs1-link-manager .row {
    margin-bottom: 0.5rem !important;
}

.qr-code-manager .col-12,
.gs1-link-manager .col-12,
.qr-code-manager .col-lg-6,
.gs1-link-manager .col-lg-6,
.qr-code-manager .col-lg-4,
.gs1-link-manager .col-lg-4 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Make the preview section more compact */
.qr-code-manager .qr-code,
.gs1-link-manager .mobile-preview {
    margin-bottom: 1rem !important;
}

/* Reduce spacing in collapse sections */
.qr-code-manager .collapse,
.gs1-link-manager .collapse {
    padding-top: 0.5rem !important;
}

/* Make input groups more compact */
.qr-code-manager .input-group,
.gs1-link-manager .input-group {
    margin-bottom: 0.5rem !important;
}

.qr-code-manager .input-group-text,
.gs1-link-manager .input-group-text {
    padding: 0.375rem 0.5rem !important;
    font-size: 0.875rem !important;
}

/* Reduce spacing in custom controls */
.qr-code-manager .custom-control,
.gs1-link-manager .custom-control {
    margin-bottom: 0.25rem !important;
}

/* Make small text even smaller */
.qr-code-manager small,
.gs1-link-manager small {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
}

/* Reduce padding in tabs */
.qr-code-manager .nav-tabs .nav-link,
.gs1-link-manager .nav-tabs .nav-link {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
}

/* Make the overall container more compact */
.qr-code-manager .container,
.gs1-link-manager .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

/* Reduce header spacing */
.qr-code-manager h1,
.gs1-link-manager h1,
.qr-code-manager .h3,
.gs1-link-manager .h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

/* Make breadcrumbs more compact */
.qr-code-manager .custom-breadcrumbs,
.gs1-link-manager .custom-breadcrumbs {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
}

/* Reduce spacing between sections */
.qr-code-manager .py-4,
.gs1-link-manager .py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Authentication Pages - Minimalistic Design with Gradient Background */
:root {
  --auth-gradient-light: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --auth-gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --auth-card-bg: rgba(255, 255, 255, 0.95);
  --auth-card-bg-dark: rgba(30, 41, 59, 0.95);
  --auth-text: #1e293b;
  --auth-text-dark: #f1f5f9;
  --auth-border: rgba(255, 255, 255, 0.2);
  --auth-border-dark: rgba(51, 65, 85, 0.3);
  --auth-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --auth-shadow-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Base Authentication Background with Gradient */
.login-background,
.register-background,
.lost-password-background,
.resend-activation-background,
.reset-password-background {
  min-height: 100vh;
  background: var(--auth-gradient-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark theme gradient */
[data-theme-style="dark"] .login-background,
[data-theme-style="dark"] .register-background,
[data-theme-style="dark"] .lost-password-background,
[data-theme-style="dark"] .resend-activation-background,
[data-theme-style="dark"] .reset-password-background {
  background: var(--auth-gradient-dark);
}

/* System theme gradient */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background,
  body[data-theme-style="system"] .register-background,
  body[data-theme-style="system"] .lost-password-background,
  body[data-theme-style="system"] .resend-activation-background,
  body[data-theme-style="system"] .reset-password-background {
    background: var(--auth-gradient-dark);
  }
}

/* Animated gradient overlay */
.login-background::before,
.register-background::before,
.lost-password-background::before,
.resend-activation-background::before,
.reset-password-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.8;
  z-index: 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Container */
.login-background main,
.register-background main,
.lost-password-background main,
.resend-activation-background main,
.reset-password-background main {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1rem;
}

.login-background .container,
.register-background .container,
.lost-password-background .container,
.resend-activation-background .container,
.reset-password-background .container {
  max-width: 400px;
  margin: 0 auto;
}

/* Logo Section */
.login-background .mb-5,
.register-background .mb-5,
.lost-password-background .mb-5,
.resend-activation-background .mb-5,
.reset-password-background .mb-5 {
  text-align: center;
  margin-bottom: 2rem !important;
}

.login-background .mb-5 img,
.register-background .mb-5 img,
.lost-password-background .mb-5 img,
.resend-activation-background .mb-5 img,
.reset-password-background .mb-5 img {
  max-height: 3rem;
  filter: brightness(0) invert(1);
}

.login-background .mb-5 span,
.register-background .mb-5 span,
.lost-password-background .mb-5 span,
.resend-activation-background .mb-5 span,
.reset-password-background .mb-5 span {
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Authentication Card */
.login-background .card,
.register-background .card,
.lost-password-background .card,
.resend-activation-background .card,
.reset-password-background .card {
  background: var(--auth-card-bg);
  border: 1px solid var(--auth-border);
  border-radius: 1rem;
  box-shadow: var(--auth-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Dark theme card */
[data-theme-style="dark"] .login-background .card,
[data-theme-style="dark"] .register-background .card,
[data-theme-style="dark"] .lost-password-background .card,
[data-theme-style="dark"] .resend-activation-background .card,
[data-theme-style="dark"] .reset-password-background .card {
  background: var(--auth-card-bg-dark);
  border-color: var(--auth-border-dark);
  box-shadow: var(--auth-shadow-dark);
}

/* System theme card */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .card,
  body[data-theme-style="system"] .register-background .card,
  body[data-theme-style="system"] .lost-password-background .card,
  body[data-theme-style="system"] .resend-activation-background .card,
  body[data-theme-style="system"] .reset-password-background .card {
    background: var(--auth-card-bg-dark);
    border-color: var(--auth-border-dark);
    box-shadow: var(--auth-shadow-dark);
  }
}

/* Card Body */
.login-background .card-body,
.register-background .card-body,
.lost-password-background .card-body,
.resend-activation-background .card-body,
.reset-password-background .card-body {
  padding: 2rem !important;
}

/* Headers */
.login-background h1,
.register-background h1,
.lost-password-background h1,
.resend-activation-background h1,
.reset-password-background h1 {
  font-size: 1.5rem !important;
  font-weight: 700;
  margin-bottom: 0.5rem !important;
  color: var(--auth-text);
  text-align: center;
}

/* Dark theme headers */
[data-theme-style="dark"] .login-background h1,
[data-theme-style="dark"] .register-background h1,
[data-theme-style="dark"] .lost-password-background h1,
[data-theme-style="dark"] .resend-activation-background h1,
[data-theme-style="dark"] .reset-password-background h1 {
  color: var(--auth-text-dark);
}

/* System theme headers */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background h1,
  body[data-theme-style="system"] .register-background h1,
  body[data-theme-style="system"] .lost-password-background h1,
  body[data-theme-style="system"] .resend-activation-background h1,
  body[data-theme-style="system"] .reset-password-background h1 {
    color: var(--auth-text-dark);
  }
}

/* Subheaders */
.login-background p.text-muted,
.register-background p.text-muted,
.lost-password-background p.text-muted,
.resend-activation-background p.text-muted,
.reset-password-background p.text-muted {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  text-align: center;
  opacity: 0.7;
}

/* Form Styling */
.login-background .form-group,
.register-background .form-group,
.lost-password-background .form-group,
.resend-activation-background .form-group,
.reset-password-background .form-group {
  margin-bottom: 1rem;
}

.login-background .form-control,
.register-background .form-control,
.lost-password-background .form-control,
.resend-activation-background .form-control,
.reset-password-background .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  color: var(--auth-text);
}

/* Dark theme form controls */
[data-theme-style="dark"] .login-background .form-control,
[data-theme-style="dark"] .register-background .form-control,
[data-theme-style="dark"] .lost-password-background .form-control,
[data-theme-style="dark"] .resend-activation-background .form-control,
[data-theme-style="dark"] .reset-password-background .form-control {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--auth-text-dark);
}

/* System theme form controls */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .form-control,
  body[data-theme-style="system"] .register-background .form-control,
  body[data-theme-style="system"] .lost-password-background .form-control,
  body[data-theme-style="system"] .resend-activation-background .form-control,
  body[data-theme-style="system"] .reset-password-background .form-control {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--auth-text-dark);
  }
}

.login-background .form-control:focus,
.register-background .form-control:focus,
.lost-password-background .form-control:focus,
.resend-activation-background .form-control:focus,
.reset-password-background .form-control:focus {
  border-color: var(--phoenix-primary);
  box-shadow: 0 0 0 0.2rem rgba(94, 68, 255, 0.25);
  outline: none;
  transform: translateY(-1px);
}

/* Labels */
.login-background label,
.register-background label,
.lost-password-background label,
.resend-activation-background label,
.reset-password-background label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--auth-text);
}

/* Dark theme labels */
[data-theme-style="dark"] .login-background label,
[data-theme-style="dark"] .register-background label,
[data-theme-style="dark"] .lost-password-background label,
[data-theme-style="dark"] .resend-activation-background label,
[data-theme-style="dark"] .reset-password-background label {
  color: var(--auth-text-dark);
}

/* System theme labels */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background label,
  body[data-theme-style="system"] .register-background label,
  body[data-theme-style="system"] .lost-password-background label,
  body[data-theme-style="system"] .resend-activation-background label,
  body[data-theme-style="system"] .reset-password-background label {
    color: var(--auth-text-dark);
  }
}

/* Primary Button */
.login-background .btn-primary,
.register-background .btn-primary,
.lost-password-background .btn-primary,
.resend-activation-background .btn-primary,
.reset-password-background .btn-primary {
  background: linear-gradient(135deg, var(--phoenix-primary), #4e37d0);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-background .btn-primary:hover,
.register-background .btn-primary:hover,
.lost-password-background .btn-primary:hover,
.resend-activation-background .btn-primary:hover,
.reset-password-background .btn-primary:hover {
  background: linear-gradient(135deg, #4e37d0, var(--phoenix-primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(94, 68, 255, 0.4);
}

/* Social Login Buttons */
.login-background .btn-light,
.register-background .btn-light {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  color: var(--auth-text);
  margin-bottom: 0.5rem;
}

/* Dark theme social buttons */
[data-theme-style="dark"] .login-background .btn-light,
[data-theme-style="dark"] .register-background .btn-light {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--auth-text-dark);
}

/* System theme social buttons */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .btn-light,
  body[data-theme-style="system"] .register-background .btn-light {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--auth-text-dark);
  }
}

.login-background .btn-light:hover,
.register-background .btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.login-background .btn-light img,
.register-background .btn-light img {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
}

/* Divider */
.login-background hr,
.register-background hr {
  margin: 1.5rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Dark theme divider */
[data-theme-style="dark"] .login-background hr,
[data-theme-style="dark"] .register-background hr {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* System theme divider */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background hr,
  body[data-theme-style="system"] .register-background hr {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  }
}

/* Custom Controls */
.login-background .custom-control,
.register-background .custom-control {
  margin-bottom: 1rem;
}

.login-background .custom-control-label,
.register-background .custom-control-label {
  font-size: 0.875rem;
  color: var(--auth-text);
}

/* Dark theme custom controls */
[data-theme-style="dark"] .login-background .custom-control-label,
[data-theme-style="dark"] .register-background .custom-control-label {
  color: var(--auth-text-dark);
}

/* System theme custom controls */
@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .custom-control-label,
  body[data-theme-style="system"] .register-background .custom-control-label {
    color: var(--auth-text-dark);
  }
}

/* Links */
.login-background .text-muted a,
.register-background .text-muted a,
.lost-password-background .text-muted a,
.resend-activation-background .text-muted a,
.reset-password-background .text-muted a {
  color: var(--phoenix-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.login-background .text-muted a:hover,
.register-background .text-muted a:hover,
.lost-password-background .text-muted a:hover,
.resend-activation-background .text-muted a:hover,
.reset-password-background .text-muted a:hover {
  text-decoration: underline;
  color: #4e37d0;
}

/* Bottom Links */
.login-background .mt-5,
.register-background .mt-5 {
  margin-top: 2rem !important;
  font-size: 0.875rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 576px) {
  .login-background .container,
  .register-background .container,
  .lost-password-background .container,
  .resend-activation-background .container,
  .reset-password-background .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .login-background .card-body,
  .register-background .card-body,
  .lost-password-background .card-body,
  .resend-activation-background .card-body,
  .reset-password-background .card-body {
    padding: 1.5rem !important;
  }
}

/* Demo Banner Adjustments */
.login-background .card.mb-4,
.register-background .card.mb-4 {
  margin-bottom: 1.5rem !important;
  background: rgba(255, 243, 205, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme-style="dark"] .login-background .card.mb-4,
[data-theme-style="dark"] .register-background .card.mb-4 {
  background: rgba(45, 55, 72, 0.95);
  border-color: rgba(245, 158, 11, 0.3);
}

@media (prefers-color-scheme: dark) {
  body[data-theme-style="system"] .login-background .card.mb-4,
  body[data-theme-style="system"] .register-background .card.mb-4 {
    background: rgba(45, 55, 72, 0.95);
    border-color: rgba(245, 158, 11, 0.3);
  }
}

/* Logo styling */
.app-sidebar-title img {
    max-height: 2rem;
    height: 2rem;
    padding-right: 66px;
}
