@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.btn-primary {
	background-color: #29BCFF !important;
	border-color: #3bafda !important;
	border-radius: 25px !important;
}

input {
	border-radius: 11px !important;
	line-height: 31px !important;
}

.text-custom {
	color: #5364ff !important;
}

a:hover {
	color: #cedeef !important;
}

a {
	font-weight: 600 !important;
}

.close-jq-toast-single {
	top: -7px !important;
	right: -4px !important;
}

.close-jq-toast-single {
	height: 25px !important;
	width: 25px !important;
	line-height: 27px !important;
}

.navbar-custom .app-search-box .btn {
	margin: 0 0 0 -44px !important;
}

.form-select {
	border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-ms-border-radius: 20px !important;
	-o-border-radius: 20px !important;
}

.navbar-custom img, .left-side-menu img {
	height: revert-layer;
	display: initial !important;
}

.modal-content {
	border-radius: 10px !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	-ms-border-radius: 10px !important;
	-o-border-radius: 10px !important;
}

div.dataTables_wrapper div.dataTables_processing {
	padding: 0px 0 !important;
	border-radius: 50px !important;
	margin-top: -112px !important;
	background: #ddd !important;
	-webkit-border-radius: 50px !important;
	-moz-border-radius: 50px !important;
	-ms-border-radius: 50px !important;
	-o-border-radius: 50px !important;
}

#location-suggestions .suggestion-item {
	cursor: pointer !important;
}

.select2-container--default .select2-selection--single {
	padding: 4px 0 0 0 !important;
	height: 39px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 6px !important;
}

.btn {
	border-radius: 36px !important;
	-webkit-border-radius: 36px !important;
	-moz-border-radius: 36px !important;
	-ms-border-radius: 36px !important;
	-o-border-radius: 36px !important;
	height: 50px !important;
}

@media (max-width:768px) {
	#logo-login {
		margin: -50px 0 0 -3px !important;
		height: 300px !important;
	}

}

#logo-login {
	width: 79%;
	height: auto;
	margin: -80px 0 -36px 0;
}

.auth-fluid-right {
	background: url(../images/background_login.png) no-repeat center;
	background-size: cover;
	background-color: #effbff !important;
}

@media (min-width:1200px) {
	.h1, h1 {
		font-size: 2.25rem !important;
	}

}

.h4, h4 {
	font-size: 1.125rem !important;
	line-height: 1.1 !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-top: 0 !important;
	margin-bottom: 1.5rem !important;
	font-weight: 500 !important;
	line-height: 1.1 !important;
}

.btn-primary {
	background-color: #27BCFF;     /* Azul pastel medio */
	border-color: #27BCFF;     /* Azul pastel medio */
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
	background-color: #0258B5;     /* Celeste suave */
	border-color: #0258B5;     /* Celeste suave */
}

body[data-layout-mode=two-column] .sidebar-icon-menu {
	background-color: #27BCFF !important;
}

.logo-box {
	margin: 0 0 0 21px;
}

.page-title-box {
	margin: 47px 0 23px 0px !important;
	border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-ms-border-radius: 20px !important;
	-o-border-radius: 20px !important;
}

.hub-first {
	margin: 48px 0 0 0 !important;
}

.img-fluid {
	max-width: 90%;
	opacity: 0.8;
}

.card-name-hub {
	border-radius: 20px !important;
	margin: -21px 0 0 0;
	-webkit-border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-ms-border-radius: 20px !important;
	-o-border-radius: 20px !important;
}

body[data-sidebar-color="light"] h1, body[data-sidebar-color="light"] h2, body[data-sidebar-color="light"] h3, body[data-sidebar-color="light"] h4, body[data-sidebar-color="light"] h5, body[data-sidebar-color="light"] h6 {
	color: #1095ff !important;
}

body[data-sidebar-color="dark"] h1, body[data-sidebar-color="dark"] h2, body[data-sidebar-color="dark"] h3, body[data-sidebar-color="dark"] h4, body[data-sidebar-color="dark"] h5, body[data-sidebar-color="dark"] h6 {
	color: #fff;
}

/* From Uiverse.io by aliasgerratlam */
.card {
	background: #fff;
	color: #042141;
	position: relative;
	border-radius: 20px;
	padding: 2em;
	transition: transform 0.4s ease;
}

.card .card-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 5em;
	height: 100%;
	transition: transform 0.4s ease;
}

.card .card-top, .card .card-bottom {
	display: flex;
	justify-content: space-between;
}

.card .card-top p, .card .card-top .card-title, .card .card-bottom p, .card .card-bottom .card-title {
	margin: 0;
}

