/* Modal attachment preview: compact image + remove */
#aw_post_file_data .aw_post_attachment_preview {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin-top: 6px;
}
#aw_post_file_data .aw_post_attachment_preview img {
	max-height: 160px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	vertical-align: top;
}
#aw_post_file_data .aw_attach_clear {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 26px;
	min-height: 26px;
	padding: 0;
	line-height: 24px;
	font-size: 18px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
}
#aw_post_file_data .aw_attach_clear:hover {
	background: rgba(0, 0, 0, 0.75);
}

/* Admin_Wall — file input overlay (match stock #news_file / #wall_file in css/main.css) */
#aw_news_file {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	cursor: pointer;
	padding: 0 !important;
	font-size: 0;
	color: transparent;
}

/* Focus target when opening Admin Wall from notification */
.awall_box.aw_wall_post_highlight {
	outline: 2px solid var(--theme-color, #5b9bd5);
	outline-offset: 2px;
	transition: outline-color 0.3s ease;
}
