input {
	font-size: 13px !important;
	min-width: 10px !important;
	border: 1px dashed lightgray !important;
	font-family: Tahoma, Geneva, sans-serif !important;
	background-color: white;
}

select {
	font-size: 13px !important;
	border: 1px dashed lightgray !important;
	font-family: Tahoma, Geneva, sans-serif !important;
	background-color: white;
	padding: 8px 12px !important;
	height: auto !important;
	min-height: 40px !important;
	line-height: 1.4 !important;
	vertical-align: middle !important;
}

textarea {
	font-size: 13px !important;
	min-width: 50px !important;
	min-height: 80px !important;
	border: 1px dashed lightgray !important;
	font-family: Tahoma, Geneva, sans-serif !important;
	background-color: white;
	direction: auto !important;
	text-align: start !important;
	unicode-bidi: plaintext !important;
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
	white-space: pre-wrap !important;
}

/* Mobile-specific textarea improvements */
textarea[data-mobile-friendly="true"] {
	-webkit-text-size-adjust: 100% !important;
	-moz-text-size-adjust: 100% !important;
	text-size-adjust: 100% !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	padding: 8px !important;
	border-radius: 4px !important;
	resize: vertical !important;
}

/* Improve mobile display for recipient textareas */
@media (max-width: 768px) {
	textarea[data-mobile-friendly="true"] {
		font-size: 16px !important;
		min-height: 100px !important;
		padding: 12px !important;
	}
}

p {
	font-size: 10px !important;
	font-family: Tahoma, Geneva, sans-serif;
}

label {
	font-size: 12px !important;
	font-family: Tahoma, Geneva, sans-serif !important;
	color: black;
}

details>summary {
	cursor: pointer;
	position: relative;
	margin-left: 0px;
	display: list-item;
	margin-left: 1em;
}

.alert {
	padding: 20px;
	background-color: #f44336;
	/* Red */
	color: white;
	margin-bottom: 15px;
	opacity: 1;
	transition: opacity 0.6s;
	/* 600ms to fade out */
}

.info {
	padding: 20px;
	/*background-color: black;*/
	/* Red */
	color: white;
	margin-bottom: 15px;
	opacity: 1;
	transition: opacity 0.6s;
	/* 600ms to fade out */
	border-radius: 100%;
	border-style: dotted;
	border-width: 4px;
}

/* The close button */
.closebtn {
	margin-left: 15px;
	color: white;
	font-weight: bold;
	float: right;
	font-size: 22px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
	color: black;
}

/* Adjust button size, padding, and font */
.btn-small {
	font-size: 12px;
	/* Smaller text size */
	padding: 2px 5px;
	/* Reduced padding */
	height: auto;
	/* Adjust height to fit content */
}

/* Ensure icons fit properly */
.material-icons {
	font-size: 16px;
	/* Smaller icon size */
}

/* Add spacing between buttons */
.row {
	gap: 5px;
	/* Space between columns */
}

/* Professional Form Section Styling */
.professional-form-section {
	margin: 30px 0;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	background: white;
}

.section-header {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-left: 4px solid #007bff;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.section-icon {
	width: 50px;
	height: 50px;
	background: #007bff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
}

.section-title {
	margin: 0;
	color: #495057;
	font-weight: 600;
	font-size: 20px;
}


/* Popup Background */
.popup-background {
	display: none;
	/* Hidden by default */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	/* Semi-transparent background */
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

/* Popup Content */
.popup-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
	max-width: 90%;
	width: 400px;
	max-height: 80vh;
	/* Limit height to 80% of viewport */
	overflow-y: auto;
	/* Enable vertical scroll */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	text-align: center;
	position: relative;
	font-family: Arial, sans-serif;
}

.close-button {
	position: absolute;
	/* Positioned relative to the popup-content container */
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #333;
	background-color: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	/* Ensure it stays above content */
}

/* Popup Image */
.popup-image {
	max-width: 100%;
	height: auto;
	margin-bottom: 15px;
	border-radius: 8px;
}

/* Popup Text */
.popup-text {
	font-size: 16px;
	color: #333;
}

