/* HND FAQ Pro – Suggest a Question styles */

.hnd-faq-suggest-wrap {
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--hnd-faq-accent-bg, #e8f4ff);
	border: 1px solid var(--hnd-faq-border-color);
	border-radius: var(--hnd-faq-border-radius);
}

.hnd-faq-suggest__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.hnd-faq-suggest__desc {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	color: #555;
}

.hnd-faq-suggest__field {
	margin-bottom: 1rem;
}

.hnd-faq-suggest__field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 4px;
	color: #333;
}

.hnd-faq-suggest__optional {
	font-weight: 400;
	color: #888;
}

.hnd-faq-suggest__field textarea,
.hnd-faq-suggest__field input[type="text"],
.hnd-faq-suggest__field input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--hnd-faq-border-color);
	border-radius: calc( var(--hnd-faq-border-radius) * 0.6 );
	padding: 8px 12px;
	font-size: 0.9rem;
	font-family: inherit;
	color: inherit;
	background: #fff;
	transition: border-color 0.2s;
}

.hnd-faq-suggest__field textarea:focus,
.hnd-faq-suggest__field input:focus {
	outline: none;
	border-color: var(--hnd-faq-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--hnd-faq-accent) 15%, transparent);
}

.hnd-faq-suggest__field textarea { resize: vertical; min-height: 80px; }

.hnd-faq-suggest__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hnd-faq-suggest__submit {
	display: inline-flex !important;
	align-items: center;
	background: var(--hnd-faq-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: calc( var(--hnd-faq-border-radius) * 0.6 ) !important;
	padding: 9px 20px !important;
	font-size: 0.9rem !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: opacity 0.2s;
	line-height: 1.4 !important;
	text-decoration: none !important;
	visibility: visible !important;
	opacity: 1;
}

.hnd-faq-suggest__submit:hover   { opacity: 0.88 !important; }
.hnd-faq-suggest__submit:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }

.hnd-faq-suggest__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid var(--hnd-faq-border-color);
	border-top-color: var(--hnd-faq-accent);
	border-radius: 50%;
	animation: hnd-faq-spin 0.7s linear infinite;
}

@keyframes hnd-faq-spin { to { transform: rotate(360deg); } }

.hnd-faq-suggest__message {
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 0.875rem;
}

.hnd-faq-suggest__message--success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.hnd-faq-suggest__message--error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
