/*
 * The lead form card on phones (the registration page's 390px frame), shared by the registration
 * page and the watch page's call-request form. Loaded with media="(max-width: 1023px)" after
 * form.css and base-mobile.css; each page's own -mobile.css sets where the card sits.
 */

/* Form card: 342px, 24px inside, the same stretched dash pattern (formbox.js reads --sqp-box-w),
   whole periods rounded down here (2 across the 342px width, as in the registration frame). */
.sqp .sqp-formbox {
	--sqp-box-w: 342;
	--sqp-dash-round: 0;
	--sqp-dash-x: 171px;
	--sqp-dash-y: 159.5px;
	width: 342px;
	padding: 24px;
	scroll-margin-top: 24px;
}
.sqp .sqp-form__title {
	width: 294px;
	margin: 0;
	font-size: 24px;
	line-height: 31px;
	text-align: right;
}
.sqp .sqp-form__fields {
	width: 294px;
	margin: 24px 0 0;
}
.sqp .sqp-input {
	width: 294px;
	height: 35px;
	padding: 0 15px; /* + the 1px border = Figma's 16px (its stroke sits inside the box) */
	border-color: #ffe5a9;
	color: #343434;
	font-size: 16px;
	line-height: 21px;
}
.sqp .sqp-input + .sqp-sr + .sqp-input {
	margin-top: 16px;
}
.sqp .sqp-input::placeholder {
	color: #343434;
}
.sqp .sqp-consent {
	align-items: center;
	gap: 12px;
	width: 294px;
	margin: 24px 0 0;
}
.sqp .sqp-consent__text {
	width: 252px;
	font-size: 14px;
	line-height: 20px;
}
.sqp .sqp-form__submit {
	width: 294px;
	height: 42px;
	margin: 24px 0 0;
	font-size: 20px;
	line-height: 26px;
}
.sqp .sqp-form__submit > span {
	top: 8px;
	left: 0;
	right: 0;
}
/* Errors show under the button instead of in the (desktop-only) space below it. */
.sqp .sqp-form__msg {
	position: static;
	margin-top: 12px;
	font-size: 14px;
	line-height: 20px;
}
.sqp .sqp-form__msg:empty {
	display: none;
}
.sqp .sqp-form.is-done .sqp-form__msg {
	margin-top: 24px;
	font-size: 20px;
	line-height: 28px;
}