.card .card-title {
	font-size: 30px;
	font-weight: 1000 !important;
	color: #0194ff !important;
}

.card .card-top p, .card .card-bottom p {
	font-weight: 600;
}

.card .card-bottom p {
	margin: 0 auto;
	font-size: 20px;
	font-weight: 500;
}

.card .card-bottom {
	align-items: flex-end;
}

.card .card-image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
}

.card .card-image svg {
	width: 4em;
	height: 4em;
	transition: transform 0.4s ease;
}

.card-info-factory:hover {
	cursor: pointer;
}

.card-info-factory:hover .card-content {
	transform: scale(0.96);
}

.card-info-factory:hover .card-image svg {
	transform: scale(1.05);
}

.card-info-factory:active {
	transform: scale(0.9);
}

body[data-sidebar-color="light"] {
	background-color: #effbff !important;
}

h4.page-title {
	margin-bottom: 0 !important;
}

body[data-topbar-color="light"] .navbar-custom .app-search .btn {
	margin: -6px 0 0 -41px !important;
}

.buttonStyle {
	padding: 12px 25px;
	border: 1px solid #27BCFF;
	border-radius: 15px !important;
	z-index: 1;
	background: #fff;
	position: relative;
	color: #27BCFF;
	font-weight: 500;
	font-size: 17px;
	box-shadow: 0px 8px 19px -10px rgba(0, 0, 0, 0.27);
	transition: all 250ms;
	overflow: hidden;
	-webkit-border-radius: 15px !important;
	-moz-border-radius: 15px !important;
	-ms-border-radius: 15px !important;
	-o-border-radius: 15px !important;
}

.buttonWarning {
	padding: 12px 25px;
	border: 1px solid #F1556C;
	border-radius: 15px !important;
	z-index: 1;
	background: #fff;
	position: relative;
	color: #F1556C;
	font-weight: 500;
	font-size: 17px;
	box-shadow: 0px 8px 19px -10px rgba(0, 0, 0, 0.27);
	transition: all 250ms;
	overflow: hidden;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-ms-border-radius: 15px;
	-o-border-radius: 15px;
}

.buttonWarning::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 15px;
	background-color: #F1556C;
	z-index: -1;
	-webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
	box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
	transition: all 250ms
}

.buttonStyle::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 15px;
	background-color: #27BCFF;
	z-index: -1;
	-webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
	box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
	transition: all 250ms
}

button:hover {
	color: #e8e8e8 !important;
}

button:hover::before {
	width: 100%;
}

/* From Uiverse.io by iSweat-exe */
.title {
	display: flex;
	align-items: center;
}

.title span {
	position: relative;
	padding: 0.5rem;
	background-color: #042141;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 9999px;
}

.title span svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ffffff;
	height: 1rem;
}

.title-text {
	margin-left: 0.5rem;
	color: #374151;
	font-size: 18px;
}

.percent {
	margin-left: 0.5rem;
	color: #042141;
	font-weight: 600;
	display: flex;
}

.data {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.data p {
	margin-top: 1rem;
	margin-bottom: 1rem;
	color: #1F2937;
	font-size: 26px;
	line-height: 2.5rem;
	font-weight: 700;
	text-align: left;
}

.data .range {
	position: relative;
	background-color: #BAF3EB;
	width: 100%;
	height: 0.5rem;
	border-radius: 0.25rem;
}

.data .range .fill {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #22CCB2;
	border-radius: 0.25rem;
	transition: .5s all;
}

.content-app {
	margin: 27px 0 40px 0;
	padding: 40px;
	border-radius: 20px;
}

.icon-background {
	background-color: #e6f7ff;
	border-radius: 50%;
	padding: 1.5rem;
	width: 6rem;
	height: 6rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.type-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.75rem;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	height: 100%;
	cursor: pointer;
	transition: all 0.2s;
}

.type-card:hover {
	border: 3px solid #22CCB2;
}

.type-card-active {
	border: 3px solid #22CCB2;
}

.type-card.selected {
	border-color: #2196F3;
	background-color: #e6f7ff;
}

.type-icon {
	margin-bottom: 0.5rem;
}

.type-label {
	font-size: 0.75rem;
	font-weight: 500;
	color: #495057;
	text-align: center;
}

.modal-body {
	padding: 1.5rem;
}

.create-button {
	background-color: #2196F3;
	border-color: #2196F3;
}

.create-button:hover {
	background-color: #1e88e5;
	border-color: #1e88e5;
}

.create-factory {
	border-radius: 69px;
	width: 137px;
	height: 201px;
	position: relative;
	object-fit: cover;
}

.create-script-hub {
	color: #111726;
	text-align: left;
	font-family: 'Inter-Regular', sans-serif;
	font-size: 24px;
	line-height: 26px;
	font-weight: 400;
	position: relative;
	transform-origin: 0 0;
	transform: rotate(0deg) scale(1, 1);
	margin: 35px 0 53px 0 !important;
}

.image-type-factory {
	border-radius: 6px;
	width: 90px !important;
	height: 97px !important;
	position: relative;
	object-fit: cover;
}

.card-info-factory {
	padding: 12px 25px;
	font-weight: 500;
	font-size: 17px;
}

.btn-small {
	height: 38px !important;
}

.invalid-feedback {
	color: #f1556c !important;
}

.btn-icon {
	padding: 1px 7px 0px 7px !important;
	height: 28px !important;
}

body[data-sidebar-color="dark"] .card {
	color: #fff !important;
}

div.dt-buttons > .dt-button, div.dt-buttons > div.dt-button-split .dt-button {
	background: linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%) !important;
	border-radius: 8px !important;
	-webkit-border-radius: 8px !important;
	-moz-border-radius: 8px !important;
	-ms-border-radius: 8px !important;
	-o-border-radius: 8px !important;
}

