/* 评论表单样式 */
.comment-form {
    padding: 25px;
    border-bottom: 1px solid #eaeaea;
}

.comment-form h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* 评论列表样式 */
.comments-list {
    padding: 25px;
}

.comments-list h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.comment-item:last-child {
    border-bottom: none;
}



.comment-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.comment-date {
    color: #95a5a6;
    font-size: 13px;
}

.comment-content {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .container {
        border-radius: 0;
    }

    .comment-form,
    .comments-list {
        padding: 20px 15px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-date {
        margin-top: 5px;
    }
}