/* Mobile Styles */
@media (max-width: 480px) {
	.popup-content {
		padding: 15px;
	}

	.popup-text {
		font-size: 14px;
	}

	.close-button {
		font-size: 18px;
	}
}

#preview-container {
	margin-top: 20px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #f9f9f9;
}

#preview-title {
	font-weight: bold;
	margin-bottom: 10px;
}

#preview-content {
	font-style: italic;
	color: #333;
}

/* Floating Chat Button (Like Wati.io) */
#chat-button-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	z-index: 999;
	cursor: pointer;
}

/* Chat Toggle Button */
#chat-toggle {
	display: flex;
	align-items: center;
	background: #007bff;
	color: white;
	padding: 10px 15px;
	border-radius: 50px;
	font-weight: bold;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

#chat-toggle:hover {
	background: #0056b3;
}

/* Chat Icon */
.chat-icon {
	width: 40px;
	height: 40px;
	background: white;
	color: #007bff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-right: 8px;
	transition: transform 0.3s ease;
}

/* Chat Notification Text */
.chat-notification {
	font-size: 14px;
	white-space: nowrap;
}

/* Floating Sidebar */
#floating-sidebar {
	position: fixed;
	bottom: 80px;
	right: -250px;
	/* Hidden by default */
	width: 240px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: right 0.3s ease-in-out;
	z-index: 999;
	display: none;
}

/* Sidebar Content */
#sidebar-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px;
}

/* Sidebar Title */
.sidebar-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* Sidebar Buttons */
.sidebar-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f8f9fa;
	color: black;
	padding: 12px;
	margin: 8px 0;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	width: 100%;
	transition: background 0.3s ease, transform 0.2s ease-in-out;
}

/* Remove Underline */
.sidebar-btn:hover,
.sidebar-btn:focus,
.sidebar-btn:active {
	background: #e2e6ea;
	text-decoration: none !important;
	transform: scale(1.05);
}

/* Sidebar Icons */
.sidebar-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

/* WhatsApp Icon */
.whatsapp-icon {
	background: #25D366;
	color: white;
}

/* Chatbot Icon */
.chatbot-icon {
	background: #007bff;
	color: white;
}

/* Icon Hover Animation */
.sidebar-icon:hover {
	transform: rotate(360deg);
}

/* Close Button */
#close-sidebar {
	background: #ff4747;
	color: white;
	font-size: 18px;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-top: 10px;
}

#close-sidebar:hover {
	background: #cc0000;
}

/* Sticky Campaign Progress */
.sticky-progress {
	position: sticky;
	top: 0px;
	/* Account for header/navigation height */
	z-index: 999;
	/* Lower than menu items */
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 0 0 10px 10px;
	margin-bottom: 20px;
}

/* Ensure proper spacing for navigation */
@media (max-width: 768px) {
	.sticky-progress {
		top: 60px;
		/* Smaller offset for mobile */
	}
}

/* Additional spacing to prevent overlap */
.sticky-progress+* {
	margin-top: 10px;
}

/* Compact Quick Stats */
.compact-stats {
	padding: 10px !important;
	margin: 10px 0 !important;
}

.compact-stats .row {
	margin-bottom: 0 !important;
}

.compact-stats .col {
	padding: 5px !important;
}

.compact-stats .card-panel {
	padding: 8px !important;
	margin: 0 !important;
}

.compact-stats h6 {
	margin: 0 0 8px 0 !important;
	font-size: 14px !important;
}

.compact-stats .material-icons {
	font-size: 18px !important;
}

.compact-stats .stat-value {
	font-size: 16px !important;
	margin-bottom: 2px !important;
}

.compact-stats .stat-label {
	font-size: 9px !important;
}

/* Collapsible SMS Requirements Ribbon */
.sms-requirements-ribbon {
	position: relative;
	background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
	border-left: 4px solid #ffc107;
	margin: 10px 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.sms-requirements-ribbon.collapsed {
	max-height: 50px;
}

.sms-requirements-ribbon.expanded {
	max-height: 500px;
}

.sms-requirements-header {
	padding: 12px 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 193, 7, 0.1);
}

