/* =============================================================================
   Wombal Forum — Frontend Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS custom properties (easily overridable by themes)
   -------------------------------------------------------------------------- */
:root {
	--wf-bg:            #ffffff;
	--wf-bg-alt:        #f6f7f8;
	--wf-border:        #dde1e7;
	--wf-primary:       #2563eb;
	--wf-primary-hover: #1d4ed8;
	--wf-danger:        #dc2626;
	--wf-danger-hover:  #b91c1c;
	--wf-text:          #1a1a2e;
	--wf-text-muted:    #6b7280;
	--wf-sticky-bg:     #fffbeb;
	--wf-locked-bg:     #fef2f2;
	--wf-radius:        6px;
	--wf-shadow:        0 1px 3px rgba(0,0,0,.08);
	--wf-font:          inherit;
}

/* Dark theme (follows FluentCommunity's html.dark class) */
html.dark .wf-forum {
	--wf-bg:          #2B2E33;
	--wf-bg-alt:      #2B2E33;
	--wf-border:      #42464D;
	--wf-text:        #e2e8f0;
	--wf-text-muted:  #94a3b8;
	--wf-sticky-bg:   #1c1a0a;
	--wf-locked-bg:   #1c0a0a;
}

/* --------------------------------------------------------------------------
   Recent Activity Widget — uses FC notification classes throughout
   -------------------------------------------------------------------------- */

