/**
 * Admin Settings CSS
 * 
 * Styles for the Sant Chat AI admin dashboard redesign.
 * 
 * @package Sant_Chat_AI
 * @since 1.0.0
 */

:root {
	/* Core Colors */
	--sant-admin-primary: #6366F1;
	--sant-admin-primary-hover: #4F46E5;
	--sant-admin-primary-light: #EEF2FF;
	--sant-admin-success: #10B981;
	--sant-admin-success-light: #D1FAE5;
	--sant-admin-warning: #F59E0B;
	--sant-admin-warning-light: #FEF3C7;
	--sant-admin-danger: #EF4444;
	--sant-admin-danger-light: #FEE2E2;
	
	/* Neutral Colors */
	--sant-admin-text: #1F2937;
	--sant-admin-text-muted: #6B7280;
	--sant-admin-border: #E5E7EB;
	--sant-admin-bg: #F9FAFB;
	--sant-admin-card-bg: #FFFFFF;
	
	/* Layout */
	--sant-admin-radius: 8px;
	--sant-admin-radius-lg: 12px;
	--sant-admin-shadow: 0 1px 3px rgba(0,0,0,0.1);
	--sant-admin-shadow-lg: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

/* -----------------------------------------------------------------------------
 * Layout Components
 * -------------------------------------------------------------------------- */

.sant-admin-card {
	background: var(--sant-admin-card-bg);
	border: 1px solid var(--sant-admin-border);
	border-radius: var(--sant-admin-radius-lg);
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: var(--sant-admin-shadow);
}

.sant-admin-section {
	margin-bottom: 32px;
}

.sant-admin-section-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--sant-admin-text);
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--sant-admin-border);
}

/* Grid Layouts */
.sant-admin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.sant-admin-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

/* -----------------------------------------------------------------------------
 * Tab Navigation
 * -------------------------------------------------------------------------- */

.sant-admin-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--sant-admin-border);
}

.sant-admin-tab {
	padding: 12px 20px;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 15px;
	font-weight: 500;
	color: var(--sant-admin-text-muted);
	cursor: pointer;
	transition: all 0.2s;
}

.sant-admin-tab:hover {
	color: var(--sant-admin-primary);
}

.sant-admin-tab.active {
	color: var(--sant-admin-primary);
	border-bottom-color: var(--sant-admin-primary);
}

/* -----------------------------------------------------------------------------
 * Design System Selector
 * -------------------------------------------------------------------------- */

.sant-admin-design-picker {
	display: flex;
	gap: 24px;
}

.sant-admin-design-card {
	flex: 1;
	background: var(--sant-admin-card-bg);
	border: 2px solid var(--sant-admin-border);
	border-radius: var(--sant-admin-radius-lg);
	overflow: hidden;
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
	min-height: 280px;
	display: flex;
	flex-direction: column;
}

.sant-admin-design-card:hover {
	border-color: var(--sant-admin-primary-light);
	transform: translateY(-2px);
}

.sant-admin-design-card.active {
	border-color: var(--sant-admin-primary);
	box-shadow: 0 0 0 4px var(--sant-admin-primary-light);
}

.sant-design-preview {
	height: 180px;
	background: var(--sant-admin-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--sant-admin-border);
}

.sant-design-info {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sant-design-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--sant-admin-text);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sant-design-desc {
	font-size: 13px;
	color: var(--sant-admin-text-muted);
	line-height: 1.5;
}

.sant-badge {
	font-size: 11px;
	font-weight: 600;
	background: var(--sant-admin-primary-light);
	color: var(--sant-admin-primary);
	padding: 2px 8px;
	border-radius: 12px;
	text-transform: uppercase;
}

/* -----------------------------------------------------------------------------
 * Color Selector
 * -------------------------------------------------------------------------- */

.sant-color-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: var(--sant-admin-bg);
	border-radius: var(--sant-admin-radius-lg);
	flex-wrap: wrap;
}

.sant-color-chip {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	border: 3px solid white;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: transform 0.2s, box-shadow 0.2s;
	position: relative;
}

.sant-color-chip:hover {
	transform: scale(1.1);
	z-index: 2;
}

.sant-color-chip.active {
	box-shadow: 0 0 0 2px var(--sant-admin-text), 0 4px 6px rgba(0,0,0,0.1);
}

