/* Platecraft Addons – Contact Form. */

.pcf {
	--pcf-col-gap: 16px;
	--pcf-row-gap: 18px;
	--pcf-field-h: 48px;
	--pcf-ring: rgba(17, 24, 39, 0.12);
	--pcf-invalid: #b42318;
	--pcf-check: 18px;
	--pcf-choice-gap: 10px;
	--pcf-icon: 1em;
	--pcf-icon-gap: 8px;
	box-shadow: var(--pcf-form-shadow, none);
}
.pcf__fields {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--pcf-row-gap) var(--pcf-col-gap);
	align-items: start;
}
.pcf__field {
	grid-column: span var(--pcf-span, 12);
	min-width: 0;
}
.pcf .pcf__label {
	display: block;
	margin: 0 0 7px;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}
.pcf__req {
	margin-left: 3px;
	color: var(--pcf-invalid);
}
.elementor-widget:not(.pcf-labels-yes) .pcf__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Fields */
.pcf .pcf__input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: var(--pcf-field-h);
	margin: 0;
	padding: 11px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	outline: 0;
	background-color: #fff;
	box-shadow: none;
	color: #1d2939;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.45;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.pcf .pcf__input::placeholder {
	color: #98a2b3;
	opacity: 1;
}
.pcf .pcf__input:focus {
	border-color: #344054;
	box-shadow: 0 0 0 4px var(--pcf-ring);
}
.pcf textarea.pcf__input {
	min-height: 140px;
	resize: vertical;
}
.pcf select.pcf__input {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}
.pcf .pcf__input.is-invalid {
	border-color: var(--pcf-invalid);
}
.pcf .pcf__input.is-invalid:focus {
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--pcf-invalid) 18%, transparent);
}
.pcf__input--calc {
	background-color: rgba(124, 99, 238, 0.07);
	cursor: default;
}
.pcf__error {
	display: block;
	margin-top: 6px;
	color: var(--pcf-invalid);
	font-size: 0.85rem;
	line-height: 1.4;
}
.pcf__error:empty {
	display: none;
}

/* Choices and tick boxes */
.pcf__choices {
	display: flex;
	flex-direction: column;
	gap: var(--pcf-choice-gap);
}
.pcf__choices--inline {
	flex-flow: row wrap;
	gap: var(--pcf-choice-gap) calc(var(--pcf-choice-gap) * 2.2);
}
.pcf .pcf__choice {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}
.pcf .pcf__choice input {
	flex-shrink: 0;
	width: var(--pcf-check);
	height: var(--pcf-check);
	margin: calc((1.45em - var(--pcf-check)) / 2 + 1px) 0 0;
	accent-color: #1d2939;
	cursor: pointer;
}
.pcf__choice a {
	text-decoration: underline;
}
.pcf__choices.is-invalid .pcf__choice input {
	outline: 2px solid var(--pcf-invalid);
	outline-offset: 1px;
}
.pcf__html {
	font-size: 0.95rem;
	line-height: 1.6;
}
.pcf__html p {
	margin: 0 0 0.6em;
}
.pcf__html p:last-child {
	margin-bottom: 0;
}

/* Send button */
.pcf__submit {
	display: flex;
	grid-column: span var(--pcf-btn-span, 12);
	justify-content: flex-start;
}
/* The button is also a Creative Button (.pcb, creative-button.css loads
   first) for its animations, with these values; with Hover Background
   "None" it looks and behaves as before. */
.pcf .pcf__button {
	--pcb-speed: 0.25s;
	--pcb-ease: ease;
	--pcb-gap: var(--pcf-icon-gap);
	--pcb-icon: var(--pcf-icon);
	--pcb-fx: #344054;
	--pcb-glow: rgba(29, 41, 57, 0.45);
	--pcb-line-c: #98a2b3;
	--pcb-depth: #0b1220;
	/* A real "no shadow", not none: 3D press and glow add theirs in front of it. */
	--pcb-button-shadow: var(--pcf-btn-shadow, 0 0 0 transparent);
	--pcb-button-shadow-h: var(--pcf-btn-shadow-h, var(--pcf-btn-shadow, 0 0 0 transparent));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--pcf-btn-w, auto);
	min-height: var(--pcf-field-h);
	margin: 0;
	padding: 12px 28px;
	border: 1px solid #1d2939;
	border-radius: 6px;
	background-color: #1d2939;
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pcf .pcf__button:hover,
.pcf .pcf__button:focus {
	border-color: #344054;
	color: #fff;
}
/* "None": the hover color goes on the button itself (an animation brings it in on its layer). */
.pcf .pcb--bg-none:hover,
.pcf .pcb--bg-none:focus {
	background-color: #344054;
}
/* Without a Hover Text animation a long text may wrap. */
.pcf .pcb--text-none .pcb__text {
	white-space: normal;
}
.pcf .pcf__button:focus-visible {
	outline: 2px solid #1d2939;
	outline-offset: 3px;
}
.pcf__button-icon {
	display: inline-flex;
	font-size: var(--pcf-icon);
}
.pcf__button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.pcf.is-sending .pcf__button {
	opacity: 0.65;
	cursor: progress;
}
.pcf.is-sending .pcf__button-icon {
	animation: pcf-pulse 0.9s ease-in-out infinite alternate;
}
@keyframes pcf-pulse {
	to {
		opacity: 0.3;
	}
}

/* Status message */
.pcf__status {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 0.95rem;
	line-height: 1.5;
}
.pcf__status:empty {
	display: none;
}
.pcf__status.is-success {
	background-color: #ecfdf3;
	color: #05603a;
}
.pcf__status.is-error {
	background-color: #fef3f2;
	color: #b42318;
}
.pcf.is-sent.pcf--hide .pcf__fields {
	display: none;
}
.pcf.is-sent.pcf--hide .pcf__status {
	margin-top: 0;
}

/* Spam trap: out of sight, not display:none (some robots skip hidden fields). */
.pcf__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.pcf__field {
		grid-column: span var(--pcf-span, 12);
	}
}
