/*
 * Style-neutral fallback for forum functions provided by lammeronline/itportal.
 * Keep this intentionally small: themes own their visual identity, while these
 * rules ensure every compatible phpBB 3.3 style exposes usable controls.
 */
.itportal-topic-author,
.itportal-topic-solved,
.itportal-best-answer,
.itportal-topic-solved-notice,
.itportal-pinned-post-notice {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .18em .5em;
	border: 1px solid rgba(35, 117, 154, .42);
	border-radius: 3px;
	background: rgba(35, 117, 154, .08);
	color: inherit;
	font-size: .9em;
	font-weight: 700;
	line-height: 1.25;
}

.itportal-topic-author { margin-left: .45em; }
.postbody .author .itportal-topic-author { margin: 0 .45em 0 0; vertical-align: baseline; }
.itportal-topic-solved { margin-left: .45em; }
.itportal-best-answer,
.itportal-topic-solved-notice,
.itportal-pinned-post-notice { margin: 0 0 .7em; }

.itportal-last-post-avatar {
	display: inline-flex;
	width: 22px;
	height: 22px;
	margin-right: .35em;
	vertical-align: middle;
	border-radius: 50%;
	overflow: hidden;
}
.itportal-last-post-avatar img { width: 100%; height: 100%; object-fit: cover; }
.itportal-last-post-topic-icon { display: inline-block; margin-right: .3em; vertical-align: text-bottom; }
.itportal-last-post-topic-icon img { display: block; max-width: 18px; max-height: 18px; }
.itportal-team-avatar { display: inline-flex; width: 30px; height: 30px; margin-right: .45em; vertical-align: middle; border-radius: 50%; overflow: hidden; }
.itportal-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.itportal-contact-captcha { margin: 1em 0; }

.post.has-profile .postprofile { position: relative; }

.post-buttons .itportal-best-answer-action form { display: inline; margin: 0; }
.post-buttons .itportal-post-number .button { min-width: 2.25em; font-weight: 700; text-decoration: none; }

.profile-age { margin-top: .35em; }
.itportal-scroll-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 1000;
	display: none;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(35, 117, 154, .62);
	border-radius: 50%;
	background: #fff;
	color: #236f9a;
	cursor: pointer;
	box-shadow: 0 2px 9px rgba(0, 0, 0, .2);
}
.itportal-scroll-top.is-visible { display: block; }

@media (max-width: 700px) {
	.itportal-scroll-top { right: 12px; bottom: 12px; }
}
