/* Digi Plug Contact — frontend form styles. */

.dpc-form-wrap {
	max-width: 640px;
}

.dpc-form .dpc-field {
	margin: 0 0 1.25rem;
}

.dpc-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.dpc-required {
	color: #d63638;
}

.dpc-form input[type="text"],
.dpc-form input[type="email"],
.dpc-form textarea {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font: inherit;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.dpc-form input:focus,
.dpc-form textarea:focus {
	outline: none;
	border-color: #1a73e8;
	box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.dpc-form .dpc-input-error {
	border-color: #d63638;
}

.dpc-field-error {
	display: block;
	min-height: 1.2em;
	margin-top: 0.25rem;
	color: #d63638;
	font-size: 0.875em;
}

.dpc-submit {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	border: none;
	border-radius: 6px;
	background: linear-gradient(135deg, #1a73e8, #1557b0);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.dpc-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
}

.dpc-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.dpc-notice {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	border: 1px solid transparent;
}

.dpc-notice--success {
	background: #edfaef;
	border-color: #00a32a;
	color: #1d2327;
}

.dpc-notice--error {
	background: #fcf0f1;
	border-color: #d63638;
	color: #1d2327;
}

.dpc-form-status:empty {
	display: none;
}

.dpc-recaptcha-v2 {
	margin-bottom: 1.25rem;
}

.dpc-recaptcha-note {
	font-size: 0.8em;
	color: #646970;
}

/* Honeypot: visually removed, still present for bots. */
.dpc-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
