.content {
	font-size: 16px;
	line-height: 2em;
}

/* 帖子详情卡片 */
.post-detail-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	overflow: hidden;
}

/* 帖子标题区域 */
.post-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.post-title {
	display: flex;
	align-items: center;
	flex: 1;
}

.post-title h4 {
	margin-right: 15px;
	color: #333;
	font-weight: 600;
}

.post-badges .badge {
	margin-right: 5px;
}

.post-actions {
	display: flex;
	align-items: center;
}

/* 添加按钮样式优化 */
.post-actions .btn {
	transition: all 0.3s ease;
	border-width: 2px;
	font-weight: 500;
}

.post-actions .btn:hover:not([disabled]) {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-actions .btn:active:not([disabled]) {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-actions .btn i {
	transition: all 0.3s ease;
}

.post-actions .btn:hover:not([disabled]) i {
	transform: scale(1.2);
}

/* 置顶按钮特效 */
.post-actions #topBtn:hover:not([disabled]) {
	background-color: #007bff;
	color: white;
}

/* 加精按钮特效 */
.post-actions #wonderfulBtn:hover:not([disabled]) {
	background-color: #28a745;
	color: white;
}

/* 删除按钮特效 */
.post-actions #deleteBtn:hover:not([disabled]) {
	background-color: #dc3545;
	color: white;
}

/* 作者信息区域 */
.post-author {
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background-color: #f9f9f9;
	border-bottom: 1px solid #f0f0f0;
}

.author-avatar img {
	width: 48px;
	height: 48px;
	border: 2px solid #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-info {
	margin-left: 15px;
	flex: 1;
}

.author-name {
	font-weight: 600;
	color: #007bff;
	font-size: 16px;
}

.post-meta {
	font-size: 13px;
	color: #6c757d;
	margin-top: 3px;
}

.post-stats {
	display: flex;
	align-items: center;
}

.stat-item {
	margin-left: 20px;
}

.like-btn, .comment-btn {
	color: #6c757d;
	text-decoration: none;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
}

.like-btn:hover, .comment-btn:hover {
	color: #007bff;
	text-decoration: none;
}

.like-btn.active {
	color: #dc3545;
}

.like-btn.active i {
	animation: pulse 0.5s;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

/* 帖子内容 */
.post-content {
	padding: 25px;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

/* 评论区域 */
.comments-section {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.comments-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #f0f0f0;
}

.comments-list {
	padding: 0 20px;
}

/* 评论项 */
.comment-item {
	display: flex;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
}

.comment-user img {
	width: 40px;
	height: 40px;
	border: 2px solid #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.comment-content {
	margin-left: 15px;
	flex: 1;
}

.comment-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.comment-author {
	font-weight: 600;
	color: #007bff;
}

.comment-floor {
	background: #f0f0f0;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 12px;
	color: #6c757d;
}

.comment-text {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 10px;
}

.comment-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #6c757d;
}

.comment-time {
	font-size: 12px;
}

.comment-buttons {
	display: flex;
	align-items: center;
}

.comment-buttons a {
	margin-left: 15px;
	color: #6c757d;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.comment-buttons a:hover {
	color: #007bff;
	text-decoration: none;
}

/* 回复容器 */
.replies-container {
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 15px;
	margin-top: 10px;
}

.reply-item {
	padding: 10px 0;
	border-bottom: 1px solid #e9ecef;
}

.reply-item:last-child {
	border-bottom: none;
}

.reply-info {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	margin-bottom: 5px;
}

.reply-author a {
	font-weight: 600;
	color: #007bff;
	text-decoration: none;
}

.reply-to {
	color: #6c757d;
	margin: 0 5px;
}

.reply-time {
	font-size: 12px;
	color: #6c757d;
}

.reply-text {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 5px;
}

.reply-actions {
	display: flex;
	align-items: center;
	font-size: 12px;
}

.reply-actions a {
	margin-right: 15px;
	color: #6c757d;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.reply-actions a:hover {
	color: #007bff;
}

.reply-to-reply {
	font-size: 12px;
}

/* 回复表单 */
.reply-form {
	margin-top: 10px;
	padding: 10px;
	background-color: #f0f0f0;
	border-radius: 5px;
}

/* 无评论状态 */
.no-comments {
	text-align: center;
	padding: 40px 0;
	color: #6c757d;
}

.no-comments i {
	font-size: 48px;
	margin-bottom: 10px;
	color: #dee2e6;
}

/* 回帖表单 */
.post-reply-form {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	padding: 20px;
	margin-bottom: 30px;
}

.reply-form-title {
	margin-bottom: 15px;
	color: #333;
	font-weight: 600;
}

.replyform textarea {
	width: 100%;
	height: 200px;
	border: 1px solid #ced4da;
	border-radius: 5px;
	padding: 10px;
	resize: vertical;
}

.floor {
	background: #dcdadc;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 14px;
}

.input-size {
	width: 100%;
	height: 35px;
}

.list-unstyled {
	background-color: #f8f9fa;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-avatar {
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	color: #fff;
	border-radius: 50%;
}

.collapse {
	margin-top: 10px;
}

.border-bottom {
	border-bottom: 1px solid #e9ecef;
}

.form-control {
	border-radius: 5px;
	border: 1px solid #ced4da;
	transition: border-color 0.3s;
}

.form-control:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.btn-primary {
	background-color: #007bff;
	border: none;
	border-radius: 5px;
	transition: background-color 0.3s;
}

.btn-primary:hover {
	background-color: #0056b3;
}

.text-primary:hover {
	text-decoration: underline;
	cursor: pointer;
}

/* 提示消息样式改进 */
.toast-message {
	position: fixed;
	top: 20px;
	right: 20px;
	background-color: rgba(40, 167, 69, 0.9);
	color: white;
	padding: 12px 25px;
	border-radius: 4px;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	transform: translateX(120%);
	transition: transform 0.3s ease;
	display: flex;
	align-items: center;
}

.toast-message::before {
	content: '✓';
	font-size: 18px;
	margin-right: 10px;
}

.toast-message.show {
	transform: translateX(0);
}

/* 不同类型的提示 */
.toast-message.error {
	background-color: rgba(220, 53, 69, 0.9);
}

.toast-message.error::before {
	content: '✗';
}

.toast-message.info {
	background-color: rgba(0, 123, 255, 0.9);
}

.toast-message.info::before {
	content: 'ℹ';
}