div.dt-button-collection.fixed.two-column {
	background-color: #36404a !important;
}

body[data-layout-mode=two-column][data-sidebar-color=dark] .sidebar-main-menu .nav .menuitem-active a.active {
	color: #cedeef !important;
}

.workspace-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.workspace-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

.workspace-header:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
}

.workspace-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	z-index: 1;
	position: relative;
}

.workspace-avatar {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.workspace-avatar i {
	font-size: 20px;
	color: #ffffff;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.workspace-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.workspace-name {
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	line-height: 1.2;
}

.workspace-label {
	color: rgba(255, 255, 255, 0.8);
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	margin: -25px 0 0 0;
}

.workspace-actions {
	z-index: 1;
	position: relative;
}

.btn-edit-workspace {
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.btn-edit-workspace:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.1);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-edit-workspace:active {
	transform: scale(0.95);
}

.btn-edit-workspace i {
	font-size: 14px;
	color: #ffffff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Animación de pulse para llamar la atención */
@keyframes pulse-edit {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
	}

	70% {
		box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
	}

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

}

.btn-edit-workspace:hover {
	animation: pulse-edit 1.5s infinite;
}

/* Responsive design */
@media (max-width:768px) {
	.workspace-header {
		padding: 12px;
	}

	.workspace-avatar {
		width: 36px;
		height: 36px;
	}

	.workspace-avatar i {
		font-size: 18px;
	}

	.workspace-name {
		font-size: 14px;
	}

	.btn-edit-workspace {
		width: 28px;
		height: 28px;
	}

}

/* Dark mode compatibility */
[data-layout-mode="dark"] .workspace-header {
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] .workspace-header:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Modern Modal Styles */
.modern-modal {
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.modern-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	padding: 24px;
	color: white;
}

.modal-title-section {
	display: flex;
	align-items: center;
	gap: 16px;
}

.modal-icon {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.modal-icon i {
	font-size: 24px;
	color: white;
}

.modal-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	color: white;
}

.modal-subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	margin: 4px 0 0 0;
}

.modern-close {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.modern-close:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.05);
}

.modern-close i {
	font-size: 18px;
	color: white;
}

.modern-body {
	padding: 32px;
}

.form-section {
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;
	border: 1px solid #424e5a;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
	color: #2c3e50;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 2px solid #424e5a;
}

.section-title i {
	color: #667eea;
	font-size: 18px;
}

.form-label {
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.form-label i {
	color: #667eea;
	font-size: 14px;
}

.modern-input {
	border: 2px solid #e1e8ed;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: #ffffff;
}

.modern-input:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	background: #ffffff;
}

.modern-input::placeholder {
	color: #a0aec0;
	font-style: italic;
}

.modern-footer {
	padding: 20px 32px;
	border: none;
	gap: 12px;
}

.modern-btn-secondary {
	background: #e2e8f0;
	border: 2px solid #cbd5e0;
	color: #4a5568;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.modern-btn-secondary:hover {
	background: #cbd5e0;
	border-color: #a0aec0;
	color: #2d3748;
	transform: translateY(-1px);
}

.modern-btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	color: white;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.modern-btn-primary:active {
	transform: translateY(0);
}

/* Dark mode modal styles */
[data-layout-mode="dark"] .modern-body {
	background: #1a202c;
}