.sant-custom-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	font-size: 13px;
	font-weight: 500;
	color: var(--sant-admin-text-muted);
	cursor: pointer;
}

.sant-custom-trigger:hover {
	color: var(--sant-admin-primary);
}

/* Live Preview Panel */
.sant-preview-panel {
	margin-top: 24px;
	background: var(--sant-admin-bg);
	border: 1px solid var(--sant-admin-border);
	border-radius: var(--sant-admin-radius-lg);
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* -----------------------------------------------------------------------------
 * Lead Capture
 * -------------------------------------------------------------------------- */

.sant-admin-info-box {
	background: var(--sant-admin-primary-light);
	border-left: 4px solid var(--sant-admin-primary);
	padding: 16px;
	border-radius: 0 var(--sant-admin-radius) var(--sant-admin-radius) 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--sant-admin-text);
}

.sant-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sant-checkbox-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--sant-admin-border);
	border-radius: var(--sant-admin-radius);
	transition: background 0.2s;
}

.sant-checkbox-item:hover {
	background: var(--sant-admin-bg);
}

/* -----------------------------------------------------------------------------
 * Custom Inputs
 * -------------------------------------------------------------------------- */

.sant-admin-input {
	width: 100%;
	max-width: 400px;
	padding: 10px 16px !important;
	border: 1px solid var(--sant-admin-border) !important;
	border-radius: var(--sant-admin-radius) !important;
	font-size: 14px !important;
}

.sant-admin-select {
	min-width: 200px;
	padding: 8px 32px 8px 16px !important;
	border: 1px solid var(--sant-admin-border) !important;
	border-radius: var(--sant-admin-radius) !important;
	background: white;
}

/* Custom Toggle Switch for checkboxes */
.sant-toggle {
	position: relative;
	width: 44px;
	height: 24px;
}

.sant-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.sant-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #E5E7EB;
	transition: .4s;
	border-radius: 24px;
}

.sant-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .sant-slider {
	background-color: var(--sant-admin-primary);
}

input:checked + .sant-slider:before {
	transform: translateX(20px);
}

/* -----------------------------------------------------------------------------
 * Responsive
 * -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.sant-admin-design-picker {
		flex-direction: column;
	}
	
	.sant-admin-grid-2 {
		grid-template-columns: 1fr;
	}
	
	.sant-admin-tabs {
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* Playful design headline input */
.sant-playful-headline-input {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #E5E7EB;
	border-radius: 12px;
	font-size: 15px;
	transition: border-color 0.2s;
}

.sant-playful-headline-input:focus {
	border-color: #F5D547;
}

/* =============================================================================
 * Admin Page Inline Styles (moved from PHP files for WP.org compliance)
 * ========================================================================== */

/* -----------------------------------------------------------------------------
 * Admin Bar Styles (from class-admin.php)
 * -------------------------------------------------------------------------- */

#wpadminbar #wp-admin-bar-sant-chat-ai .ab-icon:before {
	content: "\f125";
	top: 2px;
}

#wpadminbar #wp-admin-bar-sant-chat-ai>.ab-item {
	padding: 0 7px;
}

#wpadminbar #wp-admin-bar-sant-chat-ai .ab-icon {
	width: 20px;
	height: 20px;
	margin-right: 5px;
}

/* -----------------------------------------------------------------------------
 * Lead Capture Mode Cards (from sant-chat-ai.php ~line 1588)
 * -------------------------------------------------------------------------- */

.sant-mode-card {
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 12px;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.sant-mode-card:hover {
	border-color: #F5D547;
}

.sant-mode-card.active {
	border-color: #F5D547;
	box-shadow: 0 0 0 1px #F5D547;
}

.sant-mode-card input[type="radio"] {
	display: none;
}

.sant-mode-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sant-mode-toggle {
	width: 36px;
	height: 20px;
	background: #ccc;
	border-radius: 10px;
	flex-shrink: 0;
	position: relative;
	transition: background 0.2s;
}

.sant-mode-toggle::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
}

.sant-mode-card.active .sant-mode-toggle {
	background: #F5D547;
}

.sant-mode-card.active .sant-mode-toggle::after {
	transform: translateX(16px);
}

