/* DigestPress Forms — clean form styling to match the site. */

.dpf-form {
	max-width: 640px;
}

.dpf-field {
	margin: 0 0 16px;
}

.dpf-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #222;
}

.dpf-required {
	color: #d6336c;
}

.dpf-field input[type="text"],
.dpf-field input[type="email"],
.dpf-field input[type="url"],
.dpf-field select,
.dpf-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.5;
	background: #fff;
	box-sizing: border-box;
}

.dpf-field input:focus,
.dpf-field select:focus,
.dpf-field textarea:focus {
	border-color: #2e64a6;
	outline: none;
	box-shadow: 0 0 0 2px rgba(46, 100, 166, 0.15);
}

.dpf-field textarea {
	resize: vertical;
}

.dpf-hint {
	display: block;
	font-size: 13px;
	color: #666;
	margin-top: 4px;
}

/* Honeypot: off-screen, not display:none, so bots still "see" it. */
.dpf-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0;
	overflow: hidden;
	margin: 0;
}

.dpf-submit {
	background: #2e64a6;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 12px 28px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.dpf-submit:hover {
	background: #24507f;
}

.dpf-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.dpf-notice {
	display: none;
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 4px;
	border: 1px solid transparent;
	font-size: 15px;
}

.dpf-notice.dpf-notice-success {
	display: block;
	background: #e6f4ea;
	border-color: #34a853;
	color: #137333;
}

.dpf-notice.dpf-notice-error {
	display: block;
	background: #fce8e6;
	border-color: #d93025;
	color: #a50e0e;
}