[data-layout-mode="dark"] .form-section {
	background: #2d3748;
	border-color: #4a5568;
}

[data-layout-mode="dark"] .section-title {
	color: #e2e8f0;
	border-bottom-color: #4a5568;
}

[data-layout-mode="dark"] .form-label {
	color: #e2e8f0;
}

[data-layout-mode="dark"] .modern-input {
	background: #4a5568;
	border-color: #718096;
	color: #e2e8f0;
}

[data-layout-mode="dark"] .modern-input:focus {
	background: #4a5568;
	border-color: #667eea;
}

[data-layout-mode="dark"] .modern-footer {
	background: #2d3748;
}

/* Modern Modal Styles */
.modern-modal {
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.modern-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	padding: 24px;
	color: white;
}

.modal-title-section {
	display: flex;
	align-items: center;
	gap: 16px;
}

.modal-icon {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.modal-icon i {
	font-size: 24px;
	color: white;
}

.modal-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	color: white;
}

.modal-subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	margin: 4px 0 0 0;
}

.modern-close {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.modern-close:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.05);
}

.modern-close i {
	font-size: 18px;
	color: white;
}

/* Dark mode modal styles */
[data-layout-mode="dark"] .modern-header {
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.closeFeature {
	height: auto !important;
	margin: 0 20px 0px -12px;
	padding: 5px 10px 5px 10px !important;
}

.content {
	margin: 37px 0 0 0;
}

.package-name {
	color: #374151 !important;
	margin: 35px 0 10px 0 !important;
}

.service-name {
	color: #374151 !important;
}

#swal2-title {
	color: #374151 !important;
}

/* System Administration Styles */
.system-admin-header {
	padding: 25px 0;
	border-bottom: 2px solid #e9ecef;
	margin-bottom: 25px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
	border-radius: 12px;
	margin: 0 -15px 25px -15px;
	padding: 25px 20px;
}

.admin-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.admin-avatar {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	color: white;
	font-size: 24px;
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
	position: relative;
}

.admin-avatar::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 18px;
	z-index: -1;
	opacity: 0.3;
}

.admin-details {
	flex: 1;
}

.admin-details .admin-title {
	margin: 0 0 5px 0;
	font-size: 20px;
	font-weight: 700;
	color: #2c3e50;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.admin-details .admin-label {
	font-size: 13px;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.admin-details .admin-label::before {
	content: '';
	width: 8px;
	height: 8px;
	background: #28a745;
	border-radius: 50%;
	margin-right: 8px;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 1;
	}

}

.admin-actions {
	display: flex;
	gap: 10px;
	margin-left: 20px;
}

.admin-badge {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Navigation active states for admin */
.nav-link.admin-active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white !important;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
	transform: translateX(3px);
}

.nav-link.admin-active i {
	color: white !important;
}

/* Admin Navigation Enhancements */
#system-admin {
	border-radius: 12px;
	margin-top: 10px;
}

#system-admin .nav-link {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 8px;
	margin-bottom: 6px;
	padding: 12px 16px;
	font-weight: 500;
	border: 1px solid transparent;
	position: relative;
	overflow: hidden;
}

#system-admin .nav-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
	transition: left 0.5s;
}

#system-admin .nav-link:hover::before {
	left: 100%;
}

#system-admin .nav-link:hover {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	color: #667eea;
	transform: translateX(8px);
	border-color: rgba(102, 126, 234, 0.2);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

#system-admin .nav-link i {
	width: 24px;
	text-align: center;
	margin-right: 12px;
	font-size: 16px;
	transition: all 0.3s ease;
}

#system-admin .nav-link:hover i {
	transform: scale(1.1);
	color: #667eea;
}

/* Submenu styles for admin */
#system-admin .nav-link + .nav {
	margin-left: 20px;
	border-left: 2px solid rgba(102, 126, 234, 0.1);
	padding-left: 15px;
	margin-top: 8px;
}

#system-admin .nav .nav-link {
	font-size: 13px;
	padding: 8px 12px;
	color: #6c757d;
	margin-bottom: 3px;
}

#system-admin .nav .nav-link:hover {
	color: #495057;
	background-color: rgba(102, 126, 234, 0.05);
	transform: translateX(5px);
}

.btn-edit-workspace {
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	border: 1px solid rgba(102, 126, 234, 0.2);
	color: #667eea;
	font-size: 16px;
	padding: 12px 16px;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.btn-edit-workspace::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
	transition: left 0.6s;
}

.btn-edit-workspace:hover::before {
	left: 100%;
}

