/**
 * Agrisakthi AI Core - Stylesheet
 *
 * Vernacular Voice Commerce, AJAX Card Previews, Dokan AI Copilot Modal.
 */

/* ─── Search Bar Mic Button ─────────────────────────────────────────── */
.agrisakthi-ai-search-wrap {
	position: relative;
	width: 100%;
}

.agrisakthi-ai-search-input-group {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.agrisakthi-ai-search-input {
	width: 100%;
	padding-right: 5rem !important;
}

.agrisakthi-voice-mic-btn {
	position: absolute;
	right: 2.8rem;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	cursor: pointer;
	color: #6b7280;
	padding: 0.3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: color 0.2s ease, transform 0.2s ease;
	z-index: 5;
}

.agrisakthi-voice-mic-btn:hover {
	color: #0d6efd;
	transform: translateY(-50%) scale(1.1);
}

.agrisakthi-voice-mic-btn.is-listening {
	color: #ef4444;
	animation: agrisakthiMicPulse 1.2s infinite ease-in-out;
}

@keyframes agrisakthiMicPulse {
	0% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
	70% { transform: translateY(-50%) scale(1.18); box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
	100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.agrisakthi-ai-search-submit {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	cursor: pointer;
	color: #374151;
	padding: 0.3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ─── Voice Status & Results Dropdown ───────────────────────────────── */
.agrisakthi-voice-status {
	position: absolute;
	top: 105%;
	left: 0;
	right: 0;
	background: #1e293b;
	color: #f8fafc;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	z-index: 1000;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.agrisakthi-voice-results {
	position: absolute;
	top: 105%;
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1rem;
	z-index: 1001;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
	max-height: 480px;
	overflow-y: auto;
}

.agrisakthi-voice-results-head {
	font-size: 0.85rem;
	color: #64748b;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #f1f5f9;
}

.agrisakthi-voice-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.agrisakthi-voice-card {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none !important;
	color: #1e293b;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.agrisakthi-voice-card:hover {
	background: #f8fafc;
	border-color: #0d6efd;
}

.agrisakthi-voice-card img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
}

.agrisakthi-voice-card-title {
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.25;
}

.agrisakthi-voice-card-price {
	font-size: 0.8rem;
	font-weight: 700;
	color: #0d6efd;
	margin-top: 0.2rem;
}

.agrisakthi-voice-all-btn {
	display: block;
	text-align: center;
	padding: 0.6rem;
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 700;
	font-size: 0.85rem;
	border-radius: 6px;
	text-decoration: none !important;
	transition: background 0.2s;
}

.agrisakthi-voice-all-btn:hover {
	background: #0d6efd;
	color: #ffffff;
}

/* ─── Dokan AI Copilot Modal ────────────────────────────────────────── */
.agrisakthi-copilot-trigger-wrap {
	margin: 1rem 0;
}

.agrisakthi-ai-copilot-btn {
	background: linear-gradient(135deg, #0d6efd, #059669) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700 !important;
	padding: 0.65rem 1.25rem !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 14px rgba(13, 110, 253, 0.25) !important;
	cursor: pointer;
}

.agrisakthi-copilot-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.agrisakthi-copilot-modal-content {
	background: #ffffff;
	width: min(100%, 540px);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	animation: agrisakthiModalSlideUp 0.25s ease-out;
}

@keyframes agrisakthiModalSlideUp {
	from { opacity: 0; transform: translateY(15px); }
	to { opacity: 1; transform: translateY(0); }
}

.agrisakthi-copilot-modal-header {
	padding: 1.25rem 1.5rem;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.agrisakthi-copilot-modal-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
}

.agrisakthi-copilot-modal-close {
	background: none;
	border: none;
	font-size: 1.6rem;
	cursor: pointer;
	color: #64748b;
	line-height: 1;
}

.agrisakthi-copilot-modal-body {
	padding: 1.5rem;
}

.agrisakthi-copilot-form-group {
	margin-bottom: 1rem;
}

.agrisakthi-copilot-form-group label {
	display: block;
	font-weight: 700;
	font-size: 0.88rem;
	margin-bottom: 0.35rem;
	color: #334155;
}

.agrisakthi-copilot-form-group input,
.agrisakthi-copilot-form-group select {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.95rem;
}

.agrisakthi-copilot-status {
	margin-top: 1rem;
	padding: 0.75rem;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.88rem;
}

.agrisakthi-copilot-modal-footer {
	padding: 1rem 1.5rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
}

.agrisakthi-ai-admin-wrap {
	margin-top: 1.5rem;
}

.agrisakthi-ai-db-card {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	max-width: 800px;
}

.agrisakthi-ai-db-card h3 {
	margin-top: 0;
	color: #166534;
}

/* ─── Frontend AI Chatbot Widget ────────────────────────────────────── */
.agrisakthi-chatbot-floating {
	position: fixed !important;
	bottom: 25px !important;
	right: 25px !important;
	z-index: 999999 !important;
}

@media (max-width: 767px) {
	.agrisakthi-chatbot-floating {
		position: fixed !important;
		bottom: 78px !important;
		right: 16px !important;
		z-index: 999999 !important;
	}
}

.agrisakthi-chatbot-toggle-btn {
	position: relative;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0d6efd, #059669);
	color: #ffffff;
	border: none;
	cursor: pointer;
	box-shadow: 0 10px 28px rgba(13, 110, 253, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.agrisakthi-chatbot-toggle-btn:hover {
	transform: scale(1.1);
}

.agrisakthi-chatbot-icon {
	font-size: 1.6rem;
}

.agrisakthi-chatbot-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	background: #ef4444;
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 900;
	padding: 0.15rem 0.4rem;
	border-radius: 999px;
	border: 2px solid #ffffff;
}

.agrisakthi-chatbot-window {
	width: min(90vw, 380px);
	height: 520px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.agrisakthi-chatbot-floating .agrisakthi-chatbot-window {
	position: absolute;
	bottom: 4.5rem;
	right: 0;
	animation: agrisakthiChatPop 0.25s ease-out;
}

@keyframes agrisakthiChatPop {
	from { opacity: 0; transform: scale(0.9) translateY(15px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.agrisakthi-chatbot-header {
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, #0f172a, #1e293b);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.agrisakthi-chatbot-header-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.agrisakthi-chatbot-avatar {
	font-size: 1.6rem;
}

.agrisakthi-chatbot-header-info strong {
	display: block;
	font-size: 0.95rem;
	line-height: 1.2;
}

.agrisakthi-chatbot-header-info small {
	font-size: 0.75rem;
	color: #94a3b8;
	display: block;
}

.agrisakthi-chatbot-header-actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.agrisakthi-chatbot-expand-btn,
.agrisakthi-chatbot-close-btn {
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #cbd5e1;
	font-size: 1.1rem;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

.agrisakthi-chatbot-expand-btn:hover,
.agrisakthi-chatbot-close-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
	transform: scale(1.1);
}

.agrisakthi-chatbot-window.is-expanded {
	height: calc(100vh - 60px) !important;
	max-height: calc(100vh - 60px) !important;
	width: min(94vw, 450px) !important;
	transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 576px) {
	.agrisakthi-chatbot-floating .agrisakthi-chatbot-window {
		width: 100vw !important;
		height: 100vh !important;
		max-height: 100vh !important;
		bottom: 0 !important;
		right: 0 !important;
		border-radius: 0 !important;
	}
}

.agrisakthi-chatbot-messages {
	flex: 1;
	padding: 1rem;
	overflow-y: auto;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.agrisakthi-chat-msg {
	display: flex;
	flex-direction: column;
	max-width: 86%;
}

.agrisakthi-chat-msg.msg-user {
	align-self: flex-end;
}

.agrisakthi-chat-msg.msg-ai {
	align-self: flex-start;
}

.agrisakthi-chat-msg .msg-bubble {
	padding: 0.75rem 1rem;
	border-radius: 12px;
	font-size: 0.88rem;
	line-height: 1.45;
}

.agrisakthi-chat-msg.msg-user .msg-bubble {
	background: #0d6efd;
	color: #ffffff;
	border-bottom-right-radius: 2px;
}

.agrisakthi-chat-msg.msg-ai .msg-bubble {
	background: #ffffff;
	color: #0f172a;
	border: 1px solid #e2e8f0;
	border-bottom-left-radius: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.agrisakthi-chat-products {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.6rem;
	width: 100%;
}

.agrisakthi-chat-card {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.65rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none !important;
	color: #0f172a;
	transition: border-color 0.2s, transform 0.2s;
}

.agrisakthi-chat-card:hover {
	border-color: #0d6efd;
	transform: translateX(3px);
}

.agrisakthi-chat-card img {
	width: 42px;
	height: 42px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.agrisakthi-chat-card-title {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
}

.agrisakthi-chat-card-price {
	font-size: 0.78rem;
	color: #0d6efd;
	font-weight: 700;
}

.agrisakthi-chatbot-input-wrap {
	padding: 0.75rem 1rem;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
}

.agrisakthi-chatbot-form {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.agrisakthi-chatbot-input {
	flex: 1;
	padding: 0.6rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 20px;
	font-size: 0.88rem;
}

.agrisakthi-chatbot-mic-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	padding: 0.3rem;
}

.agrisakthi-chatbot-send-btn {
	background: #0d6efd;
	color: #ffffff;
	border: none;
	padding: 0.5rem 0.85rem;
	border-radius: 18px;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.agrisakthi-chatbot-send-btn:hover {
	background: #0b5ed7;
	transform: scale(1.04);
}

/* ─── Typing Indicator (animated dots) ─────────────────────────────── */
.msg-typing .msg-bubble {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 0.65rem 1rem;
	min-height: 2rem;
}

.msg-typing .msg-bubble span {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #94a3b8;
	animation: agrisakthiTypingDot 1.2s infinite ease-in-out both;
}

.msg-typing .msg-bubble span:nth-child(1) { animation-delay: 0s; }
.msg-typing .msg-bubble span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing .msg-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes agrisakthiTypingDot {
	0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
	40% { transform: scale(1.1); opacity: 1; }
}

/* ─── Chat Section Label (Best Matches / Related Products) ──────────── */
.agrisakthi-chat-section {
	margin-top: 0.6rem;
	width: 100%;
}

.agrisakthi-chat-section-label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.3rem 0.55rem;
	border-radius: 6px;
	margin-bottom: 0.4rem;
}

.agrisakthi-label-exact {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.agrisakthi-label-related {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.agrisakthi-label-icon {
	font-size: 0.85rem;
}

.agrisakthi-label-count {
	margin-left: auto;
	background: rgba(0,0,0,0.1);
	border-radius: 999px;
	padding: 0.05rem 0.45rem;
	font-size: 0.7rem;
	font-weight: 900;
}

/* ─── Chat Product Cards (enhanced) ────────────────────────────────── */
.agrisakthi-chat-products {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	width: 100%;
}

.agrisakthi-chat-card {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.65rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none !important;
	color: #0f172a;
	transition: border-color 0.2s, transform 0.18s, box-shadow 0.2s;
	position: relative;
	overflow: hidden;
}

.agrisakthi-chat-card.card-exact {
	border-left: 3px solid #22c55e;
}

.agrisakthi-chat-card.card-related {
	border-left: 3px solid #60a5fa;
}

.agrisakthi-chat-card:hover {
	border-color: #0d6efd;
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
}

.agrisakthi-chat-card img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 7px;
	flex-shrink: 0;
}

.agrisakthi-chat-card-no-img {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f5f9;
	border-radius: 7px;
	font-size: 1.2rem;
	flex-shrink: 0;
}

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

/* ─── Product Card Badges ───────────────────────────────────────────── */
.agrisakthi-chat-card-badges {
	display: flex;
	gap: 0.3rem;
	flex-wrap: wrap;
	margin-bottom: 0.25rem;
}

.agrisakthi-badge-score,
.agrisakthi-badge-type {
	display: inline-block;
	font-size: 0.62rem;
	font-weight: 800;
	padding: 0.08rem 0.38rem;
	border-radius: 999px;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.agrisakthi-badge-high {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.agrisakthi-badge-low {
	background: #dbeafe;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.agrisakthi-badge-product {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.agrisakthi-badge-post {
	background: #f3e8ff;
	color: #7e22ce;
	border: 1px solid #e9d5ff;
}

.agrisakthi-badge-health {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
	font-size: 0.62rem;
	font-weight: 800;
	padding: 0.08rem 0.38rem;
	border-radius: 999px;
}

.agrisakthi-chat-card-recipe {
	font-size: 0.68rem;
	color: #b45309;
	background: #fef3c7;
	border-radius: 4px;
	padding: 0.1rem 0.35rem;
	margin-top: 0.15rem;
	font-weight: 700;
	display: inline-block;
}

.agrisakthi-chat-card-title {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.agrisakthi-chat-card-cats {
	font-size: 0.7rem;
	color: #64748b;
	margin-top: 0.1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.agrisakthi-chat-card-vendor {
	font-size: 0.68rem;
	color: #0f766e;
	margin-top: 0.1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
}

.agrisakthi-vendor-link {
	color: #0f766e;
	text-decoration: none;
}

.agrisakthi-vendor-link:hover {
	text-decoration: underline;
	color: #0d9488;
}


.agrisakthi-chat-card-price {
	font-size: 0.8rem;
	color: #0d6efd;
	font-weight: 800;
	margin-top: 0.15rem;
}

.agrisakthi-badge-sale {
	background: #fee2e2;
	color: #dc2626;
	border: 1px solid #fca5a5;
	font-size: 0.62rem;
	font-weight: 800;
	padding: 0.08rem 0.38rem;
	border-radius: 999px;
}

.agrisakthi-badge-cross-sell {
	background: #fef3c7;
	color: #b45309;
	border: 1px solid #fde68a;
	font-size: 0.62rem;
	font-weight: 800;
	padding: 0.08rem 0.38rem;
	border-radius: 999px;
}

.agrisakthi-label-complementary {
	color: #d97706;
}

/* ─── Quick Suggestion Chips ────────────────────────────────────────── */
.agrisakthi-chat-chips {
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	padding: 0.5rem 0.2rem 0.2rem 0.2rem;
	margin-top: 0.4rem;
	scrollbar-width: none;
}

.agrisakthi-chat-chips::-webkit-scrollbar {
	display: none;
}

.agrisakthi-chip-btn {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	padding: 0.3rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.agrisakthi-chip-btn:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* ─── Card Actions Row & Buttons ────────────────────────────────────── */
.agrisakthi-card-main-link {
	display: flex;
	gap: 0.6rem;
	text-decoration: none;
	color: inherit;

}

.agrisakthi-card-actions {
	display: flex;
	gap: 0.4rem;
	margin-top: 0.45rem;
	padding-top: 0.4rem;
	border-top: 1px dashed #e2e8f0;
}

.agrisakthi-btn-add-cart {
	flex: 1;
	background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 0.35rem 0.6rem;
	font-size: 0.72rem;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.agrisakthi-btn-add-cart:hover {
	background: linear-gradient(135deg, #15803d 0%, #166534 100%);
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

.agrisakthi-btn-add-cart.is-added {
	background: #0284c7 !important;
}

.agrisakthi-btn-view {
	background: #f8fafc;
	color: #475569;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 0.35rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.agrisakthi-btn-view:hover {
	background: #e2e8f0;
	color: #0f172a;
}

/* ─── No Results State ──────────────────────────────────────────────── */
.agrisakthi-chat-no-results {
	margin-top: 0.5rem;
	padding: 0.6rem 0.8rem;
	background: #fef9c3;
	border: 1px solid #fde68a;
	border-radius: 8px;
	font-size: 0.82rem;
	color: #713f12;
	font-weight: 600;
}

/* ─── Lead Capture Contact Drawer ───────────────────────────────────── */
.agrisakthi-chatbot-contact-btn {
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #ffffff;
	font-size: 1rem;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.agrisakthi-chatbot-contact-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.agrisakthi-chatbot-contact-drawer {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	padding: 0.85rem 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	animation: agrisakthiDrawerSlide 0.2s ease-out;
}

@keyframes agrisakthiDrawerSlide {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.agrisakthi-contact-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
	color: #0f172a;
}

.agrisakthi-contact-drawer-close {
	background: none;
	border: none;
	font-size: 1.2rem;
	color: #64748b;
	cursor: pointer;
}

.agrisakthi-contact-notice {
	font-size: 0.72rem;
	color: #64748b;
	margin-bottom: 0.6rem;
	line-height: 1.3;
}

.agrisakthi-field-group {
	margin-bottom: 0.5rem;
}

.agrisakthi-field-group label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	color: #334155;
	margin-bottom: 0.15rem;
}

.agrisakthi-field-group input {
	width: 100%;
	padding: 0.4rem 0.65rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.8rem;
	background: #f8fafc;
	box-sizing: border-box;
}

.agrisakthi-field-group input:focus {
	outline: none;
	border-color: #2563eb;
	background: #ffffff;
}

.agrisakthi-contact-save-btn {
	width: 100%;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 0.45rem;
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
	margin-top: 0.4rem;
	transition: all 0.2s ease;
}

.agrisakthi-contact-save-btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}
