/* Questions lecteurs — styles frontend (discrets, adaptables au thème). */

.mqzd-form-wrap,
.mqzd-list,
.mqzd-empty {
	margin: 1rem 0;
}

.mqzd-form .mqzd-field {
	margin: 0 0 1rem;
}

.mqzd-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.mqzd-form textarea,
.mqzd-form select,
.mqzd-form input[type="email"],
.mqzd-form input[type="text"] {
	width: 100%;
	max-width: 40rem;
	padding: 0.5rem;
}

.mqzd-form .mqzd-required {
	color: #b00020;
}

.mqzd-form .mqzd-field--checkbox label {
	font-weight: 400;
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.mqzd-form .mqzd-field--checkbox input {
	width: auto;
	margin-top: 0.25rem;
}

.mqzd-submit {
	cursor: pointer;
	padding: 0.6rem 1.2rem;
}

/* Honeypot : masqué aux humains, présent pour les bots. */
.mqzd-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mqzd-errors {
	border-left: 4px solid #b00020;
	background: #fbeaea;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
}

.mqzd-errors ul {
	margin: 0;
	padding-left: 1.25rem;
}

.mqzd-ack {
	border-left: 4px solid #2e7d32;
	background: #eaf5ea;
	padding: 0.75rem 1rem;
}

.mqzd-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mqzd-item {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1rem;
	margin-bottom: 1rem;
}

.mqzd-item__head {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.85rem;
}

.mqzd-item__category {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}

.mqzd-item__status {
	font-weight: 600;
}

.mqzd-item__question {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.mqzd-item__desc {
	color: #444;
	margin: 0 0 0.75rem;
}

.mqzd-item__foot {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.mqzd-vote {
	cursor: pointer;
	padding: 0.4rem 1rem;
}

.mqzd-vote--closed {
	cursor: default;
}

.mqzd-answer {
	font-weight: 600;
}

.mqzd-empty {
	border: 1px dashed #ccc;
	border-radius: 6px;
	padding: 1.5rem;
	text-align: center;
	color: #555;
}