.btn-edit-workspace:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
	border-color: transparent;
}

/* Enhanced admin stats cards */
.admin-stats-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	color: white;
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	margin-bottom: 20px;
}

.admin-stats-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.admin-stats-card:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.admin-stats-card .card-body {
	padding: 2rem;
	position: relative;
	z-index: 1;
}

.admin-stats-card .card-title {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.9;
	margin-bottom: 10px;
}

.admin-stats-card .card-text {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Admin table enhancements */
.admin-table {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border: none;
}

.admin-table thead th {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 12px;
	padding: 15px;
}

.admin-table tbody tr {
	border-bottom: 1px solid rgba(102, 126, 234, 0.1);
	transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
	transform: translateX(3px);
}

.admin-table tbody td {
	padding: 15px;
	vertical-align: middle;
	border: none;
}

/* Admin action buttons */
.admin-btn {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border: none;
	margin-right: 5px;
}

.admin-btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.admin-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.admin-btn-danger {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
	color: white;
}

.admin-btn-danger:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(238, 90, 82, 0.4);
}

.admin-btn-warning {
	background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
	color: white;
}

.admin-btn-warning:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(254, 202, 87, 0.4);
}

/* Responsive adjustments */
@media (max-width:768px) {
	.workspace-header, .system-admin-header {
		padding: 15px 0;
	}

	.workspace-avatar, .admin-avatar {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.workspace-details .workspace-name, .admin-details .admin-title {
		font-size: 14px;
	}

}

.card-header {
	border-radius: 10px !important;
}

/* =================================
   CONTENT TYPE CARDS - CANVA STYLE
   ================================= */
.content-template-card {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.content-template-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Template Header */
.template-header {
	position: relative;
	padding: 30px 25px;
	color: white;
	overflow: hidden;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Decorative Pattern */
.header-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.1;
	pointer-events: none;
}

.pattern-circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.circle-1 {
	width: 120px;
	height: 120px;
	top: -60px;
	right: -60px;
}

.circle-2 {
	width: 80px;
	height: 80px;
	top: 50%;
	left: -40px;
}

.circle-3 {
	width: 60px;
	height: 60px;
	bottom: -30px;
	right: 20%;
}

/* Header Controls */
.header-controls {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	z-index: 2;
}

.status-indicator {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	padding: 8px 12px;
	border-radius: 25px;
	font-size: 12px;
	font-weight: 600;
}

.status-indicator.active {
	background: rgba(34, 197, 94, 0.2);
	color: #dcfce7;
}

.status-indicator.inactive {
	background: rgba(239, 68, 68, 0.2);
	color: #fecaca;
}

.action-menu {
	position: relative;
}

.action-btn {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border: none;
	color: white;
	padding: 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.action-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.05);
}

.action-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	background: white;
	border-radius: 12px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.08);
	min-width: 160px;
	padding: 8px 0;
	z-index: 9999;
	border: 1px solid rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: scale(0.95) translateY(-10px);
	transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.action-dropdown.show {
	opacity: 1;
	visibility: visible;
	transform: scale(1) translateY(0);
}

