/* bbPress styling */
.bbpress-wrapper {
	padding: 2rem 0 4rem;
}

.bbpress-content {
	background: var(--white);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

#bbpress-forums {
	font-family: var(--font-sans);
}

#bbpress-forums .bbp-forums,
#bbpress-forums .bbp-topics,
#bbpress-forums .bbp-replies {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
	background: var(--steel-azure);
	color: var(--white);
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic,
#bbpress-forums li.bbp-body div.odd,
#bbpress-forums li.bbp-body div.even {
	background: var(--alice-blue);
	border-top: 1px solid var(--border);
	padding: 0.75rem 1rem;
}

#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
	background: var(--white);
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title a {
	color: var(--steel-azure);
	font-weight: 600;
	text-decoration: none;
}

#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-title a:hover {
	color: var(--rich-cerulean);
}

#bbpress-forums div.bbp-template-notice {
	background: var(--alice-blue);
	border: 1px solid var(--border);
	border-left: 4px solid var(--rich-cerulean);
	border-radius: 8px;
}

#bbpress-forums fieldset.bbp-form {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	background: var(--alice-blue);
}

#bbpress-forums fieldset.bbp-form legend {
	font-weight: 700;
	color: var(--steel-azure);
	padding: 0 0.5rem;
}

#bbpress-forums fieldset.bbp-form input[type="text"],
#bbpress-forums fieldset.bbp-form textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.65rem 0.85rem;
	font: inherit;
}

#bbpress-forums fieldset.bbp-form input[type="submit"],
#bbpress-forums .bbp-submit-wrapper button {
	background: var(--rich-cerulean);
	color: var(--white);
	border: none;
	border-radius: 999px;
	padding: 0.65rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
}

#bbpress-forums fieldset.bbp-form input[type="submit"]:hover,
#bbpress-forums .bbp-submit-wrapper button:hover {
	background: var(--steel-azure);
}

#bbpress-forums div.bbp-breadcrumb {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

#bbpress-forums div.bbp-breadcrumb a {
	color: var(--rich-cerulean);
	text-decoration: none;
}

.bbp-topic-meta {
	font-size: 0.875rem;
	color: var(--text-muted);
}

/* Vote buttons */
.fdc-vote-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	background: var(--alice-blue);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.fdc-vote-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.85rem;
	border: 2px solid var(--border);
	border-radius: 999px;
	background: var(--white);
	cursor: pointer;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.15s ease;
}

.fdc-vote-btn:hover,
.fdc-vote-btn:focus {
	border-color: var(--rich-cerulean);
	background: var(--alice-blue);
}

.fdc-vote-btn.is-active-like {
	border-color: var(--success);
	background: #e8f5ee;
	color: var(--success);
}

.fdc-vote-btn.is-active-dislike {
	border-color: var(--danger);
	background: #fdecea;
	color: var(--danger);
}

.fdc-vote-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.fdc-vote-label {
	font-weight: 600;
	color: var(--steel-azure);
}

.fdc-vote-login-msg {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.fdc-vote-login-msg a {
	font-weight: 600;
}

.fdc-topic-votes-inline {
	display: inline-flex;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-left: 0.5rem;
}