.notifications_wrap {
	display: block;
	position: relative;
	background: var(--wf-bg, #fff);
	max-width: 360px;
	width: 100%;
	font-family: var(--wf-font, Arial, sans-serif);
	margin: 0 auto;
}

.norification_pop_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.norification_pop_header h3 {
	font-size: 16px;
	margin: 0;
	padding: 0;
	color: var(--wf-text, #19283a);
}

.notification_item {
	cursor: pointer;
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	padding: 10px;
	margin: 0 -10px;
	word-break: normal;
	opacity: .9;
	text-decoration: none !important;
	color: var(--wf-text, #19283a) !important;
}

.notification_item:hover {
	opacity: 1;
	background: var(--wf-bg-alt, #f0f2f5) !important;
	border-radius: 5px;
	color: var(--wf-text, #19283a) !important;
}

.notification_avatar {
	position: relative;
	width: 44px !important;
	height: 44px !important;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--wf-bg-alt, #f0f2f5);
	margin: 0 !important;
	padding: 0 !important;
}

.notification_item img {
	width: 44px !important;
	height: 44px !important;
	aspect-ratio: 1 / 1;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
}

.notification_content {
	flex: 1;
	min-width: 0;
	font-size: 90%;
}

.notification_time_stamp {
	display: block;
	font-size: 90%;
	color: var(--wf-primary, #2078f4);
	margin-top: 2px;
}

.fcom_view_all_notifications {
	margin-top: 10px;
	text-align: center;
}

.fcom_view_all_notifications .fcom_secondary_button {
	display: inline-block;
	padding: 6px 18px;
	border: 1px solid var(--wf-border, #dde1e7);
	border-radius: 4px;
	font-size: 90%;
	color: var(--wf-text, #19283a);
	text-decoration: none;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	transition: background .15s;
}

.fcom_view_all_notifications .fcom_secondary_button:hover {
	background: var(--wf-bg-alt, #f0f2f5);
	text-decoration: none;
}
#fca-widget-widget_1775278625_2522 > div > div > div:nth-child(1) > p {
    display: none !important;
}

.wf-rac-name,
.wf-rac-post {
	font-weight: bold;
}

.wf-rac-action {
	color: var(--wf-text-muted, #65676b);
}

/* Dark mode */
html.dark .notifications_wrap {
	--wf-bg:         #24272C;
	--wf-bg-alt:     #2f3237;
	--wf-text:       #e2e8f0;
	--wf-text-muted: #94a3b8;
	--wf-primary:    #6b8afd;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.wf-forum {
	font-family: var(--wf-font);
	color: var(--wf-text);
	line-height: 1.6;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 0 2rem;
}

.wf-forum *,
.wf-forum *::before,
.wf-forum *::after {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Navigation tabs
   -------------------------------------------------------------------------- */
.wf-nav {
	background: var(--wf-bg-alt);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	margin-bottom: 1.25rem;
	padding: 0 .5rem;
	overflow-x: auto;
}

.wf-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.wf-nav-list > li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wf-nav-list > li::before,
.wf-nav-list > li::after {
	content: none;
	display: none;
}

.wf-nav-link {
	display: block;
	padding: .7rem 1.1rem;
	font-size: .875rem;
	font-weight: 500;
	color: var(--wf-text-muted) !important;
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color .15s, border-color .15s;
}

.wf-nav-link:hover {
	color: var(--wf-primary) !important;
}

.wf-nav-link.wf-nav-active {
	color: var(--wf-primary) !important;
	border-bottom-color: var(--wf-primary);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Page header (Members, Recent Posts titles)
   -------------------------------------------------------------------------- */
.wf-page-header {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.wf-page-title {
	margin: 0;
	font-size: 1.2rem;
}

.wf-page-count {
	font-size: .82rem;
	color: var(--wf-text-muted);
}

/* --------------------------------------------------------------------------
   Members grid
   -------------------------------------------------------------------------- */
.wf-members-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 160px, 1fr ) );
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.wf-member-card {
	background: var(--wf-bg);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	padding: 1rem .75rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .3rem;
}

.wf-member-avatar-wrap {
	position: relative;
	margin-bottom: .2rem;
}

.wf-member-avatar-wrap img {
	display: block;
	border-radius: 50%;
}

.wf-member-card-name {
	font-weight: 700;
	font-size: .88rem;
	color: var(--wf-primary);
	text-decoration: none;
	word-break: break-word;
}

.wf-member-card-name:hover {
	text-decoration: underline;
}

.wf-member-card-meta {
	font-size: .73rem;
	color: var(--wf-text-muted);
}

/* --------------------------------------------------------------------------
   Recent posts table
   -------------------------------------------------------------------------- */
.wf-recent-posts-wrap {
	margin-bottom: 1.25rem;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
}

.wf-recent-posts-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .875rem;
}

.wf-recent-posts-table th,
.wf-recent-posts-table td {
	padding: .5rem .75rem;
	border-bottom: 1px solid var(--wf-border);
	text-align: left;
}

.wf-recent-posts-table tbody tr:last-child td {
	border-bottom: none;
}

.wf-recent-posts-table th {
	background: var(--wf-bg-alt);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--wf-text-muted);
}

.wf-recent-posts-table a {
	color: var(--wf-primary);
	text-decoration: none;
}

.wf-recent-posts-table a:hover {
	text-decoration: underline;
}

@media ( max-width: 640px ) {
	.wf-recent-posts-table th:nth-child(2),
	.wf-recent-posts-table td:nth-child(2) {
		display: none;
	}

	.wf-members-grid {
		grid-template-columns: repeat( auto-fill, minmax( 130px, 1fr ) );
	}
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.wf-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: .6rem 0 1.2rem;
	font-size: .85rem;
	color: var(--wf-text-muted);
}

.wf-breadcrumb-item {
	color: var(--wf-primary);
	text-decoration: none;
}

.wf-breadcrumb-item:hover {
	text-decoration: underline;
}

.wf-breadcrumb-current {
	color: var(--wf-text-muted);
	pointer-events: none;
}

.wf-breadcrumb-sep {
	color: var(--wf-border);
}

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */
.wf-notice {
	background: var(--wf-bg-alt);
	border-left: 4px solid var(--wf-primary);
	padding: .75rem 1rem;
	border-radius: var(--wf-radius);
	margin: 1rem 0;
	font-size: .9rem;
}

.wf-notice.wf-error,
.wf-notice wf-error {
	border-color: var(--wf-danger);
	background: #fef2f2;
}

.wf-notice-warning {
	border-color: #d97706;
	background: #fffbeb;
}

/* --------------------------------------------------------------------------
   Categories (index page)
   -------------------------------------------------------------------------- */
.wf-category {
	margin-bottom: 2rem;
}

.wf-category-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--wf-text-muted);
	border-bottom: 2px solid var(--wf-border);
	padding-bottom: .4rem;
	margin: 0 0 0;
}

.wf-category-desc {
	font-size: .85rem;
	color: var(--wf-text-muted);
	margin: .3rem 0 .6rem;
}

/* --------------------------------------------------------------------------
   Boards table (shared by index and board view)
   -------------------------------------------------------------------------- */
.wf-boards-table {
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
}

.wf-boards-header {
	display: flex;
	background: var(--wf-bg-alt);
	padding: .5rem 1rem;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--wf-text-muted);
	border-bottom: 1px solid var(--wf-border);
}

.wf-board-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .85rem 1rem;
	border-bottom: 1px solid var(--wf-border);
	background: var(--wf-bg);
	transition: background .15s;
}

.wf-board-row:last-child {
	border-bottom: none;
}

.wf-board-row:hover {
	background: var(--wf-bg-alt);
}

.wf-col-board {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	flex: 1;
}

.wf-board-icon {
	font-size: 1.4rem;
	line-height: 1;
	flex-shrink: 0;
}

.wf-board-icon img {
	width: 2rem;
	height: 2rem;
	object-fit: cover;
	border-radius: var(--wf-radius);
	display: block;
}

.wf-board-details {
	flex: 1;
}

.wf-board-details strong a {
	color: var(--wf-text);
	text-decoration: none;
	font-size: 1rem;
}

.wf-board-details strong a:hover {
	color: var(--wf-primary);
	text-decoration: underline;
}

.wf-board-desc {
	font-size: .85rem;
	color: var(--wf-text-muted);
	margin: .2rem 0 0;
}

.wf-sub-boards {
	font-size: .8rem;
	margin-top: .3rem;
}

.wf-sub-boards a {
	color: var(--wf-primary);
	text-decoration: none;
}

.wf-sub-boards a:hover {
	text-decoration: underline;
}

.wf-col-stats {
	min-width: 110px;
	text-align: center;
	font-size: .85rem;
}

.wf-stat-number {
	font-weight: 700;
	color: var(--wf-text);
}

.wf-stat-label {
	color: var(--wf-text-muted);
	font-size: .8rem;
}

.wf-col-lastpost {
	min-width: 160px;
	font-size: .82rem;
	color: var(--wf-text-muted);
}

.wf-last-post-by strong {
	color: var(--wf-text);
}

.wf-last-post-time {
	color: var(--wf-primary);
	text-decoration: none;
}

.wf-last-post-time:hover {
	text-decoration: underline;
}

.wf-no-posts {
	color: var(--wf-text-muted);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Board page header
   -------------------------------------------------------------------------- */
.wf-board-header {
	margin-bottom: 1.2rem;
}

.wf-board-title {
	font-size: 1.5rem;
	margin: 0 0 .3rem;
}

.wf-board-description {
	color: var(--wf-text-muted);
	font-size: .9rem;
	margin: 0;
}

.wf-subboards-section {
	margin-bottom: 1.5rem;
}

.wf-subboards-title {
	font-size: .85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--wf-text-muted);
	margin: 0 0 .4rem;
}

/* --------------------------------------------------------------------------
   Toolbar (board page top row)
   -------------------------------------------------------------------------- */
.wf-board-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Topic list
   -------------------------------------------------------------------------- */
.wf-topics-table {
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
	margin-bottom: 1rem;
}

.wf-topics-header {
	display: flex;
	background: var(--wf-bg-alt);
	padding: .5rem 1rem;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--wf-text-muted);
	border-bottom: 1px solid var(--wf-border);
}

.wf-topic-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .8rem 1rem;
	border-bottom: 1px solid var(--wf-border);
	background: var(--wf-bg);
	transition: background .15s;
}

.wf-topic-row:last-child {
	border-bottom: none;
}

.wf-topic-row:hover {
	background: var(--wf-bg-alt);
}

.wf-topic-row.wf-sticky {
	background: var(--wf-sticky-bg);
}

.wf-topic-row.wf-locked {
	background: var(--wf-locked-bg);
}

.wf-col-topic {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	flex: 1;
}

.wf-topic-status-icons {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex-shrink: 0;
	padding-top: 2px;
}

.wf-badge {
	font-size: .85rem;
}

.wf-topic-details strong a {
	color: var(--wf-text);
	text-decoration: none;
	font-size: .95rem;
}

.wf-topic-details strong a:hover {
	color: var(--wf-primary);
	text-decoration: underline;
}

.wf-topic-meta {
	font-size: .8rem;
	color: var(--wf-text-muted);
	margin-top: .2rem;
}

.wf-topic-meta strong {
	color: var(--wf-text);
}

/* --------------------------------------------------------------------------
   Topic / post page
   -------------------------------------------------------------------------- */
.wf-topic-header {
	margin-bottom: 1.5rem;
}

.wf-topic-title {
	font-size: 1.5rem;
	margin: 0 0 .6rem;
	display: flex;
	align-items: center;
	gap: .4rem;
	flex-wrap: wrap;
}

.wf-mod-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	font-size: .85rem;
	background: var(--wf-bg-alt);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	padding: .5rem .75rem;
}

.wf-mod-toolbar > strong {
	margin: 0;
	align-self: center;
	line-height: 1;
}

.wf-mod-toolbar-move {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

/* --------------------------------------------------------------------------
   Individual post
   -------------------------------------------------------------------------- */
.wf-post {
	display: flex;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	margin-bottom: 1rem;
	overflow: hidden;
	background: var(--wf-bg);
}

.wf-post.wf-post-op {
	border-color: var(--wf-primary);
}

.wf-post-author {
	min-width: 140px;
	max-width: 160px;
	background: var(--wf-bg-alt);
	border-right: 1px solid var(--wf-border);
	padding: 1rem .75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .4rem;
}

.wf-author-avatar img {
	border-radius: 50%;
	display: block;
}

.wf-author-name {
	font-weight: 700;
	font-size: .9rem;
	word-break: break-word;
}

.wf-author-name a {
	color: inherit;
	text-decoration: none;
}

.wf-author-name a:hover {
	text-decoration: underline;
	color: var(--wf-primary);
}

.wf-author-title {
	font-size: .72rem;
	color: var(--wf-primary);
	margin-top: .1rem;
	margin-bottom: .2rem;
	font-style: italic;
}

.wf-author-meta {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	font-size: .75rem;
	color: var(--wf-text-muted);
}

.wf-post-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.wf-post-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	background: var(--wf-bg-alt);
	border-bottom: 1px solid var(--wf-border);
	padding: .4rem .85rem;
	font-size: .8rem;
	color: var(--wf-text-muted);
}

.wf-post-number {
	font-weight: 700;
	color: var(--wf-primary);
}

.wf-post-edited {
	font-style: italic;
}

.wf-post-content {
	padding: .85rem 1rem;
	flex: 1;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.wf-post-content p {
	margin: 0 0 .75rem;
}

.wf-post-content p:last-child {
	margin-bottom: 0;
}

.wf-post-signature {
	border-top: 1px solid var(--wf-border);
	padding: .6rem 1rem;
	font-size: .82rem;
	color: var(--wf-text-muted);
}

.wf-sig-sep {
	border-top: 1px dashed var(--wf-border);
	margin-bottom: .4rem;
}

/* BBCode elements within posts */
.wf-post-content blockquote.wf-quote,
.wf-post-content .wf-quote {
	border-left: 3px solid var(--wf-primary);
	background: var(--wf-bg-alt);
	margin: .5rem 0;
	padding: .5rem .75rem;
	border-radius: 0 var(--wf-radius) var(--wf-radius) 0;
}

.wf-quote cite {
	display: block;
	font-size: .8rem;
	font-weight: 600;
	color: var(--wf-primary);
	font-style: normal;
	margin-bottom: .3rem;
}

.wf-code {
	background: #1e1e2e;
	color: #cdd6f4;
	border-radius: var(--wf-radius);
	padding: .75rem 1rem;
	overflow-x: auto;
	font-family: "Cascadia Code", "Fira Code", "Courier New", monospace;
	font-size: .85rem;
	margin: .5rem 0;
	white-space: pre-wrap;
	word-break: break-word;
}

.wf-img {
	max-width: 100%;
	border-radius: var(--wf-radius);
}

.wf-list {
	padding-left: 1.5rem;
	margin: .5rem 0;
}

/* --------------------------------------------------------------------------
   Reply section
   -------------------------------------------------------------------------- */
.wf-reply-section {
	margin-top: 2rem;
	border-top: 2px solid var(--wf-border);
	padding-top: 1.5rem;
}

.wf-reply-section h3 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Post form (new topic + reply)
   -------------------------------------------------------------------------- */
.wf-post-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wf-form-group {
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.wf-form-label {
	font-weight: 600;
	font-size: .9rem;
}

.wf-text-input {
	width: 100%;
	padding: .55rem .75rem;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	font-size: 1rem;
	font-family: var(--wf-font);
	transition: border-color .15s;
	background: var(--wf-bg);
}

.wf-text-input:focus {
	outline: none;
	border-color: var(--wf-primary);
	box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.wf-content-editor {
	width: 100%;
	min-height: 180px;
	padding: .65rem .75rem;
	border: 1px solid var(--wf-border);
	border-radius: 0 0 var(--wf-radius) var(--wf-radius);
	font-size: .95rem;
	font-family: var(--wf-font);
	resize: vertical;
	transition: border-color .15s;
	background: var(--wf-bg);
	color: var(--wf-text, #19283a);
}

.wf-content-editor:focus {
	outline: none;
	border-color: var(--wf-primary);
	box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* --------------------------------------------------------------------------
   BBCode toolbar
   -------------------------------------------------------------------------- */
.wf-bbcode-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	background: var(--wf-bg-alt);
	border: 1px solid var(--wf-border);
	border-bottom: none;
	border-radius: var(--wf-radius) var(--wf-radius) 0 0;
	padding: .35rem .5rem;
}

.wf-bb-btn {
	background: var(--wf-bg);
	border: 1px solid var(--wf-border);
	border-radius: 3px;
	padding: 3px 9px;
	cursor: pointer;
	font-size: .85rem;
	line-height: 1.4;
	transition: background .1s, border-color .1s;
	color: #333;
}

.wf-bb-btn:hover {
	background: #e8eaf0;
	border-color: #b0b8c8;
	color: #333;
}

html.dark .wf-bb-btn {
	color: #e2e8f0;
}

html.dark .wf-bb-btn:hover {
	background: #3a3d44;
	border-color: #555b66;
	color: #e2e8f0;
}

.wf-bb-sep {
	display: inline-block;
	width: 1px;
	background: var(--wf-border);
	margin: 0 4px;
	align-self: stretch;
}

/* --------------------------------------------------------------------------
   Form actions
   -------------------------------------------------------------------------- */
.wf-form-actions {
	display: flex;
	gap: .75rem;
	align-items: center;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wf-btn {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .5rem 1.1rem;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	background: var(--wf-bg);
	color: var(--wf-text) !important;
	font-size: .9rem;
	font-family: var(--wf-font);
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
	white-space: nowrap;
}

.wf-btn:hover {
	background: var(--wf-bg-alt);
	color: var(--wf-text) !important;
	text-decoration: none;
}

.wf-btn-primary {
	background: var(--wf-primary);
	border-color: var(--wf-primary);
	color: #fff !important;
}

.wf-btn-primary:hover {
	background: var(--wf-primary-hover);
	border-color: var(--wf-primary-hover);
	color: #fff !important;
}

.wf-btn-danger {
	background: var(--wf-danger);
	border-color: var(--wf-danger);
	color: #fff !important;
}

.wf-btn-danger:hover {
	background: var(--wf-danger-hover);
	border-color: var(--wf-danger-hover);
	color: #fff !important;
}

.wf-btn-sm {
	padding: .25rem .65rem;
	font-size: .8rem;
}

.wf-select-sm {
	padding: .25rem .5rem;
	font-size: .85rem;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	background: var(--wf-bg);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.wf-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: .75rem 0;
}

.wf-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 .5rem;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	background: var(--wf-bg);
	color: var(--wf-primary);
	font-size: .85rem;
	text-decoration: none;
	transition: background .15s;
}

.wf-page-link:hover {
	background: var(--wf-bg-alt);
	text-decoration: none;
}

.wf-page-current {
	background: var(--wf-primary);
	border-color: var(--wf-primary);
	color: #fff;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media ( max-width: 640px ) {
	.wf-board-row,
	.wf-topic-row {
		flex-wrap: wrap;
	}

	.wf-col-stats,
	.wf-col-lastpost {
		min-width: unset;
		flex: 1 1 45%;
	}

	.wf-post {
		flex-direction: column;
	}

	.wf-post-author {
		min-width: unset;
		max-width: unset;
		flex-direction: row;
		border-right: none;
		border-bottom: 1px solid var(--wf-border);
		padding: .6rem .85rem;
		text-align: left;
		align-items: center;
	}

	.wf-author-meta {
		flex-direction: row;
		gap: .5rem;
	}

	.wf-boards-header,
	.wf-topics-header {
		display: none;
	}
}

/* ==========================================================================
   Online indicator
   ========================================================================== */

.wf-author-avatar {
	position: relative;
}

.wf-online-dot {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #22c55e;
	border: 2px solid var(--wf-bg);
	display: block;
	z-index: 1;
}

.wf-online-dot-lg {
	width: 13px;
	height: 13px;
	bottom: 3px;
	right: 3px;
}

/* ==========================================================================
   Profile page
   ========================================================================== */

.wf-profile-header {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	background: var(--wf-bg);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	padding: 1.25rem;
	margin-bottom: 1.5rem;
}

.wf-profile-avatar-wrap {
	position: relative;
	flex-shrink: 0;
}

.wf-profile-avatar-wrap img {
	display: block;
	border-radius: var(--wf-radius);
}

.wf-profile-info {
	flex: 1;
	min-width: 0;
}

.wf-profile-name {
	margin: 0 0 .15rem;
	font-size: 1.3rem;
}

.wf-online-badge {
	display: inline-block;
	margin-top: .35rem;
	padding: .15rem .55rem;
	border-radius: 99px;
	background: #22c55e;
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
}

.wf-profile-stats {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin: .75rem 0 0;
}

.wf-profile-stats > div {
	display: flex;
	flex-direction: column;
}

.wf-profile-stats dt {
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--wf-text-muted);
}

.wf-profile-stats dd {
	margin: 0;
	font-weight: 700;
	font-size: .95rem;
}

.wf-profile-section {
	background: var(--wf-bg);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
}

.wf-profile-section-title {
	margin: 0 0 .75rem;
	font-size: 1rem;
	border-bottom: 1px solid var(--wf-border);
	padding-bottom: .4rem;
}

.wf-profile-sig {
	font-size: .87rem;
}

.wf-profile-posts-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .875rem;
}

.wf-profile-posts-table th,
.wf-profile-posts-table td {
	padding: .45rem .6rem;
	text-align: left;
	border-bottom: 1px solid var(--wf-border);
}

.wf-profile-posts-table th {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--wf-text-muted);
	background: var(--wf-bg-alt);
}

.wf-profile-posts-table tbody tr:last-child td {
	border-bottom: none;
}

.wf-profile-posts-table a {
	color: var(--wf-primary);
	text-decoration: none;
}

.wf-profile-posts-table a:hover {
	text-decoration: underline;
}

@media ( max-width: 640px ) {
	.wf-profile-header {
		flex-direction: column;
	}

	.wf-profile-posts-table th:nth-child(2),
	.wf-profile-posts-table td:nth-child(2) {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   FluentCommunity profile integration
   -------------------------------------------------------------------------- */

/* Cover photo banner */
.wf-profile-header.wf-has-cover {
	padding: 0;
	overflow: hidden;
}

.wf-profile-cover {
	width: 100%;
	height: 180px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

/* Inner row (avatar + info) sits below the cover */
.wf-profile-header-body {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 1.25rem;
	flex: 1;
}

/* When there is no cover the header uses the old flat flex layout */
.wf-profile-header:not(.wf-has-cover) {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 1.25rem;
}

.wf-profile-header:not(.wf-has-cover) .wf-profile-header-body {
	display: contents; /* dissolve the extra wrapper */
}

/* Verified badge */
.wf-fc-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1em;
	height: 1.1em;
	margin-left: .25rem;
	border-radius: 50%;
	background: var(--wf-primary);
	color: #fff;
	font-size: .65rem;
	font-weight: 900;
	vertical-align: middle;
	line-height: 1;
}

/* Bio text */
.wf-profile-bio {
	margin: 0;
	font-size: .9rem;
	color: var(--wf-text);
	line-height: 1.65;
}

/* Social links row */
.wf-profile-social {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	list-style: none;
	margin: .75rem 0 0;
	padding: 0;
}

.wf-profile-social-link {
	display: inline-block;
	padding: .2rem .6rem;
	border: 1px solid var(--wf-border);
	border-radius: 99px;
	font-size: .75rem;
	font-weight: 600;
	color: var(--wf-text-muted);
	text-decoration: none;
	transition: border-color .15s, color .15s;
}

.wf-profile-social-link:hover {
	border-color: var(--wf-primary);
	color: var(--wf-primary);
}

/* "View Community Profile" button */
.wf-fc-profile-link {
	display: inline-block;
	margin-top: .85rem;
	padding: .3rem .8rem;
	border: 1px solid var(--wf-primary);
	border-radius: var(--wf-radius);
	font-size: .8rem;
	font-weight: 600;
	color: var(--wf-primary);
	text-decoration: none;
	transition: background .15s, color .15s;
}

.wf-fc-profile-link:hover {
	background: var(--wf-primary);
	color: #fff;
}

/* Community spaces list */
.wf-profile-spaces {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .6rem;
}

.wf-profile-space-card {
	display: flex;
	align-items: center;
	gap: .75rem;
	background: var(--wf-bg-alt);
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	padding: .6rem .85rem;
}

.wf-profile-space-logo {
	flex-shrink: 0;
	border-radius: var(--wf-radius);
	object-fit: cover;
}

.wf-profile-space-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wf-profile-space-name {
	font-weight: 700;
	font-size: .9rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wf-profile-space-desc {
	font-size: .78rem;
	color: var(--wf-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media ( max-width: 640px ) {
	.wf-profile-cover {
		height: 120px;
	}

	.wf-profile-header-body {
		flex-direction: column;
	}

	.wf-profile-header:not(.wf-has-cover) {
		flex-direction: column;
	}
}

/* ==========================================================================
   Forum footer
   ========================================================================== */

.wf-forum-footer {
	margin-top: 1.75rem;
	border: 1px solid var(--wf-border);
	border-radius: var(--wf-radius);
	overflow: hidden;
	background: var(--wf-bg);
	font-size: .875rem;
}

/* Stats bar */
.wf-footer-stats {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.5rem;
	align-items: center;
	padding: .75rem 1.1rem;
	background: var(--wf-bg-alt);
	border-bottom: 1px solid var(--wf-border);
}

.wf-footer-stat {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	white-space: nowrap;
	color: var(--wf-text-muted);
}

.wf-footer-stat strong {
	color: var(--wf-text);
}

.wf-footer-stat-icon {
	font-style: normal;
	font-size: .95rem;
}

/* Inline online dot for the stats bar */
.wf-stat-online-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #22c55e;
	flex-shrink: 0;
}

/* Info row (newest member + latest post) */
.wf-footer-info {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 2rem;
	padding: .6rem 1.1rem;
	color: var(--wf-text-muted);
	font-size: .82rem;
}

.wf-footer-info-item {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.wf-footer-highlight {
	color: var(--wf-primary);
	text-decoration: none;
	font-weight: 600;
}

.wf-footer-highlight:hover {
	text-decoration: underline;
}

@media ( max-width: 640px ) {
	.wf-footer-stats {
		gap: .4rem .85rem;
	}
}

/* Quick New Topic Composer */
.wf-quick-new-topic {
  background: var(--wf-bg, #fff);
  border-radius: var(--wf-radius, 6px);
  box-shadow: var(--wf-shadow, 0 1px 3px rgba(0,0,0,.08));
  margin: 20px 0 24px 0;
  padding: 16px 18px;
  max-width: 600px;
  width: 100%;
  position: relative;
}
.wf-qnt-collapsed {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1px solid var(--wf-border, #dde1e7);
  border-radius: 24px;
  padding: 8px 16px;
  background: var(--wf-bg-alt, #f8f9fa);
  transition: box-shadow .15s;
}
.wf-qnt-collapsed:focus {
  outline: 2px solid var(--wf-primary, #2078f4);
}
.wf-qnt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--wf-bg-alt, #f0f2f5);
}
.wf-qnt-input {
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--wf-text-muted, #65676b);
  width: 100%;
  outline: none;
  cursor: pointer;
}
.wf-qnt-expanded {
  margin-top: 0;
}
.wf-qnt-title {
  width: 100%;
  font-size: 1.1rem;
  padding: 8px;
  border: 1px solid var(--wf-border, #dde1e7);
  border-radius: 4px;
  margin-bottom: 8px;
}
.wf-qnt-content {
  width: 100%;
  font-size: 1rem;
  padding: 8px;
  border: 1px solid var(--wf-border, #dde1e7);
  border-radius: 4px;
  resize: vertical;
  min-height: 60px;
}
.wf-qnt-expanded .wf-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .wf-quick-new-topic {
    padding: 10px 4px;
  }
}
html.dark .wf-quick-new-topic {
  background: var(--wf-bg, #24272C);
  box-shadow: none;
}
html.dark .wf-qnt-collapsed {
  background: var(--wf-bg-alt, #2f3237);
  border-color: #42464D;
}
html.dark .wf-qnt-title,
html.dark .wf-qnt-content {
  background: #23272e;
  border-color: #42464D;
  color: var(--wf-text, #e2e8f0);
}


