/* ============================================
   Newsletter Form - Frontend Styles
   ============================================ */

.cy-newsletter-form {
	max-width: 480px;
	margin: 0 auto;
	padding: 30px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	text-align: center;
}

.cy-newsletter-form__title {
	font-size: 22px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 8px;
}

.cy-newsletter-form__desc {
	font-size: 15px;
	color: #6b7280;
	margin: 0 0 20px;
	line-height: 1.5;
}

.cy-newsletter-form__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cy-newsletter-form__input {
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #f9fafb;
	color: #1f2937;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.cy-newsletter-form__input:focus {
	outline: none;
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.cy-newsletter-form__input::placeholder {
	color: #9ca3af;
}

.cy-newsletter-form__button {
	width: 100%;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	background: #6366f1;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.1s;
}

.cy-newsletter-form__button:hover {
	background: #4f46e5;
}

.cy-newsletter-form__button:active {
	transform: scale(0.98);
}

.cy-newsletter-form__button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.cy-newsletter-form__message {
	margin-top: 12px;
	font-size: 14px;
	min-height: 20px;
}

.cy-newsletter-form__message--success {
	color: #059669;
}

.cy-newsletter-form__message--error {
	color: #dc2626;
}

@media (max-width: 480px) {
	.cy-newsletter-form {
		padding: 20px;
		margin: 0 10px;
	}
}
