/* Post Container */
.post-container {
	display: flex;
	justify-content: space-between;
	background-color: #1f2127; /* Dark background */
	border: 4px solid transparent;
	padding: 20px;
	margin-bottom: 20px;
	color: #d1d1d1; /* Light text */
	border-radius: 4px;
}

/* User Info on the Left */
.post-user-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-right: 20px;
	min-width: 200px;
	max-width: 160px;
}

.user-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 10px;
}

.user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.user-details {
	text-align: center;
}

.username {
	font-weight: bold;
	color: #fff;
}

.user-role {
	font-size: 0.85rem;
	color: #888;
}

/* Post Content in the Middle */
.post-content {
	flex-grow: 1;
	padding-left: 20px;
	border-left: 1px solid #444;
	position: relative;
}

.post-meta {
	font-size: 0.85rem;
	color: #888;
	margin-bottom: 20px;
}

.post-text {
	font-size: 1rem;
	color: #fff;
}

.post-text ul,
.post-text ol {
	margin-left: 20px;
}

/* User Stats on the Right */
.user-stats {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	min-width: 10px;
}

.stat-icons {
	display: flex;
	gap: 10px;
	font-size: 0.85rem;
}

.stat-icons span {
	display: flex;
	align-items: center;
	color: #888;
}

.stat-icons i {
	margin-right: 5px;
}

.quote-button {
	background-color: #4a69bd;
	color: #fff;
	border: none;
	padding: 6px 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.quote-button:hover {
	background-color: #3b5998;
}

/* Styling for the outer quote wrapper */
.quote-wrap {
	background-color: #2c2f36; /* Dark background for the quote */
	margin: 10px 0;
	padding: 10px 20px;
	border-radius: 4px;
	color: #d1d5db;
}

/* Styling for nested quotes */
.quote-wrap .quote-wrap {
	background-color: #353940; /* Slightly different background for nested quotes */
	border-left-color: #5c6f91; /* Lighter border color for nested quotes */
	padding-left: 15px;
	margin-top: 10px;
}

/* Styling for deeply nested quotes */
.quote-wrap .quote-wrap .quote-wrap {
	background-color: #3c4049; /* Another level of background color */
	border-left-color: #7f8fa6;
	padding-left: 15px;
}

/* Styling for the author of the quote */
.quote-author {
	font-size: 12px;
	color: #9ca3af; /* Lighter color for the author */
	margin-bottom: 8px;
}

/* Styling for the quote content */
.quote-content {
	font-size: 14px;
	color: #e5e7eb;
	padding-left: 10px;
	border-left: 2px solid #4b78a7; /* Additional padding for content */
}

/* Additional margin between quote blocks */
.quote-wrap + .quote-wrap {
	margin-top: 15px;
}

/* Styling strong/emphasis text in the quote content */
.quote-content strong,
.quote-content em {
	color: #e5e7eb; /* Emphasized text should stand out */
}

.edit-item {
	color: #888;
	cursor: pointer;
	border-bottom: 1px dotted #888;
}

.highlighted-reply {
	border: 4px solid #3b5998; /* Blue border on the left */
	transition: all 0.3s ease;
}

.item-edited {
	color: #888;
	font-size: 0.85rem;
	font-style: italic;
	text-align: right;
	border-top: 1px solid #333;
}

/* Responsive Design */

@media (max-width: 890px) {
	#thread-header {
		flex-direction: column-reverse;
		align-items: start;
	}

	.mod-tools-inline {
		width: 100%;
		text-align: right;
		margin-bottom: 10px;
	}

	iframe {
		width: 100%;
		position: relative;
	}
}

@media (max-width: 768px) {
	.post-container {
		flex-direction: column;
		padding: 15px;
	}

	.post-content {
		border-left: none;
		border-top: 1px solid #444;
		padding-left: 0;
		padding-top: 20px;
	}

	.post-user-info {
		flex-direction: row;
		align-items: center;
		margin-bottom: 10px;
		max-width: none;
		justify-content: space-between;
	}

	.user-avatar {
		height: 40px;
		width: 40px;
	}

	.user-details {
		text-align: right;
	}

	.post-actions {
		align-items: flex-start;
		margin-top: 10px;
	}
}
