/* MiniCRM Connect Admin Styles */



/* Remove default WordPress admin page wrapper for our pages */
body.toplevel_page_minicrm-bridge .wrap,
body.minicrm_page_minicrm-bridge-forms .wrap,
body.minicrm_page_minicrm-bridge-leads .wrap,
body.minicrm_page_minicrm-bridge-woocommerce .wrap {
	margin: 0;
	padding: 0;
	background: #f1f1f1;
	min-height: 100vh;
}

/* Header Bar */
.minicrm-header {
	background: #f1f1f1;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	top: 32px;
	z-index: 100;
	margin-left: -20px;
}

.minicrm-header-logo {
	height: 42px;
	width: auto;
}

.minicrm-links {
	display: flex;
	align-items: center;
	gap: 20px;
}

.minicrm-link {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #646970;
	text-decoration: none;
	font-size: 13px;
	font-weight: 400;
	transition: color 0.2s ease;
}

.minicrm-link:hover {
	color: #2271b1;
	text-decoration: none;
}

.minicrm-link svg {
	flex-shrink: 0;
}

/* Page Title Bar */
.minicrm-page-title {
	background: #fff;
	margin: 0;
	padding: 15px 20px;
	font-size: 22px;
	font-weight: 500;
	line-height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	display: flex !important;
	margin-left: -20px;
	margin-bottom: 10px;
}

/* Content Area */
.minicrm-content {
	background: #f1f1f1;
	padding: 20px;
	margin-left: -20px;
	margin-bottom: -20px;
	min-height: calc(100vh - 140px);
}

/* Content wrapper adjustments */
.minicrm-content .minicrm-bridge-leads {
	background: transparent;
	margin: 0;
	padding: 0;
}

/* Card-like containers on white background */
.minicrm-introduction,
.minicrm-existing-integrations,
.minicrm-inactive-integrations {
	background: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 4px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

/* Primary Action Button */
.minicrm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 3px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
}

.minicrm-btn-primary {
	background: #2271b1;
	color: #fff;
}

.minicrm-btn-primary:hover {
	background: #135e96;
	color: #fff;
}

.minicrm-btn-secondary {
	background: #f6f7f7;
	color: #2c3338;
	border: 1px solid #8c8f94;
}

.minicrm-btn-secondary:hover {
	background: #f0f0f1;
	color: #2c3338;
	border-color: #8c8f94;
}

.page-title-action-icon {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.page-title-action-text {
	font-size: 13px;
}

/* Configure page specific styles */
/* Removed unused legacy configure header/description styles */

/* Responsive adjustments */
@media (max-width: 768px) {
	.minicrm-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding: 15px;
	}
	
	.minicrm-links {
		gap: 15px;
		flex-wrap: wrap;
	}
	
	.minicrm-page-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding: 15px;
	}
	
	.minicrm-content {
		padding: 15px;
	}
}

/* Dashboard Stats */
/* Removed unused .stat-note */


/* Connection status styling */
.connection-details p {
	margin: 10px 0;
	line-height: 1.6;
}

.connection-actions {
	margin-top: 15px;
}

.connection-actions .button {
	margin-right: 10px;
}

#connection-test-status {
	padding: 10px;
	border-left: 4px solid #ddd;
	background: #f9f9f9;
	border-radius: 3px;
}

#connection-test-status.success {
	border-left-color: #46b450;
	background: #f0f8f0;
	color: #2e7d32;
}

#connection-test-status.error {
	border-left-color: #dc3232;
	background: #fef7f7;
	color: #d63638;
}

/* Spinning animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


/* Connection Wizard Styles */
.minicrm-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.minicrm-modal-content {
	background: white;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	position: relative;
	width: 90%;
	max-height: 90%;
	overflow-y: auto;
}

.minicrm-modal.connection-wizard .minicrm-modal-content {
	max-width: 600px;
	min-height: 500px;
}

.minicrm-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #ddd;
	position: relative;
}

.minicrm-modal-header h2 {
	margin: 0;
	font-size: 18px;
}

.minicrm-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: #666;
	padding: 5px;
}

.minicrm-modal-close:hover {
	color: #000;
}

.minicrm-modal-footer {
	padding: 15px 24px;
	border-top: 1px solid #ddd;
	text-align: right;
}

.minicrm-modal-footer .button {
	margin-left: 10px;
}

.step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #ddd;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin-bottom: 8px;
	transition: all 0.3s ease;
}

.step-content h3 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
}

.step-content p {
	margin-bottom: 20px;
	line-height: 1.6;
	color: #666;
}

#connection-test-results {
	text-align: center;
	padding: 30px 0;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.setup-complete-actions {
	background-color: #f0f8ff;
	border: 1px solid #0073aa;
	border-radius: 4px;
	padding: 20px;
	margin-top: 20px;
}