.sms-requirements-header:hover {
	background: rgba(255, 193, 7, 0.2);
}

.sms-requirements-title {
	margin: 0;
	color: #856404;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.sms-requirements-toggle {
	background: none;
	border: none;
	color: #856404;
	cursor: pointer;
	padding: 5px;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.sms-requirements-toggle:hover {
	background: rgba(255, 193, 7, 0.3);
}

.sms-requirements-toggle.rotated {
	transform: rotate(180deg);
}

.sms-requirements-content {
	padding: 0 20px 20px 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.sms-requirements-ribbon.expanded .sms-requirements-content {
	opacity: 1;
}

/* Compact Campaign Manager */
.compact-campaign-manager {
	margin: 15px 0 !important;
}

.compact-campaign-manager .professional-form-section {
	margin: 15px 0 !important;
}

.compact-campaign-manager .section-header {
	padding: 15px !important;
}

.compact-campaign-manager .section-icon {
	width: 40px !important;
	height: 40px !important;
	font-size: 16px !important;
}

.compact-campaign-manager .section-title {
	font-size: 16px !important;
}

.compact-campaign-manager .card-content {
	padding: 15px !important;
}

.compact-campaign-manager label {
	font-size: 11px !important;
	margin-bottom: 5px !important;
}

.compact-campaign-manager input,
.compact-campaign-manager select,
.compact-campaign-manager textarea {
	font-size: 12px !important;
	padding: 8px !important;
	margin-bottom: 10px !important;
}

.compact-campaign-manager .row {
	margin-bottom: 10px !important;
}

.compact-campaign-manager .col {
	padding: 5px !important;
}

/* Clickable Step Styles */
.clickable-step {
	transition: all 0.3s ease;
}

.clickable-step:hover {
	transform: translateY(-2px);
}

.clickable-step:hover .step-circle {
	background: #007bff !important;
	border-color: #0056b3 !important;
	color: white !important;
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.clickable-step:hover .step-label {
	color: #007bff !important;
	font-weight: 600 !important;
}

.clickable-step:active {
	transform: translateY(0);
}

.getting-started-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	border-radius: 15px;
	margin-bottom: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-indicator {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step {
	display: flex;
	align-items: center;
	flex-direction: column;
	flex: 1;
	position: relative;
}

.step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-bottom: 10px;
	transition: all 0.3s ease;
}

.step.active .step-number {
	background: #25D366;
	color: white;
}

.step.completed .step-number {
	background: #4CAF50;
	color: white;
}

.step-title {
	font-size: 12px;
	text-align: center;
	font-weight: 500;
	color: #666;
}

.step.active .step-title {
	color: #25D366;
	font-weight: bold;
}

.step-connector {
	flex: 1;
	height: 3px;
	background: #dee2e6;
	margin: 0 10px;
}

.step:last-child .step-connector {
	display: none;
}

.help-card {
	background: #f8f9fa;
	border-left: 4px solid #25D366;
	padding: 20px;
	margin: 20px 0;
	border-radius: 5px;
}

.feature-highlight {
	background: linear-gradient(45deg, #25D366, #128C7E);
	color: white;
	padding: 15px;
	border-radius: 10px;
	margin: 15px 0;
	text-align: center;
}

.api-info-card {
	background: white;
	padding: 25px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 25px;
	border: 1px solid #e0e0e0;
}

.quick-stats {
	display: flex;
	justify-content: space-around;
	background: white;
	padding: 20px;
	border-radius: 10px;
	margin: 20px 0;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 24px;
	font-weight: bold;
	color: #25D366;
}

.stat-label {
	font-size: 12px;
	color: #666;
	margin-top: 5px;
}

.tooltip-enhanced {
	position: relative;
	display: inline-block;
	width: 100%;
	cursor: help;
}

.tooltip-enhanced::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 125%;
	left: 50%;
	transform: translateX(-50%);
	background: #333;
	color: white;
	padding: 8px 12px;
	border-radius: 5px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 999999 !important;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tooltip-enhanced:hover::after {
	opacity: 1;
	visibility: visible;
}

/* Override Materialize tooltip styles to ensure our custom tooltips always show */
.tooltip-enhanced .material-tooltip {
	display: none !important;
}

/* Ensure our custom tooltips have the highest z-index and are always visible */
.tooltip-enhanced::after {
	z-index: 999999 !important;
	position: absolute !important;
	pointer-events: none !important;
}

/* Additional specificity to override any conflicting styles */
div.tooltip-enhanced::after {
	z-index: 999999 !important;
	position: absolute !important;
}

/* Ensure tooltip containers don't clip the tooltips */
.tooltip-enhanced {
	overflow: visible !important;
}

/* Ensure parent containers don't clip tooltips */
.col, .row, .input-field, .form-group {
	overflow: visible !important;
}

/* Fix tab content visibility issues */
.tab-pane {
	display: none;
}

.tab-pane.show.active {
	display: block !important;
}

.tab-pane.fade {
	opacity: 0;
	transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
	opacity: 1;
}

/* Ensure tab content is visible and prevent white space issues */
#templateTypeTabContent .tab-pane {
	min-height: auto;
}

#templateTypeTabContent .tab-pane.show.active {
	display: block !important;
	opacity: 1 !important;
}

/* Prevent any margin/padding issues that might cause white space */
#templateTypeTabContent .tab-pane .form-group:first-child {
	margin-top: 0;
}

#templateTypeTabContent .tab-pane .row:first-child {
	margin-top: 0;
}

