/* Mobile Lead Popup - overlay and modal */

.mlp-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mlp-overlay.mlp-visible {
	opacity: 1;
	visibility: visible;
}

.mlp-overlay.mlp-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.mlp-modal {
	position: relative;
	width: 90%;
	max-width: 420px;
	padding: 2rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	transform: scale(0.95);
	transition: transform 0.3s ease;
}

.mlp-overlay.mlp-visible .mlp-modal {
	transform: scale(1);
}

.mlp-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.mlp-description {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	color: #555;
	line-height: 1.5;
}

.mlp-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.mlp-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
}

.mlp-input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
	border: 2px solid #ddd;
	border-radius: 8px;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.mlp-input:focus {
	outline: none;
	border-color: #2271b1;
}

.mlp-input.mlp-input-error {
	border-color: #d63638;
}

.mlp-error {
	margin: 0;
	font-size: 0.8125rem;
	color: #d63638;
	min-height: 1.25em;
}

.mlp-submit {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.mlp-submit:hover {
	background: #135e96;
}

.mlp-submit:focus {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.mlp-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}