.sant-mode-title {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.sant-mode-badge {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 2px 8px;
	border-radius: 10px;
	line-height: 1.4;
}

.sant-mode-desc {
	font-size: 13px;
	color: #646970;
	margin: 6px 0 0 28px;
	line-height: 1.5;
}

.sant-mode-preview {
	margin: 0 0 0 28px;
	max-width: 420px;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}

.sant-mode-preview.open {
	max-height: 300px;
	opacity: 1;
	margin-top: 10px;
}

.sant-example-toggle {
	display: inline-block;
	margin: 8px 0 0 28px;
	font-size: 12px;
	color: #50575e;
	cursor: pointer;
	user-select: none;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
}

.sant-example-toggle:hover {
	color: #1d2327;
	text-decoration: underline;
}

.sant-example-toggle .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	vertical-align: middle;
	margin-right: 2px;
	transition: transform 0.25s ease;
}

.sant-example-toggle.open .dashicons {
	transform: rotate(90deg);
}

.sant-preview-chat {
	background: #f6f7f7;
	border-radius: 10px;
	padding: 12px;
}

.sant-msg {
	margin-bottom: 6px;
	display: flex;
}

.sant-msg:last-child {
	margin-bottom: 0;
}

.sant-msg.visitor {
	justify-content: flex-end;
}

.sant-msg span {
	display: inline-block;
	padding: 7px 12px;
	border-radius: 14px;
	font-size: 12px;
	line-height: 1.45;
	max-width: 80%;
}

.sant-msg.bot span {
	background: #fff;
	color: #1d2327;
	border: 1px solid #e0e0e0;
	border-radius: 14px 14px 14px 4px;
}

.sant-msg.visitor span {
	background: #2271b1;
	color: #fff;
	border-radius: 14px 14px 4px 14px;
}

.sant-msg.bot.highlight span {
	border-color: transparent;
	font-weight: 500;
}

.sant-preview-note {
	font-size: 11px;
	color: #a7aaad;
	text-align: center;
	margin-top: 8px;
	font-style: italic;
}

/* -----------------------------------------------------------------------------
 * Email Toggle (from sant-chat-ai.php ~line 1826)
 * -------------------------------------------------------------------------- */

.sant-email-toggle {
	width: 36px;
	height: 20px;
	background: #ccc;
	border-radius: 10px;
	flex-shrink: 0;
	position: relative;
	transition: background 0.2s;
	display: inline-block;
}

.sant-email-toggle::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
}

.sant-email-toggle.active {
	background: #F5D547;
}

.sant-email-toggle.active::after {
	transform: translateX(16px);
}

/* -----------------------------------------------------------------------------
 * Design System Cards (from sant-chat-ai.php ~line 2535)
 * -------------------------------------------------------------------------- */

.sant-design-system-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.sant-design-system-card.selected {
	border-color: #F5D547;
	box-shadow: 0 0 0 2px #F5D547;
}

/* -----------------------------------------------------------------------------
 * Animation Preview (from sant-chat-ai.php ~line 2643)
 * -------------------------------------------------------------------------- */

.anim-preview-box {
	width: 40px;
	height: 50px;
	background: #F5D547;
	border-radius: 6px;
}

.anim-preview-box.preview-bounce {
	animation: preview-bounce 0.6s ease infinite;
}

.anim-preview-box.preview-elastic-scale {
	animation: preview-elastic-scale 0.8s ease infinite;
}

.anim-preview-box.preview-slide-up {
	animation: preview-slide-up 0.6s ease infinite;
}

.anim-preview-box.preview-pop-rotate {
	animation: preview-pop-rotate 0.7s ease infinite;
}

@keyframes preview-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes preview-elastic-scale {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.15); }
}

@keyframes preview-slide-up {
	0%, 100% { transform: translateY(0); opacity: 1; }
	50% { transform: translateY(-6px); opacity: 0.8; }
}

@keyframes preview-pop-rotate {
	0%, 100% { transform: scale(1) rotate(0); }
	50% { transform: scale(1.1) rotate(5deg); }
}

/* -----------------------------------------------------------------------------
 * Message Animation Preview (from sant-chat-ai.php ~line 2823)
 * -------------------------------------------------------------------------- */

.msg-anim-preview {
	width: 60px;
	height: 24px;
	background: #F5D547;
	border-radius: 12px;
}

