.form-wrapper :not(.row, .row2) > .field + .field {
	margin-top: 15px;
}

.form-wrapper .field > label {
	-display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--heading-color);
	margin-bottom: 12px;
	letter-spacing: 0.2px;
}

.form-wrapper .field .input div + div > label {
	margin-top: 2px;
}

.form-wrapper .form-group input:not([type="checkbox"]),
.form-wrapper .form-group select,
.form-wrapper .form-group textarea {
	width: 100%;
	border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
	border-radius: 8px;
	padding: 16px 20px;
	font-size: 15px;
	color: var(--default-color);
	background-color: var(--surface-color);
	transition: all 0.3s ease;
	font-family: inherit;
}

.form-wrapper .form-group input:focus:not([type="checkbox"]),
.form-wrapper .form-group select:focus,
.form-wrapper .form-group textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.form-wrapper .form-group input:not([type="checkbox"])::placeholder,
.form-wrapper .form-group select::placeholder,
.form-wrapper .form-group textarea::placeholder {
	color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.form-wrapper .form-group select {
	cursor: pointer;
}

.form-wrapper .form-group select option {
	padding: 10px;
}

.form-wrapper .form-group textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

/*
.form-wrapper .form-group .error-message {
	display: none;
	background: #df1529;
	color: #ffffff;
	text-align: left;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}
*/

form .field.has-errors .input input {
	border-color: #c00;
	box-shadow: inset 0 0 0 1px #c00;
}

form .field .errors {
	padding-top: .5rem;
	font-size: 90%;
	font-weight: bold;
	color: #c00;
}

form .field .errors ul {
	padding-left: 0;
}

form .field .errors li {
	list-style-type: none;
}

.field.form-check.widget-inline-right {
	padding-left: 0;
}

.field .form-check.form-switch {
	display: inline-flex;
	margin-left: .5ch;
	vertical-align: bottom;
}

.form-switch .form-check-input {
	width: 2em;
	height: 1.25em;
	transform: translate(0, 3px);
}

.field.fusioned:not(:first-child),
.field.fusioned:not(:first-child) {
	margin-left: calc(-.5 * var(--bs-gutter-x));
}

.field.fusioned:not(:first-child) input,
.field.fusioned:not(:first-child) select {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.field.fusioned:not(:last-child),
.field.fusioned:not(:last-child) {
	margin-right: calc(-.5 * var(--bs-gutter-x));
}

.field.fusioned:not(:last-child) input,
.field.fusioned:not(:last-child) select {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
