﻿.announcement-content {
    line-height: 1.6;
}

.announcement-content h1,
.announcement-content h2,
.announcement-content h3,
.announcement-content h4,
.announcement-content h5,
.announcement-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.announcement-content p {
    margin-bottom: 1em;
}

.announcement-content ul,
.announcement-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.announcement-content blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1em;
    margin-left: 0;
    color: #6c757d;
}

.announcement-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 1rem;
    overflow-x: auto;
}

.announcement-content code {
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.announcement-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.announcement-content table th,
.announcement-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.announcement-content table th {
    background-color: #f8f9fa;
}

.card .preview {
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.EasyMDEContainer .CodeMirror {
    min-height: 400px;
}

/* 登录页面样式 */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 确保图标显示 - 备用方案 */
.fa-bullhorn::before { 
    content: "📢"; 
    font-family: inherit; 
    font-size: 1.2em;
}

.fa-user::before { content: "👤"; font-family: inherit; }
.fa-plus::before { content: "➕"; font-family: inherit; }
.fa-edit::before { content: "✏️"; font-family: inherit; }
.fa-trash::before { content: "🗑️"; font-family: inherit; }
.fa-arrow-left::before { content: "⬅️"; font-family: inherit; }
.fa-calendar::before { content: "📅"; font-family: inherit; }
.fa-inbox::before { content: "📥"; font-family: inherit; }

/* 确保图标可见 */
.fa-bullhorn, .fa-user, .fa-plus, .fa-edit, .fa-trash, 
.fa-arrow-left, .fa-calendar, .fa-inbox {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 备份图标定义 */
.fa-bullhorn::before { content: "📢" !important; }
.fa-user::before { content: "👤" !important; }
.fa-plus::before { content: "➕" !important; }
.fa-edit::before { content: "✏️" !important; }
.fa-trash::before { content: "🗑️" !important; }
.fa-arrow-left::before { content: "⬅️" !important; }
.fa-calendar::before { content: "📅" !important; }
.fa-inbox::before { content: "📥" !important; }

/* ===== 现代卡片样式 ===== */
.card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.card-title {
    font-weight: 700;
    color: #1e2f3e;
}
.card-text.preview {
    color: #2c3e50;
    line-height: 1.5;
}
.card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
}

/* ===== 按钮圆润风格 ===== */
.btn-outline-primary,
.btn-primary {
    border-radius: 2rem;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-outline-primary:hover {
    transform: translateX(2px);
}
.btn-sm {
    border-radius: 2rem;
}

/* ===== 导航栏增强 ===== */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
    font-weight: 600;
    letter-spacing: -0.3px;
}
.nav-link {
    border-radius: 2rem;
    transition: background-color 0.2s;
}
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== 页脚微调 ===== */
footer {
    border-top: 1px solid #e9ecef;
}
footer p {
    font-size: 0.85rem;
}

/* ===== 空状态提示优化 ===== */
.text-center.py-5 .fa-inbox {
    opacity: 0.5;
    margin-bottom: 1rem;
}