html {
	scroll-behavior: smooth;
}

b, strong {
	font-weight: 500;
}

/* Animação pulsante para o botão de templates */
.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

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

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

.app-container {
	display: flex;
}

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

/* ============================================
   MODERN SIDEBAR - Vite-style Clean Design
   ============================================ */

.app-sidebar {
	display: flex;
	flex-direction: column;
	min-width: 220px;
	max-width: 220px;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	margin: 1rem 1rem 1rem -260px;
	transition: margin-left .15s linear, margin-right .15s linear;
	position: fixed;
	top: 1rem;
	bottom: 1rem;
	left: 0;
	z-index: 101;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	max-height: calc(100vh - 2rem);
}

[dir="rtl"] .app-sidebar {
	margin-left: initial;
	left: initial;
	right: 0;
	margin-right: -300px;
	border-left: 1px solid #27272a;
	border-right: 0;
}

[dir="rtl"] [data-theme-style="dark"] .app-sidebar {
	border-right: 0;
	border-left: 1px solid #27272a;
}

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

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

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

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

.app-sidebar-title {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.75rem 0.5rem;
	margin: 0;
	min-height: 50px;
	border-bottom: 1px solid #27272a;
	flex-shrink: 0;
}

.app-sidebar-title a {
	font-size: 1.1rem;
	color: #fafafa;
	font-weight: 600;
	letter-spacing: -0.025em;
}

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

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

.app-sidebar-footer {
	width: 100%;
	border-top: 1px solid #27272a;
	flex-shrink: 0;
}

.app-sidebar-footer > a {
	width: 100%;
	padding: 0;
	display: flex;
	align-items: center;
	color: #a1a1aa;
	font-size: .85rem;
	font-weight: 500;
	transition: background .15s ease;
	border-radius: 0;
}

.app-sidebar-footer > a:hover {
	text-decoration: none;
	background: rgba(255, 255, 255, 0.05);
	color: #fafafa;
}

.app-sidebar-links-wrapper {
	overflow-y: auto;
	overflow-x: hidden;
	width: 100%;
	padding-bottom: 0.5rem;
	scrollbar-width: none;
}

.app-sidebar-links-wrapper::-webkit-scrollbar {
	display: none;
}

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

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

.app-sidebar-links > .divider-wrapper {
	width: 100%;
	padding: 0 0.75rem;
	margin: 0.35rem 0;
}

.app-sidebar-links > .divider-wrapper > .divider {
	border-top: 1px solid #27272a;
}

.app-sidebar-links > li > a {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: #a1a1aa;
	border-radius: 0.375rem;
	padding: 0.55rem 0.75rem;
	transition: all .15s ease;
	font-size: 0.875rem;
	font-weight: 500;
	position: relative;
}

.app-sidebar-links > li > a:hover {
	text-decoration: none;
	background: rgba(255, 255, 255, 0.06);
	color: #fafafa;
}

[data-theme-style="dark"] .app-sidebar-links > li > a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fafafa;
}

.app-sidebar-links > li.active > a:not(.default) {
	background: rgba(255, 255, 255, 0.08);
	color: #fafafa;
	font-weight: 500;
}

.app-sidebar-links > li.active > a:not(.default)::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 2px;
	height: 50%;
	background: linear-gradient(180deg, #833ab4, #fd1d1d, #fcb045);
	border-radius: 0 2px 2px 0;
}

[data-theme-style="dark"] .app-sidebar-links > li.active > a:not(.default) {
	background: rgba(255, 255, 255, 0.08);
	color: #fafafa;
}

/* Lucide Icons in Sidebar */
.sidebar-icon {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	stroke-width: 1.5;
	opacity: 0.85;
}

/* FontAwesome fallback icons */
.sidebar-icon-fa {
	width: 17px;
	font-size: 0.85rem;
	flex-shrink: 0;
	opacity: 0.85;
}

/* Sidebar badges */
.sidebar-badge {
	font-size: 0.6rem;
	font-weight: 600;
	padding: 0.125rem 0.375rem;
	border-radius: 9999px;
	margin-left: auto;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}


