/* ==========================================================================
   Clarke Newsletter Form Widget
   ========================================================================== */

.cnf-newsletter {
	display: block;
}

.clarke-prefooter__newsletter-label {
	display: inline-block;
	font-size: 17px;
	font-weight: 500;
	color: #6b7280;
}

.clarke-prefooter__newsletter-title {
	font-size: 18px;
	line-height: 1.12;
	margin: 12px 0 14px;
	color: #4e5159;
}

.clarke-prefooter__newsletter-desc {
	margin: 0 0 15px;
	font-size: 13px;
	line-height: 1.6;
	color: #6b7280;
}

.clarke-prefooter__form {
	display: grid;
	gap: 14px;
}

.clarke-prefooter__form-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.clarke-prefooter__input {
	width: 100%;
	height: 40px;
	padding: 0 14px;
	font-family: inherit;
	font-size: 14px;
	color: #4e5159;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.clarke-prefooter__input::placeholder {
	color: #9ca3af;
}

.clarke-prefooter__input:focus {
	border-color: #00bf6f;
	box-shadow: 0 0 0 3px rgba(0, 191, 111, 0.12);
}

.clarke-prefooter__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 11px;
	color: #6b7280;
	line-height: 1.45;
	cursor: pointer;
}

.clarke-prefooter__consent input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: #00bf6f;
}

.clarke-prefooter__consent a {
	color: #4e5159;
	text-decoration: underline;
	font-weight: 600;
	font-size: 11px;
}

.clarke-prefooter__consent a:hover {
	color: #00bf6f;
}

.clarke-prefooter__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: #ffffff;
	background: #00bf6f;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.clarke-prefooter__submit:hover {
	background: #00a35e;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 191, 111, 0.3);
}

.clarke-prefooter__submit:active {
	transform: translateY(0);
}

.clarke-prefooter__safe {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #9ca3af;
	margin: 15px 0 0;
}

.clarke-prefooter__safe svg {
	flex-shrink: 0;
	color: #9ca3af;
}

.cnf-newsletter__status {
	font-size: 12px;
	line-height: 1.4;
	min-height: 0;
}

.cnf-newsletter__status:empty {
	display: none;
}

.cnf-newsletter__success {
	text-align: center;
	padding: 20px 0;
}

.cnf-newsletter__success-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	margin: 10px 0 6px;
	color: #4e5159;
}

.cnf-newsletter__success-desc {
	font-size: 14px;
	line-height: 1.55;
	color: #6b7280;
	margin: 0;
}

@media screen and (max-width: 768px) {
	.clarke-prefooter__newsletter-title {
		font-size: 34px;
	}

	.clarke-prefooter__form-fields {
		grid-template-columns: 1fr;
	}
}