.action-dropdown .dropdown-item {
	background: none;
	border: none;
	padding: 10px 16px;
	width: 100%;
	text-align: left;
	color: #374151;
	font-size: 14px;
	transition: background-color 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.action-dropdown .dropdown-item:hover {
	background: #f3f4f6;
}

.action-dropdown .dropdown-item.delete-item:hover {
	background: #fef2f2;
	color: #dc2626;
}

/* Template Preview */
.template-preview {
	text-align: center;
	position: relative;
	z-index: 1;
	margin-top: auto;
}

.preview-icon {
	width: 80px;
	height: 80px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 32px;
	color: white;
}

.template-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.template-subtitle {
	font-size: 14px;
	opacity: 0.9;
	margin: 0;
	font-weight: 500;
}

/* Template Body */
.template-body {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.template-description {
	margin-bottom: 20px;
}

.template-description p {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

/* Format Tags */
.format-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.format-tag {
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.format-tag.primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.format-tag.secondary {
	background: #f3f4f6;
	color: #6b7280;
}

.format-tag.outline {
	background: transparent;
	border: 1px solid #d1d5db;
	color: #6b7280;
}

/* Guidelines Preview */
.guidelines-preview {
	margin-top: auto;
}

.guidelines-title {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.guidelines-title i {
	color: #f59e0b;
}

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

.guidelines-list li {
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 6px;
	position: relative;
	padding-left: 16px;
}

.guidelines-list li:before {
	content: "•";
	color: #667eea;
	font-weight: bold;
	position: absolute;
	left: 0;
}

.guidelines-list .more-guidelines {
	font-weight: 600;
	color: #667eea;
}

/* Template Footer */
.template-footer {
	padding: 20px 25px;
	background: #f9fafb;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #e5e7eb;
}

.footer-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.order-info, .update-info {
	font-size: 11px;
	color: #9ca3af;
	display: flex;
	align-items: center;
	gap: 4px;
}

.use-template-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 25px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.use-template-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width:768px) {
	.content-template-card {
		margin-bottom: 20px;
	}

	.template-header {
		padding: 25px 20px;
		min-height: 180px;
	}

	.preview-icon {
		width: 60px;
		height: 60px;
		font-size: 24px;
	}

	.template-title {
		font-size: 20px;
	}

	.template-body {
		padding: 20px;
	}

	.template-footer {
		padding: 15px 20px;
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}

	.use-template-btn {
		width: 100%;
		justify-content: center;
	}

}

/* =================================
   EMPTY STATE DESIGN
   ================================= */
.empty-state-card {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	border-radius: 24px;
	padding: 60px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.empty-state-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
	animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 0.5;
		transform: scale(1);
	}

	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}

}

.empty-state-content {
	position: relative;
	z-index: 2;
}

.empty-icon-container {
	position: relative;
	display: inline-block;
	margin-bottom: 30px;
}

.empty-icon {
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: white;
	position: relative;
	z-index: 2;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}

}

.empty-icon-bg {
	position: absolute;
	top: 10px;
	left: 10px;
	right: -10px;
	bottom: -10px;
	background: rgba(102, 126, 234, 0.2);
	border-radius: 24px;
	z-index: 1;
}

.empty-title {
	font-size: 28px;
	font-weight: 700;
	color: #1f2937;
	margin-bottom: 16px;
}

.empty-description {
	font-size: 16px;
	color: #6b7280;
	line-height: 1.6;
	max-width: 500px;
	margin: 0 auto 40px;
}

.create-template-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 40px;
	box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.create-template-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.empty-features {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
}

.feature-item i {
	color: #667eea;
	font-size: 16px;
}

/* Responsive for empty state */
@media (max-width:768px) {
	.empty-state-card {
		padding: 40px 20px;
	}

	.empty-icon {
		width: 80px;
		height: 80px;
		font-size: 32px;
	}

	.empty-title {
		font-size: 24px;
	}

	.empty-description {
		font-size: 14px;
	}

	.empty-features {
		gap: 20px;
		flex-direction: column;
		align-items: center;
	}

	.create-template-btn {
		padding: 14px 28px;
		font-size: 14px;
	}

}

/* =================================
   CANVA-STYLE MODAL
   ================================= */
.canva-modal {
	max-width: 1200px;
	margin: 1.75rem auto;
}

.canva-modal-content {
	border: none;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	background: #ffffff;
	display: flex;
	flex-direction: column;
}

/* Header */
.canva-modal-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 24px 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.canva-modal-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg !string!!string!><circle !string!!string!!string!!string!/><circle !string!!string!!string!!string!/><circle !string!!string!!string!!string!/></svg>') repeat;
	opacity: 0.3;
}

.header-left {
	position: relative;
	z-index: 2;
}

.canva-modal-header .modal-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.5px;
}

.canva-modal-header .modal-subtitle {
	font-size: 16px;
	opacity: 0.9;
	margin: 4px 0 0;
}

.canva-close-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	z-index: 2;
}

.canva-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

/* Search Section */
.canva-search-section {
	padding: 24px 32px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.search-container {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
}

.search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #64748b;
	font-size: 18px;
}

.canva-search-input {
	width: 100%;
	padding: 16px 16px 16px 50px;
	border: 2px solid #e2e8f0;
	border-radius: 50px;
	font-size: 16px;
	background: white;
	transition: all 0.2s ease;
}

.canva-search-input:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Categories */
.canva-categories {
	padding: 16px 32px;
	background: white;
	border-bottom: 1px solid #e2e8f0;
}

.category-tabs {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
	display: none;
}

.category-tab {
	background: #f1f5f9;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	min-width: fit-content;
}

.category-tab:hover {
	background: #e2e8f0;
	color: #475569;
}

.category-tab.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.category-tab i {
	font-size: 16px;
}

/* Modal Body */
.canva-modal-body {
	padding: 32px;
	overflow-y: auto;
	flex: 1;
}

/* Template Grid */
.template-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.template-card {
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	height: 280px;
	display: flex;
	flex-direction: column;
}