/* Dropdown icons in sidebar */
.dropdown-icon {
	width: 14px;
	height: 14px;
	margin-right: 0.5rem;
	stroke-width: 1.5;
	vertical-align: middle;
	opacity: 0.85;
}

.app-sidebar-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #3f3f46;
	flex-shrink: 0;
}

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

.app-sidebar-footer-text {
	color: #a1a1aa;
}

/* Badge do plano - Sidebar */
.plan-badge {
	display: inline-block;
	font-size: 0.55rem;
	font-weight: 600;
	padding: 0.1rem 0.35rem;
	border-radius: 0.2rem;
	background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	flex-shrink: 0;
	line-height: 1.2;
}

/* Badge do plano - Mobile header */
.plan-badge-mobile {
	display: inline-block;
	font-size: 0.6rem;
	font-weight: 600;
	padding: 0.15rem 0.4rem;
	border-radius: 0.2rem;
	background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
	color: #fff;
	text-transform: uppercase;
	margin-left: auto;
	margin-right: 0.5rem;
}

.app-content {
	margin-left: 0;
	flex-grow: 1;
}

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

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

.app-navbar {
	min-height: 75px;
	border-bottom: 1px solid var(--gray-100);
}

[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: none;
	-webkit-box-shadow: none;
	border-radius: calc(2 * var(--border-radius));
}

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

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

	/*  slider progress trick  */
	overflow: hidden;

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

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

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

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

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

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

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

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

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

/* 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 {
	color: var(--gray-700);
}

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

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

/* 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 {
	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-toggle-simple::after {
	display:none;
}

/* 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: 1;
		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: 0;
	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 {
		z-index: 0;
		top: -1.5rem;
		left: 9rem;

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

	.index-image-two {
		z-index: -1;
		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;
}

/* Biolink directory */
.link-directory-avatar {
	width: 60px;
	height: 60px;
	object-fit: cover;
}

/* Biolink theme */
.link-biolink-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-biolink-theme:hover {
	cursor: pointer;
	transform: scale(1.025);
}

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

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

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

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


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

.biolink-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) {
	.biolink-preview-iframe-container {
		width: 375px;
		height: 800px;
	}
}

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

.biolink-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 {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	margin-right: 0.5rem;
}

[dir="rtl"] .custom-row-side-controller {
	margin-right: 0;
	margin-left: 0.5rem;
}

@media (min-width: 992px) {
	.custom-row-side-controller {
		padding: 0.5rem 0.75rem;
	}
}

.custom-row-side-controller-grab {
	cursor: grab;
	opacity: 0.6;
	transition: all 0.2s ease;
	font-size: 1.1rem;
	color: var(--gray-500);
}

.custom-row-side-controller-grab:hover {
	opacity: 1;
	color: var(--primary);
	transform: scale(1.1);
}

.custom-row-side-controller-grab:active {
	cursor: grabbing;
}

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

/* Sortable drag styles */
.biolink_block.sortable-ghost {
	opacity: 0.4;
	background: var(--primary-100);
}

.biolink_block.sortable-chosen {
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
	transform: scale(1.01);
}

.biolink_block.sortable-drag {
	opacity: 1 !important;
}

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

.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 */
.altum-animate {
	-webkit-animation-duration:500ms;
	animation-duration:500ms;
}

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

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

@keyframes fadeIn{
	0% {
		opacity:0
	}
	to {
		opacity:1
	}
}
.altum-animate-fade-in {
	-webkit-animation-name:fadeIn;
	animation-name:fadeIn
}