.next-steps h4 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #0073aa;
}

.next-steps ul {
	margin-bottom: 0;
	padding-left: 20px;
}

.next-steps li {
	margin-bottom: 8px;
	line-height: 1.4;
}

.minicrm-bridge-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.minicrm-bridge-card {
	background: #fff;
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.minicrm-bridge-card h2 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 1.4;
}

.minicrm-bridge-status {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.status-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-right: 8px;
}

.status-indicator.status-active {
	background-color: #00a32a;
}

.status-indicator.status-inactive {
	background-color: #646970;
}

.status-indicator.status-warning {
	background-color: #dba617;
}

.minicrm-bridge-stats {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.stat-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background: #f6f7f7;
	border-radius: 4px;
}

.stat-item-with-note {
	flex-direction: column;
	align-items: flex-start;
}

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

.stat-number {
	font-size: 24px;
	font-weight: 600;
	color: #1d2327;
}

.stat-label {
	font-size: 13px;
	color: #646970;
}

.minicrm-bridge-activity .no-activity {
	color: #646970;
	font-style: italic;
	margin: 0;
}

.minicrm-bridge-onboarding {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px;
	margin-top: 20px;
}

.minicrm-bridge-onboarding h2 {
	margin-top: 0;
	margin-bottom: 20px;
}

.minicrm-bridge-setup-steps {
	display: grid;
	gap: 20px;
	margin-bottom: 30px;
}

.setup-step {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #2271b1;
	color: #fff;
	border-radius: 50%;
	font-weight: 600;
	flex-shrink: 0;
}

.step-content h3 {
	margin: 0 0 5px 0;
	font-size: 16px;
}

.step-content p {
	margin: 0;
	color: #646970;
}

/* Removed unused .minicrm-bridge-detected-plugins styles */

.plugin-list {
	display: grid;
	gap: 10px;
}

.plugin-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px;
	background: #f6f7f7;
	border-radius: 4px;
	border-left: 4px solid #c3c4c7;
}

.plugin-item.active {
	border-left-color: #00a32a;
}

.bridge-plugin-icon {
	color: #00a32a;
	font-size: 20px;
}

.plugin-info strong {
	display: block;
	margin-bottom: 2px;
}

.plugin-info p {
	margin: 0;
	font-size: 13px;
	color: #646970;
}

.no-plugins {
	color: #646970;
	font-style: italic;
	margin: 0;
}

.minicrm-bridge-setup-btn {
	margin-top: 10px;
}

.minicrm-new-integration-btn {
	display: flex;
	align-items: center;
	gap: 5px;
}

.minicrm-new-integration-btn .dashicons {
	vertical-align: middle;
	line-height: 1;
}

.minicrm-existing-integrations,
.minicrm-inactive-integrations {
	margin-bottom: 40px;
}

.minicrm-existing-integrations h3,
.minicrm-inactive-integrations h3 {
	margin-bottom: 20px;
	font-size: 18px;
}

.inactive-integrations-description {
	color: #646970;
	font-style: italic;
	margin-bottom: 20px;
}

.integrations-list {
	display: grid;
	gap: 15px;
}

.integration-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.integration-info h4 {
	margin: 0 0 8px 0;
	font-size: 16px;
}

.integration-meta {
	margin: 0 0 8px 0;
	font-size: 13px;
	color: #646970;
}

.integration-status {
	display: flex;
	align-items: center;
	margin: 0;
	font-size: 13px;
}

.integration-actions {
	display: flex;
	gap: 10px;
}

/* Inactive Integration Styles */
.inactive-integration {
	border-left: 4px solid #646970;
	background-color: #fafafa;
}

.inactive-integration .integration-info h4 {
	color: #646970;
}

.inactive-integration .integration-actions .button-primary {
	background-color: #00a32a;
	border-color: #00a32a;
}

.minicrm-no-integrations {
	text-align: center;
	padding: 60px 20px;
}

.no-integrations-message {
	max-width: 500px;
	margin: 0 auto;
}

.no-integrations-message .dashicons {
	font-size: 48px;
	color: #646970;
	margin-bottom: 20px;
}

.no-integrations-message h3 {
	margin-bottom: 15px;
	color: #1d2327;
}

.no-integrations-message p {
	color: #646970;
	line-height: 1.6;
}

/* Modal Styles */

.minicrm-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.minicrm-modal-content {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 750px;
	max-height: 90vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.minicrm-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #c3c4c7;
	background: #f6f7f7;
}

.minicrm-modal-header h2 {
	margin: 0;
	font-size: 18px;
}

.minicrm-modal-close {
	background: none;
	border: none;
	padding: 5px;
	cursor: pointer;
	color: #646970;
}

.minicrm-modal-close:hover {
	color: #d63638;
}

.minicrm-modal-body {
	padding: 20px;
	flex: 1;
	overflow-y: auto;
}