.template-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
	border-color: #667eea;
}

.template-preview {
	flex: 1;
	position: relative;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.preview-content {
	width: 100%;
	height: 100%;
	max-width: 180px;
	max-height: 160px;
}

/* Instagram Preview */
.instagram-preview {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-header {
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.preview-avatar {
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
}

.preview-info {
	flex: 1;
}

.preview-name {
	font-size: 12px;
	font-weight: 600;
	color: #1f2937;
}

.preview-time {
	font-size: 10px;
	color: #6b7280;
}

.preview-image {
	aspect-ratio: 1;
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	font-size: 24px;
}

.preview-text {
	padding: 12px;
	font-size: 11px;
	color: #374151;
}

/* Story Preview */
.story-preview {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	color: white;
	padding: 16px;
	aspect-ratio: 9/16;
	max-width: 100px;
	margin: 0 auto;
}

.story-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.story-avatar {
	width: 24px;
	height: 24px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
}

.story-content {
	text-align: center;
	font-size: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.story-content i {
	font-size: 16px;
}

/* Facebook Preview */
.facebook-preview {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.fb-header {
	padding: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #e2e8f0;
}

.fb-avatar {
	width: 28px;
	height: 28px;
	background: #1877f2;
	border-radius: 50%;
}

.fb-name {
	font-size: 11px;
	font-weight: 600;
	color: #1f2937;
}

.fb-time {
	font-size: 9px;
	color: #6b7280;
}

.fb-content {
	padding: 10px;
}

.fb-text {
	font-size: 10px;
	color: #374151;
	margin-bottom: 8px;
}

.fb-image {
	aspect-ratio: 16/9;
	background: #f3f4f6;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
}

/* Blog Preview */
.blog-preview {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.blog-header {
	padding: 12px;
	border-bottom: 1px solid #e2e8f0;
}

.blog-title {
	font-size: 12px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 4px;
}

.blog-meta {
	font-size: 9px;
	color: #6b7280;
}

.blog-content {
	padding: 12px;
}

.blog-image {
	aspect-ratio: 16/9;
	background: #f3f4f6;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	margin-bottom: 8px;
}

.blog-line {
	height: 3px;
	background: #e5e7eb;
	border-radius: 2px;
	margin-bottom: 4px;
}

.blog-line.short {
	width: 60%;
}

/* Email Preview */
.email-preview {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.email-header {
	background: #f8fafc;
	padding: 8px 12px;
	border-bottom: 1px solid #e2e8f0;
}

.email-subject {
	font-size: 10px;
	font-weight: 600;
	color: #1f2937;
}

.email-hero {
	aspect-ratio: 3/1;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
}

.email-body {
	padding: 12px;
}

.email-line {
	height: 3px;
	background: #e5e7eb;
	border-radius: 2px;
	margin-bottom: 4px;
}

.email-line.short {
	width: 50%;
}

.email-cta {
	background: #667eea;
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 9px;
	text-align: center;
	margin-top: 8px;
}

/* Video Preview */
.video-preview {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.video-player {
	aspect-ratio: 16/9;
	background: #1f2937;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 24px;
}

.video-info {
	padding: 12px;
}

.video-title {
	font-size: 11px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 4px;
}

.video-meta {
	font-size: 9px;
	color: #6b7280;
	margin-bottom: 6px;
}

.video-description {
	font-size: 9px;
	color: #374151;
}

/* Custom Template */
.custom-template {
	border: 2px dashed #cbd5e1;
	background: #f8fafc;
}

.custom-preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	color: #64748b;
}

.custom-icon {
	font-size: 48px;
	margin-bottom: 12px;
	color: #667eea;
}

.custom-text h6 {
	color: #374151;
	font-weight: 600;
	margin-bottom: 4px;
}

.custom-text p {
	color: #64748b;
	font-size: 12px;
	margin: 0;
}

/* Template Info */
.template-info {
	padding: 16px;
	background: white;
	border-top: 1px solid #e2e8f0;
}

.template-info h6 {
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
	margin: 0 0 4px;
}

.template-info p {
	font-size: 12px;
	color: #6b7280;
	margin: 0;
	line-height: 1.4;
}

/* Custom Form Container */
.custom-form-container {
	padding: 32px;
	background: white;
	height: 100%;
	overflow-y: auto;
}

.form-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.back-btn {
	background: #f1f5f9;
	border: none;
	padding: 10px 16px;
	border-radius: 8px;
	color: #475569;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.back-btn:hover {
	background: #e2e8f0;
}

.form-header h3 {
	font-size: 24px;
	font-weight: 600;
	color: #1f2937;
	margin: 0;
}

.custom-form-content {
	max-width: 800px;
}

.config-section {
	margin-bottom: 40px;
}

.config-section h4 {
	font-size: 18px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.config-section h4 i {
	color: #667eea;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 200px;
	gap: 20px;
	margin-bottom: 20px;
}

.form-grid .full-width {
	grid-column: 1 / -1;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.form-group .form-control {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.2s ease;
}

.form-group .form-control:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.variable-buttons {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.variable-btn {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s ease;
}

.variable-btn:hover {
	background: #667eea;
	color: white;
	border-color: #667eea;
}

.format-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.format-option {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.format-option:hover {
	border-color: #cbd5e1;
	background: #f1f5f9;
}

.format-option.active {
	background: #667eea;
	border-color: #667eea;
	color: white;
}

.format-option i {
	font-size: 24px;
	margin-bottom: 8px;
	display: block;
}

.format-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.format-desc {
	font-size: 12px;
	opacity: 0.8;
}

.image-config {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.image-format-group label, .image-style-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 12px;
}

.image-format-options {
	display: flex;
	gap: 12px;
}

.image-format-option {
	flex: 1;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.image-format-option:hover {
	border-color: #cbd5e1;
}

.image-format-option.active {
	background: #667eea;
	border-color: #667eea;
	color: white;
}

.format-icon {
	width: 32px;
	height: 20px;
	background: #cbd5e1;
	margin: 0 auto 8px;
	border-radius: 3px;
}

.image-format-option.active .format-icon {
	background: rgba(255, 255, 255, 0.3);
}

.square-icon {
	width: 24px;
	height: 24px;
}

.vertical-icon {
	width: 20px;
	height: 32px;
}

.image-format-option span {
	display: block;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 2px;
}

.image-format-option small {
	font-size: 10px;
	opacity: 0.7;
}

.style-options {
	display: flex;
	gap: 12px;
}

.style-option {
	flex: 1;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.style-option:hover {
	border-color: #cbd5e1;
}

.style-option.active {
	background: #667eea;
	border-color: #667eea;
	color: white;
}

.style-option i {
	font-size: 20px;
	margin-bottom: 8px;
	display: block;
}

.style-option span {
	font-size: 12px;
	font-weight: 500;
}

.form-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
	margin-top: 32px;
}

.form-footer .btn {
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.form-footer .btn-secondary {
	background: #f1f5f9;
	color: #475569;
}

.form-footer .btn-secondary:hover {
	background: #e2e8f0;
}

.form-footer .btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.form-footer .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Hidden states */
.hidden {
	display: none !important;
}

/* Responsive */
@media (max-width:768px) {
	.canva-modal {
		margin: 0.5rem;
		max-width: none;
	}

	.template-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 16px;
	}

	.template-card {
		height: 240px;
	}

	.canva-modal-body {
		padding: 20px;
	}

	.canva-search-section {
		padding: 16px 20px;
	}

	.canva-categories {
		padding: 12px 20px;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.image-config {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.image-format-options, .style-options {
		flex-direction: column;
	}

	.format-grid {
		grid-template-columns: 1fr;
	}

}

.select2-container--bootstrap-5 .select2-dropdown {
	background-color: #424e5a !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
	margin: 0 !important;
}

.cke_notification_warning {
	display: none !important;
}

.invalid-feedback {
	display: none;
}

.select2-container--bootstrap-5 .select2-results__option {
	color: #fff !important;
}

#domain-container button {
	margin: 11px 0px 0 9px !important;
}

.bg-secondary {
	color: #111726 !important;
}

body[data-layout-mode=two-column] .sidebar-main-menu {
	width: 263px !important;
}

.content-page {
	padding: 70px 15px 65px 57px !important;
}

.footer {
	padding: 25px 15px 20px 66px !important;
}

table.dataTable tbody td.select-checkbox:before {
	border: 0px !important;
}

.chatgpt-cost-indicator {
	margin: 12px 0 0 0 !important;
}

.text-black {
	color: #3b4651 !important;
}

.chatgpt-cost-indicator:hover {
	padding: 9px 12px 9px 12px !important;
	margin: 12px 0 0 0 !important;
}

.navbar-custom .topnav-menu .nav-link {
	padding: 9px 15px !important;
}

.view-details-api-cost a:hover {
	color: #fff !important;
	background-color: #564cad !important;
}

.btn-group-sm > .btn, .btn-sm {
	padding: 11px 13px !important;
	height: 43px !important;
}
