/* 公告链接样式 */
.announcement {
    display: inline-block;
    margin-left: 20px; /* 与 Logo 保持间距 */
}

.announcement a {
    font-size: 14px;
    color: #000000; /* 蓝色文字 */
    text-decoration: none; /* 去掉下划线 */
    cursor: pointer;
    transition: color 0.3s; /* 添加平滑过渡 */
}

.announcement a:hover {
    color: #0056b3; /* 悬停时加深颜色 */
}

/* 公告弹窗样式 */
.announcement-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
}

.announcement-modal-content {
    background-color: white;
    margin: 15% auto; /* 居中显示 */
    padding: 20px;
    width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.announcement-modal-header {
    text-align: center; /* 让标题居中 */
    font-weight: bold;
    font-size: 20px;
}

.announcement-modal-body {
    text-align: left; /* 让正文左对齐 */
    padding: 10px 20px; /* 增加内边距 */
    font-size: 16px;
    line-height: 1.6; /* 提高行距，让文本更易读 */
}

.announcement-modal-body ul {
    padding-left: 20px; /* 让列表对齐，不贴边 */
}

.announcement-modal-body ul {
    list-style-type: none; /* 去掉默认黑点 */
    padding-left: 0; 
}

.announcement-modal-body ul li::before {
    content: "🔹"; /* 替换黑点为蓝色菱形 */
    margin-right: 8px; /* 调整图标和文字的间距 */
}

.announcement-modal-close {
    float: right;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.announcement-modal-close:hover {
    color: black;
}

.btn-close-announcement {
    padding: 8px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-close-announcement:hover {
    background-color: #0056b3;
}