.minicrm-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 20px;
	border-top: 1px solid #c3c4c7;
	background: #f6f7f7;
	flex-shrink: 0;
}

.integration-step h3 {
	margin-bottom: 20px;
	font-size: 16px;
}

#minicrm-integration-engines {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

/* Configuration Screen Styles */

.configure-sections {
	display: grid;
	gap: 30px;
	max-width: 1000px;
}

.section-description {
	color: #646970;
	margin-bottom: 20px;
}

.field-mappings .wp-list-table {
	margin-bottom: 15px;
}

.field-mappings .wp-list-table th,
.field-mappings .wp-list-table td {
	padding: 12px;
	vertical-align: middle;
}

.field-mapping-row .form-field-select,
.field-mapping-row .transformation-select {
	width: 100%;
	max-width: 200px;
}

.field-mapping-row .regular-text {
	width: 100%;
	max-width: 200px;
}

.minicrm-configure-form .submit {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px;
	margin-top: 30px;
}

/* Form Engine Selection Styles */
.integration-engines-list {
	display: grid;
	gap: 15px;
}

.integration-engine-option {
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 15px;
	background: #fff;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.integration-engine-option:hover {
	border-color: #2271b1;
}

.integration-engine-option label {
	cursor: pointer;
	margin: 0;
	display: block;
}

.integration-engine-option input[type="radio"] {
	margin-right: 10px;
	margin-top: 2px;
}

.integration-engine-option h4 {
	margin: 0 0 5px 0;
	font-size: 16px;
	display: inline;
}

.integration-engine-option p {
	margin: 5px 0 0 28px;
	color: #646970;
	font-size: 14px;
}

.integration-engine-option input[type="radio"]:checked {
	accent-color: #2271b1;
}

.integration-engine-option:has(input[type="radio"]:checked) {
	border-color: #2271b1;
	background-color: #f0f6fc;
}

/* Ensure modal footer buttons are always visible */
.minicrm-modal-footer .button {
	min-height: 30px;
	z-index: 1;
}


@media (max-width: 768px) {
	.minicrm-bridge-cards {
		grid-template-columns: 1fr;
	}
	
	.stat-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}
	.integration-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.integration-actions {
		width: 100%;
		justify-content: flex-start;
	}

	.integration-engine-option p {
		margin-left: 0;
	}
}

/* Field Mapping Styles */
.field-mapping-row td:first-child {
	width: 30%;
}

.field-mapping-row td:nth-child(2) {
	width: 40%;
}

.field-mapping-row td:nth-child(3) {
	width: 30%;
}

.field-mapping-row .required-indicator {
	color: #d63638;
	font-weight: 500;
	margin-left: 8px;
}

.field-mapping-row strong {
	color: #1d2327;
}

/* Leads Page Styles */
.minicrm-bridge-leads {
	max-width: 1200px;
	margin-top: 20px;
}

/* Leads Statistics */
.leads-stats {
	margin-bottom: 30px;
}