/* Custom button */
.btn-custom {
	padding: .5rem 1.5rem;
	color: var(--gray);
	border-radius: var(--border-radius);
	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 */
.altum-file-input {
	padding: 1rem;
	background: var(--gray-100);
	border: 1px solid var(--gray-100);
	border-radius: 0.25rem;
	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;
}

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

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

/* ============================================
   DASHBOARD - Modern Clean Style
   ============================================ */

/* Dashboard Main Stats - Combined Card */
.dashboard-main-stats {
	display: flex;
	align-items: stretch;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.dashboard-main-stat-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 2rem;
	flex: 1;
	text-decoration: none;
	transition: all 0.15s ease;
	min-width: 0;
}

.dashboard-main-stat-item:hover {
	text-decoration: none;
	background: rgba(255, 255, 255, 0.02);
}

.dashboard-main-stat-divider {
	width: 1px;
	background: #27272a;
	align-self: stretch;
	margin: 1rem 0;
}

.dashboard-main-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid #3f3f46;
	border-radius: 0.625rem;
	flex-shrink: 0;
}

.dashboard-main-stat-icon i,
.dashboard-main-stat-icon svg {
	width: 24px;
	height: 24px;
	color: #a1a1aa;
	stroke-width: 1.5;
}

.dashboard-main-stat-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dashboard-main-stat-number {
	font-size: 2rem;
	font-weight: 600;
	color: #fafafa;
	line-height: 1.1;
}

.dashboard-main-stat-label {
	font-size: 0.875rem;
	color: #71717a;
	margin-top: 0.25rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.dashboard-main-stats {
		flex-direction: column;
	}
	
	.dashboard-main-stat-divider {
		width: auto;
		height: 1px;
		margin: 0 1.5rem;
	}
	
	.dashboard-main-stat-item {
		padding: 1.25rem 1.5rem;
	}
	
	.dashboard-main-stat-number {
		font-size: 1.5rem;
	}
	
	.dashboard-main-stat-icon {
		width: 44px;
		height: 44px;
	}
	
	.dashboard-main-stat-icon i,
	.dashboard-main-stat-icon svg {
		width: 20px;
		height: 20px;
	}
}

