.留言板容器 {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.留言板标题 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1e9fff;
}

.留言表单 {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.表单项 {
    margin-bottom: 15px;
}

.表单项标签 {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.表单项输入,
.表单项文本域 {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.表单项文本域 {
    height: 120px;
    resize: vertical;
}

.表单操作 {
    text-align: center;
    margin-top: 20px;
}

.提交按钮 {
    background-color: CornflowerBlue;
    color: White;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.提交按钮:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.3);
}

.留言列表 {
    margin-top: 20px;
}

.留言项 {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
    position: relative;
}

.留言项:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #1e9fff;
}

.留言头部 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.留言者信息 {
    font-weight: bold;
    color: #1e9fff;
}

.留言时间 {
    color: #999;
    font-size: 12px;
}

.留言内容 {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.删除按钮 {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f5222d;
    color: White;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.留言项:hover .删除按钮 {
    opacity: 1;
}

.空状态 {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 16px;
}

.分页区 {
    text-align: center;
    margin-top: 20px;
    padding: 20px 0;
}

.分页按钮 {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background-color: White;
    transition: all 0.3s;
}

.分页按钮:hover {
    background-color: #1e9fff;
    color: White;
    border-color: #1e9fff;
}

.分页按钮.当前页 {
    background-color: #1e9fff;
    color: White;
    border-color: #1e9fff;
}

.留言统计 {
    text-align: center;
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .留言板容器 {
        margin: 10px;
        padding: 15px;
    }

    .留言头部 {
        flex-direction: column;
        align-items: flex-start;
    }

    .留言时间 {
        margin-top: 5px;
    }
}