.leads-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.stat-card {
	background: #fff;
	border-radius: 4px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.stat-card.stat-total {
	border-left: 4px solid #2271b1;
}

.stat-card.stat-success {
	border-left: 4px solid #00a32a;
}

.stat-card.stat-pending {
	border-left: 4px solid #dba617;
}

.stat-card.stat-failed {
	border-left: 4px solid #d63638;
}

.stat-icon {
	font-size: 32px;
	opacity: 0.8;
}

.stat-total .stat-icon {
	color: #2271b1;
}

.stat-success .stat-icon {
	color: #00a32a;
}

.stat-pending .stat-icon {
	color: #dba617;
}

.stat-failed .stat-icon {
	color: #d63638;
}

.stat-number {
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 5px;
}

.stat-label {
	font-size: 13px;
	color: #646970;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Leads Table */

/* Lead Status Styles */
.lead-status {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lead-status.status-success {
	background: #d1e7dd;
	color: #0f5132;
}

.lead-status.status-pending {
	background: #fff3cd;
	color: #664d03;
}

.lead-status.status-failed {
	background: #f8d7da;
	color: #721c24;
}

/* Source Type Badges */
.source-type {
	display: inline-block;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.source-type-gravityforms {
	background: #e3f2fd;
	color: #1976d2;
}

.source-type-cf7,
.source-type-contactform7 {
	background: #fff3e0;
	color: #f57c00;
}

.source-type-wpforms {
	background: #f3e5f5;
	color: #7b1fa2;
}

.source-type-woocommerce {
	background: #e8f5e8;
	color: #2e7d32;
}


/* Modal Enhancements for Leads */
.lead-details-table,
.captured-data-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.lead-details-table td,
.captured-data-table td {
	padding: 8px 12px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: top;
}

.lead-details-table td:first-child,
.captured-data-table td:first-child {
	width: 30%;
	background: #f6f7f7;
	font-weight: 500;
}

.error-message {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.minicrm-response {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	padding: 10px;
	border-radius: 4px;
	max-height: 200px;
	overflow-y: auto;
}

.minicrm-response pre {
	margin: 0;
	white-space: pre-wrap;
	font-size: 12px;
}

/* Loading Spinner */
.loading-spinner {
	text-align: center;
	padding: 40px 20px;
	color: #646970;
}

.loading-spinner .dashicons {
	animation: spin 1s linear infinite;
	margin-right: 8px;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Action Buttons */
.leads-table-container .button-small {
	padding: 2px 8px;
	font-size: 11px;
	height: auto;
	line-height: 1.4;
}

/* Setup Checklist Styles */
.minicrm-setup-checklist {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.checklist-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
}

.checklist-header h2 {
	margin: 0;
	font-size: 20px;
	color: #1d2327;
	display: flex;
	align-items: center;
	gap: 10px;
}

.checklist-header h2::before {
	content: "✅";
	font-size: 18px;
}

.progress-summary .progress-text {
	font-size: 14px;
	color: #646970;
	font-weight: 500;
}

.progress-bar-container {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}

.progress-bar {
	flex: 1;
	height: 8px;
	background-color: #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #00a32a 0%, #46b450 100%);
	transition: width 0.3s ease;
	border-radius: 4px;
}

.progress-percentage {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
	min-width: 35px;
}

.checklist-steps {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.checklist-step {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
	transition: all 0.3s ease;
}

.checklist-step.completed {
	background: #f0f8f0;
	border-color: #00a32a;
	border-left: 4px solid #00a32a;
}

.step-indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #e0e0e0;
	color: #646970;
	font-weight: 600;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.checklist-step.completed .step-indicator {
	background-color: #00a32a;
	color: white;
}

.checklist-step.completed .step-indicator .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
}

.step-number {
	font-size: 14px;
	font-weight: 600;
}

.step-content {
	flex: 1;
	min-width: 0;
}

.step-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	color: #1d2327;
	display: flex;
	align-items: center;
	gap: 8px;
}

.step-title .dashicons {
	font-size: 16px;
	color: #2271b1;
	opacity: 0.7;
}

.checklist-step.completed .step-title {
	color: #0f5132;
}

.checklist-step.completed .step-title .dashicons {
	color: #00a32a;
}

.step-description {
	margin: 0 0 15px 0;
	color: #646970;
	font-size: 14px;
	line-height: 1.5;
}

.step-actions {
	margin-top: 10px;
}

.step-actions .button {
	margin-right: 10px;
}

.step-actions .button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.step-actions .coming-soon {
	font-size: 12px;
	color: #646970;
	font-style: italic;
	margin-left: 5px;
}

.step-help {
	font-size: 13px;
	color: #646970;
	margin: 0;
	line-height: 1.4;
}

.step-link {
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
}

.step-link:hover {
	color: #135e96;
	text-decoration: underline;
}

.setup-completed-message {
	margin-top: 25px;
	padding: 20px;
	background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
	border: 1px solid #0073aa;
	border-radius: 6px;
	text-align: center;
}

.completed-content {
	max-width: 500px;
	margin: 0 auto;
}

.completed-content .dashicons {
	font-size: 48px;
	color: #00a32a;
	margin-bottom: 15px;
	display: block;
}

.completed-content h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	color: #1d2327;
}

.completed-content p {
	margin: 0;
	color: #646970;
	line-height: 1.6;
}

/* Checklist animations */
@keyframes checklistStepComplete {
	0% {
		transform: scale(1);
		background-color: #fafafa;
	}
	50% {
		transform: scale(1.02);
		background-color: #f0f8f0;
	}
	100% {
		transform: scale(1);
		background-color: #f0f8f0;
	}
}

.checklist-step.just-completed {
	animation: checklistStepComplete 0.6s ease-out;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.field-mapping-row td {
		display: block;
		width: 100% !important;
		padding: 8px 12px;
	}
	
	.field-mapping-row td:first-child {
		border-bottom: none;
		padding-bottom: 4px;
	}
	
	.field-mapping-row td:nth-child(2),
	.field-mapping-row td:nth-child(3) {
		border-top: none;
		padding-top: 4px;
	}

	.leads-stats-grid {
		grid-template-columns: 1fr;
	}

	.stat-card {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}

	.stat-icon {
		order: -1;
	}

	/* Checklist mobile adjustments */
	.checklist-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.progress-bar-container {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.progress-percentage {
		align-self: flex-end;
	}

	.checklist-step {
		flex-direction: column;
		gap: 15px;
		padding: 15px;
	}

	.step-indicator {
		align-self: flex-start;
	}

	.step-actions {
		margin-top: 15px;
	}

	.step-actions .button {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}
}
