.wpnews-form-wrap {
	max-width: 720px;
	margin: 0 auto;
}

.wpnews-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.wpnews-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
}

.wpnews-field label {
	font-weight: 600;
	font-size: 0.95rem;
}

.wpnews-field input[type="text"],
.wpnews-field select,
.wpnews-field textarea {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid currentColor;
	border-color: color-mix(in srgb, currentColor 25%, transparent);
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.5;
}

.wpnews-field textarea {
	resize: vertical;
}

.wpnews-field input[type="text"]:focus,
.wpnews-field select:focus,
.wpnews-field textarea:focus {
	outline: 2px solid color-mix(in srgb, currentColor 45%, transparent);
	outline-offset: 1px;
}

.wpnews-req {
	color: #c0392b;
}

.wpnews-hint {
	font-weight: 400;
	font-size: 0.85rem;
	opacity: 0.65;
}

.wpnews-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0;
}

.wpnews-btn {
	padding: 0.7rem 1.6rem;
	border: 0;
	border-radius: 6px;
	background: #c0392b;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wpnews-btn:hover {
	background: #a93226;
}

/* Bẫy spam — ẩn khỏi người dùng thật, vẫn hiện với bot đọc HTML */
.wpnews-hp {
	position: absolute !important;
	left: -9999px;
	height: 1px;
	overflow: hidden;
}

.wpnews-notice {
	padding: 0.9rem 1.1rem;
	border-radius: 6px;
	border-left: 4px solid;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.wpnews-notice--success {
	border-color: #1e8449;
	background: color-mix(in srgb, #1e8449 12%, transparent);
}

.wpnews-notice--error {
	border-color: #c0392b;
	background: color-mix(in srgb, #c0392b 12%, transparent);
}

.wpnews-notice--info {
	border-color: #2471a3;
	background: color-mix(in srgb, #2471a3 12%, transparent);
}

/* Nút nổi "Đăng tin" */
.wpnews-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	padding: 0.75rem 1.3rem;
	border-radius: 999px;
	background: #c0392b;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.wpnews-fab:hover {
	background: #a93226;
}

@media (max-width: 600px) {
	.wpnews-fab {
		right: 12px;
		bottom: 12px;
		padding: 0.65rem 1.1rem;
		font-size: 0.9rem;
	}
}
