/* Contacticle — front-end contact form styles.
   Intentionally lightweight and theme-friendly: inherits fonts/colors where
   possible and only sets layout + state styling. */

.contacticle {
	max-width: 640px;
	margin: 0 auto;
}

.contacticle__title {
	margin: 0 0 1rem;
}

.contacticle__notice {
	padding: 0.85em 1em;
	border-radius: 4px;
	margin-bottom: 1.25rem;
	border: 1px solid transparent;
}

.contacticle__notice--success {
	background: #edf7ed;
	border-color: #b7e0b7;
	color: #1e4620;
}

.contacticle__notice--error {
	background: #fdecea;
	border-color: #f5c6c0;
	color: #611a15;
}

.contacticle__messages:empty {
	display: none;
}

.contacticle__field {
	display: flex;
	flex-direction: column;
	margin: 0 0 1.1rem;
}

.contacticle__field label {
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.contacticle__req {
	color: #c0392b;
}

.contacticle__field input[type="text"],
.contacticle__field input[type="email"],
.contacticle__field textarea {
	width: 100%;
	padding: 0.6em 0.7em;
	border: 1px solid #c4c4c4;
	border-radius: 4px;
	font: inherit;
	box-sizing: border-box;
	background: #fff;
	color: #222;
}

.contacticle__field input:focus,
.contacticle__field textarea:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.contacticle__field--error input,
.contacticle__field--error textarea {
	border-color: #c0392b;
}

.contacticle__error {
	margin-top: 0.3rem;
	color: #c0392b;
	font-size: 0.875em;
}

.contacticle__actions {
	margin: 0;
}

.contacticle__submit {
	display: inline-block;
	padding: 0.7em 1.6em;
	font: inherit;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease-in-out;
}

.contacticle__submit:hover {
	background: #185a8c;
}

.contacticle__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Honeypot: visually and physically removed from the layout but still in the
   DOM for bots to "see". Not display:none, since some bots skip those. */
.contacticle__hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
