/* 公告栏样式 */
.notice {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 12px 0;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 85%;
}

.notice:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.notice-content {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 20px;
}

.notice-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #667eea;
    flex-shrink: 0;
}

.notice-text-wrapper {
    text-align: left;
}

.notice-text {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.notice-item {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .notice {
        margin: 15px auto;
        width: 95%;
    }
    
    .notice-content {
        padding: 0 15px;
    }
    
    .notice-text,
    .notice-item {
        font-size: 13px;
    }
}

/* 深色模式支持 */
body.theme-dark .notice {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.theme-dark .notice:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.theme-dark .notice-text,
body.theme-dark .notice-item {
    color: #999;
}