.professional-form-section {
	background: white;
	padding: 25px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	margin-bottom: 25px;
	border: 1px solid #e8e8e8;
}

/* Sticky Campaign Progress */
.sticky-progress {
	position: sticky;
	top: 0px;
	/* Account for header/navigation height */
	z-index: 999;
	/* Lower than menu items */
	background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 0 0 10px 10px;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.sticky-progress {
		top: 60px;
		/* Smaller offset for mobile */
	}

	#chat-button-container,
	#floating-sidebar {
		display: none !important;
	}
}

/* Ensure proper spacing for navigation */
@media (max-width: 768px) {
	.sticky-progress {
		top: 60px;
		/* Smaller offset for mobile */
	}
}

/* Additional spacing to prevent overlap */
.sticky-progress+* {
	margin-top: 10px;
}

/* Compact Quick Stats */
.compact-stats {
	padding: 10px !important;
	margin: 10px 0 !important;
}

.compact-stats .row {
	margin-bottom: 0 !important;
}

.compact-stats .col {
	padding: 5px !important;
}

.compact-stats .card-panel {
	padding: 8px !important;
	margin: 0 !important;
}

.compact-stats h6 {
	margin: 0 0 8px 0 !important;
	font-size: 14px !important;
}

.compact-stats .material-icons {
	font-size: 18px !important;
}

.compact-stats .stat-value {
	font-size: 16px !important;
	margin-bottom: 2px !important;
}

.compact-stats .stat-label {
	font-size: 9px !important;
}

/* Collapsible WhatsApp Requirements Ribbon */
.whatsapp-requirements-ribbon {
	position: relative;
	background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
	border-left: 4px solid #ffc107;
	margin: 10px 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.whatsapp-requirements-ribbon.collapsed {
	max-height: 50px;
}

.whatsapp-requirements-ribbon.expanded {
	max-height: 500px;
}

.whatsapp-requirements-header {
	padding: 12px 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 193, 7, 0.1);
}

.whatsapp-requirements-header:hover {
	background: rgba(255, 193, 7, 0.2);
}

