/**
 * Waitlytics — Frontend Styles
 *
 * Notification form styles for product pages.
 *
 * @package Waitlytics
 */

/* ─── Inline Notify Form ─────────────────────────────────────── */

.wtly-notify-form-wrapper {
	margin: 15px 0;
	padding: 15px;
	background: #f8f9fa;
	border: 1px solid #e2e4e7;
	border-radius: 4px;
}

.wtly-form-title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.wtly-subscriber-count {
	margin: 0 0 10px;
	font-size: 12px;
	color: #666;
	font-style: italic;
}

.wtly-form-fields {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wtly-email-input {
	flex: 1;
	min-width: 200px;
	padding: 8px 12px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
}

.wtly-email-input:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 1px #0073aa;
}

.wtly-notify-button {
	padding: 8px 20px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.4;
	transition: background-color 0.2s ease;
}

.wtly-notify-button:hover {
	background: #005a87;
}

.wtly-notify-button:focus {
	outline: 2px solid #005a87;
	outline-offset: 2px;
}

.wtly-notify-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ─── Form Messages ──────────────────────────────────────────── */

.wtly-form-message {
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
}

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

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

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 480px) {
	.wtly-form-fields {
		flex-direction: column;
	}

	.wtly-email-input {
		min-width: 100%;
	}
}
