/**
 * Form fields
 *
 * Base styles for form fields used by the search form, comment form and
 * contact forms.
 *
 * .c-form is reserved for the contact form plugin that will be added later.
 * Write the plugin's form styles under .c-form in this file.
 */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	color: var(--wp--preset--color--contrast);
	max-width: 100%;
	padding: 0.625em 0.75em;
}

textarea {
	min-height: 10em;
	width: 100%;
}

input[type="submit"],
button[type="submit"] {
	background-color: var(--wp--preset--color--primary);
	border: 0;
	border-radius: var(--wp--custom--radius--small);
	color: var(--wp--preset--color--base);
	cursor: pointer;
	font-weight: 700;
	padding: 0.625em 1.5em;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
	background-color: var(--wp--preset--color--secondary);
}

::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}

/* .c-form: reserved for the contact form plugin. */
