/* 页面标题样式 */
.page-title {
    text-align: center;
    color: #333;
    margin: 30px 0;
    font-size: 24px;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ffd1dc;
    margin: 10px auto;
}

/* 留言表单样式 */
.message-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.message-form h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #ffd1dc;
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ff9eaa;
}

/* 留言列表样式 */
.message-list {
    margin-top: 40px;
}

.message-list h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.message-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease-out forwards;
}

.message-info {
    margin-bottom: 10px;
}

.message-author {
    color: #333;
    font-weight: bold;
    margin-right: 15px;
}

.message-time {
    color: #999;
    font-size: 14px;
}

.message-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.message-actions {
    text-align: right;
}

.reply-btn {
    color: #ffd1dc;
    text-decoration: none;
    font-size: 14px;
}

.reply-btn:hover {
    color: #ff9eaa;
}

/* 回复样式 */
.message-reply {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 3px solid #ffd1dc;
}

.reply-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.reply-info {
    margin-bottom: 8px;
}

.reply-author {
    color: #333;
    font-weight: bold;
    margin-right: 15px;
}

.reply-time {
    color: #999;
    font-size: 14px;
}

.reply-content {
    color: #666;
    line-height: 1.6;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .message-form,
    .message-item {
        padding: 15px;
    }
    
    .message-reply {
        padding-left: 15px;
    }
} 