.whatsapp-requirements-title {
	margin: 0;
	color: #856404;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.whatsapp-requirements-toggle {
	background: none;
	border: none;
	color: #856404;
	cursor: pointer;
	padding: 5px;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.whatsapp-requirements-toggle:hover {
	background: rgba(255, 193, 7, 0.3);
}

.whatsapp-requirements-toggle.rotated {
	transform: rotate(180deg);
}

.whatsapp-requirements-content {
	padding: 0 20px 20px 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.whatsapp-requirements-ribbon.expanded .whatsapp-requirements-content {
	opacity: 1;
}

/* Compact Campaign Manager */
.compact-campaign-manager {
	margin: 15px 0 !important;
}

.compact-campaign-manager .professional-form-section {
	margin: 15px 0 !important;
}

.compact-campaign-manager .section-header {
	padding: 15px !important;
}

.compact-campaign-manager .section-icon {
	width: 40px !important;
	height: 40px !important;
	font-size: 16px !important;
}

.compact-campaign-manager .section-title {
	font-size: 16px !important;
}

.compact-campaign-manager .card-content {
	padding: 15px !important;
}

.compact-campaign-manager label {
	font-size: 11px !important;
	margin-bottom: 5px !important;
}

.compact-campaign-manager input,
.compact-campaign-manager select,
.compact-campaign-manager textarea {
	font-size: 12px !important;
	padding: 8px !important;
	margin-bottom: 10px !important;
}

.compact-campaign-manager .row {
	margin-bottom: 10px !important;
}

.compact-campaign-manager .col {
	padding: 5px !important;
}

/* Clickable Step Styles */
.clickable-step {
	transition: all 0.3s ease;
}

.clickable-step:hover {
	transform: translateY(-2px);
}

.clickable-step:hover .step-circle {
	background: #25D366 !important;
	color: white !important;
	box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.clickable-step:hover .step-label {
	color: #25D366 !important;
	font-weight: 600 !important;
}

.clickable-step:active {
	transform: translateY(0);
}

/* Step Progress States */
.step.active .step-circle {
	background: #25D366 !important;
	border-color: #25D366 !important;
	color: white !important;
	box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.step.active .step-label {
	color: #25D366 !important;
	font-weight: 600 !important;
}

.step.completed .step-circle {
	background: #28a745 !important;
	border-color: #28a745 !important;
	color: white !important;
	box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.step.completed .step-label {
	color: #28a745 !important;
	font-weight: 600 !important;
}

.step.completed .step-connector {
	background: #28a745 !important;
}

/* Catalog Products Grid Styles */
.catalog-product-card {
	transition: all 0.3s ease;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.catalog-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-color: #25D366;
}

.catalog-product-image {
	width: 100%;
	height: 120px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6c757d;
	font-size: 24px;
}

.catalog-product-info {
	padding: 15px;
}

.catalog-product-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 5px;
	line-height: 1.3;
}

.catalog-product-description {
	font-size: 12px;
	color: #666;
	margin-bottom: 8px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.catalog-product-price {
	font-size: 14px;
	font-weight: 600;
	color: #25D366;
	margin-bottom: 8px;
}

.catalog-product-actions {
	display: flex;
	gap: 5px;
	margin-top: 10px;
}

.catalog-btn {
	flex: 1;
	font-size: 10px;
	padding: 6px 8px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.catalog-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.catalog-btn-single {
	background: #25D366;
	color: white;
}

.catalog-btn-list {
	background: #007bff;
	color: white;
}

.catalog-loading {
	text-align: center;
	padding: 20px;
	color: #25D366;
}

.catalog-error {
	text-align: center;
	padding: 20px;
	color: #dc3545;
	background: #f8d7da;
	border-radius: 5px;
	margin: 10px 0;
}

.section-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
}

.section-icon {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	margin-right: 15px;
}

.section-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.best-practices {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 10px;
	padding: 20px;
	margin: 20px 0;
}

.best-practices h4 {
	color: #856404;
	margin-bottom: 15px;
}

.best-practices ul {
	color: #856404;
	margin: 0;
	padding-left: 20px;
}

.progress-indicator {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 15px;
	margin: 20px 0;
}

.progress-bar {
	height: 8px;
	background: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #25D366, #128C7E);
	width: 0%;
	transition: width 0.3s ease;
}

.whatsapp-branding {
	display: inline-flex;
	align-items: center;
	color: #25D366;
	font-weight: 600;
}

.whatsapp-branding i {
	margin-right: 8px;
	font-size: 18px;
}

@media (max-width: 768px) {
	.step-indicator {
		flex-direction: column;
		gap: 20px;
	}

	.step-connector {
		display: none;
	}

	.quick-stats {
		flex-direction: column;
		gap: 15px;
	}
}

/* Mobile-friendly modal and carousel template styles */
@media (max-width: 768px) {
	#add_sms_template .modal-dialog {
		max-width: 95% !important;
		width: 95% !important;
		margin: 10px auto;
	}

	#add_sms_template .modal-content {
		max-height: 95vh !important;
	}

	.carousel-template-item .row .col {
		margin-bottom: 10px;
	}

	.carousel-template-item .form-group {
		margin-bottom: 10px !important;
	}

	.upload-status {
		word-break: break-all !important;
		font-size: 11px !important;
		line-height: 1.2 !important;
	}
}

@media (max-width: 480px) {
	#add_sms_template .modal-dialog {
		max-width: 98% !important;
		width: 98% !important;
		margin: 5px auto;
	}

	.carousel-template-item {
		padding: 10px !important;
	}

	.carousel-template-item .card-body {
		padding: 15px !important;
	}

	.carousel-template-fields {
		padding: 15px !important;
	}
}

/* Fix file name overlap issue */
.upload-status {
	word-break: break-all;
	white-space: pre-wrap;
	overflow-wrap: break-word;
	max-width: 100%;
	display: block;
}

/* Better spacing for carousel items */
.carousel-template-item .form-group {
	margin-bottom: 15px;
}

.carousel-template-item .form-label {
	margin-bottom: 5px;
	display: block;
	font-weight: 600;
	color: #333;
}

/* Ensure inputs take full width */
.carousel-template-item input,
.carousel-template-item select {
	width: 100% !important;
	box-sizing: border-box;
}

/* Media Attachment Select Styling */
#imagelink {
	padding: 10px 15px !important;
	height: 45px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	border: 2px solid #e9ecef !important;
	border-radius: 6px !important;
	background-color: white !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

#imagelink option {
	padding: 8px 12px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	height: auto !important;
	min-height: 35px !important;
}

/* Submit Template Modal Mobile Styles */
@media (max-width: 768px) {
	#submit_template_modal .modal-dialog {
		max-width: 95% !important;
		width: 95% !important;
		margin: 10px auto;
	}

	#submit_template_modal .modal-content {
		max-height: 95vh !important;
	}

	#submit_template_modal .nav-tabs {
		flex-direction: column;
	}

	#submit_template_modal .nav-tabs .nav-link {
		margin-bottom: 5px;
		text-align: center;
	}

	#submit_template_modal .form-group {
		margin-bottom: 15px;
	}

	#submit_template_modal .col-md-6 {
		margin-bottom: 10px;
	}
}

