/**
 * Merchify Personalisation Fields – Front-end styles.
 *
 * Minimal styles that work with any WooCommerce-compatible theme.
 * Override freely in your child theme.
 *
 * @package MerchifyPersonalisation
 */

/* Wrapper ------------------------------------------------------------------ */

.mchfy-pers-wrapper {
	margin: 1.25em 0;
	padding: 0.5em 0.6em;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background-color: rgba(250, 250, 250, 0.7);
}

/* Label -------------------------------------------------------------------- */

.mchfy-pers-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4em;
	font-family: 'Quicksand', sans-serif;
}

.mchfy-pers-label abbr {
	color: #c00;
	text-decoration: none;
	margin-left: 2px;
	border-bottom: none;
}

/* Inputs ------------------------------------------------------------------- */

.mchfy-pers-input,
.mchfy-pers-textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.mchfy-pers-textarea {
	resize: vertical;
	min-height: 6em;
}

/* Character counter -------------------------------------------------------- */

.mchfy-pers-counter {
	margin: 0.3em 0 0;
	font-size: 0.82em;
	color: #888;
	text-align: right;
}

/* Error message ------------------------------------------------------------ */

.mchfy-pers-error {
	margin-top: 0.5em;
	padding: 0.4em 0.6em;
	color: #c00;
	font-size: 0.9em;
	border-left: 3px solid #c00;
	background: #fff5f5;
}
