/**
 * Lerox Studios Secure Login — login form layout.
 *
 * The page that holds the form styles how it looks (colours, inputs, button).
 * This file only sets the spacing of the form and the lost password link.
 * ID selectors on purpose: page builders style the form with long class chains
 * (Elementor on /registro/ even sets display: contents), and this spacing must win.
 *
 * @package LeroxStudiosSecureLogin
 */

#lerox-sl-form-wrap,
#lerox-sl-form {
	display: block;
}

#lerox-sl-alert {
	margin: 0 0 12px;
}

#lerox-sl-form .lerox-sl-field {
	margin: 0 0 12px;
}

#lerox-sl-form #lerox-sl-field-password {
	margin-bottom: 0;
}

/* Lost password link: right under the password field. */
#lerox-sl-form .lerox-sl-forgot {
	margin: 16px 0 0;
	padding: 0;
	text-align: left;
	font-size: 14px;
	line-height: 1.4;
}

#lerox-sl-form .lerox-sl-forgot-link {
	font-family: var(--e-global-typography-text-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto), sans-serif;
	font-weight: 400;
	color: var(--e-global-color-0731c04, #1a202c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

#lerox-sl-form .lerox-sl-forgot-link:hover,
#lerox-sl-form .lerox-sl-forgot-link:focus-visible {
	color: var(--e-global-color-primary, #6b7280);
}

#lerox-sl-form .lerox-sl-turnstile {
	margin: 22px 0 0;
}

#lerox-sl-form .lerox-sl-submit-row {
	margin: 28px 0 0;
}

/* Cloudflare draws Turnstile at least 300 px wide: shrink it on the narrowest phones (keeps the 28 px to the button). */
@media (max-width: 359px) {
	#lerox-sl-form .lerox-sl-turnstile {
		transform: scale(.87);
		transform-origin: 0 0;
		margin-bottom: -8px;
	}
}