.msg-anim-preview.preview-bubble-pop {
	animation: msg-bubble-pop 0.5s ease infinite;
}

.msg-anim-preview.preview-slide-fade {
	animation: msg-slide-fade 0.5s ease infinite;
}

.msg-anim-preview.preview-bounce-in {
	animation: msg-bounce-in 0.6s ease infinite;
}

.msg-anim-preview.preview-typewriter {
	animation: msg-typewriter 1s ease infinite;
}

@keyframes msg-bubble-pop {
	0% { transform: scale(0); opacity: 0; }
	50% { transform: scale(1.1); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes msg-slide-fade {
	0% { transform: translateY(10px); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

@keyframes msg-bounce-in {
	0% { transform: scale(0.8); opacity: 0; }
	60% { transform: scale(1.05); }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes msg-typewriter {
	0% { width: 0; }
	100% { width: 60px; }
}

/* -----------------------------------------------------------------------------
 * Theme Preview (from sant-chat-ai.php ~line 3070)
 * -------------------------------------------------------------------------- */

.sant-theme-preview {
	position: relative;
}

.sant-theme-preview:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.sant-theme-preview.selected {
	border-color: #F5D547;
	box-shadow: 0 0 0 2px #F5D547;
}

/* -----------------------------------------------------------------------------
 * Loader Animation (from sant-chat-ai.php ~line 3421)
 * -------------------------------------------------------------------------- */

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

.sant-loader {
	width: 48px;
	height: 48px;
	border: 3px solid #F5D547;
	border-bottom-color: transparent;
	border-radius: 50%;
	display: inline-block;
	animation: rotation 1s linear infinite;
}

/* -----------------------------------------------------------------------------
 * Teach Mode (from sant-chat-ai.php ~line 4728)
 * -------------------------------------------------------------------------- */

.sant-teach-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 20px;
	align-items: start;
}

@media (max-width: 1024px) {
	.sant-teach-columns {
		grid-template-columns: 1fr;
	}
}

.sant-teach-form-card,
.sant-teach-list-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	padding: 24px;
}

.sant-teach-form-card {
	position: sticky;
	top: 52px;
}

.sant-teach-form-card h3,
.sant-teach-list-card h3 {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 15px;
}

.sant-teach-textarea {
	width: 100%;
	min-height: 80px;
	padding: 10px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	margin-bottom: 12px;
}

.sant-teach-textarea:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.sant-teach-btn {
	background: #F5D547;
	color: #1d2327;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.sant-teach-btn:hover {
	background: #e6c73e;
}

.sant-teach-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.sant-correction-item {
	background: #f0f0f1;
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 10px;
}

.sant-correction-item:last-child {
	margin-bottom: 0;
}

.sant-correction-q {
	font-size: 13px;
	color: #50575e;
	margin-bottom: 6px;
}

.sant-correction-a {
	font-size: 14px;
	color: #1d2327;
	margin-bottom: 8px;
}

.sant-correction-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #787c82;
}

.sant-correction-delete {
	color: #b32d2e;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 12px;
	padding: 0;
}

.sant-correction-delete:hover {
	text-decoration: underline;
}

.sant-no-corrections {
	color: #787c82;
	font-style: italic;
	text-align: center;
	padding: 20px;
}

/* -----------------------------------------------------------------------------
 * Knowledge Base Dashboard (from sant-chat-ai.php ~line 5281)
 * -------------------------------------------------------------------------- */

.sant-kb-dashboard {
	max-width: 1200px;
	margin: 20px 20px 0 0;
}

.sant-kb-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 16px;
}

.sant-kb-header h2 {
	margin: 0;
	font-size: 23px;
	font-weight: 400;
}

.sant-kb-header-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.sant-kb-sync-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #F5D547;
	color: #1d2327;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.sant-kb-sync-btn:hover {
	background: #e6c73e;
}

.sant-kb-sync-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.sant-kb-sync-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

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

.sant-kb-stat-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	padding: 20px;
}

.sant-kb-stat-label {
	font-size: 13px;
	color: #646970;
	margin-bottom: 4px;
}

.sant-kb-stat-value {
	font-size: 28px;
	font-weight: 600;
	color: #1d2327;
}

.sant-kb-stat-value.text-green {
	color: #00a32a;
}

