/* Forum Name and Description */
#forum-name, .generic-header {
	font-size: 1.5rem;
	margin-bottom: 5px;
}

#empty-forum {
	margin-top: 20px;
	background-color: #EEE;
	padding: 20px;
	width: 40%;
	margin: 0 auto;
	border-radius: 4px;
}

/* Thread Wrapper */
.thread-wrapper {
	background-color: #1f2127;
	padding: 20px;
	border-radius: 4px;
}

/* Forum Thread Container */
.thread-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #333;
}

.thread-container:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* Left Section: Avatar, Thread Title, and Meta */
.thread-left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.thread-avatar {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background-color: #555; /* Placeholder color */
}

.thread-avatar img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
}

/* Thread Info */
.thread-info {
	display: flex;
	flex-direction: column;
	max-width: 810px;
	gap: 5px;
}

.thread-info a {
	text-decoration: none;
}

a.thread-item {
	font-size: 1rem;
	font-weight: bold;
	color: #EEE;
	position: relative;
	text-decoration: none;
	padding-bottom: 5px;
}

a.thread-item::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #EEE; /* Change to your desired color */
	transition: width 0.2s ease-in-out; /* Controls the animation speed and smoothness */
}

a.thread-item:hover::after {
	width: 100%; /* Full width on hover */
}

.thread-meta {
	font-size: 0.85rem !important;
	color: #666;
}

.thread-status {
	font-size: 0.9em;
}

.thread-status span {
	padding: 1px 2px;
}

.is-pinned {
	color: #c93d33;
}

.is-locked {
	color: #EEE;
}


/* Right Section: Replies, Views, and Last Post */
.thread-right {
	display: flex;
	align-items: center;
	gap: 30px;
}

.thread-stats {
	display: flex;
	flex-direction: column;
	text-align: right;
	gap: 5px;
}

.thread-stats span {
	font-size: 1rem;
}

/* Latest Post Info */
.thread-latest {
	min-width: 150px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.thread-latest a {
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
	.thread-container {
		flex-direction: column;
		align-items: flex-start;
		padding: 10px;
	}

	.thread-left {
		align-items: normal;
		width: 100%;
		justify-content: space-between;
		gap: 20px;
	}

	.thread-avatar, 
	.thread-avatar img {
		width: 30px;
		height: 30px;
	}

	.thread-info {
		width: 100%;
	}

	.thread-title {
		margin-bottom: 5px;
	}

	.thread-right {
		display: none;
	}

	.thread-stats {
		text-align: left;
	}

	.thread-latest {
		text-align: left;
	}
}
