/**
 * Shared page form styles — contact, feedback, and future page forms.
 */

.ll-page-form {
	max-width: none;
	margin: 0;
}

.ll-page-form .ll-form__field {
	margin: 0 0 1.15rem;
}

.ll-page-form .ll-form__field > label:not(.ll-form__checkbox-label) {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ll-navy);
}

.ll-page-form .ll-form__required {
	color: var(--ll-error);
}

.ll-page-form input:not([type="checkbox"]):not([type="hidden"]),
.ll-page-form textarea,
.ll-page-form select {
	width: 100%;
	margin-bottom: 0;
	padding: 0.7rem 0.9rem;
	border: 1px solid #d5deea;
	border-radius: var(--ll-radius);
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.4;
	color: var(--ll-navy);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ll-page-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.ll-page-form textarea:focus,
.ll-page-form select:focus {
	outline: none;
	border-color: var(--ll-primary);
	box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.ll-page-form textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.ll-page-form .ll-form__field--checkbox {
	margin-bottom: 1.15rem;
}

.ll-page-form .ll-form__checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 0;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	color: #5b6b7c;
	cursor: pointer;
}

.ll-page-form .ll-form__checkbox-label input[type="checkbox"] {
	width: auto;
	margin: 0.2rem 0 0;
	padding: 0;
	flex-shrink: 0;
}

.ll-page-form__submit {
	width: 100%;
	justify-content: center;
	margin-top: 0.25rem;
}

.ll-page-form .ll-form__notice {
	margin-bottom: 1.15rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.ll-page-form .ll-form__notice--success {
	border: 1px solid #c8e6c9;
}

.ll-page-form .ll-form__notice--error {
	border: 1px solid #f5c2c3;
}

@media (min-width: 640px) {
	.ll-page-form__submit {
		width: auto;
		min-width: 12rem;
	}
}
