.lazycore-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.lazycore-form__field {
	display: grid;
	gap: 0.4rem;
	margin: 0;
}

.lazycore-form__field--wide,
.lazycore-form__actions,
.lazycore-form__notice {
	grid-column: 1 / -1;
}

.lazycore-form__field--honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lazycore-form label {
	font-weight: 750;
}

.lazycore-form input,
.lazycore-form select,
.lazycore-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--lazybase-color-line, #e5e0d8);
	border-radius: var(--lazybase-radius-sm, 6px);
	background: var(--lazybase-color-paper, #fff);
	color: var(--lazybase-color-ink, #111827);
}

.lazycore-form textarea {
	min-height: 150px;
	resize: vertical;
}

.lazycore-form__field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-weight: 500;
}

.lazycore-form__field--checkbox input {
	width: auto;
	min-height: auto;
	margin-top: 0.3rem;
}

.lazycore-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.85rem 1.2rem;
	border: 1px solid var(--lazybase-color-ink, #111827);
	border-radius: 999px;
	background: var(--lazybase-color-ink, #111827);
	color: var(--lazybase-color-paper, #fff);
	font-weight: 800;
	cursor: pointer;
}

.lazycore-form__notice {
	padding: 0.85rem 1rem;
	border-radius: var(--lazybase-radius-sm, 6px);
	background: #f2fbf4;
	border: 1px solid #b8dfc2;
}

.lazycore-form__notice--invalid,
.lazycore-form__notice--spam,
.lazycore-form__notice--nonce,
.lazycore-form__notice--mail_failed {
	background: #fff8e5;
	border-color: #f0d08a;
}

@media (max-width: 700px) {
	.lazycore-form {
		grid-template-columns: 1fr;
	}
}
