/**
 * GHL Form Grabber — Frontend Styles
 *
 * @package GHL_Form_Grabber
 */

.ghl-form-wrapper {
	position: relative;
	width: 100%;
	/* Do NOT set overflow:hidden here — that would clip the iframe.
	   overflow is only applied by the styling class when border-radius is set. */
}

.ghl-form-iframe {
	display: block;
	border: none;
	width: 100%;
	/* min-height prevents collapse before postMessage resize fires */
	min-height: 400px;
	/* Allow the iframe to grow taller than its initial size */
	overflow: hidden;
}

.ghl-form-logo {
	display: block;
}

.ghl-form-logo img {
	height: auto;
}

/* Error notices — only visible to logged-in editors */
.ghl-error {
	background: #fdf2f2;
	border-left: 4px solid #d63638;
	padding: 12px 16px;
	color: #8a1f1f;
	font-size: 14px;
	margin: 16px 0;
}

.ghl-error a {
	color: #2271b1;
}
