/**
 * Briskcovey Form Manager - front-end styles.
 *
 * Deliberately minimal. The plugin does not own your form design, so nothing
 * here targets your markup: only the .bcfm-response feedback element the
 * plugin's own script writes into is styled, and only when the theme has not
 * already styled it.
 *
 * @package Briskcovey_Form_Manager
 * @since   1.0.0
 */

.bcfm-response {
	display: block;
	margin: 0.75em 0 0;
	font-size: 0.875em;
	line-height: 1.5;
}

.bcfm-response[hidden] {
	display: none;
}

.bcfm-response--success {
	color: #15803d;
}

.bcfm-response--error {
	color: #b91c1c;
}

/*
 * Themes commonly hide the feedback element with a utility class. Once the
 * plugin has written a message the element must be visible again, so the
 * utility class is overridden only for elements the plugin controls.
 */
.bcfm-response.hidden {
	display: block;
}

form[data-bc-form] [type="submit"][aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}
