/**
 * Form Container - Frontend & Editor Styles
 */

.giraforms-form-container {
	max-width: 100%;
	margin: 2rem auto;
}

.giraforms-form-container.alignwide {
	max-width: var(--wp--style--global--wide-size, 1280px);
}

.giraforms-form-container.alignfull {
	max-width: 100%;
}

/* Honeypot field */
.giraforms-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Message container */
.giraforms-message {
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 4px;
	display: none;
}

.giraforms-message.visible {
	display: block;
}

.giraforms-message.success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.giraforms-message.error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}
