.notice-bar {
    background-color: #ffa500; /* 橙色背景 */
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.notice-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: block; /* 改为块级显示，实现垂直排列 */
    text-align: center; /* 文字居中 */
    font-weight: bold; /* 所有文字加粗 */
    color: #000000; /* 所有文字改为黑色 */
    position: relative;
}

.notice-title {
    font-weight: bold;
    color: #000000;
    display: block; /* 独占一行 */
    margin-bottom: 8px;
    font-size: 16px;
}

.notice-text {
    display: block; /* 独占一行 */
    margin-bottom: 8px;
    color: #000000;
    font-size: 14px;
}

.notice-date {
    color: #000000;
    font-size: 12px;
    display: block; /* 独占一行 */
}

.notice-close {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 0;
}

.notice-close:hover {
    color: #ffffff; /* 鼠标悬停时改为白色 */
} 