/* MarTech Lead Popup - 5 prebuilt themes */

/* 1. Glassmorphism */
.mtlp-theme-glassmorphism .mtlp-popup {
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 8px 32px rgba(31, 38, 135, 0.25);
}
.mtlp-theme-glassmorphism .mtlp-submit {
	background: linear-gradient(135deg, var(--mtlp-btn, #6366f1), #8b5cf6);
}

/* 2. Healthcare */
.mtlp-theme-healthcare .mtlp-popup { background: #f0faf7; border-top: 5px solid #0ea5a5; }
.mtlp-theme-healthcare .mtlp-heading { color: #0f766e; }
.mtlp-theme-healthcare .mtlp-submit { background: #0ea5a5; }

/* 3. Corporate */
.mtlp-theme-corporate .mtlp-popup { background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15); }
.mtlp-theme-corporate .mtlp-heading { color: #1e293b; }
.mtlp-theme-corporate .mtlp-submit { background: var(--mtlp-btn, #1d4ed8); }

/* 4. Dark */
.mtlp-theme-dark .mtlp-popup { background: #111827; color: #f3f4f6; }
.mtlp-theme-dark .mtlp-heading { color: #ffffff; }
.mtlp-theme-dark .mtlp-subheading { color: #9ca3af; }
.mtlp-theme-dark .mtlp-field label { color: #e5e7eb; }
.mtlp-theme-dark .mtlp-field input,
.mtlp-theme-dark .mtlp-field textarea { background: #1f2937; border-color: #374151; color: #f3f4f6; }
.mtlp-theme-dark .mtlp-close { color: #f3f4f6; }
.mtlp-theme-dark .mtlp-popup { scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
.mtlp-theme-dark .mtlp-popup::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.3); }
.mtlp-theme-dark .mtlp-popup::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.45); }

/* 5. WhatsApp Style */
.mtlp-theme-whatsapp .mtlp-popup { background: #e9fbe9; border-top: 5px solid #25D366; }
.mtlp-theme-whatsapp .mtlp-heading { color: #075e54; }
.mtlp-theme-whatsapp .mtlp-submit { background: #25D366; }
.mtlp-theme-whatsapp .mtlp-submit:hover { background: #1ebe5b; }

/* 6. Modern (gradient header, icon fields, trust badges) */
.mtlp-theme-modern .mtlp-popup { padding: 0; overflow-x: hidden; }
.mtlp-theme-modern .mtlp-body { padding: 20px 24px 24px; text-align: left; }

.mtlp-theme-modern .mtlp-header {
	padding: 26px 24px 20px;
	background: linear-gradient(135deg, #0f3a5c, #1c7ea6);
	border-radius: var(--mtlp-radius, 12px) var(--mtlp-radius, 12px) 0 0;
	text-align: left;
}
.mtlp-theme-modern .mtlp-header .mtlp-logo {
	margin: 0 0 12px;
	max-height: 36px;
	background: #fff;
	padding: 6px 10px;
	border-radius: 8px;
}
.mtlp-theme-modern .mtlp-heading { color: #fff; margin-bottom: 4px; }
.mtlp-theme-modern .mtlp-subheading { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }
.mtlp-theme-modern .mtlp-close { color: #fff; opacity: 0.85; z-index: 1; }
.mtlp-theme-modern .mtlp-close:hover { opacity: 1; }

.mtlp-theme-modern .mtlp-required { color: #ef4444; margin-left: 2px; }

.mtlp-theme-modern .mtlp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.mtlp-theme-modern .mtlp-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #eafaf0;
	color: #16a34a;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.mtlp-theme-modern .mtlp-badge svg { width: 13px; height: 13px; flex-shrink: 0; }

.mtlp-theme-modern .mtlp-input-wrap { position: relative; }
.mtlp-theme-modern .mtlp-field-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: var(--mtlp-btn, #c2185b);
	opacity: 0.85;
	pointer-events: none;
}
.mtlp-theme-modern .mtlp-icon-top .mtlp-field-icon { top: 18px; transform: none; }
.mtlp-theme-modern .mtlp-field-icon svg { width: 100%; height: 100%; }
.mtlp-theme-modern .mtlp-input-wrap.mtlp-has-icon input,
.mtlp-theme-modern .mtlp-input-wrap.mtlp-has-icon textarea { padding-left: 38px; }

.mtlp-theme-modern .mtlp-field input,
.mtlp-theme-modern .mtlp-field textarea {
	background: #f4f5f7;
	border: 1px solid transparent;
	border-radius: 10px;
}
.mtlp-theme-modern .mtlp-field input:focus,
.mtlp-theme-modern .mtlp-field textarea:focus {
	background: #fff;
	border-color: var(--mtlp-btn, #c2185b);
	outline: none;
}

.mtlp-theme-modern .mtlp-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	background: var(--mtlp-btn, #c2185b);
	box-shadow: 0 8px 20px -6px var(--mtlp-btn, #c2185b);
}
.mtlp-theme-modern .mtlp-submit svg { width: 16px; height: 16px; flex-shrink: 0; }

.mtlp-theme-modern .mtlp-confidential {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 10px 0 0;
	font-size: 12px;
	color: #6b7280;
}
.mtlp-theme-modern .mtlp-confidential svg { width: 13px; height: 13px; flex-shrink: 0; }

@media (max-width: 480px) {
	.mtlp-theme-modern .mtlp-header { padding: 22px 20px 16px; }
	.mtlp-theme-modern .mtlp-body { padding: 16px 20px 20px; }
	.mtlp-theme-modern .mtlp-badges { gap: 6px; }
	.mtlp-theme-modern .mtlp-badge { font-size: 11px; padding: 4px 10px; }
}