@media (max-width: 480px) {
	#submit_template_modal .modal-dialog {
		max-width: 98% !important;
		width: 98% !important;
		margin: 5px auto;
	}

	#submit_template_modal .modal-body {
		padding: 15px;
	}

	#submit_template_modal .nav-tabs .nav-link {
		padding: 8px 12px;
		font-size: 14px;
	}
}

/* Authentication Template Validation Styles */
.is-valid {
	border-color: #28a745 !important;
	box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.is-invalid {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.auth-template-help {
	background: #e3f2fd;
	border: 1px solid #2196f3;
	border-radius: 4px;
	padding: 10px;
	margin: 10px 0;
	font-size: 14px;
}

.auth-template-help .example {
	background: #f5f5f5;
	padding: 8px;
	border-radius: 3px;
	margin-top: 5px;
	font-family: monospace;
	font-size: 13px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.carousel-indicator {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 12px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
}

.input-group .form-control:focus + .input-group-append .carousel-indicator {
    border-color: #25D366;
    box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
}

.file-upload-area {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover {
    border-color: #128C7E !important;
    background-color: #f0f8f5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

.file-upload-area.dragover {
    border-color: #128C7E !important;
    background-color: #e8f5e8 !important;
    transform: scale(1.02);
}

.carousel-item {
    transition: all 0.3s ease;
}

.carousel-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Add Template Button States */
#command-smstemplate:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

#command-smstemplate:disabled:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Upload status indicators */
.upload-status {
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
}

.upload-status .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}