/**
 * Public CSS for PostPulse.
 * 
 * Contains styles for the frontend subscription form.
 * 
 * @since 1.0.0
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

.postpulse-subscription-form {
	max-width: 400px;
	margin: 20px 0;
	font-family: 'Outfit', sans-serif !important;
}

.postpulse-subscription-form form {
	display: flex;
	gap: 10px;
}

.postpulse-subscription-form input[type="email"] {
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	font-family: 'Outfit', sans-serif !important;
}

.postpulse-subscription-form button {
	padding: 10px 20px;
	background-color: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-family: 'Outfit', sans-serif !important;
	cursor: pointer;
	transition: background-color 0.3s;
}

.postpulse-subscription-form button:hover {
	background-color: #005177;
}

.postpulse-subscription-form button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

#postpulse-message {
	padding: 10px;
	border-radius: 4px;
	font-size: 14px;
}

#postpulse-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

#postpulse-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