.sant-kb-stat-value.text-orange {
	color: #dba617;
}

.sant-kb-stat-value.text-red {
	color: #d63638;
}

/* -----------------------------------------------------------------------------
 * Setup Progress (from sant-chat-ai.php ~line 5741)
 * -------------------------------------------------------------------------- */

.sant-setup-progress {
	margin: 15px 0;
}

.sant-setup-progress-bar {
	background: #dcdcde;
	border-radius: 10px;
	height: 8px;
	overflow: hidden;
}

.sant-setup-progress-fill {
	background: linear-gradient(90deg, #F5D547, #FFE066);
	height: 100%;
	border-radius: 10px;
	transition: width 0.3s ease;
}

.sant-setup-progress-label {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 13px;
	color: #646970;
}

/* -----------------------------------------------------------------------------
 * Help Page (from sant-chat-ai.php ~line 5842)
 * -------------------------------------------------------------------------- */

.sant-help-wrap {
	max-width: 1400px;
}

.sant-help-header {
	background: linear-gradient(135deg, #1d2327 0%, #2c3338 100%);
	border-radius: 12px;
	padding: 40px;
	margin-bottom: 30px;
	color: #fff;
}

.sant-help-header h2 {
	margin: 0 0 12px 0;
	font-size: 28px;
	font-weight: 600;
}

.sant-help-header p {
	margin: 0;
	font-size: 16px;
	opacity: 0.9;
	max-width: 600px;
}

.sant-help-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.sant-help-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 12px;
	padding: 28px;
	transition: box-shadow 0.2s, transform 0.2s;
}

.sant-help-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.sant-help-card-icon {
	width: 48px;
	height: 48px;
	background: #f0f0f1;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.sant-help-card-icon .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #1d2327;
}

.sant-help-card h3 {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
}

.sant-help-card p {
	margin: 0 0 16px 0;
	font-size: 14px;
	color: #646970;
	line-height: 1.5;
}

.sant-help-card a {
	font-size: 14px;
	font-weight: 500;
	color: #2271b1;
	text-decoration: none;
}

.sant-help-card a:hover {
	text-decoration: underline;
}

/* -----------------------------------------------------------------------------
 * Troubleshooting Items (from sant-chat-ai.php ~line 8453)
 * -------------------------------------------------------------------------- */

.sant-troubleshooting-item h3:before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 16px;
	background: #F5D547;
	border-radius: 2px;
	margin-right: 10px;
	vertical-align: middle;
}

/* -----------------------------------------------------------------------------
 * Lead Status Badge (from sant-chat-ai.php ~line 8938)
 * -------------------------------------------------------------------------- */

.lead-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
}

.lead-status-badge.status-new {
	background: #e6f4ea;
	color: #1e7e34;
}

.lead-status-badge.status-contacted {
	background: #e3f2fd;
	color: #1565c0;
}

.lead-status-badge.status-qualified {
	background: #fff3e0;
	color: #ef6c00;
}

.lead-status-badge.status-converted {
	background: #f3e5f5;
	color: #7b1fa2;
}

.lead-status-badge.status-closed {
	background: #f5f5f5;
	color: #616161;
}

.lead-status-badge .status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

/* -----------------------------------------------------------------------------
 * Chat Accordion (from sant-chat-ai.php ~line 9315)
 * -------------------------------------------------------------------------- */

.chat-accordion-item {
	background: white;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	margin-bottom: 10px;
}

.chat-accordion-header {
	display: flex;
	align-items: center;
	padding: 12px 15px;
	cursor: pointer;
	user-select: none;
	gap: 12px;
}

.chat-accordion-header:hover {
	background: #f6f7f7;
}

.chat-accordion-toggle {
	color: #646970;
	transition: transform 0.2s;
}

.chat-accordion-toggle.open {
	transform: rotate(90deg);
}

.chat-accordion-info {
	flex: 1;
	min-width: 0;
}

.chat-accordion-title {
	font-weight: 500;
	color: #1d2327;
	margin-bottom: 2px;
}

.chat-accordion-meta {
	font-size: 12px;
	color: #646970;
}

.chat-accordion-content {
	display: none;
	border-top: 1px solid #c3c4c7;
	padding: 15px;
	background: #f6f7f7;
}

.chat-accordion-content.open {
	display: block;
}
