/* 公告弹窗样式 */
.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.announcement-modal.show {
    opacity: 1;
}
.announcement-container {
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.announcement-header {
    padding: 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.announcement-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}
.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.announcement-list {
    padding: 15px;
    max-height: calc(80vh - 60px);
    overflow-y: auto;
}
.announcement-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.announcement-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.announcement-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #333;
}
.announcement-date {
    font-size: 12px;
    color: #999;
    margin: 0 0 10px 0;
}
.announcement-content {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    white-space: pre-line;
}
.loading, .no-announcements {
    text-align: center;
    padding: 30px;
    color: #999;
} 