/* App content mobile fixes */
@media (max-width: 991px) {
	.app-content {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}
	
	.container {
		max-width: 100%;
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* Mobile links list - simplified layout */
@media (max-width: 768px) {
	/* Hide project/stats column (3rd) and dates column (4th) on mobile */
	.app .table-custom td:nth-child(3),
	.app .table-custom td:nth-child(4),
	.app .table-custom th:nth-child(3),
	.app .table-custom th:nth-child(4) {
		display: none !important;
	}
	
	/* Hide copy button on mobile */
	.app .table-custom #url_copy,
	.app .table-custom button[data-clipboard-text] {
		display: none !important;
	}
	
	/* Table layout for mobile */
	.app .table-custom {
		width: 100% !important;
		table-layout: fixed;
	}
	
	/* Link info column (2nd) - show with truncation */
	.app .table-custom td:nth-child(2) {
		display: table-cell !important;
		width: 65% !important;
		padding: 0.5rem !important;
		white-space: normal !important;
		overflow: hidden;
	}
	
	.app .table-custom td:nth-child(2) .d-flex {
		flex-wrap: nowrap;
	}
	
	.app .table-custom td:nth-child(2) .link-type-icon {
		flex-shrink: 0;
		width: 28px !important;
		height: 28px !important;
		min-width: 28px;
		margin-right: 0.5rem !important;
	}
	
	.app .table-custom td:nth-child(2) .link-type-icon i {
		font-size: 0.7rem;
	}
	
	.app .table-custom td:nth-child(2) .d-flex.flex-column {
		min-width: 0;
		overflow: hidden;
	}
	
	.app .table-custom td:nth-child(2) .text-truncate,
	.app .table-custom td:nth-child(2) .font-weight-bold {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		display: block;
		font-size: 0.8rem;
	}
	
	.app .table-custom td:nth-child(2) .small {
		font-size: 0.7rem;
	}
	
	/* Actions column (5th/last) */
	.app .table-custom td:nth-child(5) {
		display: table-cell !important;
		width: 35% !important;
		padding: 0.5rem 0.25rem !important;
		white-space: nowrap !important;
		text-align: right;
	}
	
	.app .table-custom td:nth-child(5) .d-flex {
		justify-content: flex-end;
		gap: 0;
		flex-wrap: nowrap;
	}
	
	/* Compact toggle switch */
	.app .table-custom .custom-control.custom-switch {
		display: inline-block !important;
		padding-left: 2rem;
		min-height: auto;
		margin-right: 0;
	}
	
	/* Compact dropdown button */
	.app .table-custom .dropdown {
		display: inline-block !important;
	}
	
	.app .table-custom .dropdown .btn {
		padding: 0.25rem 0.5rem;
		color: #a1a1aa !important;
	}
	
	/* Container should not overflow */
	.app .table-custom-container {
		overflow-x: hidden !important;
	}
}

/* Dashboard Secondary Stat Cards */
.dashboard-stat-card {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.25rem;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	text-decoration: none;
	transition: all 0.15s ease;
	height: 100%;
}

.dashboard-stat-card:hover {
	text-decoration: none;
	border-color: #3f3f46;
	background: #1f1f23;
}

.dashboard-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #3f3f46;
	border-radius: 0.5rem;
	flex-shrink: 0;
}

.dashboard-stat-icon i,
.dashboard-stat-icon svg {
	width: 20px;
	height: 20px;
	color: #a1a1aa;
	stroke-width: 1.5;
}

.dashboard-stat-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dashboard-stat-number {
	font-size: 1.25rem;
	font-weight: 600;
	color: #fafafa;
	line-height: 1.2;
}

.dashboard-stat-label {
	font-size: 0.75rem;
	color: #71717a;
	margin-top: 0.125rem;
}

/* ============================================
   BUTTONS - Outline Minimalista
   ============================================ */

/* Primary Button - Outline Style */
.app .btn-primary {
	background: transparent !important;
	border: 1px solid #3f3f46 !important;
	color: #fafafa !important;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	transition: all 0.15s ease;
	box-shadow: none !important;
}

.app .btn-primary:hover {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: #52525b !important;
	color: #fafafa !important;
	transform: none !important;
}

.app .btn-primary:focus,
.app .btn-primary:active {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: #52525b !important;
	color: #fafafa !important;
	box-shadow: none !important;
}

/* Outline Primary Button */
.app .btn-outline-primary {
	background: transparent !important;
	border: 1px solid #3f3f46 !important;
	color: #a1a1aa !important;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	transition: all 0.15s ease;
	box-shadow: none !important;
}

.app .btn-outline-primary:hover {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: #52525b !important;
	color: #fafafa !important;
	transform: none !important;
}

.app .btn-outline-primary:focus,
.app .btn-outline-primary:active {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: #52525b !important;
	color: #fafafa !important;
	box-shadow: none !important;
}

/* Secondary/Light Button */
.app .btn-light,
.app .btn-secondary {
	background: #27272a !important;
	border: 1px solid #3f3f46 !important;
	color: #a1a1aa !important;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	transition: all 0.15s ease;
}

.app .btn-light:hover,
.app .btn-secondary:hover {
	background: #3f3f46 !important;
	border-color: #52525b !important;
	color: #fafafa !important;
}

/* Dropdown Toggle */
.app .dropdown-toggle {
	background: transparent !important;
	border: 1px solid #3f3f46 !important;
	color: #fafafa !important;
}

.app .dropdown-toggle:hover {
	background: rgba(255, 255, 255, 0.05) !important;
	border-color: #52525b !important;
}

/* Dropdown Menu */
.app .dropdown-menu {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.5rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	padding: 0.5rem;
}

.app .dropdown-item {
	color: #a1a1aa;
	border-radius: 0.375rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	transition: all 0.15s ease;
}

.app .dropdown-item:hover,
.app .dropdown-item:focus {
	background: rgba(255, 255, 255, 0.05);
	color: #fafafa;
}

.app .dropdown-item.active,
.app .dropdown-item:active {
	background: rgba(255, 255, 255, 0.08);
	color: #fafafa;
}

.app .dropdown-divider {
	border-color: #27272a;
}

/* Dropdown toggle for actions (3 dots) */
.app .btn-link.text-secondary.dropdown-toggle,
.app .btn-link.dropdown-toggle-simple {
	color: #a1a1aa !important;
	padding: 0.5rem;
	border-radius: 0.375rem;
	background: transparent;
	border: none;
}

.app .btn-link.text-secondary.dropdown-toggle:hover,
.app .btn-link.dropdown-toggle-simple:hover {
	color: #fafafa !important;
	background: rgba(255, 255, 255, 0.05);
}

.app .btn-link.text-secondary.dropdown-toggle i,
.app .btn-link.dropdown-toggle-simple i {
	font-size: 1rem;
}

/* ============================================
   CHART CARD - Dark Style
   ============================================ */

.app .card {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
}

.app .card-body {
	padding: 1.25rem;
}

.app .card-title {
	color: #fafafa;
}

.app .chart-container {
	background: transparent;
}

/* Chart text colors for dark theme */
.app .chart-container canvas {
	filter: none;
}

/* ============================================
   TABLE - Clean Dark Style
   ============================================ */

.app .table-custom-container {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	overflow: hidden;
}

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

.app .table-custom thead th {
	background: #1f1f23;
	color: #a1a1aa;
	border-bottom: 1px solid #27272a;
	border-top: 0;
	font-weight: 500;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	padding: 0.875rem 1rem;
}

.app .table-custom td {
	background: #18181b;
	color: #e4e4e7;
	border-color: #27272a;
	padding: 1rem;
	vertical-align: middle;
}

.app .table-custom tbody tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

.app .table-custom tbody tr:nth-child(even) td {
	background: #1a1a1e;
}

.app .table-custom tbody tr:nth-child(even):hover td {
	background: rgba(255, 255, 255, 0.03);
}

/* Custom Row (used in links list) */
.app .custom-row {
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.75rem;
	transition: all 0.15s ease;
}

.app .custom-row:hover {
	border-color: #3f3f46;
}

.app .custom-row-inactive {
	background: #0f0f11;
	opacity: 0.7;
}

/* Link text colors */
.app .text-muted {
	color: #71717a !important;
}

.app .text-truncate {
	color: #e4e4e7;
}

/* Badge styles for dark theme */
.app .badge-primary {
	background: rgba(59, 130, 246, 0.15);
	color: #60a5fa;
}

.app .badge-secondary {
	background: rgba(161, 161, 170, 0.15);
	color: #a1a1aa;
}

.app .badge-success {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}

.app .badge-danger {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

.app .badge-warning {
	background: rgba(234, 179, 8, 0.15);
	color: #facc15;
}

.app .badge-info {
	background: rgba(6, 182, 212, 0.15);
	color: #22d3ee;
}

/* Form controls in dark theme */
.app .form-control,
.app .custom-select {
	background: #1f1f23;
	border: 1px solid #3f3f46;
	color: #fafafa;
	border-radius: 0.5rem;
}

.app .form-control:focus,
.app .custom-select:focus {
	background: #1f1f23;
	border-color: #52525b;
	color: #fafafa;
	box-shadow: none;
}

.app .form-control::placeholder {
	color: #71717a;
}

/* Input group */
.app .input-group-text {
	background: #27272a;
	border: 1px solid #3f3f46;
	color: #a1a1aa;
}

/* Pagination */
.app .pagination .page-link {
	background: #18181b;
	border: 1px solid #27272a;
	color: #a1a1aa;
}

.app .pagination .page-link:hover {
	background: #27272a;
	border-color: #3f3f46;
	color: #fafafa;
}

.app .pagination .page-item.active .page-link {
	background: #27272a;
	border-color: #3f3f46;
	color: #fafafa;
}

.app .pagination .page-item.disabled .page-link {
	background: #0f0f11;
	border-color: #27272a;
	color: #52525b;
}

/* ============================================
   MOBILE HEADER - Matching Sidebar Style
   ============================================ */

.app-mobile-header {
	background: #18181b !important;
	border: 1px solid #27272a !important;
	border-radius: 1rem !important;
	margin: 1rem 0.5rem !important;
	padding: 0.75rem 1rem !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.app-mobile-header .navbar-brand {
	color: #fafafa !important;
	font-weight: 600;
	font-size: 1.2rem;
	letter-spacing: -0.025em;
}

.app-mobile-header .navbar-brand img {
	filter: brightness(1.1);
}

.app-mobile-header .navbar-custom-toggler {
	background: #27272a !important;
	border: 1px solid #3f3f46 !important;
	border-radius: 0.5rem !important;
	color: #fafafa !important;
	padding: 0.5rem 0.625rem !important;
	transition: all .15s ease !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.app-mobile-header .navbar-custom-toggler:hover {
	background: #3f3f46 !important;
	border-color: #52525b !important;
}

.app-mobile-header .navbar-custom-toggler i,
.app-mobile-header .navbar-custom-toggler svg {
	color: #fafafa !important;
}

/* ==============================================
   SIDEBAR MINI (COLAPSADO)
   ============================================== */

body.sidebar-mini .app-sidebar {
	min-width: 60px;
	max-width: 60px;
}

body.sidebar-mini .app-sidebar-title .navbar-logo {
	max-height: 1.5rem;
	height: 1.5rem;
}

/* Esconder texto quando sidebar está colapsado - será exibido como tooltip no hover */

body.sidebar-mini .app-sidebar-links > li > a {
	justify-content: center;
	padding: 0.65rem;
}

body.sidebar-mini .app-sidebar-links > li > a .sidebar-icon {
	margin: 0;
}

body.sidebar-mini .app-sidebar-footer > a > div {
	flex-direction: column;
	gap: 0.25rem;
}

body.sidebar-mini .app-sidebar-footer > a > div > div {
	display: none;
}

body.sidebar-mini .app-sidebar-footer > a > div > i {
	display: none;
}

body.sidebar-mini .app-sidebar-avatar {
	width: 28px;
	height: 28px;
}

body.sidebar-mini .plan-badge {
	display: none;
}

@media (min-width: 992px) {
	body.sidebar-mini .app-sidebar {
		margin-left: 1rem;
	}
	
	body.sidebar-mini .app-content {
		margin-left: calc(60px + 2rem);
	}
}

/* Tooltips para sidebar colapsado */

/* Permite que os tooltips apareçam fora do sidebar */
body.sidebar-mini .app-sidebar {
	overflow: visible !important;
}

body.sidebar-mini .app-sidebar-links-wrapper {
	overflow: visible !important;
}

body.sidebar-mini .app-sidebar-links {
	overflow: visible !important;
}

body.sidebar-mini .app-sidebar-links > li {
	overflow: visible !important;
}

body.sidebar-mini .app-sidebar-links > li > a {
	position: relative;
	overflow: visible !important;
}

body.sidebar-mini .app-sidebar-links > li > a span {
	/* Posiciona como tooltip à direita */
	position: absolute !important;
	left: calc(100% + 10px) !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	
	/* Estilo visual do tooltip */
	padding: 0.5rem 0.75rem !important;
	background: #18181b !important;
	color: #fafafa !important;
	border: 1px solid #27272a !important;
	border-radius: 0.375rem !important;
	font-size: 0.8rem !important;
	white-space: nowrap !important;
	
	/* Esconde por padrão */
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	
	/* Transição suave */
	transition: opacity 0.15s ease, visibility 0.15s ease !important;
	
	/* Garante que apareça acima de tudo */
	z-index: 9999 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

body.sidebar-mini .app-sidebar-links > li > a:hover span {
	opacity: 1 !important;
	visibility: visible !important;
}

/* ==============================================
   BIOLINK PAGE - LAYOUT EDITOR + PREVIEW
   ============================================== */

/* Container da página - permite largura total */
.biolink-page-container {
	max-width: 100% !important;
}

/* FORÇA layout de 2 colunas a partir de 992px (lg) */
@media (min-width: 992px) {
	/* Aplica apenas ao row DIRETO filho do container principal (não aos rows internos) */
	.biolink-page-container > .row {
		flex-wrap: nowrap !important;
	}
	
	.biolink-page-container > .row > .col-12.col-xl-6:first-child {
		flex: 0 0 55% !important;
		max-width: 55% !important;
	}
	
	.biolink-page-container > .row > .col-12.col-xl-6:last-child {
		flex: 0 0 45% !important;
		max-width: 45% !important;
		margin-top: 0 !important;
	}
}

/* Preview container sticky */
.biolink-preview-container {
	position: sticky;
	top: 1rem;
	height: calc(100vh - 150px);
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

/* ==============================================
   BIOLINK SETTINGS MINI-SIDEBAR (HORIZONTAL)
   ============================================== */

/* Container da coluna esquerda de configurações do biolink */
.biolink-settings-col {
	max-width: 50% !important;
	flex: 0 0 50% !important;
	overflow: hidden;
}

@media (max-width: 1199.98px) {
	.biolink-settings-col {
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
}

.biolink-settings-sidebar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 0.5rem;
	padding: 0.5rem;
	margin-bottom: 1rem;
}

.biolink-settings-nav-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.biolink-settings-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 0.375rem;
	background: transparent;
	border: none;
	color: #a1a1aa;
	cursor: pointer;
	transition: all 0.15s ease;
	position: relative;
}

.biolink-settings-nav:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #fafafa;
}

.biolink-settings-nav.active {
	background: rgba(255, 255, 255, 0.1);
	color: #fafafa;
}

.biolink-settings-nav.active::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 50%;
	height: 2px;
	background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
	border-radius: 2px 2px 0 0;
}

.biolink-settings-nav svg,
.biolink-settings-nav i {
	width: 18px;
	height: 18px;
	stroke-width: 1.75;
}

/* Botão Salvar no sidebar */
.biolink-settings-save-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
	border: none;
	border-radius: 0.375rem;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.biolink-settings-save-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.biolink-settings-save-btn svg,
.biolink-settings-save-btn i {
	width: 16px;
	height: 16px;
	stroke-width: 2;
}

.biolink-settings-section {
	display: none;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}

.biolink-settings-section.active,
.biolink-settings-section.show {
	display: block;
	width: 100%;
	max-width: 100%;
}

/* Contenção do card e formulário */
#settings .card,
#settings .card-body,
#settings form {
	max-width: 100%;
	overflow: hidden;
}

/* Contenção específica para TODOS os rows dentro das seções */
#customizations_container .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Força o customizations_container a ficar contido */
#customizations_container {
	max-width: 100% !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

/* Mobile: layout empilhado */
@media (max-width: 575.98px) {
	.biolink-settings-sidebar {
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.biolink-settings-nav-icons {
		justify-content: center;
		width: 100%;
	}
	
	.biolink-settings-nav {
		width: 38px;
		height: 38px;
	}
	
	.biolink-settings-save-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Ícone customizado do Theme Netflix */
.icon-netflix,
i.icon-netflix,
.icon-netflix.fa-stack-1x {
    display: inline-block !important;
    width: 1.8em !important;
    height: 1.8em !important;
    background-image: url('/themes/altum/assets/images/netflix.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle;
    color: transparent !important;
}

.fa-stack .icon-netflix,
.fa-stack .icon-netflix.fa-stack-1x {
    position: relative;
    left: auto;
    top: 3px;
    transform: none;
    width: 1.2em !important;
    height: 1.2em !important;
    vertical-align: middle !important;
}

/* Remove o efeito fa-inverse para o ícone Netflix */
.icon-netflix.fa-inverse {
    color: transparent !important;
}

/* Esconde o círculo de fundo do ícone Netflix */
.fa-stack:has(.icon-netflix) .fa-circle {
    display: none !important;
}

