/* Perflook Leads — lead-capture modal. */

.pl-modal[hidden] { display: none; }

.pl-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: 'Poppins', Arial, sans-serif;
}

.pl-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 28, 44, 0.62);
	backdrop-filter: blur(2px);
}

.pl-modal__card {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	color: #0B1C2C;
	border-radius: 16px;
	padding: 30px 28px 26px;
	box-shadow: 0 24px 60px rgba(11, 28, 44, 0.35);
	animation: pl-pop 0.18s ease;
}

@keyframes pl-pop {
	from { transform: translateY(8px) scale(0.98); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.pl-modal__x {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #8FA3B3;
	cursor: pointer;
}
.pl-modal__x:hover { color: #0B1C2C; }

.pl-modal__card h2 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 6px;
}

.pl-sub {
	font-size: 14px;
	color: #5A6B7B;
	margin-bottom: 20px;
	line-height: 1.5;
}

.pl-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 14px;
	color: #0B1C2C;
}

.pl-form input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	border: 1px solid #D8E2DE;
	border-radius: 8px;
	background: #F3F7F5;
	color: #0B1C2C;
}
.pl-form input:focus {
	outline: none;
	border-color: #00C389;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 195, 137, 0.18);
}

.pl-error {
	color: #c0392b;
	font-size: 13px;
	margin: -4px 0 14px;
}
.pl-error[hidden] { display: none; }

.pl-submit {
	display: inline-block;
	width: 100%;
	border: 0;
	background: #00C389;
	color: #0B1C2C;
	font-family: 'Geist Mono', 'Courier New', monospace;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	padding: 15px;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease;
}
.pl-submit:hover { transform: translateY(-1px); }
.pl-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.pl-note {
	font-size: 12px;
	color: #8FA3B3;
	text-align: center;
	margin: 12px 0 4px;
}

.pl-back {
	display: block;
	margin: 4px auto 0;
	border: 0;
	background: none;
	color: #5A6B7B;
	font-size: 13px;
	cursor: pointer;
}
.pl-back:hover { color: #0B1C2C; }

.pl-tick {
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #d6f5e6;
	color: #0a7d4b;
	font-size: 30px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pl-step[data-pl-step="done"] { text-align: center; }
